Running command: "" <> buildModelFMU(Buildings.Examples.HydronicHeating.TwoRoomsWithStorage,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_HydronicHeating_TwoRoomsWithStorage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.257/4.257, allocations: 460.4 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.583e-05/3.587e-05, allocations: 0 / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2867, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.442/8.729, allocations: 2.705 GB / 3.377 GB, free: 108 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/8.729, allocations: 86.2 kB / 3.377 GB, free: 108 MB / 0.8855 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/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 28.9/37.63, allocations: 5.023 GB / 8.4 GB, free: 114.8 MB / 1.089 GB