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 2.058/2.058, allocations: 194.9 MB / 211.2 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.853e-05/2.853e-05, allocations: 0 / 258.8 MB, free: 8.512 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3344, allocations: 44.5 MB / 303.3 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.003456/0.3379, allocations: 1.486 MB / 304.8 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003516/0.3415, allocations: 1.13 MB / 305.9 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/0.3417, allocations: 9.781 kB / 305.9 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.3418, allocations: 15.81 kB / 305.9 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.342, allocations: 17.11 kB / 305.9 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.3431, allocations: 210.6 kB / 306.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.3434, allocations: 90.83 kB / 306.2 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.3436, allocations: 39.11 kB / 306.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.3437, allocations: 62.67 kB / 306.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.3439, allocations: 84.12 kB / 306.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009359/0.3449, allocations: 279.8 kB / 306.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.3451, allocations: 20.84 kB / 306.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.769e-05/0.3452, allocations: 45.02 kB / 306.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.424e-05/0.3452, allocations: 10.84 kB / 306.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007719/0.346, allocations: 267.2 kB / 307 MB, free: 9.914 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3461, allocations: 4 kB / 307 MB, free: 9.91 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.3461, allocations: 0 / 307 MB, free: 9.91 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.3461, allocations: 0 / 307 MB, free: 9.91 MB / 250.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.001917/0.348, allocations: 0.5497 MB / 307.6 MB, free: 9.312 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.556e-05/0.3481, allocations: 12.03 kB / 307.6 MB, free: 9.301 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004129/0.3486, allocations: 31.7 kB / 307.6 MB, free: 9.27 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.3491, allocations: 243.5 kB / 307.9 MB, free: 8.992 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.9e-05/0.3491, allocations: 12.28 kB / 307.9 MB, free: 8.98 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.601e-05/0.3492, allocations: 23.94 kB / 307.9 MB, free: 8.957 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.3503, allocations: 214.9 kB / 308.1 MB, free: 8.742 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.3504, allocations: 0 / 308.1 MB, free: 8.742 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.3504, allocations: 8 kB / 308.1 MB, free: 8.734 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3504, allocations: 0 / 308.1 MB, free: 8.734 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.3516, allocations: 180.1 kB / 308.3 MB, free: 8.559 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.3537, allocations: 0.5974 MB / 308.9 MB, free: 7.91 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/0.3563, allocations: 374.9 kB / 309.3 MB, free: 7.535 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/0.3564, allocations: 8.062 kB / 309.3 MB, free: 7.527 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009158/0.3573, allocations: 187.8 kB / 309.4 MB, free: 7.332 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 3.967e-06/0.3574, allocations: 4 kB / 309.5 MB, free: 7.328 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.002506/0.3599, allocations: 487.8 kB / 309.9 MB, free: 6.832 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/0.36, allocations: 67.39 kB / 310 MB, free: 6.754 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.3604, allocations: 183 kB / 310.2 MB, free: 6.562 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.46e-05/0.3605, allocations: 37.7 kB / 310.2 MB, free: 6.52 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.3607, allocations: 191 kB / 310.4 MB, free: 6.332 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.3608, allocations: 74.98 kB / 310.5 MB, free: 6.258 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.3609, allocations: 4 kB / 310.5 MB, free: 6.254 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.3611, allocations: 330.8 kB / 310.8 MB, free: 5.922 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008788/0.362, allocations: 147.9 kB / 310.9 MB, free: 5.777 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007654/0.3628, allocations: 177.5 kB / 311.1 MB, free: 5.598 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006719/0.3635, allocations: 162.8 kB / 311.3 MB, free: 5.441 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3635, allocations: 0 / 311.3 MB, free: 5.441 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001528/0.365, allocations: 398.7 kB / 311.7 MB, free: 5.047 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.3651, allocations: 8 kB / 311.7 MB, free: 5.039 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3651, allocations: 3.938 kB / 311.7 MB, free: 5.035 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.3651, allocations: 0 / 311.7 MB, free: 5.035 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006128/0.3657, allocations: 83.94 kB / 311.8 MB, free: 4.953 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.3658, allocations: 3.938 kB / 311.8 MB, free: 4.949 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/0.3661, allocations: 55.59 kB / 311.8 MB, free: 4.895 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.3662, allocations: 12 kB / 311.8 MB, free: 4.883 MB / 250.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): 37 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0002311/0.3664, allocations: 145.7 kB / 312 MB, free: 4.73 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/0.3665, allocations: 19.72 kB / 312 MB, free: 4.711 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.948e-05/0.3666, allocations: 17.88 kB / 312 MB, free: 4.691 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.3666, allocations: 4 kB / 312 MB, free: 4.688 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3666, allocations: 3.938 kB / 312 MB, free: 4.684 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.3666, allocations: 3.984 kB / 312 MB, free: 4.68 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.3686, allocations: 0.6778 MB / 312.7 MB, free: 3.945 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.3687, allocations: 0 / 312.7 MB, free: 3.945 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004936/0.3692, allocations: 55.89 kB / 312.7 MB, free: 3.891 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.3692, allocations: 0 / 312.7 MB, free: 3.891 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/0.3692, allocations: 15.98 kB / 312.8 MB, free: 3.875 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.3692, allocations: 0 / 312.8 MB, free: 3.875 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3693, allocations: 0 / 312.8 MB, free: 3.875 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.3712, allocations: 0.5299 MB / 313.3 MB, free: 3.332 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.3713, allocations: 100.9 kB / 313.4 MB, free: 3.215 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.792e-05/0.3714, allocations: 4 kB / 313.4 MB, free: 3.211 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.3717, allocations: 35.91 kB / 313.4 MB, free: 3.176 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.3718, allocations: 11.98 kB / 313.4 MB, free: 3.164 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.3719, allocations: 15.98 kB / 313.5 MB, free: 3.148 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002146/0.3721, allocations: 147.2 kB / 313.6 MB, free: 3.004 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-07/0.3721, allocations: 0 / 313.6 MB, free: 3.004 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006447/0.3728, allocations: 103.9 kB / 313.7 MB, free: 2.902 MB / 250.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.0009544/0.3737, allocations: 286.6 kB / 314 MB, free: 2.633 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0015/0.3752, allocations: 328.3 kB / 314.3 MB, free: 2.312 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.3753, allocations: 0 / 314.3 MB, free: 2.312 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006293/0.3759, allocations: 127.9 kB / 314.4 MB, free: 2.188 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.3764, allocations: 19.95 kB / 314.4 MB, free: 2.168 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.3778, allocations: 0.5462 MB / 315 MB, free: 1.594 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.3782, allocations: 0.7437 MB / 315.7 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.3784, allocations: 31.42 kB / 315.8 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of SimCode: time 1.213e-06/0.3784, allocations: 0 / 315.8 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of Templates: time 0.01104/0.3894, allocations: 4.203 MB / 320 MB, free: 12.58 MB / 266.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.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 -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -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.NormalNoisePropertiesCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.cpp:30: ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesInitialize.cpp:360:6: error: use of undeclared identifier '$PRE_P_noise_P_state_'; did you mean '_noise_P_state_'? $PRE_P_noise_P_state_.assign(tmp10); ^~~~~~~~~~~~~~~~~~~~~ _noise_P_state_ ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.h:222:34: note: '_noise_P_state_' declared here StatArrayDim1 _noise_P_state_; ^ In file included from OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.cpp:36: ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.cpp:230:90: error: no matching member function for call to 'pre' _functions->Modelica_Math_Random_Generators_Xorshift128plus_random(_discrete_events->pre(_noise_P_state_), tmp29); ~~~~~~~~~~~~~~~~~~^~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:29:11: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const double' for 1st argument double& pre(const double& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:30:8: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const int' for 1st argument int& pre(const int& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:31:9: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const bool' for 1st argument bool& pre(const bool& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:32:23: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const std::string' (aka 'const basic_string') for 1st argument std::string & pre(const std::string & var); ^ 2 errors generated. : recipe for target 'OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.o] Error 1