Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 106.1 kB / 16.42 MB, free: 6.484 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.001038/0.001038, allocations: 190 kB / 17.36 MB, free: 5.703 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.102/1.102, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.112/2.112, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084e-05/1.085e-05, allocations: 5.312 kB / 1.055 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001791/0.001809, allocations: 1.472 MB / 1.056 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009716/0.002792, allocations: 0.74 MB / 1.057 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.002834, allocations: 4 kB / 1.057 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.002868, allocations: 7.922 kB / 1.057 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.863e-05/0.00292, allocations: 11.88 kB / 1.057 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004042/0.003329, allocations: 127.6 kB / 1.057 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.00344, allocations: 79.77 kB / 1.057 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.555e-05/0.003522, allocations: 8 kB / 1.057 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.957e-05/0.003597, allocations: 43.89 kB / 1.057 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.203e-05/0.003657, allocations: 39.78 kB / 1.057 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.003676, allocations: 4 kB / 1.057 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.003828, allocations: 99.84 kB / 1.057 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of combineBinaries: time 7.896e-05/0.003915, allocations: 106.9 kB / 1.057 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 2.402e-05/0.003944, allocations: 55.12 kB / 1.057 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.944e-05/0.003968, allocations: 11.94 kB / 1.057 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.019e-05/0.003982, allocations: 4 kB / 1.057 GB, free: 4.977 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