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 2.325/2.325, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.828e-05/3.829e-05, allocations: 7.938 kB / 258.8 MB, free: 8.699 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.316, allocations: 44.5 MB / 303.3 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.002822/0.3188, allocations: 1.49 MB / 304.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.3207, allocations: 0.6268 MB / 305.4 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.321, allocations: 4.375 kB / 305.4 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.3211, allocations: 16.86 kB / 305.4 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.3213, allocations: 13.09 kB / 305.4 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006991/0.322, allocations: 135 kB / 305.6 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.3223, allocations: 98.78 kB / 305.7 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.3225, allocations: 34.66 kB / 305.7 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.3227, allocations: 63.83 kB / 305.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.3228, allocations: 88.61 kB / 305.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003827/0.3232, allocations: 92.66 kB / 305.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.152e-05/0.3233, allocations: 17.53 kB / 306 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.628e-05/0.3234, allocations: 41.98 kB / 306 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.093e-05/0.3235, allocations: 10.53 kB / 306 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.3239, allocations: 209.9 kB / 306.2 MB, free: 10.53 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.324, allocations: 0 / 306.2 MB, free: 10.53 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.324, allocations: 0 / 306.2 MB, free: 10.53 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.324, allocations: 1.469 kB / 306.2 MB, free: 10.53 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.001497/0.3255, allocations: 0.5284 MB / 306.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.3256, allocations: 9 kB / 306.8 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003208/0.3259, allocations: 36.05 kB / 306.8 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.3263, allocations: 238.2 kB / 307 MB, free: 9.781 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.13e-05/0.3264, allocations: 12.09 kB / 307 MB, free: 9.777 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.359e-05/0.3265, allocations: 33.78 kB / 307.1 MB, free: 9.758 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008462/0.3274, allocations: 219 kB / 307.3 MB, free: 9.621 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.3274, allocations: 0 / 307.3 MB, free: 9.621 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.3274, allocations: 8 kB / 307.3 MB, free: 9.613 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.3275, allocations: 4 kB / 307.3 MB, free: 9.609 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008388/0.3283, allocations: 180.1 kB / 307.5 MB, free: 9.434 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.33, allocations: 0.5857 MB / 308.1 MB, free: 8.797 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/0.3321, allocations: 380.3 kB / 308.4 MB, free: 8.414 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.3322, allocations: 0 / 308.4 MB, free: 8.414 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007524/0.333, allocations: 187.8 kB / 308.6 MB, free: 8.219 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 3.176e-06/0.333, allocations: 0 / 308.6 MB, free: 8.219 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.001986/0.335, allocations: 489.5 kB / 309.1 MB, free: 7.719 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/0.3351, allocations: 63.78 kB / 309.2 MB, free: 7.645 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.3355, allocations: 179 kB / 309.3 MB, free: 7.457 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.346e-05/0.3356, allocations: 41.69 kB / 309.4 MB, free: 7.41 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.3357, allocations: 195 kB / 309.6 MB, free: 7.219 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.597e-05/0.3359, allocations: 67.02 kB / 309.6 MB, free: 7.152 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.3359, allocations: 8 kB / 309.6 MB, free: 7.145 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3361, allocations: 322.8 kB / 309.9 MB, free: 6.82 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006664/0.3367, allocations: 151.8 kB / 310.1 MB, free: 6.672 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000692/0.3375, allocations: 177.6 kB / 310.3 MB, free: 6.492 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006759/0.3382, allocations: 162.5 kB / 310.4 MB, free: 6.336 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3382, allocations: 4 kB / 310.4 MB, free: 6.332 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001558/0.3397, allocations: 395 kB / 310.8 MB, free: 5.941 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.3398, allocations: 15.92 kB / 310.8 MB, free: 5.926 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.3398, allocations: 4 kB / 310.8 MB, free: 5.922 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.3399, allocations: 0 / 310.8 MB, free: 5.922 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006094/0.3405, allocations: 79.89 kB / 310.9 MB, free: 5.844 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.3405, allocations: 0 / 310.9 MB, free: 5.844 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.3409, allocations: 55.66 kB / 311 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.341, allocations: 15.94 kB / 311 MB, free: 5.773 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.0002608/0.3412, allocations: 137.8 kB / 311.1 MB, free: 5.629 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.3413, allocations: 23.67 kB / 311.1 MB, free: 5.605 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.3414, allocations: 25.86 kB / 311.2 MB, free: 5.578 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.3414, allocations: 8 kB / 311.2 MB, free: 5.57 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.3415, allocations: 3.938 kB / 311.2 MB, free: 5.566 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.3415, allocations: 0 / 311.2 MB, free: 5.566 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/0.3435, allocations: 0.6764 MB / 311.9 MB, free: 4.836 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.3436, allocations: 0 / 311.9 MB, free: 4.836 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005223/0.3441, allocations: 67.89 kB / 311.9 MB, free: 4.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.3442, allocations: 0 / 311.9 MB, free: 4.77 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/0.3442, allocations: 11.97 kB / 311.9 MB, free: 4.758 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.3442, allocations: 0 / 311.9 MB, free: 4.758 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3442, allocations: 0 / 311.9 MB, free: 4.758 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.3463, allocations: 0.5307 MB / 312.5 MB, free: 4.211 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.3465, allocations: 96.77 kB / 312.6 MB, free: 4.098 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.376e-05/0.3466, allocations: 15.98 kB / 312.6 MB, free: 4.082 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.3469, allocations: 31.98 kB / 312.6 MB, free: 4.051 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.347, allocations: 15.97 kB / 312.6 MB, free: 4.035 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.3471, allocations: 4 kB / 312.6 MB, free: 4.031 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002308/0.3473, allocations: 151.2 kB / 312.8 MB, free: 3.883 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3473, allocations: 0 / 312.8 MB, free: 3.883 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005526/0.3479, allocations: 67.98 kB / 312.8 MB, free: 3.816 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.00066/0.3486, allocations: 217.5 kB / 313.1 MB, free: 3.621 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.35, allocations: 320.2 kB / 313.4 MB, free: 3.309 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.3501, allocations: 11.88 kB / 313.4 MB, free: 3.297 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006232/0.3507, allocations: 128 kB / 313.5 MB, free: 3.172 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.3511, allocations: 29.08 kB / 313.5 MB, free: 3.145 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.3526, allocations: 0.5361 MB / 314.1 MB, free: 2.578 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.3531, allocations: 0.7437 MB / 314.8 MB, free: 1.805 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.3533, allocations: 27.42 kB / 314.8 MB, free: 1.777 MB / 250.7 MB Notification: Performance of SimCode: time 1.183e-06/0.3533, allocations: 4 kB / 314.8 MB, free: 1.773 MB / 250.7 MB Notification: Performance of Templates: time 0.01019/0.3635, allocations: 3.468 MB / 318.3 MB, free: 14.3 MB / 266.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 -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.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:30: ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesInitialize.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.UniformNoiseProperties.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.UniformNoisePropertiesCalcHelperMain.cpp:36: ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoisePropertiesCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesCalcHelperMain.o] Error 1