Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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: "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [: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.7307/0.7307, allocations: 141.8 MB / 149.1 MB, free: 12.66 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 179.9 kB / 181.9 MB, free: 9.367 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.418/1.418, allocations: 221.3 MB / 436 MB, free: 1.723 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.0009096/0.0009094, allocations: 96.86 kB / 0.507 GB, free: 10.54 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001775/0.001775, allocations: 273.8 kB / 0.5884 GB, free: 7.379 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.198/0.1998, allocations: 89.65 MB / 0.676 GB, free: 13.64 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.6166, allocations: 82.76 MB / 0.7568 GB, free: 138.5 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6561/1.273, allocations: 394.9 MB / 1.142 GB, free: 6.125 MB / 0.6825 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/1.273, allocations: 92.56 kB / 1.143 GB, free: 6.082 MB / 0.6825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/Chillers/Validation/Carnot_TEva_2ndLaw.mo:81:5-96:72:writable] Error: Variable chi_b.chi: Cyclically dependent constants or parameters found in scope BuildingSystems.Fluid.Chillers.Carnot_TEva$chi_b$chi: {COP_nominal,etaCarnot_nominal} (ignore with -d=ignoreCycles). Error: Error occurred while flattening model BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw Error: Internal error SimCode: The model BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw could not be translated to FMU