Running command: translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") Notification: Performance of loadModel(Modelica): time 1.862/1.862, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.812e-05/2.827e-05, allocations: 4 kB / 292.1 MB, free: 8.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08774/0.08779, allocations: 50.43 MB / 342.6 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3524/0.4403, allocations: 80.03 MB / 422.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.4405, allocations: 74.95 kB / 422.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02874/0.4693, allocations: 6.677 MB / 429.3 MB, free: 8.289 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4693, allocations: 3.938 kB / 429.3 MB, free: 8.285 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.732e-05/0.4694, allocations: 8 kB / 429.3 MB, free: 8.277 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.001147/0.4705, allocations: 0.5347 MB / 429.9 MB, free: 7.711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.4706, allocations: 8.031 kB / 429.9 MB, free: 7.703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002754/0.4709, allocations: 39.7 kB / 429.9 MB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.4713, allocations: 235.7 kB / 430.2 MB, free: 7.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/0.4713, allocations: 16.03 kB / 430.2 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.109e-05/0.4714, allocations: 19.69 kB / 430.2 MB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.4718, allocations: 156.7 kB / 430.3 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4718, allocations: 0 / 430.3 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.4719, allocations: 7.891 kB / 430.4 MB, free: 7.266 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.761e-06/0.4719, allocations: 7.938 kB / 430.4 MB, free: 7.258 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.4722, allocations: 98.38 kB / 430.5 MB, free: 7.191 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.4735, allocations: 0.5904 MB / 431 MB, free: 6.645 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008119/0.4744, allocations: 232.7 kB / 431.3 MB, free: 6.457 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.4746, allocations: 87.53 kB / 431.4 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.4746, allocations: 8.047 kB / 431.4 MB, free: 6.387 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003066/0.475, allocations: 126.6 kB / 431.5 MB, free: 6.277 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.835e-06/0.475, allocations: 0 / 431.5 MB, free: 6.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.000552/0.4755, allocations: 206.1 kB / 431.7 MB, free: 6.113 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.4756, allocations: 63.59 kB / 431.8 MB, free: 6.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.4759, allocations: 183.3 kB / 431.9 MB, free: 5.879 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.661e-05/0.476, allocations: 40.7 kB / 432 MB, free: 5.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.4761, allocations: 185.6 kB / 432.2 MB, free: 5.672 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.702e-05/0.4762, allocations: 77.48 kB / 432.2 MB, free: 5.605 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.4762, allocations: 7.5 kB / 432.2 MB, free: 5.605 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4764, allocations: 322.3 kB / 432.6 MB, free: 5.285 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.4767, allocations: 88.73 kB / 432.6 MB, free: 5.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.4769, allocations: 120.2 kB / 432.8 MB, free: 5.145 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.4772, allocations: 94.59 kB / 432.8 MB, free: 5.086 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.192e-06/0.4772, allocations: 0 / 432.8 MB, free: 5.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006719/0.4779, allocations: 285.1 kB / 433.1 MB, free: 4.871 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.4779, allocations: 4 kB / 433.1 MB, free: 4.867 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.478, allocations: 7.938 kB / 433.1 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.478, allocations: 0 / 433.1 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004554/0.4785, allocations: 83.28 kB / 433.2 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.4785, allocations: 7.953 kB / 433.2 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.4787, allocations: 39.61 kB / 433.3 MB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.404e-05/0.4788, allocations: 23.42 kB / 433.3 MB, free: 4.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.0001527/0.479, allocations: 119.9 kB / 433.4 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/0.479, allocations: 19.72 kB / 433.4 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.614e-05/0.4791, allocations: 24.33 kB / 433.4 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.045e-06/0.4791, allocations: 0 / 433.4 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.528e-06/0.4792, allocations: 0 / 433.4 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.4792, allocations: 3.953 kB / 433.5 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.4804, allocations: 0.5768 MB / 434 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.4804, allocations: 4 kB / 434 MB, free: 4.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003664/0.4808, allocations: 51.95 kB / 434.1 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.715e-06/0.4808, allocations: 0 / 434.1 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.4808, allocations: 6.875 kB / 434.1 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.603e-06/0.4808, allocations: 3.953 kB / 434.1 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.668e-06/0.4809, allocations: 3.938 kB / 434.1 MB, free: 3.945 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007443/0.4816, allocations: 389 kB / 434.5 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.199e-05/0.4817, allocations: 100 kB / 434.6 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-05/0.4818, allocations: 15.42 kB / 434.6 MB, free: 3.496 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.4821, allocations: 27.98 kB / 434.6 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/0.4821, allocations: 19.48 kB / 434.6 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.4822, allocations: 8 kB / 434.6 MB, free: 3.445 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001815/0.4824, allocations: 147.8 kB / 434.8 MB, free: 3.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.23e-07/0.4824, allocations: 4 kB / 434.8 MB, free: 3.316 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006613/0.4831, allocations: 125.8 kB / 434.9 MB, free: 3.203 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.00106/0.4842, allocations: 331.8 kB / 435.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005926/0.4848, allocations: 235.3 kB / 435.5 MB, free: 2.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.991e-06/0.4848, allocations: 3 kB / 435.5 MB, free: 2.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.485, allocations: 81.86 kB / 435.6 MB, free: 2.672 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.4853, allocations: 18.48 kB / 435.6 MB, free: 2.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007907/0.4862, allocations: 356 kB / 435.9 MB, free: 2.324 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.4866, allocations: 0.7399 MB / 436.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.4868, allocations: 30.48 kB / 436.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of SimCode: time 1.919e-06/0.4868, allocations: 0 / 436.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of Templates: time 0.009549/0.4963, allocations: 4.38 MB / 441.1 MB, free: 13.18 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.NormalNoisePropertiesCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoisePropertiesCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoisePropertiesCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoisePropertiesFunctions.cpp:134: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.NormalNoisePropertiesCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoisePropertiesFunctions.cpp:221: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.NormalNoisePropertiesCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoisePropertiesFunctions.cpp:415: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.NormalNoisePropertiesCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoisePropertiesInitialize.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(tmp70); ^~~~~~~~~~~~~~~~~~~~~ _noise_P_state_ ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.NormalNoisePropertiesCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoisePropertiesCalcHelperMain.o] Error 1