Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.Applications.ControlledTanks.ControlledTanks1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_StateGraph2.Examples.Applications.ControlledTanks.ControlledTanks1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.Applications.ControlledTanks.ControlledTanks1") translateModel(Modelica_StateGraph2.Examples.Applications.ControlledTanks.ControlledTanks1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.Applications.ControlledTanks.ControlledTanks1") [: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/Complex 4.0.0+maint.om/package.mo): time 0.0035/0.003501, allocations: 179.4 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 221.4 MB / 229.3 MB, free: 3.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 96.55 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.06406/0.06406, allocations: 13.58 MB / 344.5 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.194e-06/7.234e-06, allocations: 4 kB / 404.2 MB, free: 61.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 53.71 MB / 457.9 MB, free: 8.055 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6528/0.7598, allocations: 300.9 MB / 0.741 GB, free: 67.66 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001766/0.7601, allocations: 53.97 kB / 0.741 GB, free: 67.64 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12864:3-12864:32:writable] Warning: Connecting two signal sources while connecting inPort[1].checkOneDelayedTransitionPerLoop to local_inPort[1].checkOneDelayedTransitionPerLoop. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12864:3-12864:32:writable] Warning: Connecting two signal sources while connecting inPort[1].fire to local_inPort[1].fire. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12864:3-12864:32:writable] Warning: Connecting two signal sources while connecting inPort[2].checkOneDelayedTransitionPerLoop to local_inPort[2].checkOneDelayedTransitionPerLoop. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12864:3-12864:32:writable] Warning: Connecting two signal sources while connecting inPort[2].fire to local_inPort[2].fire. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12866:3-12866:34:writable] Warning: Connecting two signal sources while connecting suspend[1].fire to local_suspend[1].fire. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12867:3-12867:32:writable] Warning: Connecting two signal sources while connecting resume[1].checkOneDelayedTransitionPerLoop to local_resume[1].checkOneDelayedTransitionPerLoop. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12867:3-12867:32:writable] Warning: Connecting two signal sources while connecting resume[1].fire to local_resume[1].fire. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12868:3-12868:30:writable] Warning: Connecting two signal sources while connecting entry[1].checkUnaryConnection to local_entry[1].checkUnaryConnection. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15020:7-15026:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15028:7-15035:4:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRootIndices. Functionality might be partially supported but is not guaranteed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15028:7-15035:4:writable] Error: Type mismatch for positional argument 1 in Connections.uniqueRootIndices(roots={local_entry[1].node}). The argument has type: record Modelica_StateGraph2.Internal.Interfaces.Node Boolean suspend; Boolean resume; end Modelica_StateGraph2.Internal.Interfaces.Node;[1] expected type: OpenModelica.Code.VariableName[:] Error: Error occurred while flattening model Modelica_StateGraph2.Examples.Applications.ControlledTanks.ControlledTanks1