Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.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.Distributions,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_Distributions",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.002394/0.002398, allocations: 182.9 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.075/2.075, 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.001159/0.001159, allocations: 97.83 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.000419, allocations: 12 kB / 327.1 MB, free: 104 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3448, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.001779/0.3466, allocations: 1.251 MB / 375.9 MB, free: 44.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002837/0.3495, allocations: 1.376 MB / 377.3 MB, free: 43.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.6e-05/0.3496, allocations: 1.125 kB / 377.3 MB, free: 43.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.524e-05/0.3497, allocations: 8.953 kB / 377.3 MB, free: 43.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.3499, allocations: 14.92 kB / 377.3 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.3511, allocations: 307.6 kB / 377.6 MB, free: 43.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.3513, allocations: 85.92 kB / 377.7 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.542e-05/0.3514, allocations: 12.69 kB / 377.7 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.103e-05/0.3515, allocations: 49.64 kB / 377.7 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.574e-05/0.3516, allocations: 60.48 kB / 377.8 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.3516, allocations: 10.22 kB / 377.8 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.3526, allocations: 427.7 kB / 378.2 MB, free: 42.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.912e-05/0.3527, allocations: 34.5 kB / 378.2 MB, free: 42.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.287e-05/0.3528, allocations: 50.12 kB / 378.3 MB, free: 42.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005918/0.3534, allocations: 274.3 kB / 378.6 MB, free: 42.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.3534, allocations: 0 / 378.6 MB, free: 42.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.3534, allocations: 0 / 378.6 MB, free: 42.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3534, allocations: 0 / 378.6 MB, free: 42.61 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008458/0.3543, allocations: 0.4924 MB / 379.1 MB, free: 42.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.3543, allocations: 13.16 kB / 379.1 MB, free: 42.13 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.119e-05/0.3544, allocations: 50.11 kB / 379.1 MB, free: 42.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002757/0.3547, allocations: 29.73 kB / 379.1 MB, free: 42.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.3549, allocations: 207.8 kB / 379.3 MB, free: 41.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.3549, allocations: 8.094 kB / 379.4 MB, free: 41.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.355, allocations: 9.469 kB / 379.4 MB, free: 41.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.3553, allocations: 140.1 kB / 379.5 MB, free: 41.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3554, allocations: 1.406 kB / 379.5 MB, free: 41.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.3554, allocations: 0 / 379.5 MB, free: 41.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3554, allocations: 1.906 kB / 379.5 MB, free: 41.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/0.3558, allocations: 73.77 kB / 379.6 MB, free: 41.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009401/0.3567, allocations: 0.5676 MB / 380.1 MB, free: 41.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005492/0.3573, allocations: 171.8 kB / 380.3 MB, free: 41.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.3573, allocations: 1.25 kB / 380.3 MB, free: 41.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003962/0.3577, allocations: 155.5 kB / 380.5 MB, free: 40.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 3.086e-06/0.3577, allocations: 0 / 380.5 MB, free: 40.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009608/0.3587, allocations: 431.5 kB / 380.9 MB, free: 40.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.3588, allocations: 119.7 kB / 381 MB, free: 40.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.359, allocations: 200.4 kB / 381.2 MB, free: 40.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.3591, allocations: 44.44 kB / 381.2 MB, free: 40.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.3592, allocations: 182.1 kB / 381.4 MB, free: 40.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.519e-05/0.3592, allocations: 47.59 kB / 381.5 MB, free: 40.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.651e-05/0.3593, allocations: 0.7188 kB / 381.5 MB, free: 40.03 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.3594, allocations: 327 kB / 381.8 MB, free: 39.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.3597, allocations: 103.9 kB / 381.9 MB, free: 39.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.3601, allocations: 153.7 kB / 382 MB, free: 39.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.3605, allocations: 115.6 kB / 382.1 MB, free: 39.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.3605, allocations: 1 kB / 382.2 MB, free: 39.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000846/0.3614, allocations: 305.1 kB / 382.4 MB, free: 39.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.3614, allocations: 10.09 kB / 382.5 MB, free: 39.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.3614, allocations: 1.156 kB / 382.5 MB, free: 39.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.3614, allocations: 1.438 kB / 382.5 MB, free: 39.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.3617, allocations: 40.38 kB / 382.5 MB, free: 39.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.3617, allocations: 6.859 kB / 382.5 MB, free: 39.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.3619, allocations: 16.59 kB / 382.5 MB, free: 39.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.362, allocations: 10.97 kB / 382.5 MB, free: 39.34 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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.0001781/0.3621, allocations: 151.4 kB / 382.7 MB, free: 39.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.3622, allocations: 13.97 kB / 382.7 MB, free: 39.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.155e-05/0.3622, allocations: 17.42 kB / 382.7 MB, free: 39.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.3623, allocations: 5.438 kB / 382.7 MB, free: 39.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3623, allocations: 1.281 kB / 382.7 MB, free: 39.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3623, allocations: 4.984 kB / 382.7 MB, free: 39.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.3625, allocations: 223.4 kB / 382.9 MB, free: 38.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3625, allocations: 1.344 kB / 382.9 MB, free: 38.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.3627, allocations: 17.52 kB / 383 MB, free: 38.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.3627, allocations: 0.9688 kB / 383 MB, free: 38.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.3627, allocations: 6.812 kB / 383 MB, free: 38.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3627, allocations: 1.281 kB / 383 MB, free: 38.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3627, allocations: 3.984 kB / 383 MB, free: 38.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006028/0.3633, allocations: 265.4 kB / 383.2 MB, free: 38.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.3634, allocations: 98.28 kB / 383.3 MB, free: 38.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.3635, allocations: 15.27 kB / 383.3 MB, free: 38.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.3636, allocations: 13.58 kB / 383.4 MB, free: 38.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.903e-05/0.3637, allocations: 25.34 kB / 383.4 MB, free: 38.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.3637, allocations: 4.281 kB / 383.4 MB, free: 38.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001477/0.3639, allocations: 136.8 kB / 383.5 MB, free: 38.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.3639, allocations: 0 / 383.5 MB, free: 38.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006893/0.3646, allocations: 131.2 kB / 383.6 MB, free: 38.45 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,n) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * 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.002135/0.3667, allocations: 1.245 MB / 384.9 MB, free: 37.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007176/0.3675, allocations: 205.6 kB / 385.1 MB, free: 37.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3675, allocations: 192 / 385.1 MB, free: 37.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.3678, allocations: 74.78 kB / 385.2 MB, free: 37.35 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.368, allocations: 13.67 kB / 385.2 MB, free: 37.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.3692, allocations: 1.078 MB / 386.3 MB, free: 36.31 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.3694, allocations: 0.7238 MB / 387 MB, free: 35.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.3695, allocations: 52.36 kB / 387 MB, free: 35.55 MB / 298.7 MB Notification: Performance of SimCode: time 1.793e-06/0.3695, allocations: 0 / 387 MB, free: 35.55 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_Blocks_Examples_NoiseExamples_DistributionsCalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_DistributionsCalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_DistributionsCalcHelperMain.cpp:31: ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_DistributionsInitialize.cpp:256:3: error: use of undeclared identifier '$PRE_P_truncatedNormalNoise_P_state_'; did you mean '_truncatedNormalNoise_P_state_'? $PRE_P_truncatedNormalNoise_P_state_.assign(tmp76); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _truncatedNormalNoise_P_state_ ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_Distributions.h:198:33: note: '_truncatedNormalNoise_P_state_' declared here StatArrayDim1 _truncatedNormalNoise_P_state_; ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_DistributionsCalcHelperMain.cpp:31: ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_DistributionsInitialize.cpp:380:3: error: use of undeclared identifier '$PRE_P_uniformNoise_P_state_'; did you mean '_uniformNoise_P_state_'? $PRE_P_uniformNoise_P_state_.assign(tmp81); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _uniformNoise_P_state_ ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_Distributions.h:199:33: note: '_uniformNoise_P_state_' declared here StatArrayDim1 _uniformNoise_P_state_; ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_DistributionsCalcHelperMain.cpp:34: ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_Distributions.cpp:183:90: error: no matching member function for call to 'pre' _functions->Modelica_Math_Random_Generators_Xorshift128plus_random(_discrete_events->pre(_uniformNoise_P_state_), tmp1); ~~~~~~~~~~~~~~~~~~^~~ /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_DistributionsCalcHelperMain.cpp:34: ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_Distributions.cpp:262:90: error: no matching member function for call to 'pre' _functions->Modelica_Math_Random_Generators_Xorshift128plus_random(_discrete_events->pre(_truncatedNormalNoise_P_state_), 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_Blocks_Examples_NoiseExamples_DistributionsCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_DistributionsFMU.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_DistributionsCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_DistributionsCalcHelperMain.o] Error 1