Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001117/0.001117, allocations: 109.5 kB / 16.42 MB, free: 6.477 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.00106/0.00106, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.157/1.157, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.21/1.21, allocations: 251.7 MB / 0.51 GB, free: 380 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.278e-05, allocations: 5.938 kB / 0.7263 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001936/0.001958, allocations: 1.486 MB / 0.7278 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.003081, allocations: 0.7849 MB / 0.7286 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.407e-05/0.003125, allocations: 3.938 kB / 0.7286 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.003156, allocations: 7.875 kB / 0.7286 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.884e-05/0.0032, allocations: 7.938 kB / 0.7286 GB, free: 2.445 MB / 0.5606 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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.0004618/0.003674, allocations: 127.5 kB / 0.7287 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.003784, allocations: 79.81 kB / 0.7288 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.775e-05/0.00387, allocations: 19.98 kB / 0.7288 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.83e-05/0.003954, allocations: 27.92 kB / 0.7288 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.276e-05/0.004013, allocations: 39.83 kB / 0.7289 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.004034, allocations: 8 kB / 0.7289 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.004189, allocations: 95.84 kB / 0.729 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of combineBinaries: time 8.959e-05/0.004287, allocations: 102.9 kB / 0.7291 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 2.859e-05/0.004321, allocations: 63.12 kB / 0.7291 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.864e-05/0.004344, allocations: 11.94 kB / 0.7291 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.935e-06/0.004356, allocations: 0 / 0.7291 GB, free: 1.879 MB / 0.5606 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