Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006664/0.006669, allocations: 182.8 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.985/3.985, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001721/0.001721, allocations: 94.41 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006038/0.000604, allocations: 8 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5515/0.5522, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.003031/0.5553, allocations: 1.256 MB / 375.8 MB, free: 44.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004675/0.56, allocations: 1.367 MB / 377.1 MB, free: 43.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.5603, allocations: 1.219 kB / 377.1 MB, free: 43.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.5604, allocations: 3.938 kB / 377.1 MB, free: 43.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.5606, allocations: 27.17 kB / 377.2 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.5629, allocations: 304.2 kB / 377.5 MB, free: 43.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.5633, allocations: 86.36 kB / 377.6 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.5634, allocations: 6.906 kB / 377.6 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.5636, allocations: 51.08 kB / 377.6 MB, free: 43.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.5637, allocations: 63.83 kB / 377.7 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.599e-05/0.5638, allocations: 6.844 kB / 377.7 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.5657, allocations: 430.6 kB / 378.1 MB, free: 42.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.5659, allocations: 31.97 kB / 378.1 MB, free: 42.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.566, allocations: 48.42 kB / 378.2 MB, free: 42.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.5672, allocations: 274.4 kB / 378.4 MB, free: 42.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5673, allocations: 0 / 378.4 MB, free: 42.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.5673, allocations: 0 / 378.4 MB, free: 42.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.5673, allocations: 1.062 kB / 378.5 MB, free: 42.62 MB / 298.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.00145/0.5688, allocations: 0.4966 MB / 378.9 MB, free: 42.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/0.5689, allocations: 16.69 kB / 379 MB, free: 42.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004868/0.5694, allocations: 33.77 kB / 379 MB, free: 42.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.5697, allocations: 203.6 kB / 379.2 MB, free: 41.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.974e-05/0.5698, allocations: 7.312 kB / 379.2 MB, free: 41.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/0.5699, allocations: 9.172 kB / 379.2 MB, free: 41.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005428/0.5704, allocations: 135.2 kB / 379.3 MB, free: 41.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.5705, allocations: 0 / 379.3 MB, free: 41.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.5705, allocations: 5.328 kB / 379.3 MB, free: 41.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.5705, allocations: 1.375 kB / 379.4 MB, free: 41.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005254/0.5711, allocations: 71.3 kB / 379.4 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.5726, allocations: 0.557 MB / 380 MB, free: 41.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008685/0.5735, allocations: 171.2 kB / 380.1 MB, free: 41.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.5736, allocations: 5.25 kB / 380.1 MB, free: 41.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000651/0.5743, allocations: 151.8 kB / 380.3 MB, free: 40.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 4.448e-06/0.5743, allocations: 4.969 kB / 380.3 MB, free: 40.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001574/0.5759, allocations: 427.4 kB / 380.7 MB, free: 40.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.714e-05/0.5761, allocations: 122.7 kB / 380.8 MB, free: 40.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/0.5765, allocations: 201 kB / 381 MB, free: 40.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.5766, allocations: 48.09 kB / 381.1 MB, free: 40.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.5767, allocations: 167.3 kB / 381.2 MB, free: 40.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.752e-05/0.5768, allocations: 43.2 kB / 381.3 MB, free: 40.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.5769, allocations: 7.984 kB / 381.3 MB, free: 40.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.995e-05/0.577, allocations: 326.4 kB / 381.6 MB, free: 39.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005672/0.5776, allocations: 111.8 kB / 381.7 MB, free: 39.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/0.5782, allocations: 142.9 kB / 381.9 MB, free: 39.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000573/0.5788, allocations: 127.8 kB / 382 MB, free: 39.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.5788, allocations: 0 / 382 MB, free: 39.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001378/0.5802, allocations: 296.7 kB / 382.3 MB, free: 39.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/0.5803, allocations: 4.75 kB / 382.3 MB, free: 39.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.5803, allocations: 1.656 kB / 382.3 MB, free: 39.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.202e-05/0.5804, allocations: 6.281 kB / 382.3 MB, free: 39.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004161/0.5808, allocations: 40.03 kB / 382.3 MB, free: 39.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.5809, allocations: 2.719 kB / 382.3 MB, free: 39.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.5812, allocations: 20.56 kB / 382.4 MB, free: 39.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.264e-05/0.5812, allocations: 10.64 kB / 382.4 MB, free: 39.41 MB / 298.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 () * Number of clocked 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.0003008/0.5815, allocations: 156 kB / 382.5 MB, free: 39.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.212e-05/0.5816, allocations: 14.84 kB / 382.5 MB, free: 39.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.575e-05/0.5817, allocations: 12.78 kB / 382.5 MB, free: 39.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.5818, allocations: 6.062 kB / 382.5 MB, free: 39.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.5818, allocations: 1.062 kB / 382.5 MB, free: 39.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.5818, allocations: 5.078 kB / 382.6 MB, free: 39.24 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003722/0.5822, allocations: 226.1 kB / 382.8 MB, free: 39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.5822, allocations: 0 / 382.8 MB, free: 39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.5824, allocations: 10.41 kB / 382.8 MB, free: 39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.5824, allocations: 5.062 kB / 382.8 MB, free: 38.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.5825, allocations: 6.609 kB / 382.8 MB, free: 38.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.453e-06/0.5825, allocations: 1.312 kB / 382.8 MB, free: 38.99 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.5825, allocations: 1.281 kB / 382.8 MB, free: 38.99 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009739/0.5835, allocations: 277.7 kB / 383.1 MB, free: 38.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.554e-05/0.5836, allocations: 101.8 kB / 383.2 MB, free: 38.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.108e-05/0.5837, allocations: 14.41 kB / 383.2 MB, free: 38.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.5839, allocations: 9.859 kB / 383.2 MB, free: 38.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.5841, allocations: 22.31 kB / 383.2 MB, free: 38.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.5841, allocations: 3.562 kB / 383.2 MB, free: 38.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002493/0.5844, allocations: 136.6 kB / 383.4 MB, free: 38.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.5844, allocations: 0 / 383.4 MB, free: 38.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001211/0.5856, allocations: 131.7 kB / 383.5 MB, free: 38.5 MB / 298.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]) * Number of clocked states: 0 () * 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.001875/0.5876, allocations: 345.7 kB / 383.8 MB, free: 38.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.5889, allocations: 200.6 kB / 384 MB, free: 38.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.5889, allocations: 0 / 384 MB, free: 38.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004233/0.5894, allocations: 70.72 kB / 384.1 MB, free: 38.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.5897, allocations: 7.688 kB / 384.1 MB, free: 38.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.5908, allocations: 339.2 kB / 384.4 MB, free: 37.92 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.5911, allocations: 0.7234 MB / 385.1 MB, free: 37.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.5913, allocations: 20.59 kB / 385.2 MB, free: 37.19 MB / 298.7 MB Notification: Performance of SimCode: time 1.994e-06/0.5913, allocations: 3.938 kB / 385.2 MB, free: 37.19 MB / 298.7 MB Notification: Performance of Templates: time 0.01561/0.607, allocations: 4.112 MB / 389.3 MB, free: 33.62 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsInitialize.cpp:245:3: error: use of undeclared identifier \'$PRE_P_truncatedNormalNoise_P_state_\'; did you mean \'_truncatedNormalNoise_P_state_\'?\n $PRE_P_truncatedNormalNoise_P_state_.assign(tmp76);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n _truncatedNormalNoise_P_state_\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.h:198:33: note: \'_truncatedNormalNoise_P_state_\' declared here\n StatArrayDim1 _truncatedNormalNoise_P_state_;\n ^\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsInitialize.cpp:369:3: error: use of undeclared identifier \'$PRE_P_uniformNoise_P_state_\'; did you mean \'_uniformNoise_P_state_\'?\n $PRE_P_uniformNoise_P_state_.assign(tmp81);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~\n _uniformNoise_P_state_\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.h:199:33: note: \'_uniformNoise_P_state_\' declared here\n StatArrayDim1 _uniformNoise_P_state_;\n ^\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.cpp:33:\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.cpp:183:90: error: no matching member function for call to \'pre\'\n _functions->Modelica_Math_Random_Generators_Xorshift128plus_random(_discrete_events->pre(_truncatedNormalNoise_P_state_), tmp1);\n ~~~~~~~~~~~~~~~~~~^~~\n/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/jenkins1/ws/OpenModelicaLibraryTestingWork/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/jenkins1/ws/OpenModelicaLibraryTestingWork/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/jenkins1/ws/OpenModelicaLibraryTestingWork/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.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.cpp:33:\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.cpp:264:90: error: no matching member function for call to \'pre\'\n _functions->Modelica_Math_Random_Generators_Xorshift128plus_random(_discrete_events->pre(_uniformNoise_P_state_), tmp4);\n ~~~~~~~~~~~~~~~~~~^~~\n/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/jenkins1/ws/OpenModelicaLibraryTestingWork/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/jenkins1/ws/OpenModelicaLibraryTestingWork/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/jenkins1/ws/OpenModelicaLibraryTestingWork/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 ^\n4 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.o] Error 1\n'