Running command: "" <> buildModelFMU(OpenHPL.Tests.HPSimplePenstockAutoRefGate,fileNamePrefix="OpenHPL_OpenHPL_Tests_HPSimplePenstockAutoRefGate",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 loadModel(OpenHPL): time 2.34/2.34, allocations: 257.8 MB / 264.8 MB, free: 15.97 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1726/2.512, allocations: 62.55 MB / 327.4 MB, free: 1.414 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/2.864, allocations: 60.22 MB / 387.6 MB, free: 7.105 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2412/3.105, allocations: 96.6 MB / 484.2 MB, free: 7.082 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004017/3.106, allocations: 87.95 kB / 484.3 MB, free: 6.996 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/OpenHPL 1.1.1/Tests/HPSimplePenstockAutoRefGate.mo:50:3-51:49:writable] Error: Failed to instantiate equation connect(turbine.n, discharge.p);. Error: Error occurred while flattening model OpenHPL.Tests.HPSimplePenstockAutoRefGate Error: Internal error SimCode: The model OpenHPL.Tests.HPSimplePenstockAutoRefGate could not be translated to FMU