Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001234/0.001234, allocations: 107.7 kB / 16.42 MB, free: 5.992 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.001345/0.001345, allocations: 188.2 kB / 17.36 MB, free: 5.57 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.123/1.123, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.046/2.046, allocations: 437 MB / 0.7111 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.549e-05, allocations: 2.281 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001904/0.001927, allocations: 1.476 MB / 1.021 GB, free: 7.98 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.002956, allocations: 0.744 MB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.003005, allocations: 3.938 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.222e-05/0.003035, allocations: 7.938 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.057e-05/0.003079, allocations: 7.875 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.00353, allocations: 123.6 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.003645, allocations: 79.83 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.966e-05/0.003732, allocations: 23.91 kB / 1.022 GB, free: 6.988 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/0.00381, allocations: 35.86 kB / 1.022 GB, free: 6.953 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.359e-05/0.00387, allocations: 39.83 kB / 1.022 GB, free: 6.914 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.003891, allocations: 4 kB / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.00405, allocations: 95.91 kB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of combineBinaries: time 8.421e-05/0.004141, allocations: 102.9 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 2.525e-05/0.004171, allocations: 55.12 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.004195, allocations: 11.94 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.291e-05/0.004212, allocations: 7.938 kB / 1.022 GB, free: 6.641 MB / 0.795 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