Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"dynamic"}) [: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 loadModel(Buildings): time 4.497/4.497, allocations: 403.9 MB / 410.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2699/4.767, allocations: 95.02 MB / 0.4941 GB, free: 7.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5383/5.306, allocations: 92.67 MB / 0.5846 GB, free: 3.363 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.526/11.83, allocations: 2.479 GB / 3.064 GB, free: 141.4 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004462/11.83, allocations: 100.2 kB / 3.064 GB, free: 141.3 MB / 0.7761 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/Interfaces/LumpedVolumeDeclarations.mo:3:15-5:45:writable] Notification: From here: [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.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