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: translateModel(Buildings.Examples.HydronicHeating.TwoRoomsWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.HydronicHeating.TwoRoomsWithStorage") translateModel(Buildings.Examples.HydronicHeating.TwoRoomsWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.HydronicHeating.TwoRoomsWithStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.634/1.634, 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.001143/0.001143, allocations: 176.9 kB / 361.4 MB, free: 6.84 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.396/1.396, allocations: 205.3 MB / 0.62 GB, free: 11.68 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.0008167/0.0008168, allocations: 97.41 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.385e-05/1.388e-05, allocations: 0 / 0.8517 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6/0.6, allocations: 115.3 MB / 0.9643 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.147/6.747, allocations: 2.591 GB / 3.556 GB, free: 310.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/6.747, allocations: 90.77 kB / 3.556 GB, free: 310.8 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 20.88/27.63, allocations: 5.127 GB / 8.683 GB, free: 124.9 MB / 1.151 GB