Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.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.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Math_Random_Examples_GenerateRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Math_Random_Examples_GenerateRandomNumbers",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.001537/0.001541, allocations: 182.1 kB / 16.4 MB, free: 5.754 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.057/2.057, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001133/0.001133, allocations: 93.5 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004075, allocations: 8 kB / 327.1 MB, free: 96 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3349, allocations: 47.57 MB / 374.6 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001385/0.3364, allocations: 0.9525 MB / 375.6 MB, free: 44.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.3375, allocations: 427.9 kB / 376 MB, free: 44.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.631e-05/0.3376, allocations: 4 kB / 376 MB, free: 44.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.537e-05/0.3376, allocations: 3.938 kB / 376 MB, free: 44.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004521/0.3381, allocations: 57.48 kB / 376.1 MB, free: 44.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.3383, allocations: 55.05 kB / 376.1 MB, free: 44.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.949e-05/0.3384, allocations: 23.31 kB / 376.1 MB, free: 44.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.553e-05/0.3384, allocations: 2.656 kB / 376.1 MB, free: 44.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.814e-05/0.3385, allocations: 20.05 kB / 376.2 MB, free: 44.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.657e-05/0.3385, allocations: 18.92 kB / 376.2 MB, free: 44.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.3386, allocations: 2.25 kB / 376.2 MB, free: 44.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002505/0.3388, allocations: 87.03 kB / 376.3 MB, free: 44.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.413e-05/0.3389, allocations: 33.39 kB / 376.3 MB, free: 44.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.3389, allocations: 52.53 kB / 376.4 MB, free: 44.13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.3392, allocations: 114.6 kB / 376.5 MB, free: 44.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.3392, allocations: 0 / 376.5 MB, free: 44.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3392, allocations: 0 / 376.5 MB, free: 44.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.3392, allocations: 0 / 376.5 MB, free: 44.07 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005456/0.3398, allocations: 0.547 MB / 377 MB, free: 43.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.3398, allocations: 9.281 kB / 377 MB, free: 43.55 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.82e-05/0.3399, allocations: 59.67 kB / 377.1 MB, free: 43.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.3401, allocations: 18.62 kB / 377.1 MB, free: 43.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.3402, allocations: 183.5 kB / 377.3 MB, free: 43.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.3403, allocations: 8.062 kB / 377.3 MB, free: 43.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.3403, allocations: 8.453 kB / 377.3 MB, free: 43.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004088/0.3407, allocations: 276.7 kB / 377.6 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3407, allocations: 3.938 kB / 377.6 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.3408, allocations: 2.438 kB / 377.6 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3408, allocations: 1.219 kB / 377.6 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.341, allocations: 149.9 kB / 377.7 MB, free: 43.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.3413, allocations: 390.8 kB / 378.1 MB, free: 42.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/0.3419, allocations: 0.4942 MB / 378.6 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.3419, allocations: 1.125 kB / 378.6 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005923/0.3425, allocations: 498.8 kB / 379.1 MB, free: 41.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 2.815e-06/0.3426, allocations: 0 / 379.1 MB, free: 41.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=49): time 0.001283/0.3438, allocations: 0.8949 MB / 380 MB, free: 41.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.467e-05/0.344, allocations: 162.7 kB / 380.1 MB, free: 41.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.366e-05/0.3441, allocations: 99.3 kB / 380.2 MB, free: 41.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.3441, allocations: 28.2 kB / 380.3 MB, free: 41.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.3441, allocations: 155.6 kB / 380.4 MB, free: 41.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.481e-05/0.3442, allocations: 103.3 kB / 380.5 MB, free: 40.92 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.3443, allocations: 1.188 kB / 380.5 MB, free: 40.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.121e-05/0.3443, allocations: 328.2 kB / 380.8 MB, free: 40.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.3445, allocations: 82.41 kB / 380.9 MB, free: 40.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.3446, allocations: 113.4 kB / 381 MB, free: 40.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.3449, allocations: 214.6 kB / 381.2 MB, free: 40.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3449, allocations: 0 / 381.2 MB, free: 40.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005191/0.3454, allocations: 373.1 kB / 381.6 MB, free: 40.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.3456, allocations: 106.7 kB / 381.7 MB, free: 40.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3456, allocations: 0 / 381.7 MB, free: 40.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.3456, allocations: 0.7812 kB / 381.7 MB, free: 40.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-05/0.3457, allocations: 5.406 kB / 381.7 MB, free: 40.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3458, allocations: 1.219 kB / 381.7 MB, free: 40.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.3459, allocations: 25.53 kB / 381.7 MB, free: 40.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.3459, allocations: 13.14 kB / 381.7 MB, free: 40.05 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,$outputAlias_r64,$outputAlias_r128,$outputAlias_r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 2 * 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.0003468/0.3463, allocations: 297.3 kB / 382 MB, free: 39.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.407e-05/0.3464, allocations: 33.44 kB / 382.1 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.3464, allocations: 10.97 kB / 382.1 MB, free: 39.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3464, allocations: 1.406 kB / 382.1 MB, free: 39.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.3464, allocations: 4 kB / 382.1 MB, free: 39.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3464, allocations: 5.391 kB / 382.1 MB, free: 39.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.3483, allocations: 1.424 MB / 383.5 MB, free: 39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.842e-06/0.3484, allocations: 1.375 kB / 383.5 MB, free: 39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.607e-05/0.3484, allocations: 7.969 kB / 383.5 MB, free: 39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.3484, allocations: 4.938 kB / 383.5 MB, free: 39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.279e-05/0.3485, allocations: 19.64 kB / 383.5 MB, free: 38.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.3485, allocations: 1.281 kB / 383.5 MB, free: 38.99 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3485, allocations: 0 / 383.5 MB, free: 38.99 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.3502, allocations: 1.325 MB / 384.9 MB, free: 38.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.3503, allocations: 100.8 kB / 385 MB, free: 37.94 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.3505, allocations: 67.94 kB / 385 MB, free: 37.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.3507, allocations: 8 kB / 385 MB, free: 37.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.3507, allocations: 15.92 kB / 385.1 MB, free: 37.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/0.3508, allocations: 23.98 kB / 385.1 MB, free: 37.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.887e-05/0.3508, allocations: 83.22 kB / 385.2 MB, free: 37.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-07/0.3508, allocations: 0 / 385.2 MB, free: 37.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005476/0.3514, allocations: 91.98 kB / 385.3 MB, free: 37.65 MB / 298.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: 46 ($whenCondition1,rImpure,iImpure,$whenCondition2,$outputAlias_r64,$outputAlias_r128,$outputAlias_r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33]) * Number of discrete states: 46 ($outputAlias_r1024,$outputAlias_r128,$outputAlias_r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2,iImpure,rImpure,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.002721/0.3541, allocations: 2.388 MB / 387.6 MB, free: 35.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001958/0.3561, allocations: 2.136 MB / 389.8 MB, free: 33.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.3562, allocations: 0 / 389.8 MB, free: 33.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.358, allocations: 2.19 MB / 392 MB, free: 30.87 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.3583, allocations: 12 kB / 392 MB, free: 30.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.3608, allocations: 1.562 MB / 393.5 MB, free: 29.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.3611, allocations: 0.7283 MB / 394.3 MB, free: 28.47 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.048e-05/0.3611, allocations: 39.42 kB / 394.3 MB, free: 28.43 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3611, allocations: 0 / 394.3 MB, free: 28.43 MB / 298.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_Math_Random_Examples_GenerateRandomNumbersCalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Math_Random_Examples_GenerateRandomNumbersCalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Math_Random_Examples_GenerateRandomNumbersCalcHelperMain.cpp:34: ./OMCppModelica_3_2_3_cpp_Modelica_Math_Random_Examples_GenerateRandomNumbers.cpp:451:89: error: no matching member function for call to 'pre' _functions->Modelica_Math_Random_Generators_Xorshift64star_random(_discrete_events->pre(_state64_), tmp3); ~~~~~~~~~~~~~~~~~~^~~ /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_Math_Random_Examples_GenerateRandomNumbersCalcHelperMain.cpp:34: ./OMCppModelica_3_2_3_cpp_Modelica_Math_Random_Examples_GenerateRandomNumbers.cpp:457:90: error: no matching member function for call to 'pre' _functions->Modelica_Math_Random_Generators_Xorshift128plus_random(_discrete_events->pre(_state128_), tmp4); ~~~~~~~~~~~~~~~~~~^~~ /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_Math_Random_Examples_GenerateRandomNumbersCalcHelperMain.cpp:34: ./OMCppModelica_3_2_3_cpp_Modelica_Math_Random_Examples_GenerateRandomNumbers.cpp:463:91: error: no matching member function for call to 'pre' _functions->Modelica_Math_Random_Generators_Xorshift1024star_random(_discrete_events->pre(_state1024_), tmp5); ~~~~~~~~~~~~~~~~~~^~~ /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_Math_Random_Examples_GenerateRandomNumbersCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Math_Random_Examples_GenerateRandomNumbersFMU.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 3 errors generated. : recipe for target 'OMCppModelica_3_2_3_cpp_Modelica_Math_Random_Examples_GenerateRandomNumbersCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Math_Random_Examples_GenerateRandomNumbersCalcHelperMain.o] Error 1