Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation.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/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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(Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation") translateModel(Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation") [: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.0026/0.0026, allocations: 173.3 kB / 7.448 MB, free: 2.004 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.23/1.23, 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.001045/0.001045, allocations: 102.4 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3246/0.3246, allocations: 37.07 MB / 368 MB, free: 47.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.197e-06/9.227e-06, allocations: 3.938 kB / 434.1 MB, free: 4.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1246, allocations: 60.07 MB / 494.2 MB, free: 8.742 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3865/0.5111, allocations: 173.9 MB / 0.6524 GB, free: 5.547 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.5114, allocations: 83.95 kB / 0.6525 GB, free: 5.465 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Fluid.mo:1253:9-1253:43:writable] Error: Using reinit in when with condition initial() is not allowed. Use assignment or equality equation instead. Error: Error occurred while flattening model Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation