Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_YorkCalc",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 7.0.1/package.mo): time 2.046/2.046, allocations: 248.6 MB / 255.9 MB, free: 332 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00171/0.00171, allocations: 184.5 kB / 315.1 MB, free: 7.738 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.1 MB / 0.5658 GB, free: 25.43 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001293/0.001293, allocations: 93.61 kB / 0.67 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2785/0.2799, allocations: 112.4 MB / 0.7797 GB, free: 2.414 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5123/0.7922, allocations: 106.2 MB / 0.8835 GB, free: 77.22 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.239/7.031, allocations: 2.511 GB / 3.394 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/7.032, allocations: 100.9 kB / 3.394 GB, free: 229.5 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Interfaces/LumpedVolumeDeclarations.mo:3:15-12:61:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.YorkCalc Error: Internal error SimCode: The model Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc could not be translated to FMU