Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_Merkel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_Merkel",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/Buildings 8.0.0/package.mo): time 2.585/2.585, allocations: 284.8 MB / 292.1 MB, free: 9.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001723/0.001723, allocations: 183.9 kB / 360.3 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.1 MB / 0.6187 GB, free: 3.281 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001255/0.001254, allocations: 93.42 kB / 0.7317 GB, free: 1.762 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5498/0.5511, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.7751, allocations: 115.3 MB / 0.9628 GB, free: 56.91 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.803/6.579, allocations: 2.407 GB / 3.369 GB, free: 262.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/6.579, allocations: 102.1 kB / 3.369 GB, free: 262.4 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Interfaces/LumpedVolumeDeclarations.mo:3:15-12:61:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/HeatExchangers/CoolingTowers/Examples/BaseClasses/PartialStaticTwoPortCoolingTower.mo:11:3-20:71:writable] Error: component tow contains the definition of a partial class Medium. Please redeclare it to any package compatible with Modelica.Media.Interfaces.PartialMedium. Error: Error occurred while flattening model Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel Error: Internal error SimCode: The model Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel could not be translated to FMU