Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid",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.11/4.11, allocations: 404 MB / 410.9 MB, free: 4.902 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2426/4.352, allocations: 95.01 MB / 0.4941 GB, free: 7.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5649/4.917, allocations: 92.69 MB / 0.5846 GB, free: 3.383 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4195/5.337, allocations: 187.6 MB / 0.7678 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005118/5.337, allocations: 91.94 kB / 0.7679 GB, free: 9.871 MB / 0.6511 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/AC/ThreePhasesBalanced/Lines/Network.mo:8:15-9:95:writable] Error: Type mismatch in binding commercialCable = {Buildings.Electrical.Transmission.LowVoltageCables.Generic(Buildings.Electrical.Transmission.Types.Material.Cu, 130.0, 298.15, 507.65, 0.000517, 7.4e-05)}, expected subtype of record Buildings.Electrical.Transmission.LowVoltageCables.Generic enumeration(Cu, Al) material; Real(start = 0.0, quantity = "ElectricCurrent", unit = "A") Amp; Real(quantity = "ThermodynamicTemperature", unit = "K", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = "degC") T_ref; Real(quantity = "ThermodynamicTemperature", unit = "K", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = "degC") M; Real(start = 0.0, quantity = "Resistance per meter", unit = "Ohm/m") RCha; Real(start = 0.0, quantity = "Reactance per meter", unit = "Ohm/m") XCha; end Buildings.Electrical.Transmission.LowVoltageCables.Generic;, got type record Buildings.Electrical.Transmission.LowVoltageCables.Generic enumeration(Cu, Al) material; Real(start = 0.0, quantity = "ElectricCurrent", unit = "A") Amp; Real(quantity = "ThermodynamicTemperature", unit = "K", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = "degC") T_ref; Real(quantity = "ThermodynamicTemperature", unit = "K", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = "degC") M; Real(start = 0.0, quantity = "Resistance per meter", unit = "Ohm/m") RCha; Real(start = 0.0, quantity = "Reactance per meter", unit = "Ohm/m") XCha; end Buildings.Electrical.Transmission.LowVoltageCables.Generic;[1]. Error: Error occurred while flattening model Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid Error: Internal error SimCode: The model Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid could not be translated to FMU