Running command: translateModel(Modelica.Blocks.Examples.Noise.ActuatorWithNoise,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") Notification: Performance of loadModel(Modelica): time 2.153/2.153, allocations: 224.7 MB / 241.1 MB, free: 1.652 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.016e-05/3.013e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1079, allocations: 50.41 MB / 345 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ActuatorWithNoise): time 0.01844/0.1264, allocations: 10.76 MB / 355.7 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.139, allocations: 4.554 MB / 360.3 MB, free: 9.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002828/0.1419, allocations: 107.7 kB / 360.4 MB, free: 9.465 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002958/0.1449, allocations: 0.6678 MB / 361.1 MB, free: 8.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00495/0.1499, allocations: 0.9423 MB / 362 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003041/0.153, allocations: 0.5771 MB / 362.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005814/0.1588, allocations: 1.998 MB / 364.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003819/0.1627, allocations: 1.676 MB / 366.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002394/0.1652, allocations: 1.04 MB / 367.3 MB, free: 2.531 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003413/0.1686, allocations: 1.441 MB / 368.7 MB, free: 1.086 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.1706, allocations: 335.7 kB / 369.1 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009865/0.1716, allocations: 140 kB / 369.2 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001756/0.1734, allocations: 0.8527 MB / 370.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001407/0.1748, allocations: 292 kB / 370.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009626/0.1845, allocations: 6.007 MB / 376.3 MB, free: 9.457 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1846, allocations: 0 / 376.3 MB, free: 9.457 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.427e-06/0.1846, allocations: 0 / 376.3 MB, free: 9.457 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002241/0.1848, allocations: 0 / 376.3 MB, free: 9.457 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 814 * Number of variables: 814 Notification: Performance of Generate backend data structure: time 0.01252/0.1973, allocations: 3.323 MB / 379.7 MB, free: 6.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.1974, allocations: 8.031 kB / 379.7 MB, free: 6.062 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002857/0.2003, allocations: 455.1 kB / 380.1 MB, free: 5.613 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00743/0.2078, allocations: 2.363 MB / 382.5 MB, free: 3.199 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001374/0.2092, allocations: 423.2 kB / 382.9 MB, free: 2.766 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001414/0.2106, allocations: 327.8 kB / 383.2 MB, free: 2.445 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01532/0.226, allocations: 4.226 MB / 387.4 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001771/0.2262, allocations: 7.906 kB / 387.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008975/0.2271, allocations: 128 kB / 387.6 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002505/0.2274, allocations: 150.1 kB / 387.7 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0141/0.2415, allocations: 3.85 MB / 391.6 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3412/0.5828, allocations: 14.13 MB / 405.7 MB, free: 40.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009429/0.5923, allocations: 2.159 MB / 407.9 MB, free: 39.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008283/0.5932, allocations: 218.3 kB / 408.1 MB, free: 39.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006775/0.6, allocations: 1.319 MB / 409.4 MB, free: 39.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=186): time 1.444e-05/0.6001, allocations: 0 / 409.4 MB, free: 39.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=234): time 0.07744/0.6776, allocations: 13.14 MB / 422.5 MB, free: 34.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008498/0.6861, allocations: 3.35 MB / 425.9 MB, free: 31.56 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007096/0.6933, allocations: 1.964 MB / 427.8 MB, free: 30.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006794/0.694, allocations: 82.91 kB / 427.9 MB, free: 30.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002068/0.6961, allocations: 1.388 MB / 429.3 MB, free: 29.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001557/0.6977, allocations: 0.7835 MB / 430.1 MB, free: 28.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004067/0.6982, allocations: 55.67 kB / 430.2 MB, free: 28.47 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002783/0.6985, allocations: 410.1 kB / 430.6 MB, free: 28.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005766/0.7043, allocations: 1.3 MB / 431.9 MB, free: 27.42 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006584/0.7109, allocations: 1.932 MB / 433.8 MB, free: 25.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006461/0.7175, allocations: 1.553 MB / 435.3 MB, free: 23.97 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-05/0.7176, allocations: 8 kB / 435.3 MB, free: 23.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01662/0.7342, allocations: 3.734 MB / 439.1 MB, free: 20.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.207e-05/0.7343, allocations: 15.98 kB / 439.1 MB, free: 20.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-05/0.7344, allocations: 20 kB / 439.1 MB, free: 20.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002964/0.7374, allocations: 0.4972 MB / 439.6 MB, free: 19.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007268/0.7447, allocations: 0.6693 MB / 440.3 MB, free: 18.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/0.7565, allocations: 4.738 MB / 445 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005276/0.7618, allocations: 207.7 kB / 445.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007934/0.7627, allocations: 111.3 kB / 445.3 MB, free: 13.65 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$PRE.motor.uniformNoise.state[1],motor.uniformNoise.state[1],$PRE.motor.uniformNoise.state[2],motor.uniformNoise.state[2],$PRE.motor.uniformNoise.state[3],motor.uniformNoise.state[3],$PRE.motor.uniformNoise.state[4],motor.uniformNoise.state[4],$PRE.motor.uniformNoise.r,motor.uniformNoise.r,$PRE.motor.uniformNoise.r_raw,motor.uniformNoise.r_raw,gearbox.lossyGear.tau_aPos,gearbox.lossyGear.startForward,gearbox.lossyGear.startBackward,gearbox.lossyGear.locked,$PRE.gearbox.lossyGear.mode,gearbox.lossyGear.mode,gearbox.lossyGear.ideal,motor.uniformNoise.localSeed,motor.uniformNoise.actualGlobalSeed,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (308): * Single equations (assignments): 303 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.004548/0.7673, allocations: 1.088 MB / 446.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001426/0.7687, allocations: 260.8 kB / 446.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01726/0.786, allocations: 3.67 MB / 450.3 MB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.619e-05/0.7861, allocations: 20.19 kB / 450.4 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.552e-05/0.7862, allocations: 4.938 kB / 450.4 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.613e-05/0.7863, allocations: 15.94 kB / 450.4 MB, free: 8.562 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03938/0.8257, allocations: 9.362 MB / 459.7 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.065e-05/0.8258, allocations: 4 kB / 459.8 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005762/0.8316, allocations: 431.5 kB / 460.2 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004517/0.8361, allocations: 0.6317 MB / 460.8 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005889/0.8368, allocations: 51.97 kB / 460.9 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02201/0.8588, allocations: 7.667 MB / 468.5 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.009122/0.868, allocations: 3.11 MB / 471.6 MB, free: 2.695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02527/0.8934, allocations: 5.555 MB / 477.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003107/0.8965, allocations: 0.6304 MB / 477.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001414/0.898, allocations: 48 kB / 477.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004571/0.9026, allocations: 163.8 kB / 478 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/0.9039, allocations: 197.7 kB / 478.2 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004196/0.9043, allocations: 63.97 kB / 478.3 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.006068/0.9104, allocations: 1.508 MB / 479.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.192e-06/0.9105, allocations: 0 / 479.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004496/0.915, allocations: 0.7721 MB / 480.6 MB, free: 9.648 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 ($STATESET1.x,controller.speed_PI.x,controller.positionToSpeed.x,controller.position_PI.x,gearbox.phi_rel,gearbox.w_rel,slewRateLimiter.y,rodMass.s,rodMass.v,elastoGap.s_rel,elastoGap.v_rel) * Number of discrete variables: 12 ($whenCondition1,motor.uniformNoise.state[1],motor.uniformNoise.state[2],motor.uniformNoise.state[3],motor.uniformNoise.state[4],motor.uniformNoise.r,motor.uniformNoise.r_raw,gearbox.lossyGear.tau_aPos,gearbox.lossyGear.startForward,gearbox.lossyGear.startBackward,gearbox.lossyGear.locked,gearbox.lossyGear.mode) * Number of discrete states: 5 (motor.uniformNoise.state[1],motor.uniformNoise.state[2],motor.uniformNoise.state[3],motor.uniformNoise.state[4],gearbox.lossyGear.mode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (197): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(3,100.0%) 8} * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001375/0.9164, allocations: 337.4 kB / 480.9 MB, free: 9.355 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01153/0.928, allocations: 3.707 MB / 484.6 MB, free: 5.574 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/0.928, allocations: 3.984 kB / 484.6 MB, free: 5.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007247/0.9353, allocations: 2.27 MB / 486.9 MB, free: 3.238 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005877/0.9412, allocations: 0.5756 MB / 487.4 MB, free: 2.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03065/0.9719, allocations: 8.498 MB / 495.9 MB, free: 10.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005781/0.9778, allocations: 2.424 MB / 498.4 MB, free: 7.637 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002301/0.9801, allocations: 215.4 kB / 498.6 MB, free: 7.426 MB / 378.7 MB Notification: Performance of SimCode: time 1.794e-06/0.9802, allocations: 4 kB / 498.6 MB, free: 7.422 MB / 378.7 MB Notification: Performance of Templates: time 0.4975/1.478, allocations: 108.1 MB / 0.5925 GB, free: 124.8 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.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.ActuatorWithNoiseCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoiseCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoiseCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoiseFunctions.cpp:238: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.ActuatorWithNoiseCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoiseFunctions.cpp:323: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.ActuatorWithNoiseCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoiseFunctions.cpp:490: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.ActuatorWithNoiseCalcHelperMain.cpp:30: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoiseInitialize.cpp:2975:6: error: use of undeclared identifier '$PRE_P_motor_P_uniformNoise_P_state_'; did you mean '_motor_P_uniformNoise_P_state_'? $PRE_P_motor_P_uniformNoise_P_state_.assign(tmp50); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _motor_P_uniformNoise_P_state_ ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.h:486:34: note: '_motor_P_uniformNoise_P_state_' declared here StatArrayDim1 _motor_P_uniformNoise_P_state_; ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoiseCalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.cpp:532:90: error: no matching member function for call to 'pre' _functions->Modelica_Math_Random_Generators_Xorshift128plus_random(_discrete_events->pre(_motor_P_uniformNoise_P_state_), tmp270); ~~~~~~~~~~~~~~~~~~^~~ /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); ^ 5 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoiseCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoiseCalcHelperMain.o] Error 1