Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") Notification: Performance of loadModel(Modelica): time 1.921/1.921, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.937e-05/2.941e-05, allocations: 4 kB / 292.1 MB, free: 8.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08552/0.08557, allocations: 50.41 MB / 342.5 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3534/0.439, allocations: 79.41 MB / 422 MB, free: 14.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.4393, allocations: 72.28 kB / 422 MB, free: 14.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02205/0.4614, allocations: 5.141 MB / 427.2 MB, free: 10.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.256e-06/0.4614, allocations: 0 / 427.2 MB, free: 10.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.893e-05/0.4614, allocations: 4 kB / 427.2 MB, free: 10.26 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001017/0.4625, allocations: 0.5116 MB / 427.7 MB, free: 9.711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.4625, allocations: 12.03 kB / 427.7 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000269/0.4628, allocations: 35.7 kB / 427.7 MB, free: 9.664 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.4632, allocations: 239.8 kB / 428 MB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.4632, allocations: 16.22 kB / 428 MB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.848e-05/0.4633, allocations: 23.69 kB / 428 MB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003794/0.4637, allocations: 156.2 kB / 428.2 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.4637, allocations: 0 / 428.2 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.4638, allocations: 7.75 kB / 428.2 MB, free: 9.258 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.161e-06/0.4638, allocations: 3.953 kB / 428.2 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.4641, allocations: 97.81 kB / 428.3 MB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.4654, allocations: 0.5936 MB / 428.9 MB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008222/0.4662, allocations: 228.1 kB / 429.1 MB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.4664, allocations: 79.72 kB / 429.2 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.4665, allocations: 8.062 kB / 429.2 MB, free: 8.391 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002999/0.4668, allocations: 134.8 kB / 429.3 MB, free: 8.273 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.502e-06/0.4668, allocations: 4 kB / 429.3 MB, free: 8.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005261/0.4674, allocations: 200.7 kB / 429.5 MB, free: 8.113 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.4674, allocations: 63.53 kB / 429.6 MB, free: 8.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.4677, allocations: 189.9 kB / 429.7 MB, free: 7.871 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.022e-05/0.4678, allocations: 45.44 kB / 429.8 MB, free: 7.828 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.4679, allocations: 178.9 kB / 430 MB, free: 7.668 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.422e-05/0.468, allocations: 74.66 kB / 430 MB, free: 7.605 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.4681, allocations: 7.625 kB / 430 MB, free: 7.602 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4682, allocations: 326.1 kB / 430.4 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.4685, allocations: 94.55 kB / 430.5 MB, free: 7.223 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.4688, allocations: 112.1 kB / 430.6 MB, free: 7.145 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.469, allocations: 105 kB / 430.7 MB, free: 7.074 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.274e-06/0.4691, allocations: 0 / 430.7 MB, free: 7.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006842/0.4697, allocations: 276.1 kB / 430.9 MB, free: 6.867 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.4698, allocations: 7.984 kB / 430.9 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.4698, allocations: 7.5 kB / 431 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4698, allocations: 0 / 431 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.4703, allocations: 75.92 kB / 431 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.4703, allocations: 4 kB / 431 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.4706, allocations: 51.55 kB / 431.1 MB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/0.4706, allocations: 15.69 kB / 431.1 MB, free: 6.719 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.4708, allocations: 129.4 kB / 431.2 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.4709, allocations: 23.7 kB / 431.2 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.668e-05/0.4709, allocations: 17.28 kB / 431.3 MB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.471, allocations: 3.984 kB / 431.3 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.643e-06/0.471, allocations: 0 / 431.3 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.038e-06/0.471, allocations: 4 kB / 431.3 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.4722, allocations: 0.5733 MB / 431.8 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.568e-06/0.4722, allocations: 0 / 431.8 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.4726, allocations: 55.95 kB / 431.9 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.844e-06/0.4727, allocations: 0 / 431.9 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.4727, allocations: 15 kB / 431.9 MB, free: 5.945 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.36e-06/0.4727, allocations: 0 / 431.9 MB, free: 5.945 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.483e-06/0.4727, allocations: 7.891 kB / 431.9 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007541/0.4735, allocations: 391.6 kB / 432.3 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.1e-05/0.4736, allocations: 100.8 kB / 432.4 MB, free: 5.496 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/0.4737, allocations: 10.94 kB / 432.4 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.474, allocations: 27.97 kB / 432.4 MB, free: 5.465 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.4741, allocations: 19.88 kB / 432.5 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.4741, allocations: 7.984 kB / 432.5 MB, free: 5.441 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001893/0.4743, allocations: 152 kB / 432.6 MB, free: 5.312 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.5e-07/0.4743, allocations: 0 / 432.6 MB, free: 5.312 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005302/0.4749, allocations: 79.11 kB / 432.7 MB, free: 5.242 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006471/0.4755, allocations: 246.9 kB / 432.9 MB, free: 5.027 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005647/0.4761, allocations: 233.8 kB / 433.2 MB, free: 4.852 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.902e-06/0.4761, allocations: 0 / 433.2 MB, free: 4.852 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.4763, allocations: 80.8 kB / 433.2 MB, free: 4.793 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.4767, allocations: 21.78 kB / 433.3 MB, free: 4.781 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007613/0.4774, allocations: 359.5 kB / 433.6 MB, free: 4.445 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.4779, allocations: 0.7478 MB / 434.4 MB, free: 3.672 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.478, allocations: 23.44 kB / 434.4 MB, free: 3.648 MB / 346.7 MB Notification: Performance of SimCode: time 1.394e-06/0.4781, allocations: 0 / 434.4 MB, free: 3.648 MB / 346.7 MB Notification: Performance of Templates: time 0.007802/0.4859, allocations: 3.619 MB / 438 MB, free: 60 kB / 346.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoisePropertiesCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoisePropertiesCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoisePropertiesCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoisePropertiesFunctions.cpp:92:3: error: no matching function for call to 'ModelicaRandom_xorshift128plus' ModelicaRandom_xorshift128plus(ConstArray(stateIn_).getData(), stateOut_.getData(), &result__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaRandom.h:74:22: note: candidate function not viable: 1st argument ('const int *') would lose const qualifier MODELICA_EXPORT void ModelicaRandom_xorshift128plus(_In_ int* state_in, ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoisePropertiesCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoisePropertiesFunctions.cpp:179:3: error: no matching function for call to 'ModelicaRandom_xorshift64star' ModelicaRandom_xorshift64star(ConstArray(stateIn_).getData(), stateOut_.getData(), &result__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaRandom.h:72:22: note: candidate function not viable: 1st argument ('const int *') would lose const qualifier MODELICA_EXPORT void ModelicaRandom_xorshift64star(_In_ int* state_in, ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoisePropertiesCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoisePropertiesFunctions.cpp:373:3: error: no matching function for call to 'ModelicaRandom_setInternalState_xorshift1024star' ModelicaRandom_setInternalState_xorshift1024star(ConstArray(rngState_).getData(), rngState_.getDim(1), id__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaRandom.h:78:22: note: candidate function not viable: 1st argument ('const int *') would lose const qualifier MODELICA_EXPORT void ModelicaRandom_setInternalState_xorshift1024star( ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoisePropertiesCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoisePropertiesInitialize.cpp:355:3: error: use of undeclared identifier '$PRE_P_noise_P_state_'; did you mean '_noise_P_state_'? $PRE_P_noise_P_state_.assign(tmp47); ^~~~~~~~~~~~~~~~~~~~~ _noise_P_state_ ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.h:214:33: note: '_noise_P_state_' declared here StatArrayDim1 _noise_P_state_; ^ 4 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoisePropertiesCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoisePropertiesCalcHelperMain.o] Error 1