Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 109.8 kB / 16.42 MB, free: 6.457 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.001044/0.001044, allocations: 188.2 kB / 17.36 MB, free: 5.73 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.113/1.113, 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.129/2.129, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151e-05/1.152e-05, allocations: 2.5 kB / 1.055 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001912/0.001931, allocations: 1.483 MB / 1.056 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.00301, allocations: 0.74 MB / 1.057 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.003062, allocations: 0 / 1.057 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/0.003093, allocations: 7.922 kB / 1.057 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.281e-05/0.003159, allocations: 15.86 kB / 1.057 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.003602, allocations: 119.6 kB / 1.057 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.003719, allocations: 83.83 kB / 1.057 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.104e-05/0.003796, allocations: 8 kB / 1.057 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.69e-05/0.003879, allocations: 39.83 kB / 1.057 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.003939, allocations: 39.84 kB / 1.057 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.00396, allocations: 8 kB / 1.057 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.004115, allocations: 95.84 kB / 1.057 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of combineBinaries: time 8.154e-05/0.004205, allocations: 106.9 kB / 1.057 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 2.572e-05/0.004238, allocations: 63.12 kB / 1.057 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.004262, allocations: 11.94 kB / 1.057 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.134e-05/0.004278, allocations: 0 / 1.057 GB, free: 4.953 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