Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7645/0.7645, allocations: 141.8 MB / 149.1 MB, free: 2.086 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 182.8 kB / 182 MB, free: 1.598 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 221.4 MB / 436.1 MB, free: 6.281 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009469/0.000947, allocations: 104.5 kB / 0.507 GB, free: 2.957 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001725/0.001725, allocations: 275.5 kB / 0.5885 GB, free: 48 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 8.185e-06/8.205e-06, allocations: 4 kB / 0.6759 GB, free: 6.371 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4204, allocations: 82.77 MB / 0.7567 GB, free: 25.44 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7275/1.148, allocations: 393.5 MB / 1.141 GB, free: 6.395 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/1.148, allocations: 91.62 kB / 1.141 GB, free: 6.348 MB / 0.6982 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/HeatPumps/Validation/Carnot_TCon_reverseFlow.mo:33:3-47:71:writable] Error: Variable heaPum: Cyclically dependent constants or parameters found in scope BuildingSystems.Fluid.HeatPumps.Carnot_TCon$heaPum: {COP_nominal,etaCarnot_nominal} (ignore with -d=ignoreCycles). Error: Error occurred while flattening model BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow