Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoise") Notification: Performance of loadModel(Modelica): time 2.015/2.015, allocations: 224.7 MB / 241.1 MB, free: 1.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.073e-05/3.072e-05, allocations: 4 kB / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1207, allocations: 50.41 MB / 345 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002065/0.1229, allocations: 1.203 MB / 346.2 MB, free: 7.746 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1243, allocations: 0.5461 MB / 346.7 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.1244, allocations: 4 kB / 346.7 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.8e-05/0.1245, allocations: 3.938 kB / 346.7 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.291e-05/0.1246, allocations: 23.89 kB / 346.8 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.1251, allocations: 95.73 kB / 346.8 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.1252, allocations: 55.81 kB / 346.9 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.809e-05/0.1253, allocations: 0 / 346.9 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.195e-05/0.1253, allocations: 31.92 kB / 346.9 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.1255, allocations: 47.83 kB / 347 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002316/0.1258, allocations: 79.88 kB / 347.1 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.1258, allocations: 16 kB / 347.1 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.1259, allocations: 27.89 kB / 347.1 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.1259, allocations: 8 kB / 347.1 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.1262, allocations: 128 kB / 347.2 MB, free: 6.688 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1262, allocations: 0 / 347.2 MB, free: 6.688 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1262, allocations: 3.938 kB / 347.2 MB, free: 6.684 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1263, allocations: 0 / 347.2 MB, free: 6.684 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007127/0.127, allocations: 415.1 kB / 347.6 MB, free: 6.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.127, allocations: 16.03 kB / 347.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004123/0.1275, allocations: 43.73 kB / 347.7 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.1277, allocations: 202.8 kB / 347.9 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.1277, allocations: 3.938 kB / 347.9 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.1278, allocations: 8 kB / 347.9 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.1281, allocations: 119.4 kB / 348 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1282, allocations: 0 / 348 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.1282, allocations: 3.984 kB / 348 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1282, allocations: 0 / 348 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.1285, allocations: 63.86 kB / 348.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009123/0.1294, allocations: 381.6 kB / 348.5 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005537/0.13, allocations: 141.1 kB / 348.6 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.13, allocations: 0 / 348.6 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003789/0.1304, allocations: 145.2 kB / 348.7 MB, free: 4.984 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.1304, allocations: 0 / 348.7 MB, free: 4.984 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.000937/0.1314, allocations: 416.3 kB / 349.2 MB, free: 4.535 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.157e-05/0.1315, allocations: 97.08 kB / 349.2 MB, free: 4.422 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.1317, allocations: 165.3 kB / 349.4 MB, free: 4.254 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/0.1318, allocations: 45.7 kB / 349.5 MB, free: 4.203 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1319, allocations: 170.9 kB / 349.6 MB, free: 4.035 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.265e-05/0.132, allocations: 35.55 kB / 349.7 MB, free: 4 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.132, allocations: 15.92 kB / 349.7 MB, free: 3.984 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1322, allocations: 322.8 kB / 350 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.1325, allocations: 100.5 kB / 350.1 MB, free: 3.555 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.1329, allocations: 131.5 kB / 350.2 MB, free: 3.418 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.1332, allocations: 112.5 kB / 350.3 MB, free: 3.309 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1332, allocations: 0 / 350.3 MB, free: 3.309 MB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008584/0.1341, allocations: 301.2 kB / 350.6 MB, free: 3.008 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.1341, allocations: 4 kB / 350.6 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.1342, allocations: 8.062 kB / 350.6 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1342, allocations: 0 / 350.6 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.1345, allocations: 35.88 kB / 350.7 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.1345, allocations: 0 / 350.7 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.1346, allocations: 23.83 kB / 350.7 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.1347, allocations: 8 kB / 350.7 MB, free: 2.93 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001992/0.1349, allocations: 149.8 kB / 350.8 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.1349, allocations: 11.81 kB / 350.8 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.135, allocations: 13.41 kB / 350.9 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.135, allocations: 0 / 350.9 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.135, allocations: 11.89 kB / 350.9 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.135, allocations: 0 / 350.9 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.1353, allocations: 201.6 kB / 351.1 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1353, allocations: 0 / 351.1 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.255e-05/0.1354, allocations: 12 kB / 351.1 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.1354, allocations: 8 kB / 351.1 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.1354, allocations: 3.984 kB / 351.1 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1355, allocations: 0 / 351.1 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1355, allocations: 0 / 351.1 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000624/0.1361, allocations: 259.3 kB / 351.3 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-05/0.1362, allocations: 88.92 kB / 351.4 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.1362, allocations: 8 kB / 351.4 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1363, allocations: 11.98 kB / 351.5 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.1364, allocations: 11.94 kB / 351.5 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.1365, allocations: 7.938 kB / 351.5 MB, free: 2.039 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001477/0.1366, allocations: 127.2 kB / 351.6 MB, free: 1.914 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1366, allocations: 4 kB / 351.6 MB, free: 1.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003665/0.137, allocations: 40 kB / 351.6 MB, free: 1.871 MB / 282.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: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.0005898/0.1376, allocations: 203.8 kB / 351.8 MB, free: 1.691 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006432/0.1383, allocations: 193.1 kB / 352 MB, free: 1.504 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1383, allocations: 3.938 kB / 352 MB, free: 1.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.1385, allocations: 63.97 kB / 352.1 MB, free: 1.438 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.1387, allocations: 7.938 kB / 352.1 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006771/0.1394, allocations: 304.8 kB / 352.4 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.1398, allocations: 0.716 MB / 353.1 MB, free: 356 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.75e-05/0.1398, allocations: 19.44 kB / 353.1 MB, free: 336 kB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1398, allocations: 3.938 kB / 353.1 MB, free: 332 kB / 282.7 MB Notification: Performance of Templates: time 0.006349/0.1462, allocations: 2.319 MB / 355.5 MB, free: 14 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoise.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.UniformNoiseCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseFunctions.cpp:78: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.UniformNoiseCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseFunctions.cpp:163: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.UniformNoiseCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseFunctions.cpp:330: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.UniformNoiseCalcHelperMain.cpp:30: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseInitialize.cpp:245:6: error: use of undeclared identifier '$PRE_P_uniformNoise2_P_state_'; did you mean '_uniformNoise2_P_state_'? $PRE_P_uniformNoise2_P_state_.assign(tmp7); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _uniformNoise2_P_state_ ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoise.h:206:34: note: '_uniformNoise2_P_state_' declared here StatArrayDim1 _uniformNoise2_P_state_; ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseCalcHelperMain.cpp:30: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseInitialize.cpp:367:6: error: use of undeclared identifier '$PRE_P_uniformNoise1_P_state_'; did you mean '_uniformNoise1_P_state_'? $PRE_P_uniformNoise1_P_state_.assign(tmp11); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _uniformNoise1_P_state_ ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoise.h:205:34: note: '_uniformNoise1_P_state_' declared here StatArrayDim1 _uniformNoise1_P_state_; ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseCalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoise.cpp:166:90: error: no matching member function for call to 'pre' _functions->Modelica_Math_Random_Generators_Xorshift128plus_random(_discrete_events->pre(_uniformNoise2_P_state_), tmp14); ~~~~~~~~~~~~~~~~~~^~~ /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.UniformNoiseCalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoise.cpp:245:90: error: no matching member function for call to 'pre' _functions->Modelica_Math_Random_Generators_Xorshift128plus_random(_discrete_events->pre(_uniformNoise1_P_state_), tmp16); ~~~~~~~~~~~~~~~~~~^~~ /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.UniformNoiseCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseCalcHelperMain.o] Error 1