Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.HydronicHeating.TwoRoomsWithStorage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.HydronicHeating.TwoRoomsWithStorage,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_HydronicHeating_TwoRoomsWithStorage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.HydronicHeating.TwoRoomsWithStorage,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_HydronicHeating_TwoRoomsWithStorage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.681/1.681, allocations: 285.6 MB / 293.1 MB, free: 10.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001433/0.001433, allocations: 188.3 kB / 361.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.87/1.87, allocations: 205.3 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008498/0.0008494, allocations: 89 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.378e-05/2.38e-05, allocations: 4 kB / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.845/0.8451, allocations: 115.3 MB / 0.9644 GB, free: 78.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.125/7.97, allocations: 2.591 GB / 3.556 GB, free: 309.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/7.97, allocations: 89.08 kB / 3.556 GB, free: 309.5 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 23.46/31.43, allocations: 5.127 GB / 8.683 GB, free: 122.7 MB / 1.151 GB