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.885/1.885, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.627e-05/2.648e-05, allocations: 4 kB / 255.4 MB, free: 3.207 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07669/0.07674, allocations: 44.5 MB / 299.9 MB, free: 6.652 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3263/0.4031, allocations: 73.64 MB / 373.5 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/0.4034, allocations: 72.11 kB / 373.6 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02008/0.4235, allocations: 4.883 MB / 378.5 MB, free: 21.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.552e-06/0.4235, allocations: 0 / 378.5 MB, free: 21.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.81e-05/0.4236, allocations: 3.5 kB / 378.5 MB, free: 21.92 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.0009274/0.4245, allocations: 0.5113 MB / 379 MB, free: 21.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.4245, allocations: 12.94 kB / 379 MB, free: 21.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002669/0.4248, allocations: 37.2 kB / 379 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.4251, allocations: 241.3 kB / 379.3 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.4252, allocations: 15.75 kB / 379.3 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.039e-05/0.4253, allocations: 17.38 kB / 379.3 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.4256, allocations: 164.4 kB / 379.4 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4257, allocations: 0 / 379.4 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.4257, allocations: 4.094 kB / 379.4 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.834e-06/0.4257, allocations: 7.266 kB / 379.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.426, allocations: 102.6 kB / 379.6 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.4272, allocations: 0.5914 MB / 380.1 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007922/0.4281, allocations: 242.1 kB / 380.4 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.4283, allocations: 80.11 kB / 380.5 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.4283, allocations: 5.406 kB / 380.5 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002787/0.4286, allocations: 133.2 kB / 380.6 MB, free: 20.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 4.206e-06/0.4286, allocations: 0 / 380.6 MB, free: 20.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005184/0.4291, allocations: 199.1 kB / 380.8 MB, free: 20.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.4292, allocations: 61.22 kB / 380.9 MB, free: 20.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.4294, allocations: 184 kB / 381 MB, free: 20.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.628e-05/0.4295, allocations: 40.75 kB / 381.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/0.4296, allocations: 187.2 kB / 381.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.505e-05/0.4297, allocations: 76.55 kB / 381.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.4297, allocations: 4.5 kB / 381.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.048e-05/0.4298, allocations: 327.7 kB / 381.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/0.43, allocations: 86.83 kB / 381.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.4303, allocations: 120.2 kB / 381.9 MB, free: 20.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.4306, allocations: 97.48 kB / 382 MB, free: 20.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.625e-06/0.4306, allocations: 5.234 kB / 382 MB, free: 20.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006437/0.4312, allocations: 286.1 kB / 382.2 MB, free: 19.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.4313, allocations: 5.219 kB / 382.2 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.4313, allocations: 1.125 kB / 382.2 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.4313, allocations: 2 kB / 382.2 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.4318, allocations: 77.36 kB / 382.3 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.4318, allocations: 1.875 kB / 382.3 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.4321, allocations: 54.73 kB / 382.4 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.032e-05/0.4321, allocations: 12.41 kB / 382.4 MB, free: 19.95 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 () * 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.0001162/0.4323, allocations: 126.1 kB / 382.5 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.4323, allocations: 27.14 kB / 382.5 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.312e-05/0.4324, allocations: 19.64 kB / 382.6 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.907e-06/0.4324, allocations: 1.969 kB / 382.6 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.967e-06/0.4324, allocations: 0 / 382.6 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.701e-06/0.4324, allocations: 2.703 kB / 382.6 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.4335, allocations: 0.5832 MB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.588e-06/0.4336, allocations: 0 / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004136/0.434, allocations: 53.73 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.911e-06/0.434, allocations: 5.812 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.4341, allocations: 7.469 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.782e-06/0.4341, allocations: 5.656 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.333e-06/0.4341, allocations: 3.938 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007193/0.4348, allocations: 391 kB / 383.6 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.4349, allocations: 97.73 kB / 383.7 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.305e-05/0.435, allocations: 9.375 kB / 383.7 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.4353, allocations: 32.47 kB / 383.7 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.4353, allocations: 12.17 kB / 383.7 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.4354, allocations: 10.7 kB / 383.8 MB, free: 19.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001631/0.4356, allocations: 144.2 kB / 383.9 MB, free: 19.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.4356, allocations: 0 / 383.9 MB, free: 19.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005847/0.4362, allocations: 91.05 kB / 384 MB, free: 19.12 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]) * 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.0006025/0.4368, allocations: 238.7 kB / 384.2 MB, free: 18.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005483/0.4374, allocations: 236.8 kB / 384.5 MB, free: 18.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.91e-06/0.4374, allocations: 0 / 384.5 MB, free: 18.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.4376, allocations: 83.16 kB / 384.5 MB, free: 18.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.4379, allocations: 15.84 kB / 384.5 MB, free: 18.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000711/0.4386, allocations: 361.3 kB / 384.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.4389, allocations: 0.7443 MB / 385.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.439, allocations: 22.56 kB / 385.7 MB, free: 18.04 MB / 314.7 MB Notification: Performance of SimCode: time 1.605e-06/0.439, allocations: 0 / 385.7 MB, free: 18.04 MB / 314.7 MB Notification: Performance of Templates: time 0.00755/0.4466, allocations: 3.635 MB / 389.3 MB, free: 17.68 MB / 314.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.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"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 In file included from OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesCalcHelperMain.cpp:29: ./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_'? $PRE_P_noise_P_state_.assign(tmp47); ^~~~~~~~~~~~~~~~~~~~~ _noise_P_state_ ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.h:214:33: note: '_noise_P_state_' declared here StatArrayDim1 _noise_P_state_; ^ 1 error generated. : recipe for target 'OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesCalcHelperMain.o] Error 1