Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadModel(Modelica): time 2.119/2.119, allocations: 194.9 MB / 211.2 MB, free: 7.871 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.316e-05/3.315e-05, allocations: 7.906 kB / 258.8 MB, free: 8.227 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.381, allocations: 44.5 MB / 303.3 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002385/0.3834, allocations: 0.9586 MB / 304.2 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.3852, allocations: 409.5 kB / 304.6 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.465e-05/0.3854, allocations: 0 / 304.6 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.798e-05/0.3854, allocations: 3.938 kB / 304.6 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005602/0.386, allocations: 46.38 kB / 304.7 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.3864, allocations: 46.58 kB / 304.7 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.956e-05/0.3865, allocations: 15.05 kB / 304.8 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.872e-05/0.3866, allocations: 0 / 304.8 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.176e-05/0.3866, allocations: 16.3 kB / 304.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.564e-05/0.3867, allocations: 19.56 kB / 304.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005184/0.3873, allocations: 92.11 kB / 304.9 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.941e-05/0.3874, allocations: 11.33 kB / 304.9 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.586e-05/0.3874, allocations: 24.58 kB / 304.9 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.481e-05/0.3875, allocations: 10.38 kB / 304.9 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.388, allocations: 117.9 kB / 305 MB, free: 11.44 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.388, allocations: 0 / 305 MB, free: 11.44 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.388, allocations: 0 / 305 MB, free: 11.44 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.388, allocations: 1.375 kB / 305 MB, free: 11.44 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009387/0.389, allocations: 0.5523 MB / 305.6 MB, free: 10.92 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/0.3891, allocations: 12.69 kB / 305.6 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/0.3894, allocations: 18.72 kB / 305.6 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.3896, allocations: 181.7 kB / 305.8 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.3897, allocations: 2.375 kB / 305.8 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.3897, allocations: 4.375 kB / 305.8 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006347/0.3904, allocations: 276.6 kB / 306.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3904, allocations: 1.344 kB / 306.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.3904, allocations: 1.25 kB / 306.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.3905, allocations: 9.109 kB / 306.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.3908, allocations: 142.7 kB / 306.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.3912, allocations: 201.7 kB / 306.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008515/0.3921, allocations: 494.4 kB / 306.9 MB, free: 9.82 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.3921, allocations: 0 / 306.9 MB, free: 9.82 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008904/0.3931, allocations: 484.7 kB / 307.4 MB, free: 9.301 MB / 250.7 MB Notification: Performance of pre-optimization done (n=46): time 6.923e-06/0.3931, allocations: 0 / 307.4 MB, free: 9.301 MB / 250.7 MB Notification: Performance of matching and sorting (n=46): time 0.001932/0.395, allocations: 0.8787 MB / 308.3 MB, free: 8.367 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/0.3953, allocations: 164.4 kB / 308.4 MB, free: 8.176 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.3954, allocations: 93 kB / 308.5 MB, free: 8.078 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.3955, allocations: 25.77 kB / 308.5 MB, free: 8.047 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.836e-05/0.3956, allocations: 163.5 kB / 308.7 MB, free: 7.887 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.3957, allocations: 86.75 kB / 308.8 MB, free: 7.801 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.3958, allocations: 4 kB / 308.8 MB, free: 7.797 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.3959, allocations: 322.8 kB / 309.1 MB, free: 7.473 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.3961, allocations: 80.34 kB / 309.2 MB, free: 7.395 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.3964, allocations: 114.4 kB / 309.3 MB, free: 7.277 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003997/0.3968, allocations: 191.3 kB / 309.5 MB, free: 7.078 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3968, allocations: 8.031 kB / 309.5 MB, free: 7.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008265/0.3977, allocations: 356.6 kB / 309.8 MB, free: 6.703 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001928/0.3979, allocations: 107.3 kB / 309.9 MB, free: 6.586 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3979, allocations: 0 / 309.9 MB, free: 6.586 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.398, allocations: 0 / 309.9 MB, free: 6.586 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.294e-06/0.398, allocations: 0 / 309.9 MB, free: 6.586 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.398, allocations: 0 / 309.9 MB, free: 6.586 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.3982, allocations: 27.73 kB / 310 MB, free: 6.559 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/0.3982, allocations: 8 kB / 310 MB, free: 6.551 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: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0005781/0.3988, allocations: 291.8 kB / 310.3 MB, free: 6.242 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.399, allocations: 31.77 kB / 310.3 MB, free: 6.211 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.399, allocations: 9.5 kB / 310.3 MB, free: 6.199 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.3991, allocations: 0 / 310.3 MB, free: 6.199 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.3991, allocations: 11.98 kB / 310.3 MB, free: 6.188 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3991, allocations: 4 kB / 310.3 MB, free: 6.184 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.3995, allocations: 233.3 kB / 310.5 MB, free: 5.906 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3995, allocations: 0 / 310.5 MB, free: 5.906 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.691e-06/0.3995, allocations: 4 kB / 310.5 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/0.3996, allocations: 3.953 kB / 310.6 MB, free: 5.898 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-05/0.3996, allocations: 19.98 kB / 310.6 MB, free: 5.879 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/0.3997, allocations: 3.938 kB / 310.6 MB, free: 5.875 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3997, allocations: 0 / 310.6 MB, free: 5.875 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002752/0.4024, allocations: 1.222 MB / 311.8 MB, free: 4.613 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.4026, allocations: 100.8 kB / 311.9 MB, free: 4.496 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.4029, allocations: 64.28 kB / 312 MB, free: 4.434 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.4031, allocations: 11.94 kB / 312 MB, free: 4.422 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.04e-05/0.4032, allocations: 11.98 kB / 312 MB, free: 4.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.312e-05/0.4033, allocations: 19.98 kB / 312 MB, free: 4.391 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.734e-05/0.4034, allocations: 87.3 kB / 312.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.4034, allocations: 0 / 312.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0008215/0.4042, allocations: 91.98 kB / 312.2 MB, free: 4.215 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 46 (iImpure,rImpure,$whenCondition1,r1024,r128,r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.001077/0.4053, allocations: 304.6 kB / 312.5 MB, free: 3.938 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003796/0.4092, allocations: 2.127 MB / 314.6 MB, free: 1.785 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.4092, allocations: 0 / 314.6 MB, free: 1.785 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003701/0.413, allocations: 2.186 MB / 316.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.4133, allocations: 12 kB / 316.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.4146, allocations: 433.2 kB / 317.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005138/0.4151, allocations: 0.7286 MB / 317.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.4152, allocations: 7.438 kB / 318 MB, free: 14.34 MB / 266.7 MB Notification: Performance of SimCode: time 2.986e-06/0.4152, allocations: 3.938 kB / 318 MB, free: 14.34 MB / 266.7 MB Notification: Performance of Templates: time 0.01041/0.4256, allocations: 2.882 MB / 320.8 MB, free: 11.45 MB / 266.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.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.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.cpp:36: ./OMCppModelica_3.2.2_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.cpp:509:89: error: no matching member function for call to 'pre' _functions->Modelica_Math_Random_Generators_Xorshift64star_random(_discrete_events->pre(_state64_), tmp10); ~~~~~~~~~~~~~~~~~~^~~ /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.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.cpp:36: ./OMCppModelica_3.2.2_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.cpp:515:90: error: no matching member function for call to 'pre' _functions->Modelica_Math_Random_Generators_Xorshift128plus_random(_discrete_events->pre(_state128_), tmp11); ~~~~~~~~~~~~~~~~~~^~~ /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.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.cpp:36: ./OMCppModelica_3.2.2_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.cpp:521:91: error: no matching member function for call to 'pre' _functions->Modelica_Math_Random_Generators_Xorshift1024star_random(_discrete_events->pre(_state1024_), tmp12); ~~~~~~~~~~~~~~~~~~^~~ /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); ^ 3 errors generated. : recipe for target 'OMCppModelica_3.2.2_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.o] Error 1