Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001517/0.001517, allocations: 107.3 kB / 16.42 MB, free: 5.973 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.001502/0.001502, allocations: 191.3 kB / 17.36 MB, free: 5.566 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.155/1.155, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.226/1.226, allocations: 251.7 MB / 0.51 GB, free: 396 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.797e-05, allocations: 2.281 kB / 0.7263 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002018/0.002044, allocations: 1.487 MB / 0.7278 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.003167, allocations: 0.7732 MB / 0.7285 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.648e-05/0.003215, allocations: 7.938 kB / 0.7286 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.394e-05/0.003244, allocations: 3.938 kB / 0.7286 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.892e-05/0.003297, allocations: 11.88 kB / 0.7286 GB, free: 2.465 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.0004752/0.003779, allocations: 127.6 kB / 0.7287 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.003902, allocations: 79.77 kB / 0.7288 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.887e-05/0.003996, allocations: 15.97 kB / 0.7288 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.647e-05/0.004078, allocations: 31.92 kB / 0.7288 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.944e-05/0.004146, allocations: 43.83 kB / 0.7289 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.004166, allocations: 4 kB / 0.7289 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.004325, allocations: 99.84 kB / 0.729 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of combineBinaries: time 8.355e-05/0.004416, allocations: 102.9 kB / 0.7291 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 3.234e-05/0.004454, allocations: 59.12 kB / 0.7291 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.00448, allocations: 7.938 kB / 0.7291 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.846e-06/0.004493, allocations: 0 / 0.7291 GB, free: 1.902 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