Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions") Notification: Performance of loadModel(Modelica): time 2.122/2.122, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.324e-05/3.318e-05, allocations: 11.84 kB / 258.8 MB, free: 8.715 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3498, allocations: 44.5 MB / 303.3 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002259/0.3521, allocations: 1.241 MB / 304.5 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003236/0.3554, allocations: 1.297 MB / 305.8 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.3555, allocations: 1.125 kB / 305.8 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.548e-05/0.3557, allocations: 7.922 kB / 305.8 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.3558, allocations: 21.19 kB / 305.9 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.357, allocations: 254.7 kB / 306.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.3572, allocations: 60.08 kB / 306.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.94e-05/0.3572, allocations: 5.938 kB / 306.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.68e-05/0.3573, allocations: 46.56 kB / 306.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.3575, allocations: 56.81 kB / 306.3 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.3587, allocations: 422.7 kB / 306.7 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.3589, allocations: 28.25 kB / 306.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.634e-05/0.359, allocations: 31.45 kB / 306.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.359, allocations: 7.25 kB / 306.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007913/0.3598, allocations: 279.4 kB / 307 MB, free: 9.973 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3599, allocations: 0 / 307 MB, free: 9.973 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3599, allocations: 0 / 307 MB, free: 9.973 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.3599, allocations: 0 / 307 MB, free: 9.973 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008981/0.3608, allocations: 479 kB / 307.5 MB, free: 9.457 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.3609, allocations: 12.03 kB / 307.5 MB, free: 9.445 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003047/0.3612, allocations: 31.75 kB / 307.5 MB, free: 9.414 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.3614, allocations: 211.5 kB / 307.7 MB, free: 9.168 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.3615, allocations: 11.98 kB / 307.7 MB, free: 9.156 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.3615, allocations: 4 kB / 307.8 MB, free: 9.152 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/0.3619, allocations: 136.1 kB / 307.9 MB, free: 9.004 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.362, allocations: 0 / 307.9 MB, free: 9.004 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.362, allocations: 0 / 307.9 MB, free: 9.004 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.362, allocations: 4 kB / 307.9 MB, free: 9 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000361/0.3624, allocations: 71.94 kB / 308 MB, free: 8.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.3636, allocations: 0.5594 MB / 308.5 MB, free: 8.312 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006009/0.3642, allocations: 171.8 kB / 308.7 MB, free: 8.117 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.3642, allocations: 0 / 308.7 MB, free: 8.117 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004364/0.3647, allocations: 164 kB / 308.8 MB, free: 7.938 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 5.23e-06/0.3647, allocations: 0 / 308.8 MB, free: 7.938 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.001078/0.3658, allocations: 419.5 kB / 309.3 MB, free: 7.484 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.3659, allocations: 127.1 kB / 309.4 MB, free: 7.336 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.3662, allocations: 178.2 kB / 309.6 MB, free: 7.152 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.256e-05/0.3663, allocations: 45.7 kB / 309.6 MB, free: 7.102 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.3664, allocations: 167 kB / 309.8 MB, free: 6.938 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.191e-05/0.3664, allocations: 43.45 kB / 309.8 MB, free: 6.895 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.3665, allocations: 8 kB / 309.8 MB, free: 6.887 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.3666, allocations: 322.8 kB / 310.1 MB, free: 6.562 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/0.367, allocations: 104 kB / 310.2 MB, free: 6.461 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004048/0.3674, allocations: 139.4 kB / 310.4 MB, free: 6.312 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.3678, allocations: 116 kB / 310.5 MB, free: 6.199 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.3678, allocations: 7.938 kB / 310.5 MB, free: 6.191 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000951/0.3688, allocations: 309.3 kB / 310.8 MB, free: 5.883 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.3688, allocations: 4 kB / 310.8 MB, free: 5.879 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3689, allocations: 8.094 kB / 310.8 MB, free: 5.871 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3689, allocations: 0 / 310.8 MB, free: 5.871 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.3692, allocations: 31.97 kB / 310.8 MB, free: 5.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.3692, allocations: 7.953 kB / 310.8 MB, free: 5.832 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.3694, allocations: 27.69 kB / 310.9 MB, free: 5.805 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.3695, allocations: 19.92 kB / 310.9 MB, free: 5.785 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 2 * 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.0002161/0.3697, allocations: 145.9 kB / 311 MB, free: 5.633 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.3697, allocations: 19.8 kB / 311 MB, free: 5.613 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.883e-05/0.3698, allocations: 13.41 kB / 311.1 MB, free: 5.598 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.3698, allocations: 0 / 311.1 MB, free: 5.598 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.3698, allocations: 4 kB / 311.1 MB, free: 5.594 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.3698, allocations: 7.938 kB / 311.1 MB, free: 5.586 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.3701, allocations: 213.5 kB / 311.3 MB, free: 5.328 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3702, allocations: 0 / 311.3 MB, free: 5.328 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.3703, allocations: 15.94 kB / 311.3 MB, free: 5.312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3703, allocations: 4 kB / 311.3 MB, free: 5.309 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.3703, allocations: 7.984 kB / 311.3 MB, free: 5.301 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3703, allocations: 0 / 311.3 MB, free: 5.301 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3703, allocations: 480 / 311.3 MB, free: 5.301 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006878/0.371, allocations: 273.9 kB / 311.6 MB, free: 4.996 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.588e-05/0.3711, allocations: 96.91 kB / 311.7 MB, free: 4.883 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.105e-05/0.3712, allocations: 8 kB / 311.7 MB, free: 4.875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.3714, allocations: 15.94 kB / 311.7 MB, free: 4.859 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/0.3715, allocations: 15.98 kB / 311.7 MB, free: 4.844 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.3715, allocations: 4 kB / 311.7 MB, free: 4.84 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001897/0.3717, allocations: 145.1 kB / 311.9 MB, free: 4.699 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3717, allocations: 0 / 311.9 MB, free: 4.699 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006358/0.3723, allocations: 128 kB / 312 MB, free: 4.574 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001182/0.3735, allocations: 353.6 kB / 312.3 MB, free: 4.242 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000753/0.3743, allocations: 211.8 kB / 312.5 MB, free: 4.035 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3743, allocations: 0 / 312.5 MB, free: 4.035 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.3746, allocations: 71.91 kB / 312.6 MB, free: 3.965 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.3748, allocations: 12.44 kB / 312.6 MB, free: 3.953 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007532/0.3756, allocations: 332.8 kB / 312.9 MB, free: 3.594 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.3759, allocations: 0.724 MB / 313.7 MB, free: 2.844 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.897e-05/0.376, allocations: 19.44 kB / 313.7 MB, free: 2.824 MB / 250.7 MB Notification: Performance of SimCode: time 8.81e-07/0.376, allocations: 0 / 313.7 MB, free: 2.824 MB / 250.7 MB Notification: Performance of Templates: time 0.0104/0.3864, allocations: 4.109 MB / 317.8 MB, free: 14.71 MB / 266.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.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.DistributionsCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.cpp:30: ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsInitialize.cpp:250:6: error: use of undeclared identifier '$PRE_P_truncatedNormalNoise_P_state_'; did you mean '_truncatedNormalNoise_P_state_'? $PRE_P_truncatedNormalNoise_P_state_.assign(tmp9); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _truncatedNormalNoise_P_state_ ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.h:206:34: note: '_truncatedNormalNoise_P_state_' declared here StatArrayDim1 _truncatedNormalNoise_P_state_; ^ In file included from OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.cpp:30: ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsInitialize.cpp:374:6: error: use of undeclared identifier '$PRE_P_uniformNoise_P_state_'; did you mean '_uniformNoise_P_state_'? $PRE_P_uniformNoise_P_state_.assign(tmp14); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _uniformNoise_P_state_ ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.h:207:34: note: '_uniformNoise_P_state_' declared here StatArrayDim1 _uniformNoise_P_state_; ^ In file included from OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.cpp:36: ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.cpp:181:90: error: no matching member function for call to 'pre' _functions->Modelica_Math_Random_Generators_Xorshift128plus_random(_discrete_events->pre(_truncatedNormalNoise_P_state_), tmp19); ~~~~~~~~~~~~~~~~~~^~~ /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); ^ In file included from OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.cpp:36: ./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.cpp:262:90: error: no matching member function for call to 'pre' _functions->Modelica_Math_Random_Generators_Xorshift128plus_random(_discrete_events->pre(_uniformNoise_P_state_), tmp22); ~~~~~~~~~~~~~~~~~~^~~ /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); ^ 4 errors generated. : recipe for target 'OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.o] Error 1