Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D") 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: 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.001099/0.001099, 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.161/1.161, 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.233/1.233, allocations: 251.7 MB / 0.51 GB, free: 432 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.979e-06/9.999e-06, allocations: 2.281 kB / 0.7263 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001557/0.001575, allocations: 1.223 MB / 0.7275 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006614/0.002246, allocations: 420.7 kB / 0.7279 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.002275, allocations: 0 / 0.7279 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.002295, allocations: 3.938 kB / 0.7279 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.916e-05/0.002328, allocations: 0 / 0.7279 GB, free: 3.102 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/linear1D.mo:2:1-30:13:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.linear1D' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.002773, allocations: 115.6 kB / 0.7281 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.277e-05/0.002833, allocations: 19.92 kB / 0.7281 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.074e-05/0.002869, allocations: 0 / 0.7281 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.243e-05/0.002896, allocations: 15.92 kB / 0.7281 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.171e-05/0.002922, allocations: 4 kB / 0.7281 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.002935, allocations: 0 / 0.7281 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.003092, allocations: 99.89 kB / 0.7282 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of combineBinaries: time 3.608e-05/0.003136, allocations: 35.66 kB / 0.7282 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 1.212e-05/0.003153, allocations: 23.66 kB / 0.7282 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.58e-05/0.003173, allocations: 4 kB / 0.7282 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.821e-06/0.003184, allocations: 7.938 kB / 0.7283 GB, free: 2.781 MB / 0.5606 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if Buildings.Occupants.BaseClasses.linear1D(x, A, B, integer(curSeed)) then y = 1.0; elseif true then y = 0.0; end if