Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.0008951/0.0008951, allocations: 109.1 kB / 16.42 MB, free: 6.473 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.0008691/0.0008692, allocations: 189.5 kB / 17.36 MB, free: 5.707 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.135/1.135, 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 9.1.3-maint.9.1.x/package.mo): time 1.886/1.886, allocations: 390.2 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.286e-05, allocations: 6.219 kB / 0.9514 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002282/0.002312, allocations: 1.486 MB / 0.9529 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.003508, allocations: 0.7323 MB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.678e-05/0.003565, allocations: 0 / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.003603, allocations: 11.92 kB / 0.9536 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.268e-05/0.003661, allocations: 11.88 kB / 0.9536 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.004196, allocations: 123.6 kB / 0.9537 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.004325, allocations: 79.77 kB / 0.9538 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.004434, allocations: 16 kB / 0.9538 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.874e-05/0.004529, allocations: 39.83 kB / 0.9539 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.879e-05/0.004595, allocations: 35.84 kB / 0.9539 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.004618, allocations: 8 kB / 0.9539 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.004801, allocations: 91.91 kB / 0.954 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of combineBinaries: time 8.862e-05/0.004898, allocations: 110.8 kB / 0.9541 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.749e-05/0.004933, allocations: 59.12 kB / 0.9541 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.004968, allocations: 11.94 kB / 0.9542 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.457e-05/0.004987, allocations: 0 / 0.9542 GB, free: 4.941 MB / 0.7325 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