Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") Notification: Performance of loadModel(Modelica): time 1.839/1.839, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003635, allocations: 12 kB / 263.9 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07935/0.07974, allocations: 44.5 MB / 308.4 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3298/0.4096, allocations: 74.73 MB / 383.2 MB, free: 18.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.4099, allocations: 73.58 kB / 383.2 MB, free: 18.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02606/0.436, allocations: 6.652 MB / 389.9 MB, free: 18.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.78e-06/0.436, allocations: 0 / 389.9 MB, free: 18.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.436, allocations: 7.875 kB / 389.9 MB, free: 18.02 MB / 314.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.0009977/0.437, allocations: 0.5624 MB / 390.5 MB, free: 17.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.4371, allocations: 11.59 kB / 390.5 MB, free: 17.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002479/0.4374, allocations: 32.47 kB / 390.5 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.4376, allocations: 239.8 kB / 390.7 MB, free: 17.33 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/0.4377, allocations: 19.75 kB / 390.8 MB, free: 17.33 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.4378, allocations: 24.73 kB / 390.8 MB, free: 17.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006061/0.4384, allocations: 217.1 kB / 391 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.4384, allocations: 0 / 391 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.4384, allocations: 7 kB / 391 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.966e-06/0.4385, allocations: 3.688 kB / 391 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005412/0.439, allocations: 176.7 kB / 391.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.4407, allocations: 0.5964 MB / 391.8 MB, free: 16.97 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/0.443, allocations: 371.3 kB / 392.1 MB, free: 16.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.412e-05/0.4431, allocations: 11.73 kB / 392.2 MB, free: 16.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008307/0.444, allocations: 180.8 kB / 392.3 MB, free: 16.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 5.292e-06/0.444, allocations: 0 / 392.3 MB, free: 16.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.002026/0.446, allocations: 497.1 kB / 392.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.4461, allocations: 59.53 kB / 392.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.4465, allocations: 186.6 kB / 393.1 MB, free: 16.56 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.308e-05/0.4466, allocations: 37.11 kB / 393.1 MB, free: 16.53 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.4467, allocations: 192.7 kB / 393.3 MB, free: 16.37 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.4469, allocations: 72.91 kB / 393.3 MB, free: 16.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.4469, allocations: 11.72 kB / 393.4 MB, free: 16.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.447, allocations: 324.7 kB / 393.7 MB, free: 16.01 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007367/0.4478, allocations: 142.1 kB / 393.8 MB, free: 16.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007091/0.4485, allocations: 175.8 kB / 394 MB, free: 15.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007456/0.4493, allocations: 153.9 kB / 394.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.141e-06/0.4493, allocations: 3.953 kB / 394.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001759/0.4511, allocations: 393.7 kB / 394.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.4512, allocations: 7.531 kB / 394.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/0.4512, allocations: 3.938 kB / 394.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.4512, allocations: 0 / 394.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006292/0.4519, allocations: 79.73 kB / 394.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.4519, allocations: 3.75 kB / 394.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/0.4523, allocations: 52.23 kB / 394.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-05/0.4524, allocations: 14.88 kB / 394.7 MB, free: 15.89 MB / 314.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 () * Number of clocked 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.0002766/0.4527, allocations: 146.4 kB / 394.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-05/0.4528, allocations: 19.64 kB / 394.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.453, allocations: 23.59 kB / 394.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.523e-06/0.453, allocations: 0 / 394.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.453, allocations: 3.844 kB / 394.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.453, allocations: 3.938 kB / 394.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.4555, allocations: 0.6863 MB / 395.6 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.103e-06/0.4556, allocations: 1.453 kB / 395.6 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005938/0.4562, allocations: 53.05 kB / 395.6 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.16e-06/0.4562, allocations: 0 / 395.6 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.863e-05/0.4563, allocations: 6.922 kB / 395.6 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.4563, allocations: 4 kB / 395.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.688e-06/0.4564, allocations: 0 / 395.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.4588, allocations: 0.5399 MB / 396.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.493e-05/0.4589, allocations: 92.42 kB / 396.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-05/0.459, allocations: 11.03 kB / 396.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/0.4595, allocations: 30.09 kB / 396.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.509e-05/0.4596, allocations: 16.61 kB / 396.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/0.4597, allocations: 7.016 kB / 396.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002451/0.4599, allocations: 150.9 kB / 396.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.402e-06/0.46, allocations: 0 / 396.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001123/0.4611, allocations: 137.6 kB / 396.6 MB, free: 15.02 MB / 314.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]) * Number of clocked states: 0 () * 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.00163/0.4628, allocations: 327.1 kB / 396.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.4646, allocations: 346.5 kB / 397.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.718e-06/0.4646, allocations: 0 / 397.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007665/0.4654, allocations: 138.9 kB / 397.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.466, allocations: 21.38 kB / 397.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.4676, allocations: 0.547 MB / 398 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.4679, allocations: 0.739 MB / 398.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.4681, allocations: 29.83 kB / 398.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of SimCode: time 2.558e-06/0.4682, allocations: 0 / 398.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of Templates: time 0.01376/0.482, allocations: 4.412 MB / 403.1 MB, free: 13.31 MB / 314.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile b'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@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesInitialize.cpp:355:3: error: use of undeclared identifier \'$PRE_P_noise_P_state_\'; did you mean \'_noise_P_state_\'?\n $PRE_P_noise_P_state_.assign(tmp70);\n ^~~~~~~~~~~~~~~~~~~~~\n _noise_P_state_\n./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.h:214:33: note: \'_noise_P_state_\' declared here\n StatArrayDim1 _noise_P_state_;\n ^\n1 error generated.\n: recipe for target \'OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.o] Error 1\n'