Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_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_11_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.001327/0.001327, allocations: 114.2 kB / 16.43 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.001716/0.001716, allocations: 182 kB / 17.36 MB, free: 5.746 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.203/1.203, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.289/2.289, allocations: 469.8 MB / 0.7432 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/1.933e-05, allocations: 2.281 kB / 1.066 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002112/0.002139, allocations: 1.474 MB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.003341, allocations: 0.7439 MB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.375e-05/0.003406, allocations: 0 / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.003444, allocations: 3.938 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.64e-05/0.003508, allocations: 11.86 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005371/0.004057, allocations: 119.6 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.004218, allocations: 83.83 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.004326, allocations: 7.984 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.908e-05/0.004431, allocations: 43.84 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.004505, allocations: 43.83 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.004532, allocations: 4 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.004726, allocations: 91.84 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001081/0.004842, allocations: 106.9 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 3.275e-05/0.00488, allocations: 55.12 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.004911, allocations: 15.94 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.346e-05/0.004939, allocations: 4 kB / 1.069 GB, free: 10.84 MB / 0.8419 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