Running command: translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.Distributions") Notification: Performance of loadModel(Modelica): time 2.151/2.151, allocations: 224.7 MB / 241.1 MB, free: 1.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.057e-05, allocations: 4 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 50.41 MB / 345 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002105/0.1111, allocations: 1.254 MB / 346.2 MB, free: 7.684 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003033/0.1142, allocations: 1.291 MB / 347.5 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.352e-05/0.1143, allocations: 0 / 347.5 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.027e-05/0.1144, allocations: 3.938 kB / 347.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.1145, allocations: 27.89 kB / 347.5 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009678/0.1155, allocations: 243.2 kB / 347.8 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.1157, allocations: 59.86 kB / 347.8 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.1157, allocations: 0 / 347.8 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.466e-05/0.1158, allocations: 47.89 kB / 347.9 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.116, allocations: 51.77 kB / 347.9 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009648/0.1169, allocations: 411.4 kB / 348.3 MB, free: 5.559 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.1171, allocations: 24 kB / 348.4 MB, free: 5.535 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.305e-05/0.1172, allocations: 35.89 kB / 348.4 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.1172, allocations: 8 kB / 348.4 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006551/0.1179, allocations: 271.7 kB / 348.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.1179, allocations: 0 / 348.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1179, allocations: 0 / 348.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.1179, allocations: 0 / 348.7 MB, free: 5.227 MB / 282.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.0008694/0.1188, allocations: 482.8 kB / 349.1 MB, free: 4.707 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1189, allocations: 8.031 kB / 349.1 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/0.1192, allocations: 31.8 kB / 349.2 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.1194, allocations: 203.7 kB / 349.4 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.1195, allocations: 4 kB / 349.4 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.1195, allocations: 11.94 kB / 349.4 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003855/0.1199, allocations: 136.1 kB / 349.5 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1199, allocations: 0 / 349.5 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.12, allocations: 7.953 kB / 349.5 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.12, allocations: 4 kB / 349.5 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003498/0.1203, allocations: 67.95 kB / 349.6 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.1214, allocations: 0.5516 MB / 350.2 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006176/0.1221, allocations: 163.9 kB / 350.3 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.1221, allocations: 7.938 kB / 350.3 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004367/0.1226, allocations: 166 kB / 350.5 MB, free: 3.195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 2.374e-06/0.1226, allocations: 0 / 350.5 MB, free: 3.195 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.001072/0.1237, allocations: 419.6 kB / 350.9 MB, free: 2.742 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.97e-05/0.1238, allocations: 118.8 kB / 351 MB, free: 2.602 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.1241, allocations: 182.1 kB / 351.2 MB, free: 2.418 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.699e-05/0.1241, allocations: 49.67 kB / 351.2 MB, free: 2.363 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.1243, allocations: 170.9 kB / 351.4 MB, free: 2.195 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.09e-05/0.1243, allocations: 39.55 kB / 351.4 MB, free: 2.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/0.1244, allocations: 4 kB / 351.4 MB, free: 2.152 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1245, allocations: 326.9 kB / 351.8 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.1249, allocations: 111.8 kB / 351.9 MB, free: 1.715 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.1253, allocations: 139.2 kB / 352 MB, free: 1.566 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.1257, allocations: 116.5 kB / 352.1 MB, free: 1.453 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1257, allocations: 0 / 352.1 MB, free: 1.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000927/0.1266, allocations: 301.5 kB / 352.4 MB, free: 1.152 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.1267, allocations: 11.89 kB / 352.4 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1267, allocations: 0 / 352.4 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.1267, allocations: 4 kB / 352.4 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.127, allocations: 31.97 kB / 352.5 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.127, allocations: 0 / 352.5 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.1272, allocations: 35.67 kB / 352.5 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.1273, allocations: 12 kB / 352.5 MB, free: 1.059 MB / 282.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.000205/0.1275, allocations: 149.8 kB / 352.7 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.1275, allocations: 23.8 kB / 352.7 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.1276, allocations: 13.36 kB / 352.7 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.1276, allocations: 4 kB / 352.7 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1276, allocations: 0 / 352.7 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1276, allocations: 0 / 352.7 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.1279, allocations: 225.4 kB / 352.9 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.128, allocations: 7.938 kB / 352.9 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.1281, allocations: 15.92 kB / 352.9 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.1281, allocations: 4 kB / 352.9 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.1281, allocations: 0 / 352.9 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.1281, allocations: 3.953 kB / 353 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.1282, allocations: 4 kB / 353 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007003/0.1289, allocations: 268.9 kB / 353.2 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-05/0.129, allocations: 96.81 kB / 353.3 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.414e-05/0.129, allocations: 15.98 kB / 353.3 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.1292, allocations: 8 kB / 353.3 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-05/0.1292, allocations: 15.97 kB / 353.4 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.1293, allocations: 8 kB / 353.4 MB, free: 100 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001917/0.1295, allocations: 137.1 kB / 353.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.1295, allocations: 4 kB / 353.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006053/0.1301, allocations: 116 kB / 353.6 MB, free: 15.85 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]) * 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.001124/0.1312, allocations: 337.6 kB / 353.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007591/0.132, allocations: 203.2 kB / 354.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.132, allocations: 0 / 354.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002775/0.1323, allocations: 80.08 kB / 354.2 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.1325, allocations: 12.17 kB / 354.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007631/0.1333, allocations: 329.7 kB / 354.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.1337, allocations: 0.7279 MB / 355.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.03e-05/0.1338, allocations: 15.44 kB / 355.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1338, allocations: 0 / 355.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of Templates: time 0.01055/0.1444, allocations: 3.954 MB / 359.2 MB, free: 10.16 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.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/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.DistributionsCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.DistributionsCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.DistributionsCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.DistributionsFunctions.cpp:225:3: error: no matching function for call to 'ModelicaRandom_xorshift128plus' ModelicaRandom_xorshift128plus(ConstArray(stateIn_).getData(), stateOut_.getData(), &result__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaRandom.h:74:22: note: candidate function not viable: 1st argument ('const int *') would lose const qualifier MODELICA_EXPORT void ModelicaRandom_xorshift128plus(_In_ int* state_in, ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.DistributionsCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.DistributionsFunctions.cpp:310:3: error: no matching function for call to 'ModelicaRandom_xorshift64star' ModelicaRandom_xorshift64star(ConstArray(stateIn_).getData(), stateOut_.getData(), &result__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaRandom.h:72:22: note: candidate function not viable: 1st argument ('const int *') would lose const qualifier MODELICA_EXPORT void ModelicaRandom_xorshift64star(_In_ int* state_in, ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.DistributionsCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.DistributionsFunctions.cpp:477:3: error: no matching function for call to 'ModelicaRandom_setInternalState_xorshift1024star' ModelicaRandom_setInternalState_xorshift1024star(ConstArray(rngState_).getData(), rngState_.getDim(1), id__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaRandom.h:78:22: note: candidate function not viable: 1st argument ('const int *') would lose const qualifier MODELICA_EXPORT void ModelicaRandom_setInternalState_xorshift1024star( ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.DistributionsCalcHelperMain.cpp:30: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.DistributionsInitialize.cpp:246:6: error: use of undeclared identifier '$PRE_P_truncatedNormalNoise_P_state_'; did you mean '_truncatedNormalNoise_P_state_'? $PRE_P_truncatedNormalNoise_P_state_.assign(tmp7); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _truncatedNormalNoise_P_state_ ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.Distributions.h:206:34: note: '_truncatedNormalNoise_P_state_' declared here StatArrayDim1 _truncatedNormalNoise_P_state_; ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.DistributionsCalcHelperMain.cpp:30: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.DistributionsInitialize.cpp:370:6: error: use of undeclared identifier '$PRE_P_uniformNoise_P_state_'; did you mean '_uniformNoise_P_state_'? $PRE_P_uniformNoise_P_state_.assign(tmp12); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _uniformNoise_P_state_ ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.Distributions.h:207:34: note: '_uniformNoise_P_state_' declared here StatArrayDim1 _uniformNoise_P_state_; ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.DistributionsCalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.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_), tmp17); ~~~~~~~~~~~~~~~~~~^~~ /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_trunk_cpp_Modelica.Blocks.Examples.Noise.DistributionsCalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.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_), tmp20); ~~~~~~~~~~~~~~~~~~^~~ /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); ^ 7 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.DistributionsCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.DistributionsCalcHelperMain.o] Error 1