Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 105 kB / 16.42 MB, free: 6.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 192.3 kB / 17.36 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.105/1.105, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.175/2.175, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103e-05/1.105e-05, allocations: 2.281 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001831/0.00185, allocations: 1.49 MB / 1.056 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009831/0.002844, allocations: 0.7322 MB / 1.057 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.002885, allocations: 0 / 1.057 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.241e-05/0.002916, allocations: 7.938 kB / 1.057 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.212e-05/0.002963, allocations: 11.86 kB / 1.057 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.003378, allocations: 127.6 kB / 1.057 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.903e-05/0.003487, allocations: 75.83 kB / 1.057 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.199e-05/0.003566, allocations: 15.98 kB / 1.057 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.797e-05/0.00364, allocations: 39.84 kB / 1.057 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.229e-05/0.0037, allocations: 35.84 kB / 1.057 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.003721, allocations: 8 kB / 1.057 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.003879, allocations: 95.84 kB / 1.057 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of combineBinaries: time 7.668e-05/0.003963, allocations: 106.9 kB / 1.057 GB, free: 5 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 2.491e-05/0.003993, allocations: 59.12 kB / 1.057 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.004023, allocations: 11.94 kB / 1.057 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.646e-06/0.004036, allocations: 0 / 1.057 GB, free: 4.93 MB / 0.8262 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if hea.occ then hea.p = exp(hea.A * (hea.TOut - 273.15) + hea.B) / (exp(hea.A * (hea.TOut - 273.15) + hea.B) + 1.0); hea.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(hea.p, integer(hea.curSeed)); elseif true then hea.p = 0.0; hea.on = false; end if