Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.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: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001545/0.00155, allocations: 187 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.139/2.139, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001201/0.001201, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003854, allocations: 19.98 kB / 327.1 MB, free: 14.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1063, allocations: 47.57 MB / 374.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.02092/0.1273, allocations: 11.04 MB / 385.7 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.3566/0.484, allocations: 5.054 MB / 390.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003805/0.4879, allocations: 68.12 kB / 390.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005115/0.493, allocations: 0.7503 MB / 391.5 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008018/0.5011, allocations: 1.034 MB / 392.6 MB, free: 9.352 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004762/0.5059, allocations: 0.6162 MB / 393.2 MB, free: 9.344 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01042/0.5164, allocations: 2.63 MB / 395.8 MB, free: 9.332 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007409/0.5239, allocations: 2.13 MB / 398 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005044/0.529, allocations: 1.269 MB / 399.2 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006894/0.5359, allocations: 1.64 MB / 400.9 MB, free: 8.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00234/0.5384, allocations: 202.8 kB / 401.1 MB, free: 8.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004557/0.543, allocations: 433.7 kB / 401.5 MB, free: 8.723 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00384/0.5469, allocations: 0.9343 MB / 402.4 MB, free: 8.602 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003931/0.5509, allocations: 0.761 MB / 403.2 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01501/0.5659, allocations: 6.012 MB / 409.2 MB, free: 5.223 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.566, allocations: 0 / 409.2 MB, free: 5.223 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.5661, allocations: 1.219 kB / 409.2 MB, free: 5.223 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000349/0.5664, allocations: 0 / 409.2 MB, free: 5.223 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: 814 * Number of variables: 814 Notification: Performance of Generate backend data structure: time 0.02145/0.5879, allocations: 3.657 MB / 412.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.521e-05/0.588, allocations: 8.531 kB / 412.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003014/0.591, allocations: 441.2 kB / 413.3 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004847/0.5959, allocations: 457.4 kB / 413.7 MB, free: 2.742 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/0.607, allocations: 2.251 MB / 416 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001779/0.6088, allocations: 420.1 kB / 416.4 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002196/0.6111, allocations: 322.3 kB / 416.7 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02358/0.6347, allocations: 4.219 MB / 420.9 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002919/0.6351, allocations: 11.91 kB / 420.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001669/0.6368, allocations: 126.8 kB / 421.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000397/0.6372, allocations: 150 kB / 421.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02113/0.6583, allocations: 3.857 MB / 425.1 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06129/0.7197, allocations: 14.15 MB / 439.2 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009868/0.7296, allocations: 2.166 MB / 441.4 MB, free: 9.168 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007723/0.7305, allocations: 225.5 kB / 441.6 MB, free: 8.918 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005411/0.7359, allocations: 1.314 MB / 442.9 MB, free: 7.578 MB / 314.7 MB Notification: Performance of pre-optimization done (n=186): time 5.882e-06/0.736, allocations: 3.938 kB / 442.9 MB, free: 7.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=234): time 0.07799/0.814, allocations: 13.1 MB / 456 MB, free: 10.37 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00728/0.8214, allocations: 3.342 MB / 459.4 MB, free: 6.844 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006138/0.8276, allocations: 2.215 MB / 461.6 MB, free: 4.602 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006577/0.8283, allocations: 73.69 kB / 461.7 MB, free: 4.523 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002104/0.8304, allocations: 1.397 MB / 463.1 MB, free: 3.117 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001586/0.832, allocations: 0.7848 MB / 463.8 MB, free: 2.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003113/0.8324, allocations: 52 kB / 463.9 MB, free: 2.289 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003263/0.8327, allocations: 412.2 kB / 464.3 MB, free: 1.879 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004611/0.8373, allocations: 1.294 MB / 465.6 MB, free: 0.582 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005503/0.8429, allocations: 1.929 MB / 467.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005345/0.8483, allocations: 1.552 MB / 469.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.979e-05/0.8484, allocations: 4 kB / 469.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01314/0.8615, allocations: 3.742 MB / 472.8 MB, free: 9.012 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.8616, allocations: 15.95 kB / 472.8 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.405e-05/0.8617, allocations: 16.14 kB / 472.8 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002318/0.864, allocations: 0.5072 MB / 473.4 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005672/0.8697, allocations: 0.6591 MB / 474 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.8801, allocations: 4.742 MB / 478.8 MB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004565/0.8847, allocations: 203.7 kB / 479 MB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007846/0.8855, allocations: 104 kB / 479.1 MB, free: 2.492 MB / 346.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 () * Number of clocked 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.00379/0.8893, allocations: 1.086 MB / 480.1 MB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/0.8904, allocations: 264.8 kB / 480.4 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/0.9032, allocations: 3.663 MB / 484.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.8e-05/0.9033, allocations: 27.95 kB / 484.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.9033, allocations: 4 kB / 484.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.798e-05/0.9034, allocations: 11.95 kB / 484.1 MB, free: 13.4 MB / 362.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.03118/0.9345, allocations: 9.351 MB / 493.5 MB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.143e-05/0.9346, allocations: 4 kB / 493.5 MB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00403/0.9387, allocations: 427.4 kB / 493.9 MB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003181/0.9419, allocations: 0.6348 MB / 494.5 MB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005023/0.9424, allocations: 55.92 kB / 494.6 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01616/0.9586, allocations: 7.681 MB / 0.4905 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007423/0.9661, allocations: 3.113 MB / 0.4935 GB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02448/0.9906, allocations: 5.546 MB / 0.4989 GB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003587/0.9943, allocations: 0.6227 MB / 0.4995 GB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001669/0.996, allocations: 54.7 kB / 0.4996 GB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006441/1.003, allocations: 163.8 kB / 0.4998 GB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0014/1.004, allocations: 197.6 kB / 0.4999 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004289/1.004, allocations: 63.98 kB / 0.5 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006223/1.011, allocations: 1.5 MB / 0.5015 GB, free: 15.24 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.72e-07/1.011, allocations: 0 / 0.5015 GB, free: 15.24 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00695/1.018, allocations: 0.7773 MB / 0.5022 GB, free: 14.46 MB / 394.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) * Number of clocked states: 0 () * 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.02722/1.045, allocations: 6.722 MB / 0.5088 GB, free: 7.684 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01653/1.062, allocations: 3.715 MB / 0.5124 GB, free: 3.895 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/1.062, allocations: 0 / 0.5124 GB, free: 3.895 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01024/1.072, allocations: 2.27 MB / 0.5146 GB, free: 1.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007203/1.079, allocations: 0.5694 MB / 0.5152 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3956/1.475, allocations: 22.16 MB / 0.5368 GB, free: 127 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005254/1.48, allocations: 2.424 MB / 0.5392 GB, free: 126.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003998/1.484, allocations: 1.35 MB / 0.5405 GB, free: 126.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/1.484, allocations: 0 / 0.5405 GB, free: 126.2 MB / 410.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseCalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseCalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseCalcHelperMain.cpp:31: ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseInitialize.cpp:2982:3: 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(tmp145); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _motor_P_uniformNoise_P_state_ ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoise.h:478:33: note: '_motor_P_uniformNoise_P_state_' declared here StatArrayDim1 _motor_P_uniformNoise_P_state_; ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseCalcHelperMain.cpp:34: ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoise.cpp:534: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_), tmp16); ~~~~~~~~~~~~~~~~~~^~~ /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 double& pre(const double& var); ^ /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 int& pre(const int& var); ^ /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 bool& pre(const bool& var); ^ /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 std::string& pre(const std::string& var); ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseFMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 2 errors generated. : recipe for target 'OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoiseCalcHelperMain.o] Error 1