Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",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.171/4.171, allocations: 404 MB / 410.9 MB, free: 4.906 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2654/4.437, allocations: 95 MB / 0.4941 GB, free: 7.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5008/4.938, allocations: 92.68 MB / 0.5846 GB, free: 3.371 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.24/11.18, allocations: 2.474 GB / 3.058 GB, free: 97.83 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/11.18, allocations: 91.45 kB / 3.058 GB, free: 97.79 MB / 0.7761 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/Interfaces/PartialFourPort.mo:4:15-6:45:writable] Notification: From here: [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/HeatExchangers/Examples/WetCoilCounterFlowPControl.mo:68:3-86:28:writable] Error: component hex contains the definition of a partial class Medium1. Please redeclare it to any package compatible with Modelica.Media.Interfaces.PartialMedium. Error: Error occurred while flattening model Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl Error: Internal error SimCode: The model Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl could not be translated to FMU