title: what means Error: application file not generated yet?
body: <p>I want to simulate a Model from Openmodelica with help from toolbox OMPython in Spyder.</p>
  <p>Here is the script:</p>
  <pre><code>import numpy as np 
  from numpy import linalg as la 
  import matplotlib.pyplot as plt 
  from OMPython import ModelicaSystem
  from OMPython import OMCSessionZMQ
  
  
  font = {'family': 'sans-serif',
          'color':  'darkblue',
          'weight': 'normal', 
          'size': 14}
  
  h = 0.0001 # Simulationsschrittweite
  
  STime = 0.1
  omc = OMCSessionZMQ()
  
  mod=ModelicaSystem(&quot;SystemZweiterOrdnungKausalTotal.mo&quot;,&quot;SystemZweiterOrdnungKausal&quot;)
  
  mod.setSimulationOptions([&quot;stopTime=&quot;+str(STime),&quot;stepSize=&quot; + str(h),&quot;solver=euler&quot;])
  
  mod.simulate()
  
  mod.getSolutions() 
  </code></pre>
  <p>But there is an error message in console:</p>
  <pre><code> 2020-11-28 20:23:48,407 - OMPython - INFO - OMC Server is up and running at file:///C:/Users/zhout/AppData/Local/Temp/openmodelica.port.e2c1a098db6645b48dd844f1925af6c8 pid=6492
  2020-11-28 20:23:48,690 - OMPython - INFO - OMC Server is up and running at file:///C:/Users/zhout/AppData/Local/Temp/openmodelica.port.e6fe4b6d6426461586a0ea54038b6559 pid=5424
  'utf-8' codec can't decode byte 0xd7 in position 103: invalid continuation byte
  None
  stopTime !is not a simulation-option variable
  Traceback (most recent call last):
  
    File &quot;C:\Users\zhout\OneDrive\desktop\Simulation und technische Diagnose\Aufgabe Phase 1-20201128\VorlageAuswertung——Muster.py&quot;, line 37, in &lt;module&gt;
      mod.simulate()
  
    File &quot;C:\Users\zhout\anaconda3\lib\site-packages\OMPython\__init__.py&quot;, line 1108, in simulate
      raise Exception(&quot;Error: application file not generated yet&quot;)
  
  Exception: Error: application file not generated yet
  </code></pre>
  <p>I didn't find any information in Internet about this Error. can someone help me? thanks a lot.</p>