Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.003/2.003, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.173e-05, allocations: 4 kB / 292.2 MB, free: 8.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 50.41 MB / 342.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4283/0.5352, allocations: 77.14 MB / 419.8 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.5355, allocations: 78.45 kB / 419.9 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006758/0.5423, allocations: 1.72 MB / 421.6 MB, free: 15.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.5423, allocations: 7.984 kB / 421.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.5424, allocations: 0 / 421.6 MB, free: 15.04 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.000405/0.5428, allocations: 365 kB / 421.9 MB, free: 14.65 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.5428, allocations: 8.031 kB / 421.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.5429, allocations: 37.44 kB / 422 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.543, allocations: 11.86 kB / 422 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.5432, allocations: 183.2 kB / 422.2 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.5432, allocations: 8 kB / 422.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.5433, allocations: 3.625 kB / 422.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.5436, allocations: 153 kB / 422.3 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.5436, allocations: 0 / 422.3 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.5437, allocations: 0 / 422.3 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.5437, allocations: 3.953 kB / 422.3 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.383e-05/0.5438, allocations: 18.5 kB / 422.4 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.5441, allocations: 278.7 kB / 422.6 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.5443, allocations: 48.62 kB / 422.7 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.531e-05/0.5443, allocations: 19.48 kB / 422.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.5444, allocations: 4 kB / 422.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.5444, allocations: 38.52 kB / 422.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.5444, allocations: 0 / 422.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002036/0.5446, allocations: 71.33 kB / 422.8 MB, free: 13.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.5447, allocations: 51.41 kB / 422.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.5449, allocations: 132.3 kB / 423 MB, free: 13.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.5449, allocations: 25.7 kB / 423 MB, free: 13.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.545, allocations: 156.9 kB / 423.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.545, allocations: 0 / 423.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/0.545, allocations: 0 / 423.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.5451, allocations: 322 kB / 423.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/0.5452, allocations: 11.31 kB / 423.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.066e-05/0.5453, allocations: 47.89 kB / 423.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.329e-05/0.5454, allocations: 24.67 kB / 423.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5454, allocations: 0 / 423.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001925/0.5456, allocations: 91.28 kB / 423.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.5456, allocations: 8 kB / 423.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5456, allocations: 0 / 423.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.5457, allocations: 4 kB / 423.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.5458, allocations: 20.12 kB / 423.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.5458, allocations: 3.938 kB / 423.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.305e-05/0.5459, allocations: 11.62 kB / 423.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.5459, allocations: 7.984 kB / 423.7 MB, free: 12.8 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 9.801e-05/0.546, allocations: 107.9 kB / 423.8 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.5462, allocations: 68.17 kB / 423.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.5464, allocations: 76.17 kB / 423.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5464, allocations: 4 kB / 424 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5464, allocations: 4 kB / 424 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.5464, allocations: 0 / 424 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.5466, allocations: 178.5 kB / 424.1 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.5466, allocations: 4 kB / 424.1 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.376e-05/0.5467, allocations: 4 kB / 424.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.5467, allocations: 3.938 kB / 424.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.5467, allocations: 7.266 kB / 424.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.5467, allocations: 0 / 424.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5467, allocations: 3.984 kB / 424.2 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.5469, allocations: 94.66 kB / 424.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-05/0.547, allocations: 96.12 kB / 424.3 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.547, allocations: 0 / 424.3 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-05/0.5471, allocations: 4.141 kB / 424.3 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-06/0.5471, allocations: 4 kB / 424.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.5471, allocations: 3.984 kB / 424.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.5473, allocations: 109.3 kB / 424.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5473, allocations: 0 / 424.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003024/0.5476, allocations: 26.92 kB / 424.5 MB, free: 11.97 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.000751/0.5483, allocations: 0.6798 MB / 425.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.5485, allocations: 35.62 kB / 425.2 MB, free: 11.26 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5485, allocations: 4.188 kB / 425.2 MB, free: 11.26 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.5485, allocations: 0 / 425.2 MB, free: 11.26 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.5489, allocations: 71.97 kB / 425.3 MB, free: 11.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/0.5494, allocations: 174.9 kB / 425.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.5497, allocations: 0.6996 MB / 426.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.052e-05/0.5498, allocations: 21.48 kB / 426.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of SimCode: time 2.505e-06/0.5498, allocations: 0 / 426.2 MB, free: 10.25 MB / 346.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=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -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, ^ In file included from OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64starCalcHelperMain.cpp:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64starFMU.cpp:11: /var/lib/jenkins/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 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