[:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Warning: Requested package Modelica of version 3.2.2, but this package was already loaded with version 3.2.1. You might experience problems if these versions are incompatible. Notification: Performance of loadModel(Buildings): time 2.856/2.856, allocations: 320.9 MB / 327.9 MB, free: 5.574 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.332/3.188, allocations: 75.72 MB / 403.6 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/3.371, allocations: 73.4 MB / 477 MB, free: 7.023 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5839/3.955, allocations: 171 MB / 0.6328 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003775/3.955, allocations: 95.16 kB / 0.6329 GB, free: 0.5195 MB / 0.4948 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 3.0.0/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