Running command: "" <> buildModelFMU(Buildings.Examples.HydronicHeating.TwoRoomsWithStorage,fileNamePrefix="Buildings_5_0_1_Buildings_Examples_HydronicHeating_TwoRoomsWithStorage",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.567/4.567, allocations: 404.1 MB / 411.3 MB, free: 408 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.432e-05/2.443e-05, allocations: 4 kB / 0.4945 GB, free: 1.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6818/0.6818, allocations: 92.69 MB / 0.585 GB, free: 2.406 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.675/10.36, allocations: 2.669 GB / 3.254 GB, free: 162.7 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/10.36, allocations: 90.62 kB / 3.254 GB, free: 162.7 MB / 0.7761 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Examples/HydronicHeating/TwoRoomsWithStorage.mo:94:7-94:36:writable] Error: Type mismatch in array expression in component . matLayPar is of type record Buildings.HeatTransfer.Data.OpaqueConstructions.Generic$matLayFlo Integer(min = 1) nLay; record Buildings.HeatTransfer.Data.BaseClasses.Material Real(quantity = "Length", unit = "m") x; Real(quantity = "ThermalConductivity", unit = "W/(m.K)") k; Real(quantity = "SpecificHeatCapacity", unit = "J/(kg.K)") c; Real(quantity = "Density", unit = "kg/m3", displayUnit = "g/cm3", min = 0.0) d; Real(unit = "m2.K/W") R; Integer(min = 0) nStaRef; Integer(min = 1) nSta; Boolean steadyState; Real piRef; Real piMat; Real(min = 0.0) nStaReal; Real(quantity = "ThermodynamicTemperature", unit = "K", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = "degC") TSol; Real(quantity = "ThermodynamicTemperature", unit = "K", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = "degC") TLiq; Real(quantity = "SpecificEnergy", unit = "J/kg") LHea; Boolean ensureMonotonicity; Boolean phasechange; end Buildings.HeatTransfer.Data.BaseClasses.Material;[3] material; Real(unit = "m2.K/W") R; Integer(min = 1)[3] nSta; Real(quantity = "Emissivity", unit = "1") absIR_a; Real(quantity = "Emissivity", unit = "1") absIR_b; Real(quantity = "Emissivity", unit = "1") absSol_a; Real(quantity = "Emissivity", unit = "1") absSol_b; enumeration(VeryRough, Rough, Medium, MediumSmooth, Smooth, VerySmooth) roughness_a; end Buildings.HeatTransfer.Data.OpaqueConstructions.Generic$matLayFlo; while the elements [matLayFlo,matLayPar] are of type record Buildings.HeatTransfer.Data.OpaqueConstructions.Brick120 Integer(min = 1) nLay; record Buildings.HeatTransfer.Data.BaseClasses.Material Real(quantity = "Length", unit = "m") x; Real(quantity = "ThermalConductivity", unit = "W/(m.K)") k; Real(quantity = "SpecificHeatCapacity", unit = "J/(kg.K)") c; Real(quantity = "Density", unit = "kg/m3", displayUnit = "g/cm3", min = 0.0) d; Real(unit = "m2.K/W") R; Integer(min = 0) nStaRef; Integer(min = 1) nSta; Boolean steadyState; Real piRef; Real piMat; Real(min = 0.0) nStaReal; Real(quantity = "ThermodynamicTemperature", unit = "K", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = "degC") TSol; Real(quantity = "ThermodynamicTemperature", unit = "K", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = "degC") TLiq; Real(quantity = "SpecificEnergy", unit = "J/kg") LHea; Boolean ensureMonotonicity; Boolean phasechange; end Buildings.HeatTransfer.Data.BaseClasses.Material;[1] material; Real(unit = "m2.K/W") R; Integer(min = 1)[1] nSta; Real(quantity = "Emissivity", unit = "1") absIR_a; Real(quantity = "Emissivity", unit = "1") absIR_b; Real(quantity = "Emissivity", unit = "1") absSol_a; Real(quantity = "Emissivity", unit = "1") absSol_b; enumeration(VeryRough, Rough, Medium, MediumSmooth, Smooth, VerySmooth) roughness_a; end Buildings.HeatTransfer.Data.OpaqueConstructions.Brick120;. Error: Error occurred while flattening model Buildings.Examples.HydronicHeating.TwoRoomsWithStorage Notification: Performance of FrontEnd: time 35.4/45.76, allocations: 4.903 GB / 8.157 GB, free: 6.984 MB / 0.9636 GB