Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.Applications.HarelsWristWatch.WristWatch.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.HarelsWristWatch.WristWatch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.Applications.HarelsWristWatch.WristWatch") translateModel(Modelica_StateGraph2.Examples.Applications.HarelsWristWatch.WristWatch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.Applications.HarelsWristWatch.WristWatch") [: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.002737/0.002737, allocations: 182.6 kB / 7.455 MB, free: 2.234 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.239/1.239, allocations: 221.4 MB / 229.3 MB, free: 3.062 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.0009593/0.0009593, allocations: 94.12 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.06857/0.06857, allocations: 13.57 MB / 344.5 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.512e-06/6.552e-06, allocations: 0 / 404.2 MB, free: 61.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09211/0.09213, allocations: 53.7 MB / 457.9 MB, free: 8.039 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3201/0.4123, allocations: 84.2 MB / 0.5294 GB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001189/0.4125, allocations: 52.55 kB / 0.5295 GB, free: 15.08 MB / 362.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:12865:3-12865:34:writable] Warning: Connecting two signal sources while connecting outPort[1].fire to local_outPort[1].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: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:12868:3-12868:30:writable] Warning: Connecting two signal sources while connecting entry[2].checkUnaryConnection to local_entry[2].checkUnaryConnection. [/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[3].checkUnaryConnection to local_entry[3].checkUnaryConnection. [/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[4].checkUnaryConnection to local_entry[4].checkUnaryConnection. [/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[5].checkUnaryConnection to local_entry[5].checkUnaryConnection. [/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[6].checkUnaryConnection to local_entry[6].checkUnaryConnection. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12870:5-12870:30:writable] Warning: Connecting two signal sources while connecting exit[1].available to local_exit[1].available. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12870:5-12870:30:writable] Warning: Connecting two signal sources while connecting exit[1].checkOneDelayedTransitionPerLoop to local_exit[1].checkOneDelayedTransitionPerLoop. [/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, local_entry[2].node, local_entry[3].node, local_entry[4].node, local_entry[5].node, local_entry[6].node}). The argument has type: record Modelica_StateGraph2.Internal.Interfaces.Node Boolean suspend; Boolean resume; end Modelica_StateGraph2.Internal.Interfaces.Node;[6] expected type: OpenModelica.Code.VariableName[:] Error: Error occurred while flattening model Modelica_StateGraph2.Examples.Applications.HarelsWristWatch.WristWatch