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.0009679/0.000968, allocations: 166 kB / 16.1 MB, free: 5.691 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.081/1.081, allocations: 170.8 MB / 187.6 MB, free: 10.23 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.001468/0.001468, allocations: 110.8 kB / 227.2 MB, free: 2.605 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.01789/0.01789, allocations: 3.109 MB / 269.8 MB, free: 23.12 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003304, allocations: 15.98 kB / 319.9 MB, free: 4.871 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1637, allocations: 39.38 MB / 359.3 MB, free: 37.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.00146/0.1652, allocations: 1.348 MB / 360.7 MB, free: 36.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.1669, allocations: 1.238 MB / 361.9 MB, free: 35.33 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.258e-05/0.1669, allocations: 1.125 kB / 361.9 MB, free: 35.33 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.1672, allocations: 23.42 kB / 361.9 MB, free: 35.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002973/0.1675, allocations: 99.17 kB / 362 MB, free: 35.25 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.1679, allocations: 198 kB / 362.2 MB, free: 35.12 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.1681, allocations: 171.8 kB / 362.4 MB, free: 35.03 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.935e-05/0.1682, allocations: 21.3 kB / 362.4 MB, free: 35.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.1684, allocations: 78.17 kB / 362.5 MB, free: 34.97 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1685, allocations: 92.89 kB / 362.6 MB, free: 34.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.1686, allocations: 6.938 kB / 362.6 MB, free: 34.91 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004303/0.169, allocations: 325.3 kB / 362.9 MB, free: 34.74 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.611e-05/0.1691, allocations: 46.88 kB / 362.9 MB, free: 34.71 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.083e-05/0.1692, allocations: 94.19 kB / 363 MB, free: 34.62 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.1694, allocations: 242.6 kB / 363.3 MB, free: 34.39 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1694, allocations: 4 kB / 363.3 MB, free: 34.39 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1694, allocations: 0 / 363.3 MB, free: 34.39 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.1695, allocations: 4 kB / 363.3 MB, free: 34.39 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.001001/0.1705, allocations: 0.5338 MB / 363.8 MB, free: 33.8 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1705, allocations: 12.03 kB / 363.8 MB, free: 33.79 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.1707, allocations: 28.73 kB / 363.9 MB, free: 33.77 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.1711, allocations: 263.9 kB / 364.1 MB, free: 33.47 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.1711, allocations: 8.375 kB / 364.1 MB, free: 33.46 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.1711, allocations: 8.312 kB / 364.1 MB, free: 33.45 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.1713, allocations: 131.5 kB / 364.3 MB, free: 33.31 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1714, allocations: 4 kB / 364.3 MB, free: 33.31 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.1714, allocations: 4 kB / 364.3 MB, free: 33.3 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1714, allocations: 0 / 364.3 MB, free: 33.3 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.1716, allocations: 87.92 kB / 364.3 MB, free: 33.22 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006804/0.1723, allocations: 0.5239 MB / 364.9 MB, free: 32.64 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.1725, allocations: 149.1 kB / 365 MB, free: 32.48 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.983e-05/0.1726, allocations: 69.69 kB / 365.1 MB, free: 32.4 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.1726, allocations: 4 kB / 365.1 MB, free: 32.4 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.1728, allocations: 141.1 kB / 365.2 MB, free: 32.24 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.1729, allocations: 0 / 365.2 MB, free: 32.24 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004292/0.1733, allocations: 257.4 kB / 365.5 MB, free: 31.98 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.1733, allocations: 81.11 kB / 365.6 MB, free: 31.89 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.1737, allocations: 250.5 kB / 365.8 MB, free: 31.63 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1737, allocations: 37.69 kB / 365.8 MB, free: 31.59 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/0.1738, allocations: 119.9 kB / 366 MB, free: 31.46 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.1738, allocations: 47.53 kB / 366 MB, free: 31.42 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-06/0.1738, allocations: 0 / 366 MB, free: 31.42 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.174e-05/0.1739, allocations: 330.8 kB / 366.3 MB, free: 31.09 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.174, allocations: 87.94 kB / 366.4 MB, free: 31 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.1741, allocations: 102.9 kB / 366.5 MB, free: 30.89 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.1744, allocations: 184.8 kB / 366.7 MB, free: 30.71 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1744, allocations: 0 / 366.7 MB, free: 30.71 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003156/0.1747, allocations: 253.3 kB / 366.9 MB, free: 30.46 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1747, allocations: 6.656 kB / 366.9 MB, free: 30.45 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1747, allocations: 0 / 366.9 MB, free: 30.45 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1748, allocations: 0 / 366.9 MB, free: 30.45 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.1749, allocations: 27.92 kB / 367 MB, free: 30.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1749, allocations: 7.984 kB / 367 MB, free: 30.42 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.1751, allocations: 27.88 kB / 367 MB, free: 30.39 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.1751, allocations: 4 kB / 367 MB, free: 30.39 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.558e-05/0.1752, allocations: 149.6 kB / 367.2 MB, free: 30.23 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.1753, allocations: 15.81 kB / 367.2 MB, free: 30.21 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.1753, allocations: 29.52 kB / 367.2 MB, free: 30.19 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1753, allocations: 0 / 367.2 MB, free: 30.19 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1753, allocations: 0 / 367.2 MB, free: 30.19 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1753, allocations: 4 kB / 367.2 MB, free: 30.19 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.1755, allocations: 241.4 kB / 367.4 MB, free: 29.9 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1755, allocations: 4 kB / 367.4 MB, free: 29.9 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.1757, allocations: 23.98 kB / 367.5 MB, free: 29.88 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1757, allocations: 0 / 367.5 MB, free: 29.88 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.1757, allocations: 4 kB / 367.5 MB, free: 29.87 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1757, allocations: 0 / 367.5 MB, free: 29.87 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1757, allocations: 3.984 kB / 367.5 MB, free: 29.87 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.1761, allocations: 305 kB / 367.8 MB, free: 29.55 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/0.1762, allocations: 100.9 kB / 367.9 MB, free: 29.43 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.1762, allocations: 11.98 kB / 367.9 MB, free: 29.42 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.1764, allocations: 15.98 kB / 367.9 MB, free: 29.41 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.1764, allocations: 11.98 kB / 367.9 MB, free: 29.39 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1765, allocations: 7.984 kB / 367.9 MB, free: 29.39 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002646/0.1767, allocations: 188.2 kB / 368.1 MB, free: 29.2 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1767, allocations: 4 kB / 368.1 MB, free: 29.2 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003578/0.1771, allocations: 91.98 kB / 368.2 MB, free: 29.11 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.000465/0.1776, allocations: 233.9 kB / 368.4 MB, free: 28.88 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000295/0.1779, allocations: 170.6 kB / 368.6 MB, free: 28.71 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1779, allocations: 0 / 368.6 MB, free: 28.71 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.178, allocations: 76.03 kB / 368.7 MB, free: 28.64 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.1783, allocations: 23.92 kB / 368.7 MB, free: 28.61 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000586/0.1788, allocations: 446.7 kB / 369.1 MB, free: 28.14 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.179, allocations: 0.7322 MB / 369.9 MB, free: 27.38 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.126e-05/0.1791, allocations: 19.42 kB / 369.9 MB, free: 27.36 MB / 250.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1791, allocations: 4 kB / 369.9 MB, free: 27.36 MB / 250.7 MB Notification: Performance of Templates: time 0.004724/0.1838, allocations: 3.632 MB / 373.5 MB, free: 23.73 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