Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.StateGraph.Examples.ControlledTanks") translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.StateGraph.Examples.ControlledTanks") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6961/0.6961, allocations: 110.8 MB / 118 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001795/0.001795, allocations: 159 kB / 143.7 MB, free: 9.93 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 5.791e-06/5.831e-06, allocations: 0 / 173.5 MB, free: 12.14 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05709/0.05711, allocations: 25.16 MB / 198.6 MB, free: 2.922 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1288/0.186, allocations: 35.82 MB / 234.4 MB, free: 4.402 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001682/0.1862, allocations: 63.97 kB / 234.5 MB, free: 4.34 MB / 170.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/StateGraph.mo:1516:7-1518:38:writable] Warning: Component inflow1 in env: Modelica.StateGraph.Examples.Utilities.Tank has the same name as its type Modelica.StateGraph.Examples.Utilities.inflow1. This is forbidden by Modelica specification and may lead to lookup errors. Error: Error occurred while flattening model Modelica.StateGraph.Examples.ControlledTanks