Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.HydronicHeating.TwoRoomsWithStorage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.HydronicHeating.TwoRoomsWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.HydronicHeating.TwoRoomsWithStorage") translateModel(Buildings.Examples.HydronicHeating.TwoRoomsWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.HydronicHeating.TwoRoomsWithStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.68/1.68, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001141/0.001141, allocations: 184.5 kB / 377.1 MB, free: 1.52 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.728/1.728, allocations: 205.4 MB / 0.6367 GB, free: 9.473 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.000851/0.0008509, allocations: 95.48 kB / 0.751 GB, free: 62.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003638, allocations: 12 kB / 0.8748 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3078, allocations: 116.3 MB / 0.9883 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.35/7.658, allocations: 2.593 GB / 3.581 GB, free: 246 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/7.659, allocations: 96.56 kB / 3.581 GB, free: 246 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 21.26/28.92, allocations: 5.182 GB / 8.763 GB, free: 47.07 MB / 1.151 GB