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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.333/2.333, allocations: 248.5 MB / 261.1 MB, free: 5.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00158/0.001579, allocations: 170.6 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.2 MB / 0.571 GB, free: 11.77 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.001136/0.001136, allocations: 105.7 kB / 0.6754 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.954e-05/3.971e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2038, allocations: 106.2 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.148/8.352, allocations: 2.512 GB / 3.402 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/8.352, allocations: 100.9 kB / 3.402 GB, free: 156 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 Notification: Performance of FrontEnd: time 1.778/10.13, allocations: 305.2 MB / 3.7 GB, free: 191.5 MB / 0.8698 GB