Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.VAVReheat.Guideline36.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Guideline36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|flo.sou.air.vol.T|flo.eas.air.vol.T|flo.nor.air.vol.T|flo.wes.air.vol.T|flo.cor.air.vol.T|hvac.VAVBox.1..TSup|hvac.VAVBox.2..TSup|hvac.VAVBox.3..TSup|hvac.VAVBox.4..TSup|hvac.VAVBox.5..TSup|hvac.VAVBox.1..vav.m_flow|hvac.VAVBox.2..vav.m_flow|hvac.VAVBox.3..vav.m_flow|hvac.VAVBox.4..vav.m_flow|hvac.VAVBox.5..vav.m_flow_turbulent|hvac.conAHU.VEffOutAir_flow|hvac.conAHU.VOut_flow|hvac.conAHU.yOutDamPos|hvac.conAHU.eco.mod.uOutDamPosMin|hvac.conAHU.eco.mod.uOutDamPosMax|hvac.conAHU.yRetDamPos",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.Guideline36") translateModel(Buildings.Examples.VAVReheat.Guideline36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|flo.sou.air.vol.T|flo.eas.air.vol.T|flo.nor.air.vol.T|flo.wes.air.vol.T|flo.cor.air.vol.T|hvac.VAVBox.1..TSup|hvac.VAVBox.2..TSup|hvac.VAVBox.3..TSup|hvac.VAVBox.4..TSup|hvac.VAVBox.5..TSup|hvac.VAVBox.1..vav.m_flow|hvac.VAVBox.2..vav.m_flow|hvac.VAVBox.3..vav.m_flow|hvac.VAVBox.4..vav.m_flow|hvac.VAVBox.5..vav.m_flow_turbulent|hvac.conAHU.VEffOutAir_flow|hvac.conAHU.VOut_flow|hvac.conAHU.yOutDamPos|hvac.conAHU.eco.mod.uOutDamPosMin|hvac.conAHU.eco.mod.uOutDamPosMax|hvac.conAHU.yRetDamPos",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.Guideline36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.515/2.515, allocations: 390.3 MB / 405.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 176.8 kB / 498.1 MB, free: 5.535 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.809/1.809, allocations: 223.2 MB / 0.7949 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 100.1 kB / 0.9346 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005187/0.0005188, allocations: 13.47 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.353, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.58/7.933, allocations: 2.569 GB / 3.791 GB, free: 264.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/7.933, allocations: 96.66 kB / 3.792 GB, free: 264.3 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Examples/VAVReheat/BaseClasses/Floor.mo:243:7-243:29:writable] Error: Type mismatch in binding material = Buildings.HeatTransfer.Data.Solids.Concrete$flo$matCon(0.1, 1.311, 836, 2240.0, 0.07627765064836003, 5, 2, false, 331.4, 119.5159318710878, 1.803197523703799, 293.15, 293.15, 0.0, false, false), expected subtype of 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;, got type record Buildings.HeatTransfer.Data.Solids.Concrete$flo$matCon Real x; Real k; Integer c; Real d; Real R; Integer nStaRef; Integer nSta; Boolean steadyState; Real piRef; Real piMat; Real nStaReal; Real TSol; Real TLiq; Real LHea; Boolean ensureMonotonicity; Boolean phasechange; end Buildings.HeatTransfer.Data.Solids.Concrete$flo$matCon;. Error: Error occurred while flattening model Buildings.Examples.VAVReheat.Guideline36 Notification: Performance of FrontEnd: time 4.084/12.02, allocations: 1.063 GB / 4.855 GB, free: 101.6 MB / 1.167 GB