title: forrtl severe(193):Run-time Check Failure. The variable \'TRNSYSFUNCTIONS_mp_GETOUTPUT VALUE$GETOUTPUT VALUE\' is being used without being initiated
body: <p>I am trying to simulate my FMU created from TRNSYS using pyFMI. When I try to simulate it, it prompts the following message:</p>
  
  <p>"forrtl severe(193):Run-time Check Failure. The variable \'TRNSYSFUNCTIONS_mp_GETOUTPUT VALUE$GETOUTPUT VALUE\' is being used without being initiated"</p>
  
  <p>My code looks like this:</p>
  
  <pre><code>    from pyfmi import load_fmu
      import os
      from collections import defaultdict
      import time
  
      model = 'ZUB_FMU2.fmu'
      model_dir ='C:\\Trnsys17\MyProjects\\TEST_ZUB_13_FMU_check'
      trnsys = load_fmu(fmu=model, path=model_dir)
      os.chdir(model_dir)
      import numpy as np
      t_start = 3624*3600
      t_end = 6552*3600
      h_step = 1*3600
      t_array = np.arange(t_start, t_end, h_step)
      cool = 26
      heat = 19
      tim = 0
      LR = []
      # Initialize FMU
      start_time = time.time()
      trnsys.initialize(t_start, t_end)
      while tim &lt;= len(t_array)-1:
            try:
                trnsys.set('setCool', cool)
                trnsys.set('setHeat', heat)
                res = trnsys.do_step(current_t= t_array[tim],step_size=h_step, new_step=True)
                if res != 0:
                print "Failed to do step", t_array[tim]
                LR.append(float(trnsys.get('DG_BU_Shading')))
                tim += 1
            except ValueError:
                raw_input("Error...")
      print "Time for simulating an FMU is:"
      del trnsys
      print 'LR is given as: ', LR
  </code></pre>
  
  <p>Can anybody predict the reason for an error. It seems like there is an initialization error.</p>