Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001206/0.001206, allocations: 103.5 kB / 16.37 MB, free: 6.367 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.001094/0.001094, allocations: 195.2 kB / 17.31 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.195/1.195, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.582/1.582, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.276e-05, allocations: 6.219 kB / 0.6728 GB, free: 5.887 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002299/0.002336, allocations: 1.474 MB / 0.6743 GB, free: 4.398 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.003488, allocations: 0.7799 MB / 0.675 GB, free: 3.609 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.003531, allocations: 3.938 kB / 0.6751 GB, free: 3.605 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.003563, allocations: 3.938 kB / 0.6751 GB, free: 3.602 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.288e-05/0.00361, allocations: 11.86 kB / 0.6751 GB, free: 3.59 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.004109, allocations: 123.6 kB / 0.6752 GB, free: 3.469 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.004221, allocations: 83.77 kB / 0.6753 GB, free: 3.387 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.655e-05/0.004313, allocations: 11.98 kB / 0.6753 GB, free: 3.375 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.867e-05/0.004398, allocations: 39.86 kB / 0.6753 GB, free: 3.336 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.43e-05/0.004459, allocations: 43.81 kB / 0.6754 GB, free: 3.293 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.004479, allocations: 4 kB / 0.6754 GB, free: 3.289 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.00464, allocations: 91.91 kB / 0.6754 GB, free: 3.199 MB / 0.545 GB Notification: Performance of combineBinaries: time 8.342e-05/0.004731, allocations: 102.9 kB / 0.6755 GB, free: 3.098 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 3.698e-05/0.004775, allocations: 63.12 kB / 0.6756 GB, free: 3.035 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.142e-05/0.004801, allocations: 11.94 kB / 0.6756 GB, free: 3.023 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.31e-05/0.004818, allocations: 7.938 kB / 0.6756 GB, free: 3.016 MB / 0.545 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