Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001127/0.001127, allocations: 103.8 kB / 16.38 MB, free: 6.434 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.0011/0.0011, allocations: 190.5 kB / 17.31 MB, free: 5.777 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.183/1.183, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.559/1.559, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.077e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002246/0.002282, allocations: 1.48 MB / 0.6743 GB, free: 4.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.003397, allocations: 0.7683 MB / 0.675 GB, free: 3.633 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.626e-05/0.003443, allocations: 3.938 kB / 0.675 GB, free: 3.629 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.334e-05/0.003472, allocations: 7.922 kB / 0.6751 GB, free: 3.621 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.423e-05/0.00352, allocations: 11.88 kB / 0.6751 GB, free: 3.609 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.0004678/0.003999, allocations: 127.6 kB / 0.6752 GB, free: 3.484 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.845e-05/0.004105, allocations: 79.77 kB / 0.6753 GB, free: 3.406 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.138e-05/0.004194, allocations: 19.98 kB / 0.6753 GB, free: 3.387 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.345e-05/0.004272, allocations: 39.84 kB / 0.6753 GB, free: 3.348 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.669e-05/0.004336, allocations: 39.83 kB / 0.6754 GB, free: 3.309 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.004358, allocations: 8 kB / 0.6754 GB, free: 3.301 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.004506, allocations: 87.91 kB / 0.6755 GB, free: 3.215 MB / 0.545 GB Notification: Performance of combineBinaries: time 8.243e-05/0.004596, allocations: 102.9 kB / 0.6755 GB, free: 3.113 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 3.237e-05/0.004633, allocations: 55.12 kB / 0.6756 GB, free: 3.059 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.00466, allocations: 23.94 kB / 0.6756 GB, free: 3.035 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.598e-06/0.004673, allocations: 0 / 0.6756 GB, free: 3.035 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