Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 115.3 kB / 17.75 MB, free: 5.195 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.001163/0.001163, allocations: 189.9 kB / 18.68 MB, free: 4.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/1.865e-05, allocations: 2.281 kB / 351.9 MB, free: 3.305 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002057/0.002084, allocations: 1.468 MB / 353.4 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.003101, allocations: 0.5744 MB / 354 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/0.003161, allocations: 4 kB / 354 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.769e-05/0.003254, allocations: 11.81 kB / 354 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.182e-05/0.003318, allocations: 11.88 kB / 354 MB, free: 1.223 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.003819, allocations: 147.5 kB / 354.1 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.003997, allocations: 127.7 kB / 354.3 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.00405, allocations: 9.109 kB / 354.3 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.7e-05/0.004112, allocations: 47.84 kB / 354.3 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004835/0.0046, allocations: 77.33 kB / 354.4 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.00463, allocations: 8 kB / 354.4 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.004827, allocations: 111.8 kB / 354.5 MB, free: 0.707 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0001298/0.004965, allocations: 177.9 kB / 354.7 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 5.548e-05/0.005027, allocations: 122.1 kB / 354.8 MB, free: 420 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.005066, allocations: 19.94 kB / 354.8 MB, free: 400 kB / 286.1 MB Notification: Performance of FrontEnd: time 4.197e-05/0.005114, allocations: 8 kB / 354.8 MB, free: 392 kB / 286.1 MB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (uniformNoise1.r_raw, uniformNoise1.state) := Modelica.Math.Random.Generators.Xorshift128plus.random(pre(uniformNoise1.state))