Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.UniformNoise,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",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.00248/0.002485, allocations: 188.2 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.151/2.151, 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.00117/0.001169, allocations: 90.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004208/0.0004208, allocations: 8 kB / 327.1 MB, free: 15.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1038, allocations: 47.59 MB / 374.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002214/0.1061, allocations: 1.202 MB / 375.8 MB, free: 14.13 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1077, allocations: 0.5511 MB / 376.4 MB, free: 13.58 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.605e-05/0.1078, allocations: 0 / 376.4 MB, free: 13.58 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.1079, allocations: 7.875 kB / 376.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.887e-05/0.108, allocations: 15.97 kB / 376.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000621/0.1086, allocations: 123.6 kB / 376.5 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.1088, allocations: 75.83 kB / 376.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.863e-05/0.1089, allocations: 5.125 kB / 376.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.106e-05/0.1089, allocations: 39.84 kB / 376.7 MB, free: 13.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.811e-05/0.1091, allocations: 55.75 kB / 376.7 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.1091, allocations: 4 kB / 376.7 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002678/0.1094, allocations: 91.86 kB / 376.8 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.878e-05/0.1095, allocations: 31.89 kB / 376.8 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.194e-05/0.1095, allocations: 45.58 kB / 376.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.1099, allocations: 151.9 kB / 377 MB, free: 12.94 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1099, allocations: 0 / 377 MB, free: 12.94 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1099, allocations: 0 / 377 MB, free: 12.94 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1099, allocations: 0 / 377 MB, free: 12.94 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.0008158/0.1108, allocations: 434.8 kB / 377.5 MB, free: 12.46 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.1108, allocations: 8.031 kB / 377.5 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.757e-05/0.1109, allocations: 38.55 kB / 377.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003996/0.1113, allocations: 43.78 kB / 377.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.1116, allocations: 194.8 kB / 377.7 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.1116, allocations: 11.98 kB / 377.7 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.1116, allocations: 7.953 kB / 377.7 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003542/0.112, allocations: 124.1 kB / 377.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.112, allocations: 4 kB / 377.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.1121, allocations: 4 kB / 377.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1121, allocations: 0 / 377.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.1124, allocations: 63.95 kB / 377.9 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009913/0.1134, allocations: 464.7 kB / 378.4 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/0.114, allocations: 153.2 kB / 378.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.114, allocations: 0 / 378.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004359/0.1145, allocations: 145.2 kB / 378.7 MB, free: 11.08 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.1145, allocations: 0 / 378.7 MB, free: 11.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009853/0.1155, allocations: 415.8 kB / 379.1 MB, free: 10.63 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.314e-05/0.1156, allocations: 89.11 kB / 379.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.1159, allocations: 178.8 kB / 379.4 MB, free: 10.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.371e-05/0.1159, allocations: 45.69 kB / 379.4 MB, free: 10.29 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.1161, allocations: 178.9 kB / 379.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.807e-05/0.1161, allocations: 35.55 kB / 379.6 MB, free: 10.08 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/0.1162, allocations: 8 kB / 379.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1163, allocations: 318.8 kB / 379.9 MB, free: 9.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.1167, allocations: 108.4 kB / 380 MB, free: 9.641 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.117, allocations: 135.5 kB / 380.2 MB, free: 9.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.1174, allocations: 115.8 kB / 380.3 MB, free: 9.387 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1174, allocations: 0 / 380.3 MB, free: 9.387 MB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008729/0.1183, allocations: 298.2 kB / 380.6 MB, free: 9.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.1183, allocations: 8 kB / 380.6 MB, free: 9.082 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.1184, allocations: 3.984 kB / 380.6 MB, free: 9.078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1184, allocations: 0 / 380.6 MB, free: 9.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.1187, allocations: 35.92 kB / 380.6 MB, free: 9.043 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1187, allocations: 0 / 380.6 MB, free: 9.043 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.1188, allocations: 19.91 kB / 380.6 MB, free: 9.023 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/0.1189, allocations: 15.98 kB / 380.7 MB, free: 9.008 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.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,$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,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked 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.0002034/0.1191, allocations: 145.7 kB / 380.8 MB, free: 8.855 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.1192, allocations: 15.81 kB / 380.8 MB, free: 8.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.988e-05/0.1192, allocations: 9.406 kB / 380.8 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.1192, allocations: 4 kB / 380.8 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1192, allocations: 0 / 380.8 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1193, allocations: 4 kB / 380.8 MB, free: 8.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.1195, allocations: 213.6 kB / 381 MB, free: 8.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.1196, allocations: 3.953 kB / 381 MB, free: 8.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-05/0.1197, allocations: 8 kB / 381 MB, free: 8.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.1197, allocations: 0 / 381 MB, free: 8.551 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.1197, allocations: 7.984 kB / 381.1 MB, free: 8.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1197, allocations: 0 / 381.1 MB, free: 8.543 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1197, allocations: 3.938 kB / 381.1 MB, free: 8.539 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/0.1203, allocations: 244.7 kB / 381.3 MB, free: 8.273 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.523e-05/0.1204, allocations: 96.95 kB / 381.4 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.1205, allocations: 11.98 kB / 381.4 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-05/0.1206, allocations: 11.98 kB / 381.4 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/0.1207, allocations: 15.98 kB / 381.4 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.1207, allocations: 4 kB / 381.4 MB, free: 8.117 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001471/0.1209, allocations: 123.2 kB / 381.6 MB, free: 7.996 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1209, allocations: 0 / 381.6 MB, free: 7.996 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004282/0.1213, allocations: 48 kB / 381.6 MB, free: 7.949 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,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * 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.001698/0.123, allocations: 1.028 MB / 382.6 MB, free: 6.891 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006814/0.1237, allocations: 203.8 kB / 382.8 MB, free: 6.691 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1237, allocations: 0 / 382.8 MB, free: 6.691 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.124, allocations: 59.92 kB / 382.9 MB, free: 6.633 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.1242, allocations: 11.98 kB / 382.9 MB, free: 6.621 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.1254, allocations: 0.8462 MB / 383.7 MB, free: 5.707 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.1258, allocations: 0.7121 MB / 384.5 MB, free: 4.969 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.1259, allocations: 43.42 kB / 384.5 MB, free: 4.93 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1259, allocations: 0 / 384.5 MB, free: 4.93 MB / 282.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_UniformNoiseCalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseCalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseCalcHelperMain.cpp:31: ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseInitialize.cpp:255:3: error: use of undeclared identifier '$PRE_P_uniformNoise2_P_state_'; did you mean '_uniformNoise2_P_state_'? $PRE_P_uniformNoise2_P_state_.assign(tmp35); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _uniformNoise2_P_state_ ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoise.h:198:33: note: '_uniformNoise2_P_state_' declared here StatArrayDim1 _uniformNoise2_P_state_; ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseCalcHelperMain.cpp:31: ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseInitialize.cpp:377:3: error: use of undeclared identifier '$PRE_P_uniformNoise1_P_state_'; did you mean '_uniformNoise1_P_state_'? $PRE_P_uniformNoise1_P_state_.assign(tmp39); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _uniformNoise1_P_state_ ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoise.h:197:33: note: '_uniformNoise1_P_state_' declared here StatArrayDim1 _uniformNoise1_P_state_; ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseCalcHelperMain.cpp:34: ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoise.cpp:168:90: error: no matching member function for call to 'pre' _functions->Modelica_Math_Random_Generators_Xorshift128plus_random(_discrete_events->pre(_uniformNoise1_P_state_), tmp0); ~~~~~~~~~~~~~~~~~~^~~ /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_UniformNoiseCalcHelperMain.cpp:34: ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoise.cpp:247:90: error: no matching member function for call to 'pre' _functions->Modelica_Math_Random_Generators_Xorshift128plus_random(_discrete_events->pre(_uniformNoise2_P_state_), tmp2); ~~~~~~~~~~~~~~~~~~^~~ /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_UniformNoiseCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseFMU.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 4 errors generated. : recipe for target 'OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseCalcHelperMain.o] Error 1