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"}) Notification: Performance of loadModel(Buildings): time 4.158/4.158, allocations: 404.1 MB / 411.3 MB, free: 432 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.645e-05/2.644e-05, allocations: 4 kB / 0.4945 GB, free: 1.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6289/0.629, allocations: 92.68 MB / 0.5851 GB, free: 2.316 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3437/0.9727, allocations: 190.3 MB / 0.7709 GB, free: 3.684 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004055/0.9732, allocations: 99.94 kB / 0.771 GB, free: 3.586 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 Notification: Performance of FrontEnd: time 0.6343/1.608, allocations: 21.66 MB / 0.7922 GB, free: 179.1 MB / 0.6511 GB