Running command: translateModel(Modelica.Blocks.Examples.Noise.AutomaticSeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed") Notification: Performance of loadModel(Modelica): time 2.06/2.06, allocations: 224.7 MB / 241.1 MB, free: 1.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.216e-05/3.211e-05, allocations: 4 kB / 294.6 MB, free: 11.44 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 50.43 MB / 345 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.AutomaticSeed): time 0.002649/0.111, allocations: 1.562 MB / 346.5 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.113, allocations: 0.6979 MB / 347.2 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.1132, allocations: 4 kB / 347.2 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.1133, allocations: 19.75 kB / 347.3 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.1135, allocations: 55.78 kB / 347.3 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006744/0.1142, allocations: 159.7 kB / 347.5 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.1145, allocations: 155.5 kB / 347.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.1146, allocations: 4 kB / 347.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.1147, allocations: 103.7 kB / 347.7 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.115, allocations: 139.5 kB / 347.9 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003047/0.1153, allocations: 87.88 kB / 348 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.534e-05/0.1154, allocations: 20 kB / 348 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.1156, allocations: 79.73 kB / 348 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.1156, allocations: 16 kB / 348.1 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000486/0.1161, allocations: 283.3 kB / 348.3 MB, free: 5.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1161, allocations: 0 / 348.3 MB, free: 5.578 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1162, allocations: 0 / 348.3 MB, free: 5.578 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.1162, allocations: 0 / 348.3 MB, free: 5.578 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001243/0.1174, allocations: 0.5746 MB / 348.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1175, allocations: 8.031 kB / 348.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.1186, allocations: 119.3 kB / 349 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.119, allocations: 259 kB / 349.3 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.044e-05/0.1191, allocations: 24.17 kB / 349.3 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.864e-05/0.1192, allocations: 16 kB / 349.3 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000806/0.12, allocations: 296.5 kB / 349.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.12, allocations: 0 / 349.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.12, allocations: 0 / 349.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.1201, allocations: 7.953 kB / 349.6 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000827/0.1209, allocations: 195.8 kB / 349.8 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.123, allocations: 0.8078 MB / 350.6 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.1245, allocations: 423.6 kB / 351 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.1246, allocations: 12.05 kB / 351.1 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009419/0.1255, allocations: 357.8 kB / 351.4 MB, free: 2.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=48): time 3.356e-06/0.1256, allocations: 0 / 351.4 MB, free: 2.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.002614/0.1282, allocations: 1.157 MB / 352.6 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001746/0.1284, allocations: 219.9 kB / 352.8 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004943/0.1289, allocations: 295.5 kB / 353.1 MB, free: 436 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001641/0.1291, allocations: 93.66 kB / 353.2 MB, free: 336 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.1293, allocations: 203.8 kB / 353.4 MB, free: 132 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.1295, allocations: 122.5 kB / 353.5 MB, free: 8 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/0.1295, allocations: 12.08 kB / 353.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1297, allocations: 342.8 kB / 353.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009096/0.1306, allocations: 293.5 kB / 354.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000974/0.1316, allocations: 379 kB / 354.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009656/0.1326, allocations: 338.5 kB / 354.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/0.1326, allocations: 0 / 354.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002193/0.1348, allocations: 0.7839 MB / 355.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.1349, allocations: 11.95 kB / 355.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.1349, allocations: 192 / 355.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.135, allocations: 11.94 kB / 355.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006328/0.1356, allocations: 79.89 kB / 355.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/0.1356, allocations: 15.92 kB / 355.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/0.136, allocations: 63.36 kB / 355.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.1361, allocations: 24 kB / 355.8 MB, free: 13.65 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 92 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.manualSeed3.state[1],manualSeed3.state[1],$PRE.manualSeed3.state[2],manualSeed3.state[2],$PRE.manualSeed3.state[3],manualSeed3.state[3],$PRE.manualSeed3.state[4],manualSeed3.state[4],$PRE.manualSeed3.r,manualSeed3.r,$PRE.manualSeed3.r_raw,manualSeed3.r_raw,$PRE.manualSeed2.state[1],manualSeed2.state[1],$PRE.manualSeed2.state[2],manualSeed2.state[2],$PRE.manualSeed2.state[3],manualSeed2.state[3],$PRE.manualSeed2.state[4],manualSeed2.state[4],$PRE.manualSeed2.r,manualSeed2.r,$PRE.manualSeed2.r_raw,manualSeed2.r_raw,$PRE.manualSeed1.state[1],manualSeed1.state[1],$PRE.manualSeed1.state[2],manualSeed1.state[2],$PRE.manualSeed1.state[3],manualSeed1.state[3],$PRE.manualSeed1.state[4],manualSeed1.state[4],$PRE.manualSeed1.r,manualSeed1.r,$PRE.manualSeed1.r_raw,manualSeed1.r_raw,$PRE.automaticSeed3.state[1],automaticSeed3.state[1],$PRE.automaticSeed3.state[2],automaticSeed3.state[2],$PRE.automaticSeed3.state[3],automaticSeed3.state[3],$PRE.automaticSeed3.state[4],automaticSeed3.state[4],$PRE.automaticSeed3.r,automaticSeed3.r,$PRE.automaticSeed3.r_raw,automaticSeed3.r_raw,$PRE.automaticSeed2.state[1],automaticSeed2.state[1],$PRE.automaticSeed2.state[2],automaticSeed2.state[2],$PRE.automaticSeed2.state[3],automaticSeed2.state[3],$PRE.automaticSeed2.state[4],automaticSeed2.state[4],$PRE.automaticSeed2.r,automaticSeed2.r,$PRE.automaticSeed2.r_raw,automaticSeed2.r_raw,$PRE.automaticSeed1.state[1],automaticSeed1.state[1],$PRE.automaticSeed1.state[2],automaticSeed1.state[2],$PRE.automaticSeed1.state[3],automaticSeed1.state[3],$PRE.automaticSeed1.state[4],automaticSeed1.state[4],$PRE.automaticSeed1.r,automaticSeed1.r,$PRE.automaticSeed1.r_raw,automaticSeed1.r_raw,globalSeed.id_impure,automaticSeed1.localSeed,automaticSeed1.actualGlobalSeed,automaticSeed2.localSeed,automaticSeed2.actualGlobalSeed,automaticSeed3.localSeed,automaticSeed3.actualGlobalSeed,manualSeed1.localSeed,manualSeed1.actualGlobalSeed,manualSeed2.localSeed,manualSeed2.actualGlobalSeed,manualSeed3.localSeed,manualSeed3.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 74 * Array equations: 6 * 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.0003755/0.1365, allocations: 214.4 kB / 356 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.516e-05/0.1366, allocations: 35.53 kB / 356 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.33e-05/0.1367, allocations: 34.66 kB / 356.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.1367, allocations: 8 kB / 356.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.1367, allocations: 4 kB / 356.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.1367, allocations: 0 / 356.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005093/0.1373, allocations: 333.2 kB / 356.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1373, allocations: 0 / 356.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.1375, allocations: 35.91 kB / 356.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.1376, allocations: 4 kB / 356.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.1376, allocations: 8 kB / 356.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/0.1376, allocations: 15.88 kB / 356.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1377, allocations: 4 kB / 356.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.1393, allocations: 0.6261 MB / 357.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.1394, allocations: 116.5 kB / 357.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.1395, allocations: 27.92 kB / 357.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.1398, allocations: 31.97 kB / 357.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.14, allocations: 43.89 kB / 357.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.14, allocations: 12 kB / 357.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003434/0.1404, allocations: 219 kB / 357.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-07/0.1404, allocations: 0 / 357.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005833/0.141, allocations: 96 kB / 357.6 MB, free: 11.65 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition6,automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],automaticSeed1.r,automaticSeed1.r_raw,$whenCondition5,automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed2.r,automaticSeed2.r_raw,$whenCondition4,automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed3.r,automaticSeed3.r_raw,$whenCondition3,manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed1.r,manualSeed1.r_raw,$whenCondition2,manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed2.r,manualSeed2.r_raw,$whenCondition1,manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed3.r,manualSeed3.r_raw) * Number of discrete states: 24 (manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0006876/0.1417, allocations: 251.8 kB / 357.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.1435, allocations: 0.5673 MB / 358.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.1436, allocations: 0 / 358.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007447/0.1443, allocations: 216.2 kB / 358.7 MB, free: 10.65 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.1446, allocations: 17.03 kB / 358.7 MB, free: 10.63 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.1462, allocations: 0.6749 MB / 359.4 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.1466, allocations: 0.7962 MB / 360.1 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.1469, allocations: 27.44 kB / 360.2 MB, free: 9.059 MB / 298.7 MB Notification: Performance of SimCode: time 4.188e-06/0.1469, allocations: 4 kB / 360.2 MB, free: 9.055 MB / 298.7 MB Notification: Performance of Templates: time 0.01221/0.1591, allocations: 4.774 MB / 365 MB, free: 4.27 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedFunctions.cpp:78:3: error: no matching function for call to 'ModelicaRandom_xorshift128plus' ModelicaRandom_xorshift128plus(ConstArray(stateIn_).getData(), stateOut_.getData(), &result__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaRandom.h:74:22: note: candidate function not viable: 1st argument ('const int *') would lose const qualifier MODELICA_EXPORT void ModelicaRandom_xorshift128plus(_In_ int* state_in, ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedFunctions.cpp:163:3: error: no matching function for call to 'ModelicaRandom_xorshift64star' ModelicaRandom_xorshift64star(ConstArray(stateIn_).getData(), stateOut_.getData(), &result__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaRandom.h:72:22: note: candidate function not viable: 1st argument ('const int *') would lose const qualifier MODELICA_EXPORT void ModelicaRandom_xorshift64star(_In_ int* state_in, ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedFunctions.cpp:330:3: error: no matching function for call to 'ModelicaRandom_setInternalState_xorshift1024star' ModelicaRandom_setInternalState_xorshift1024star(ConstArray(rngState_).getData(), rngState_.getDim(1), id__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaRandom.h:78:22: note: candidate function not viable: 1st argument ('const int *') would lose const qualifier MODELICA_EXPORT void ModelicaRandom_setInternalState_xorshift1024star( ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedCalcHelperMain.cpp:30: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedInitialize.cpp:357:6: error: use of undeclared identifier '$PRE_P_manualSeed3_P_state_'; did you mean '_manualSeed3_P_state_'? $PRE_P_manualSeed3_P_state_.assign(tmp11); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ _manualSeed3_P_state_ ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed.h:222:34: note: '_manualSeed3_P_state_' declared here StatArrayDim1 _manualSeed3_P_state_; ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedCalcHelperMain.cpp:30: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedInitialize.cpp:479:6: error: use of undeclared identifier '$PRE_P_manualSeed2_P_state_'; did you mean '_manualSeed2_P_state_'? $PRE_P_manualSeed2_P_state_.assign(tmp15); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ _manualSeed2_P_state_ ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed.h:221:34: note: '_manualSeed2_P_state_' declared here StatArrayDim1 _manualSeed2_P_state_; ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedCalcHelperMain.cpp:30: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedInitialize.cpp:601:6: error: use of undeclared identifier '$PRE_P_manualSeed1_P_state_'; did you mean '_manualSeed1_P_state_'? $PRE_P_manualSeed1_P_state_.assign(tmp19); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ _manualSeed1_P_state_ ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed.h:220:34: note: '_manualSeed1_P_state_' declared here StatArrayDim1 _manualSeed1_P_state_; ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedCalcHelperMain.cpp:30: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedInitialize.cpp:723:6: error: use of undeclared identifier '$PRE_P_automaticSeed3_P_state_'; did you mean '_automaticSeed3_P_state_'? $PRE_P_automaticSeed3_P_state_.assign(tmp23); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _automaticSeed3_P_state_ ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed.h:219:34: note: '_automaticSeed3_P_state_' declared here StatArrayDim1 _automaticSeed3_P_state_; ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedCalcHelperMain.cpp:30: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedInitialize.cpp:845:6: error: use of undeclared identifier '$PRE_P_automaticSeed2_P_state_'; did you mean '_automaticSeed2_P_state_'? $PRE_P_automaticSeed2_P_state_.assign(tmp27); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _automaticSeed2_P_state_ ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed.h:218:34: note: '_automaticSeed2_P_state_' declared here StatArrayDim1 _automaticSeed2_P_state_; ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedCalcHelperMain.cpp:30: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedInitialize.cpp:967:6: error: use of undeclared identifier '$PRE_P_automaticSeed1_P_state_'; did you mean '_automaticSeed1_P_state_'? $PRE_P_automaticSeed1_P_state_.assign(tmp31); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _automaticSeed1_P_state_ ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed.h:217:34: note: '_automaticSeed1_P_state_' declared here StatArrayDim1 _automaticSeed1_P_state_; ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedCalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed.cpp:166:90: error: no matching member function for call to 'pre' _functions->Modelica_Math_Random_Generators_Xorshift128plus_random(_discrete_events->pre(_manualSeed3_P_state_), tmp34); ~~~~~~~~~~~~~~~~~~^~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:29:11: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const double' for 1st argument double& pre(const double& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:30:8: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const int' for 1st argument int& pre(const int& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:31:9: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const bool' for 1st argument bool& pre(const bool& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:32:23: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const std::string' (aka 'const basic_string') for 1st argument std::string & pre(const std::string & var); ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedCalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed.cpp:245:90: error: no matching member function for call to 'pre' _functions->Modelica_Math_Random_Generators_Xorshift128plus_random(_discrete_events->pre(_manualSeed2_P_state_), tmp36); ~~~~~~~~~~~~~~~~~~^~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:29:11: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const double' for 1st argument double& pre(const double& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:30:8: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const int' for 1st argument int& pre(const int& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:31:9: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const bool' for 1st argument bool& pre(const bool& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:32:23: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const std::string' (aka 'const basic_string') for 1st argument std::string & pre(const std::string & var); ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedCalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed.cpp:324:90: error: no matching member function for call to 'pre' _functions->Modelica_Math_Random_Generators_Xorshift128plus_random(_discrete_events->pre(_manualSeed1_P_state_), tmp38); ~~~~~~~~~~~~~~~~~~^~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:29:11: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const double' for 1st argument double& pre(const double& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:30:8: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const int' for 1st argument int& pre(const int& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:31:9: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const bool' for 1st argument bool& pre(const bool& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:32:23: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const std::string' (aka 'const basic_string') for 1st argument std::string & pre(const std::string & var); ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedCalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed.cpp:403:90: error: no matching member function for call to 'pre' _functions->Modelica_Math_Random_Generators_Xorshift128plus_random(_discrete_events->pre(_automaticSeed3_P_state_), tmp40); ~~~~~~~~~~~~~~~~~~^~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:29:11: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const double' for 1st argument double& pre(const double& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:30:8: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const int' for 1st argument int& pre(const int& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:31:9: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const bool' for 1st argument bool& pre(const bool& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:32:23: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const std::string' (aka 'const basic_string') for 1st argument std::string & pre(const std::string & var); ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedCalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed.cpp:482:90: error: no matching member function for call to 'pre' _functions->Modelica_Math_Random_Generators_Xorshift128plus_random(_discrete_events->pre(_automaticSeed2_P_state_), tmp42); ~~~~~~~~~~~~~~~~~~^~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:29:11: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const double' for 1st argument double& pre(const double& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:30:8: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const int' for 1st argument int& pre(const int& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:31:9: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const bool' for 1st argument bool& pre(const bool& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:32:23: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const std::string' (aka 'const basic_string') for 1st argument std::string & pre(const std::string & var); ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedCalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeed.cpp:561:90: error: no matching member function for call to 'pre' _functions->Modelica_Math_Random_Generators_Xorshift128plus_random(_discrete_events->pre(_automaticSeed1_P_state_), tmp44); ~~~~~~~~~~~~~~~~~~^~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:29:11: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const double' for 1st argument double& pre(const double& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:30:8: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const int' for 1st argument int& pre(const int& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:31:9: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const bool' for 1st argument bool& pre(const bool& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:32:23: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const std::string' (aka 'const basic_string') for 1st argument std::string & pre(const std::string & var); ^ 15 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.AutomaticSeedCalcHelperMain.o] Error 1