Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 107 kB / 16.42 MB, free: 6.473 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.001065/0.001065, allocations: 190 kB / 17.36 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.165/1.165, 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 7.0.3-maint.7.0.x/package.mo): time 1.209/1.209, allocations: 251.7 MB / 0.51 GB, free: 432 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.763e-05, allocations: 2.281 kB / 0.7263 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001649/0.001674, allocations: 1.212 MB / 0.7275 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006786/0.002362, allocations: 388.8 kB / 0.7279 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.002394, allocations: 0 / 0.7279 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.002418, allocations: 7.938 kB / 0.7279 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.342e-05/0.002447, allocations: 3.938 kB / 0.7279 GB, free: 3.176 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.0004377/0.002893, allocations: 91.64 kB / 0.728 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.129e-05/0.002962, allocations: 15.98 kB / 0.728 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.645e-05/0.003004, allocations: 0 / 0.728 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.327e-05/0.003032, allocations: 15.91 kB / 0.728 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.504e-05/0.003063, allocations: 12 kB / 0.728 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.003078, allocations: 0 / 0.728 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.003242, allocations: 91.84 kB / 0.7281 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of combineBinaries: time 3.818e-05/0.003288, allocations: 23.73 kB / 0.7281 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 9.057e-06/0.003302, allocations: 19.75 kB / 0.7282 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.606e-05/0.003322, allocations: 4 kB / 0.7282 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.821e-06/0.003332, allocations: 0 / 0.7282 GB, free: 2.906 MB / 0.5606 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if Buildings.Occupants.BaseClasses.binaryVariableGeneration(p, integer(curSeed)) then y = 1.0; elseif true then y = 0.0; end if