Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star") Notification: Performance of loadModel(Modelica): time 1.889/1.889, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.769e-05, allocations: 4 kB / 292.1 MB, free: 8.855 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09232/0.09238, allocations: 50.42 MB / 342.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3915/0.4839, allocations: 77.14 MB / 419.7 MB, free: 1.016 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.4842, allocations: 74.27 kB / 419.8 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0064/0.4906, allocations: 1.715 MB / 421.5 MB, free: 15.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.4906, allocations: 0 / 421.5 MB, free: 15.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.4907, allocations: 0 / 421.5 MB, free: 15.47 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003888/0.4911, allocations: 365.8 kB / 421.8 MB, free: 15.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.4911, allocations: 8.031 kB / 421.8 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.4912, allocations: 11.86 kB / 421.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.4914, allocations: 186.2 kB / 422 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.4915, allocations: 0 / 422 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.4915, allocations: 4 kB / 422 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.4918, allocations: 152.8 kB / 422.2 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.786e-06/0.4918, allocations: 0 / 422.2 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.4919, allocations: 0 / 422.2 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.519e-06/0.4919, allocations: 0 / 422.2 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.171e-05/0.4919, allocations: 25.7 kB / 422.2 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.4923, allocations: 272.3 kB / 422.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.4925, allocations: 53.25 kB / 422.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.4925, allocations: 16.05 kB / 422.6 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.4926, allocations: 0 / 422.6 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.4926, allocations: 46.48 kB / 422.6 MB, free: 14.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.083e-06/0.4926, allocations: 0 / 422.6 MB, free: 14.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001781/0.4928, allocations: 57.36 kB / 422.7 MB, free: 14.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.4929, allocations: 67.33 kB / 422.7 MB, free: 14.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.493, allocations: 125.8 kB / 422.8 MB, free: 14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.4931, allocations: 25.7 kB / 422.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.4932, allocations: 158.3 kB / 423 MB, free: 13.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.4932, allocations: 3.188 kB / 423 MB, free: 13.81 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-06/0.4932, allocations: 0 / 423 MB, free: 13.81 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4934, allocations: 322.7 kB / 423.3 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.352e-05/0.4934, allocations: 11.75 kB / 423.4 MB, free: 13.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-05/0.4935, allocations: 52.66 kB / 423.4 MB, free: 13.42 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.495e-05/0.4936, allocations: 22.92 kB / 423.4 MB, free: 13.4 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.763e-06/0.4936, allocations: 4 kB / 423.4 MB, free: 13.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001858/0.4938, allocations: 87.03 kB / 423.5 MB, free: 13.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.4938, allocations: 8 kB / 423.5 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.4938, allocations: 3.938 kB / 423.5 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.4938, allocations: 4 kB / 423.5 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.343e-05/0.494, allocations: 15.98 kB / 423.5 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.494, allocations: 7.938 kB / 423.6 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.605e-05/0.494, allocations: 11.5 kB / 423.6 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.4941, allocations: 4 kB / 423.6 MB, free: 13.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (uniformNoiseXorshift64star.state64[2],$CLKPRE.uniformNoiseXorshift64star.state64[2],uniformNoiseXorshift64star.state64[1],$CLKPRE.uniformNoiseXorshift64star.state64[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * 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 8.841e-05/0.4942, allocations: 105 kB / 423.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.4943, allocations: 76.23 kB / 423.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.4945, allocations: 72.36 kB / 423.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.543e-06/0.4945, allocations: 0 / 423.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.936e-06/0.4946, allocations: 0 / 423.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.731e-06/0.4946, allocations: 4 kB / 423.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.4947, allocations: 176.2 kB / 424 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.571e-06/0.4948, allocations: 4 kB / 424 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.4948, allocations: 7.984 kB / 424 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.4948, allocations: 7.984 kB / 424 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.4949, allocations: 3.953 kB / 424 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.413e-06/0.4949, allocations: 0 / 424 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.599e-06/0.4949, allocations: 3.938 kB / 424 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.4951, allocations: 87.28 kB / 424.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.031e-05/0.4952, allocations: 92.44 kB / 424.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.4952, allocations: 11.98 kB / 424.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.607e-05/0.4953, allocations: 7.953 kB / 424.2 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-06/0.4953, allocations: 0 / 424.2 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.4953, allocations: 7 kB / 424.2 MB, free: 12.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.4954, allocations: 109 kB / 424.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.18e-07/0.4954, allocations: 0 / 424.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002942/0.4957, allocations: 23.5 kB / 424.3 MB, free: 12.44 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002882/0.496, allocations: 126.2 kB / 424.5 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.4962, allocations: 42.88 kB / 424.5 MB, free: 12.28 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.12e-06/0.4962, allocations: 3.375 kB / 424.5 MB, free: 12.28 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.33e-06/0.4962, allocations: 0 / 424.5 MB, free: 12.28 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.4965, allocations: 61.16 kB / 424.6 MB, free: 12.22 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.4968, allocations: 137.7 kB / 424.7 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.4972, allocations: 0.7008 MB / 425.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.4973, allocations: 11.44 kB / 425.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of SimCode: time 1.487e-06/0.4973, allocations: 0 / 425.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of Templates: time 0.003309/0.5006, allocations: 1.175 MB / 426.6 MB, free: 10.16 MB / 346.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.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 -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -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.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64starCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64starCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64starCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64starFunctions.cpp:116: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, ^ 1 error generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64starCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64starCalcHelperMain.o] Error 1