Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium",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.058/4.058, allocations: 403.9 MB / 410.9 MB, free: 4.969 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2431/4.302, allocations: 95.03 MB / 0.4941 GB, free: 7.355 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5313/4.833, allocations: 92.68 MB / 0.5846 GB, free: 3.434 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3917/5.225, allocations: 190.3 MB / 0.7704 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000603/5.225, allocations: 103.8 kB / 0.7705 GB, free: 7.211 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/Examples/ACSimpleGridMedium.mo:6:13-8:46:writable] Error: Type mismatch in binding commercialCable = {Buildings.Electrical.Transmission.MediumVoltageCables.Generic(Buildings.Electrical.Transmission.Types.Material.Al, 250.0, 298.15, 501.25, "3/0", 0.000344488, 0.011582, 0.028956, 0.0045100308, 0.2400149600049734)}, expected subtype of record Buildings.Electrical.Transmission.MediumVoltageCables.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; String(start = "") size; Real(start = 0.0, quantity = "Resistance per meter", unit = "Ohm/m") Rdc; Real(quantity = "Length", unit = "m") d; Real(quantity = "Length", unit = "m") D; Real(quantity = "Length", unit = "m") GMR; Real(quantity = "Length", unit = "m") GMD; end Buildings.Electrical.Transmission.MediumVoltageCables.Generic;, got type record Buildings.Electrical.Transmission.MediumVoltageCables.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; String(start = "") size; Real(start = 0.0, quantity = "Resistance per meter", unit = "Ohm/m") Rdc; Real(quantity = "Length", unit = "m") d; Real(quantity = "Length", unit = "m") D; Real(quantity = "Length", unit = "m") GMR; Real(quantity = "Length", unit = "m") GMD; end Buildings.Electrical.Transmission.MediumVoltageCables.Generic;[1]. Error: Error occurred while flattening model Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium Error: Internal error SimCode: The model Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium could not be translated to FMU