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.UniformNoiseProperties.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.UniformNoiseProperties,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.UniformNoiseProperties") Notification: Performance of loadModel(Modelica): time 1.774/1.774, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005853/0.0005855, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08146/0.08208, allocations: 44.5 MB / 308.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3274/0.4095, allocations: 73.72 MB / 382.2 MB, free: 18.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.4098, allocations: 78.27 kB / 382.2 MB, free: 18.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0196/0.4294, allocations: 4.902 MB / 387.1 MB, free: 18.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.248e-06/0.4294, allocations: 1.531 kB / 387.2 MB, free: 18.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.4295, allocations: 3.156 kB / 387.2 MB, free: 18.18 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.00106/0.4305, allocations: 0.5429 MB / 387.7 MB, free: 17.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.4306, allocations: 9.719 kB / 387.7 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/0.4309, allocations: 36.78 kB / 387.7 MB, free: 17.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.4312, allocations: 242 kB / 388 MB, free: 17.51 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.35e-05/0.4312, allocations: 14.08 kB / 388 MB, free: 17.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/0.4313, allocations: 24.16 kB / 388 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005972/0.4319, allocations: 217.8 kB / 388.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.432, allocations: 0 / 388.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.432, allocations: 5.844 kB / 388.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.432, allocations: 1.844 kB / 388.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006024/0.4326, allocations: 184.4 kB / 388.4 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.4339, allocations: 0.5908 MB / 389 MB, free: 17.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.4353, allocations: 374.6 kB / 389.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.4353, allocations: 5.484 kB / 389.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000504/0.4358, allocations: 188 kB / 389.6 MB, free: 17.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 3.855e-06/0.4358, allocations: 0 / 389.6 MB, free: 17.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.001419/0.4373, allocations: 500 kB / 390.1 MB, free: 16.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.4373, allocations: 55.66 kB / 390.1 MB, free: 16.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.4376, allocations: 194.4 kB / 390.3 MB, free: 16.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.451e-05/0.4377, allocations: 40.09 kB / 390.3 MB, free: 16.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/0.4377, allocations: 183.5 kB / 390.5 MB, free: 16.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.589e-05/0.4378, allocations: 77.28 kB / 390.6 MB, free: 16.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.4379, allocations: 3.625 kB / 390.6 MB, free: 16.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.302e-05/0.4379, allocations: 333.4 kB / 390.9 MB, free: 16.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004949/0.4384, allocations: 144.9 kB / 391.1 MB, free: 16.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005108/0.439, allocations: 176.1 kB / 391.2 MB, free: 16.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/0.4394, allocations: 150.9 kB / 391.4 MB, free: 16.15 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.993e-06/0.4394, allocations: 0 / 391.4 MB, free: 16.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001102/0.4406, allocations: 400.3 kB / 391.8 MB, free: 16.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4406, allocations: 5.938 kB / 391.8 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.4406, allocations: 3.984 kB / 391.8 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.4407, allocations: 3.812 kB / 391.8 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.4411, allocations: 74.86 kB / 391.9 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.56e-06/0.4411, allocations: 3.875 kB / 391.9 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.4413, allocations: 57.19 kB / 391.9 MB, free: 16.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/0.4414, allocations: 9.703 kB / 391.9 MB, free: 16.06 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.0001871/0.4416, allocations: 141 kB / 392.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.4417, allocations: 19.45 kB / 392.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.348e-05/0.4417, allocations: 22.59 kB / 392.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.077e-06/0.4418, allocations: 5.719 kB / 392.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4418, allocations: 4 kB / 392.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.327e-06/0.4418, allocations: 0 / 392.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.4434, allocations: 0.6853 MB / 392.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.924e-06/0.4434, allocations: 0 / 392.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/0.4438, allocations: 58.12 kB / 392.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/0.4438, allocations: 0 / 392.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.4439, allocations: 3.875 kB / 392.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.458e-06/0.4439, allocations: 6.797 kB / 392.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.05e-06/0.4439, allocations: 4 kB / 392.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.4453, allocations: 0.5384 MB / 393.4 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/0.4454, allocations: 99 kB / 393.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.188e-05/0.4455, allocations: 9.75 kB / 393.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/0.4458, allocations: 25.86 kB / 393.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.4459, allocations: 23.39 kB / 393.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.4459, allocations: 6.188 kB / 393.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001647/0.4461, allocations: 153.2 kB / 393.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-07/0.4461, allocations: 0 / 393.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005676/0.4467, allocations: 91.67 kB / 393.8 MB, free: 15.21 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.0006203/0.4473, allocations: 244.4 kB / 394 MB, free: 15.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.4483, allocations: 344 kB / 394.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.388e-06/0.4484, allocations: 0 / 394.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003938/0.4488, allocations: 131 kB / 394.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.4491, allocations: 21.42 kB / 394.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.4501, allocations: 0.551 MB / 395.1 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.4503, allocations: 0.7431 MB / 395.8 MB, free: 13.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.4505, allocations: 26.19 kB / 395.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of SimCode: time 1.61e-06/0.4505, allocations: 0 / 395.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of Templates: time 0.007186/0.4577, allocations: 3.656 MB / 399.5 MB, free: 13.62 MB / 314.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoisePropertiesCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesInitialize.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(tmp47);\n ^~~~~~~~~~~~~~~~~~~~~\n _noise_P_state_\n./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoisePropertiesCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesCalcHelperMain.o] Error 1\n'