Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System2,fileNamePrefix="Buildings_5_0_1_Buildings_Examples_Tutorial_SpaceCooling_System2",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.229/4.229, allocations: 404 MB / 410.9 MB, free: 4.875 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2863/4.515, allocations: 94.99 MB / 0.4941 GB, free: 7.344 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5646/5.08, allocations: 92.69 MB / 0.5846 GB, free: 3.398 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.495/11.57, allocations: 2.507 GB / 3.092 GB, free: 62.64 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/11.57, allocations: 80.2 kB / 3.092 GB, free: 62.6 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/Examples/Tutorial/SpaceCooling/System2.mo:82:3-100:28:writable] Error: component cooCoi 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.Examples.Tutorial.SpaceCooling.System2 Error: Internal error SimCode: The model Buildings.Examples.Tutorial.SpaceCooling.System2 could not be translated to FMU