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.001042/0.001042, allocations: 165.3 kB / 15.77 MB, free: 6.352 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.073/1.073, allocations: 170.8 MB / 187.3 MB, free: 1.047 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.001487/0.001486, allocations: 116.9 kB / 226.8 MB, free: 10.1 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.01896/0.01896, allocations: 3.12 MB / 269.4 MB, free: 15.46 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003097, allocations: 8 kB / 319.3 MB, free: 63.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05341/0.05374, allocations: 39.41 MB / 358.7 MB, free: 23.98 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.001267/0.05504, allocations: 1.326 MB / 360 MB, free: 22.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.05635, allocations: 1.147 MB / 361.2 MB, free: 21.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.242e-05/0.05642, allocations: 0 / 361.2 MB, free: 21.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.05667, allocations: 31.78 kB / 361.2 MB, free: 21.45 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.05694, allocations: 99.64 kB / 361.3 MB, free: 21.36 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.05723, allocations: 191.6 kB / 361.5 MB, free: 21.17 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.05737, allocations: 147.6 kB / 361.6 MB, free: 21.02 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.706e-05/0.05745, allocations: 24.98 kB / 361.6 MB, free: 21 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.05757, allocations: 87.67 kB / 361.7 MB, free: 20.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.05769, allocations: 91.64 kB / 361.8 MB, free: 20.82 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.05772, allocations: 8 kB / 361.8 MB, free: 20.82 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.05806, allocations: 315.5 kB / 362.1 MB, free: 20.51 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.05812, allocations: 39.83 kB / 362.2 MB, free: 20.47 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.05817, allocations: 45.64 kB / 362.2 MB, free: 20.42 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.0584, allocations: 247.5 kB / 362.5 MB, free: 20.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.05841, allocations: 4 kB / 362.5 MB, free: 20.17 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.05841, allocations: 0 / 362.5 MB, free: 20.17 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.05842, allocations: 0 / 362.5 MB, free: 20.17 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.0009174/0.05935, allocations: 0.5376 MB / 363 MB, free: 19.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.509e-05/0.05938, allocations: 8.031 kB / 363 MB, free: 19.58 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.05955, allocations: 27.8 kB / 363 MB, free: 19.55 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.05991, allocations: 262.4 kB / 363.3 MB, free: 19.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.05994, allocations: 19.94 kB / 363.3 MB, free: 19.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.05997, allocations: 4 kB / 363.3 MB, free: 19.23 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.06016, allocations: 131.3 kB / 363.4 MB, free: 19.09 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.06018, allocations: 0 / 363.4 MB, free: 19.09 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.0602, allocations: 4 kB / 363.4 MB, free: 19.09 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.06021, allocations: 0 / 363.4 MB, free: 19.09 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.06037, allocations: 83.94 kB / 363.5 MB, free: 19 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006157/0.061, allocations: 0.524 MB / 364 MB, free: 18.43 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.06123, allocations: 149.1 kB / 364.2 MB, free: 18.26 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.439e-05/0.06133, allocations: 69.62 kB / 364.3 MB, free: 18.19 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.06135, allocations: 4.031 kB / 364.3 MB, free: 18.18 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.06153, allocations: 145 kB / 364.4 MB, free: 18.02 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.06154, allocations: 0 / 364.4 MB, free: 18.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.000406/0.06195, allocations: 247.5 kB / 364.6 MB, free: 17.78 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.06199, allocations: 89.09 kB / 364.7 MB, free: 17.67 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.0623, allocations: 238.9 kB / 365 MB, free: 17.43 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.06233, allocations: 33.7 kB / 365 MB, free: 17.39 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.06238, allocations: 116.1 kB / 365.1 MB, free: 17.27 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.06242, allocations: 51.48 kB / 365.2 MB, free: 17.22 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-06/0.06243, allocations: 3.938 kB / 365.2 MB, free: 17.21 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 4.14e-05/0.06248, allocations: 338.8 kB / 365.5 MB, free: 16.88 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.06261, allocations: 83.95 kB / 365.6 MB, free: 16.79 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.06273, allocations: 105 kB / 365.7 MB, free: 16.69 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.06286, allocations: 95.91 kB / 365.8 MB, free: 16.6 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.06287, allocations: 0 / 365.8 MB, free: 16.6 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002978/0.06318, allocations: 243.8 kB / 366 MB, free: 16.36 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.0632, allocations: 5.094 kB / 366 MB, free: 16.35 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.06321, allocations: 4 kB / 366 MB, free: 16.35 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.06322, allocations: 7.938 kB / 366 MB, free: 16.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.06336, allocations: 23.98 kB / 366.1 MB, free: 16.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.06338, allocations: 0 / 366.1 MB, free: 16.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.06356, allocations: 31.81 kB / 366.1 MB, free: 16.29 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.06358, allocations: 8 kB / 366.1 MB, free: 16.28 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.localSeed,$PRE.whiteNoise.state[1],whiteNoise.state[1],$PRE.whiteNoise.state[2],whiteNoise.state[2],$PRE.whiteNoise.state[3],whiteNoise.state[3],$PRE.whiteNoise.state[4],whiteNoise.state[4],$PRE.whiteNoise.r,whiteNoise.r,$PRE.whiteNoise.r_raw,whiteNoise.r_raw) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.982e-05/0.06368, allocations: 145 kB / 366.2 MB, free: 16.13 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.06371, allocations: 15.81 kB / 366.3 MB, free: 16.11 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.06375, allocations: 21.52 kB / 366.3 MB, free: 16.1 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.06376, allocations: 4 kB / 366.3 MB, free: 16.09 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.06376, allocations: 3.953 kB / 366.3 MB, free: 16.09 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.06377, allocations: 0 / 366.3 MB, free: 16.09 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.06392, allocations: 245.5 kB / 366.5 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.06393, allocations: 0 / 366.5 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.06404, allocations: 23.92 kB / 366.5 MB, free: 15.78 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.06405, allocations: 4 kB / 366.5 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.06407, allocations: 3.984 kB / 366.6 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.06408, allocations: 4 kB / 366.6 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.06408, allocations: 0 / 366.6 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.06446, allocations: 305.5 kB / 366.9 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.06451, allocations: 93.02 kB / 366.9 MB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.06455, allocations: 11.92 kB / 367 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.06472, allocations: 23.97 kB / 367 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.06477, allocations: 11.98 kB / 367 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.06478, allocations: 7.953 kB / 367 MB, free: 15.28 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002499/0.06504, allocations: 194.8 kB / 367.2 MB, free: 15.09 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.06505, allocations: 0 / 367.2 MB, free: 15.09 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002668/0.06532, allocations: 91.98 kB / 367.3 MB, free: 15 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 (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.000382/0.06571, allocations: 240 kB / 367.5 MB, free: 14.77 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.06599, allocations: 172 kB / 367.7 MB, free: 14.6 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.06601, allocations: 0 / 367.7 MB, free: 14.6 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.06612, allocations: 76.03 kB / 367.8 MB, free: 14.52 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.06632, allocations: 22.94 kB / 367.8 MB, free: 14.5 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004901/0.06682, allocations: 434.7 kB / 368.2 MB, free: 14.04 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.06695, allocations: 0.7282 MB / 368.9 MB, free: 13.29 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.202e-05/0.06701, allocations: 15.44 kB / 368.9 MB, free: 13.27 MB / 250.7 MB Notification: Performance of SimCode: time 2.41e-07/0.06701, allocations: 4 kB / 369 MB, free: 13.27 MB / 250.7 MB Notification: Performance of Templates: time 0.004138/0.07116, allocations: 3.634 MB / 372.6 MB, free: 9.633 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++ -Winvalid-pch -O0 -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/c/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:163: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:179: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