Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) 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 1.847/1.847, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003597, allocations: 8 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08053/0.08091, allocations: 44.52 MB / 308.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001431/0.08239, allocations: 0.9424 MB / 309.3 MB, free: 68 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.08349, allocations: 428 kB / 309.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.423e-05/0.08354, allocations: 3.938 kB / 309.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.08359, allocations: 0 / 309.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.08396, allocations: 47.88 kB / 309.8 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.08415, allocations: 63.75 kB / 309.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.802e-05/0.08423, allocations: 27.95 kB / 309.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.08429, allocations: 4 kB / 309.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.925e-05/0.08434, allocations: 15.92 kB / 309.9 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.526e-05/0.08439, allocations: 19.92 kB / 309.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.08442, allocations: 0 / 309.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.08466, allocations: 103.8 kB / 310 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.624e-05/0.08473, allocations: 35.8 kB / 310 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.0848, allocations: 45.62 kB / 310.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.08503, allocations: 115.8 kB / 310.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.773e-06/0.08505, allocations: 0 / 310.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.891e-06/0.08506, allocations: 0 / 310.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.364e-06/0.08508, allocations: 4 kB / 310.2 MB, free: 15.16 MB / 266.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.0006598/0.08575, allocations: 0.5488 MB / 310.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.0858, allocations: 8.031 kB / 310.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.08597, allocations: 23.89 kB / 310.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.08617, allocations: 183.1 kB / 311 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.0862, allocations: 4 kB / 311 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.08624, allocations: 4 kB / 311 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003971/0.08664, allocations: 275.2 kB / 311.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.721e-06/0.08667, allocations: 0 / 311.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.08669, allocations: 4 kB / 311.2 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.38e-06/0.08671, allocations: 0 / 311.2 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.08693, allocations: 143.9 kB / 311.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002501/0.08719, allocations: 206.3 kB / 311.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005437/0.08775, allocations: 497.1 kB / 312.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.08777, allocations: 3.984 kB / 312.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006109/0.08839, allocations: 476.6 kB / 312.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.593e-06/0.08841, allocations: 0 / 312.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=46): time 0.001265/0.08969, allocations: 0.8865 MB / 313.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.08985, allocations: 168.5 kB / 313.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.08996, allocations: 101.8 kB / 313.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.09, allocations: 29.7 kB / 313.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.933e-05/0.09009, allocations: 151.6 kB / 313.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.671e-05/0.0902, allocations: 86.75 kB / 313.9 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-06/0.09022, allocations: 0 / 313.9 MB, free: 11.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.0904, allocations: 326.8 kB / 314.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.09053, allocations: 80.34 kB / 314.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.09069, allocations: 114.4 kB / 314.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.09095, allocations: 199.3 kB / 314.6 MB, free: 10.35 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.651e-06/0.09097, allocations: 0 / 314.6 MB, free: 10.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000516/0.09149, allocations: 348.6 kB / 315 MB, free: 9.992 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.09164, allocations: 111.3 kB / 315.1 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.66e-06/0.09166, allocations: 0 / 315.1 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.09168, allocations: 0 / 315.1 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.142e-06/0.09169, allocations: 0 / 315.1 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.946e-06/0.09171, allocations: 4 kB / 315.1 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.282e-05/0.0918, allocations: 15.84 kB / 315.1 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.09184, allocations: 16.09 kB / 315.1 MB, free: 9.836 MB / 266.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 () * Number of clocked 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.0003694/0.09223, allocations: 299.7 kB / 315.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.333e-05/0.0923, allocations: 32.09 kB / 315.5 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.51e-05/0.09233, allocations: 5.562 kB / 315.5 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.824e-06/0.09235, allocations: 3.984 kB / 315.5 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.895e-06/0.09236, allocations: 4 kB / 315.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.09237, allocations: 0 / 315.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.09264, allocations: 233.3 kB / 315.7 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.09266, allocations: 4 kB / 315.7 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.472e-06/0.09267, allocations: 0 / 315.7 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.211e-06/0.09268, allocations: 3.953 kB / 315.7 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/0.09273, allocations: 16 kB / 315.7 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/0.09275, allocations: 3.984 kB / 315.7 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.367e-06/0.09276, allocations: 11.88 kB / 315.7 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.09453, allocations: 1.213 MB / 316.9 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-05/0.09464, allocations: 100.8 kB / 317 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.09479, allocations: 67.89 kB / 317.1 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.209e-05/0.09489, allocations: 12 kB / 317.1 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.09496, allocations: 11.98 kB / 317.1 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.401e-05/0.09501, allocations: 28.02 kB / 317.2 MB, free: 7.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.247e-05/0.09509, allocations: 79.28 kB / 317.2 MB, free: 7.602 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.0951, allocations: 0 / 317.2 MB, free: 7.602 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004519/0.09556, allocations: 87.98 kB / 317.3 MB, free: 7.516 MB / 266.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) * Number of clocked states: 0 () * 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.0007139/0.09629, allocations: 309.2 kB / 317.6 MB, free: 7.238 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002454/0.09877, allocations: 2.134 MB / 319.8 MB, free: 5.078 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.0988, allocations: 0 / 319.8 MB, free: 5.078 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002337/0.1011, allocations: 2.182 MB / 321.9 MB, free: 2.871 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.1014, allocations: 11.98 kB / 322 MB, free: 2.859 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008006/0.1022, allocations: 441.2 kB / 322.4 MB, free: 2.391 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.1026, allocations: 0.7286 MB / 323.1 MB, free: 1.633 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.431e-05/0.1026, allocations: 7.438 kB / 323.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of SimCode: time 1.669e-06/0.1027, allocations: 7.938 kB / 323.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of Templates: time 0.006418/0.1091, allocations: 2.863 MB / 326 MB, free: 14.75 MB / 282.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile b'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=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.cpp:33:\n./OMCppModelica_3.2.2_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.cpp:511:89: error: no matching member function for call to \'pre\'\n _functions->Modelica_Math_Random_Generators_Xorshift64star_random(_discrete_events->pre(_state64_), tmp5);\n ~~~~~~~~~~~~~~~~~~^~~\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/DiscreteEvents.h:29:11: note: candidate function not viable: no known conversion from \'StatArrayDim1\' to \'const double\' for 1st argument\n double& pre(const double& var);\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/DiscreteEvents.h:30:8: note: candidate function not viable: no known conversion from \'StatArrayDim1\' to \'const int\' for 1st argument\n int& pre(const int& var);\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/DiscreteEvents.h:31:9: note: candidate function not viable: no known conversion from \'StatArrayDim1\' to \'const bool\' for 1st argument\n bool& pre(const bool& var);\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/DiscreteEvents.h:32:16: note: candidate function not viable: no known conversion from \'StatArrayDim1\' to \'const std::string\' (aka \'const basic_string\') for 1st argument\n std::string& pre(const std::string& var);\n ^\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.cpp:33:\n./OMCppModelica_3.2.2_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.cpp:517:90: error: no matching member function for call to \'pre\'\n _functions->Modelica_Math_Random_Generators_Xorshift128plus_random(_discrete_events->pre(_state128_), tmp6);\n ~~~~~~~~~~~~~~~~~~^~~\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/DiscreteEvents.h:29:11: note: candidate function not viable: no known conversion from \'StatArrayDim1\' to \'const double\' for 1st argument\n double& pre(const double& var);\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/DiscreteEvents.h:30:8: note: candidate function not viable: no known conversion from \'StatArrayDim1\' to \'const int\' for 1st argument\n int& pre(const int& var);\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/DiscreteEvents.h:31:9: note: candidate function not viable: no known conversion from \'StatArrayDim1\' to \'const bool\' for 1st argument\n bool& pre(const bool& var);\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/DiscreteEvents.h:32:16: note: candidate function not viable: no known conversion from \'StatArrayDim1\' to \'const std::string\' (aka \'const basic_string\') for 1st argument\n std::string& pre(const std::string& var);\n ^\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.cpp:33:\n./OMCppModelica_3.2.2_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.cpp:523:91: error: no matching member function for call to \'pre\'\n _functions->Modelica_Math_Random_Generators_Xorshift1024star_random(_discrete_events->pre(_state1024_), tmp7);\n ~~~~~~~~~~~~~~~~~~^~~\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/DiscreteEvents.h:29:11: note: candidate function not viable: no known conversion from \'StatArrayDim1\' to \'const double\' for 1st argument\n double& pre(const double& var);\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/DiscreteEvents.h:30:8: note: candidate function not viable: no known conversion from \'StatArrayDim1\' to \'const int\' for 1st argument\n int& pre(const int& var);\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/DiscreteEvents.h:31:9: note: candidate function not viable: no known conversion from \'StatArrayDim1\' to \'const bool\' for 1st argument\n bool& pre(const bool& var);\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/DiscreteEvents.h:32:16: note: candidate function not viable: no known conversion from \'StatArrayDim1\' to \'const std::string\' (aka \'const basic_string\') for 1st argument\n std::string& pre(const std::string& var);\n ^\n3 errors generated.\n: recipe for target \'OMCppModelica_3.2.2_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.2_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.o] Error 1\n'