Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo", uses=false) Using package Modelica_Noise with version 1.0 Beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001945/0.001945, allocations: 170.8 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.465/1.465, allocations: 170.5 MB / 187.3 MB, free: 10.33 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001545/0.001546, allocations: 110.8 kB / 226.6 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo): time 0.02116/0.02116, allocations: 3.096 MB / 268.9 MB, free: 23.49 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.0004829, allocations: 15.98 kB / 318.8 MB, free: 5.527 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2596, allocations: 39.11 MB / 357.9 MB, free: 37.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.002444/0.2621, allocations: 1.354 MB / 359.3 MB, free: 36.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002684/0.2648, allocations: 1.267 MB / 360.5 MB, free: 35.54 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.94e-05/0.2649, allocations: 1.219 kB / 360.5 MB, free: 35.54 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.2653, allocations: 31.08 kB / 360.6 MB, free: 35.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003415/0.2657, allocations: 98.3 kB / 360.7 MB, free: 35.45 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.2661, allocations: 190.7 kB / 360.8 MB, free: 35.33 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.2663, allocations: 171.2 kB / 361 MB, free: 35.24 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2665, allocations: 33.88 kB / 361 MB, free: 35.21 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.2666, allocations: 75.41 kB / 361.1 MB, free: 35.17 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.2668, allocations: 83.86 kB / 361.2 MB, free: 35.12 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.2669, allocations: 6.906 kB / 361.2 MB, free: 35.12 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005328/0.2674, allocations: 329.2 kB / 361.5 MB, free: 34.95 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.2675, allocations: 46.84 kB / 361.6 MB, free: 34.91 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.252e-05/0.2676, allocations: 64.72 kB / 361.6 MB, free: 34.86 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003922/0.268, allocations: 246.9 kB / 361.9 MB, free: 34.71 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.268, allocations: 0 / 361.9 MB, free: 34.71 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2681, allocations: 1.469 kB / 361.9 MB, free: 34.71 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.2681, allocations: 0 / 361.9 MB, free: 34.71 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001271/0.2694, allocations: 0.5378 MB / 362.4 MB, free: 34.21 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.2694, allocations: 9.312 kB / 362.4 MB, free: 34.21 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.2697, allocations: 28.95 kB / 362.4 MB, free: 34.2 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004806/0.2702, allocations: 267.8 kB / 362.7 MB, free: 33.95 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.2702, allocations: 3.875 kB / 362.7 MB, free: 33.95 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.2702, allocations: 13.09 kB / 362.7 MB, free: 33.94 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.2705, allocations: 124.6 kB / 362.8 MB, free: 33.85 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.2706, allocations: 0 / 362.8 MB, free: 33.85 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.2706, allocations: 5.156 kB / 362.9 MB, free: 33.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.2706, allocations: 1.156 kB / 362.9 MB, free: 33.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.2709, allocations: 88.11 kB / 362.9 MB, free: 33.8 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008761/0.2718, allocations: 0.527 MB / 363.5 MB, free: 33.29 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.2721, allocations: 145.1 kB / 363.6 MB, free: 33.12 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.2722, allocations: 69.69 kB / 363.7 MB, free: 33.05 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.2722, allocations: 0 / 363.7 MB, free: 33.05 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002407/0.2725, allocations: 145.1 kB / 363.8 MB, free: 32.89 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.2725, allocations: 0 / 363.8 MB, free: 32.89 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.000542/0.273, allocations: 253.5 kB / 364.1 MB, free: 32.64 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.2731, allocations: 85.23 kB / 364.1 MB, free: 32.54 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.2735, allocations: 246.5 kB / 364.4 MB, free: 32.28 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.2735, allocations: 41.64 kB / 364.4 MB, free: 32.23 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.2736, allocations: 123.9 kB / 364.6 MB, free: 32.11 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.2736, allocations: 43.53 kB / 364.6 MB, free: 32.07 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.2737, allocations: 25.7 kB / 364.6 MB, free: 32.04 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.933e-05/0.2737, allocations: 338.8 kB / 365 MB, free: 31.7 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.2739, allocations: 83.95 kB / 365 MB, free: 31.61 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.2741, allocations: 106.8 kB / 365.1 MB, free: 31.5 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.2744, allocations: 180.8 kB / 365.3 MB, free: 31.32 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2744, allocations: 4 kB / 365.3 MB, free: 31.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004324/0.2748, allocations: 249.2 kB / 365.6 MB, free: 31.07 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2749, allocations: 4 kB / 365.6 MB, free: 31.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.2749, allocations: 0 / 365.6 MB, free: 31.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.2749, allocations: 0 / 365.6 MB, free: 31.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.2751, allocations: 23.98 kB / 365.6 MB, free: 31.04 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.2751, allocations: 7.984 kB / 365.6 MB, free: 31.04 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.2753, allocations: 31.91 kB / 365.6 MB, free: 31 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.2753, allocations: 7.984 kB / 365.6 MB, free: 31 MB / 250.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: 14 ($whenCondition1,whiteNoise.r_raw,$PRE.whiteNoise.r_raw,whiteNoise.r,$PRE.whiteNoise.r,whiteNoise.state[4],$PRE.whiteNoise.state[4],whiteNoise.state[3],$PRE.whiteNoise.state[3],whiteNoise.state[2],$PRE.whiteNoise.state[2],whiteNoise.state[1],$PRE.whiteNoise.state[1],whiteNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.2755, allocations: 145.6 kB / 365.8 MB, free: 30.84 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.2755, allocations: 23.8 kB / 365.8 MB, free: 30.82 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.398e-05/0.2755, allocations: 17.53 kB / 365.8 MB, free: 30.81 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.2756, allocations: 0 / 365.8 MB, free: 30.81 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2756, allocations: 0 / 365.8 MB, free: 30.81 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2756, allocations: 8 kB / 365.8 MB, free: 30.8 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.2758, allocations: 249.4 kB / 366.1 MB, free: 30.51 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2758, allocations: 0 / 366.1 MB, free: 30.51 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.2759, allocations: 20 kB / 366.1 MB, free: 30.49 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2759, allocations: 3.984 kB / 366.1 MB, free: 30.48 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.2759, allocations: 4 kB / 366.1 MB, free: 30.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2759, allocations: 3.938 kB / 366.1 MB, free: 30.48 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2759, allocations: 0 / 366.1 MB, free: 30.48 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/0.2764, allocations: 304.9 kB / 366.4 MB, free: 30.16 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.2764, allocations: 100.9 kB / 366.5 MB, free: 30.04 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.2765, allocations: 8 kB / 366.5 MB, free: 30.04 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.2767, allocations: 19.97 kB / 366.5 MB, free: 30.02 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.2767, allocations: 16.05 kB / 366.5 MB, free: 30 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.2767, allocations: 4 kB / 366.5 MB, free: 30 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002601/0.277, allocations: 188.2 kB / 366.7 MB, free: 29.81 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.277, allocations: 0 / 366.7 MB, free: 29.81 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003413/0.2773, allocations: 91.98 kB / 366.8 MB, free: 29.72 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 8 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw,whiteNoise.localSeed) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004699/0.2778, allocations: 237 kB / 367 MB, free: 29.49 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003054/0.2781, allocations: 174.5 kB / 367.2 MB, free: 29.32 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2782, allocations: 0 / 367.2 MB, free: 29.32 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.2783, allocations: 75.91 kB / 367.3 MB, free: 29.25 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.2785, allocations: 23.92 kB / 367.3 MB, free: 29.22 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006324/0.2792, allocations: 426.4 kB / 367.7 MB, free: 28.77 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.2793, allocations: 0.7283 MB / 368.5 MB, free: 28.02 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.749e-05/0.2794, allocations: 19.42 kB / 368.5 MB, free: 28 MB / 250.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2794, allocations: 0 / 368.5 MB, free: 28 MB / 250.7 MB Notification: Performance of Templates: time 0.00503/0.2845, allocations: 3.64 MB / 372.1 MB, free: 24.36 MB / 250.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile clang++ -std=c++14 -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.o OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.cpp In file included from OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.cpp:28: In file included from ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:600:10: error: use of undeclared identifier '_getpid'; did you mean 'getpid'? pid = ModelicaRandom_getpid(); ^~~~~~~~~~~~~~~~~~~~~ getpid /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:207:34: note: expanded from macro 'ModelicaRandom_getpid' # define ModelicaRandom_getpid _getpid ^ /usr/include/unistd.h:628:16: note: 'getpid' declared here extern __pid_t getpid (void) __THROW; ^ In file included from OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.cpp:28: ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceFunctions.cpp:123:3: error: no matching function for call to 'ModelicaRandom_xorshift128plus' ModelicaRandom_xorshift128plus(ConstArray(stateIn_).getData(), stateOut_.getData(), &result__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:363:22: note: candidate function not viable: 1st argument ('const int *') would lose const qualifier MODELICA_EXPORT void ModelicaRandom_xorshift128plus(int state_in[], int state_out[], double* y) { ^ In file included from OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.cpp:28: ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceFunctions.cpp:205:3: error: no matching function for call to 'ModelicaRandom_xorshift64star' ModelicaRandom_xorshift64star(ConstArray(stateIn_).getData(), stateOut_.getData(), &result__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:312:22: note: candidate function not viable: 1st argument ('const int *') would lose const qualifier MODELICA_EXPORT void ModelicaRandom_xorshift64star(int state_in[], int state_out[], double* y) { ^ In file included from OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.cpp:28: ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceFunctions.cpp:399:3: error: no matching function for call to 'ModelicaRandom_setInternalState_xorshift1024star' ModelicaRandom_setInternalState_xorshift1024star(ConstArray(rngState_).getData(), rngState_.getDim(1), id__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:530:22: note: candidate function not viable: 1st argument ('const int *') would lose const qualifier MODELICA_EXPORT void ModelicaRandom_setInternalState_xorshift1024star(int* state, size_t nState, int id) { ^ In file included from OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.cpp:29: ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceInitialize.cpp:144:104: warning: implicit conversion from 'long' to 'int' changes value from 4611686018427387903 to -1 [-Wconstant-conversion] _functions->Modelica__Noise_Math_Random_Utilities_impureRandomInteger(_globalSeed_P_id_impure_, 1, 4611686018427387903, tmp1); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceInitialize.cpp:160:141: error: use of undeclared identifier 'state_' _functions->Modelica__Noise_Math_Random_Utilities_initialStateWithXorshift64star(_whiteNoise_P_localSeed_,_whiteNoise_P_actualGlobalSeed_,state_.getDim(1),tmp3); ^ In file included from OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.cpp:33: ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.cpp:158:106: warning: implicit conversion from 'long' to 'int' changes value from 4611686018427387903 to -1 [-Wconstant-conversion] _functions->Modelica__Noise_Math_Random_Utilities_impureRandomInteger(_globalSeed_P_id_impure_, 1, 4611686018427387903, tmp59); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ 2 warnings and 5 errors generated. make: *** [: OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulenceCalcHelperMain.o] Error 1