Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.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.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers") translateModel(Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001097/0.001097, allocations: 166.8 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.066/1.066, allocations: 170.8 MB / 187.6 MB, free: 10.46 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.001486/0.001486, allocations: 106.8 kB / 227.2 MB, free: 2.844 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.0176/0.0176, allocations: 3.105 MB / 269.8 MB, free: 23.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.00035, allocations: 8 kB / 319.9 MB, free: 4.895 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1745, allocations: 39.38 MB / 359.3 MB, free: 37.4 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers): time 0.0009975/0.1756, allocations: 0.9241 MB / 360.2 MB, free: 36.65 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1767, allocations: 0.8076 MB / 361 MB, free: 36.05 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.803e-05/0.1767, allocations: 0 / 361 MB, free: 36.05 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.697e-05/0.1768, allocations: 5 kB / 361.1 MB, free: 36.04 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.903e-05/0.1768, allocations: 0 / 361.1 MB, free: 36.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.1773, allocations: 138.8 kB / 361.2 MB, free: 35.95 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.47e-05/0.1773, allocations: 42.16 kB / 361.2 MB, free: 35.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.1774, allocations: 10.14 kB / 361.2 MB, free: 35.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.049e-05/0.1774, allocations: 26.33 kB / 361.3 MB, free: 35.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.175e-05/0.1774, allocations: 23.39 kB / 361.3 MB, free: 35.89 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.1775, allocations: 2.469 kB / 361.3 MB, free: 35.89 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.1777, allocations: 154.2 kB / 361.4 MB, free: 35.8 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.701e-05/0.1777, allocations: 34.88 kB / 361.5 MB, free: 35.79 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.498e-05/0.1778, allocations: 69.08 kB / 361.5 MB, free: 35.73 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.178, allocations: 134.6 kB / 361.7 MB, free: 35.66 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.178, allocations: 1.312 kB / 361.7 MB, free: 35.66 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.178, allocations: 4 kB / 361.7 MB, free: 35.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.178, allocations: 0 / 361.7 MB, free: 35.66 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0003639/0.1783, allocations: 0.5561 MB / 362.2 MB, free: 35.14 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.1784, allocations: 8.406 kB / 362.2 MB, free: 35.14 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.1785, allocations: 20.41 kB / 362.3 MB, free: 35.13 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.917e-05/0.1786, allocations: 179.7 kB / 362.4 MB, free: 34.92 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1786, allocations: 7.703 kB / 362.4 MB, free: 34.91 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.1786, allocations: 4.969 kB / 362.4 MB, free: 34.91 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.1789, allocations: 288.3 kB / 362.7 MB, free: 34.76 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1789, allocations: 0 / 362.7 MB, free: 34.76 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1789, allocations: 2.531 kB / 362.7 MB, free: 34.76 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1789, allocations: 0.9375 kB / 362.7 MB, free: 34.76 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.1791, allocations: 147 kB / 362.9 MB, free: 34.68 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000113/0.1792, allocations: 198.2 kB / 363.1 MB, free: 34.43 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.1794, allocations: 0.4894 MB / 363.6 MB, free: 33.92 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.1796, allocations: 478.4 kB / 364 MB, free: 33.45 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.1797, allocations: 0 / 364 MB, free: 33.45 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002917/0.1799, allocations: 494.7 kB / 364.5 MB, free: 32.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=47): time 1.613e-06/0.18, allocations: 4 kB / 364.5 MB, free: 32.92 MB / 250.7 MB Notification: Performance of matching and sorting (n=47): time 0.0005871/0.1805, allocations: 0.7232 MB / 365.2 MB, free: 32.18 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.1806, allocations: 164.4 kB / 365.4 MB, free: 31.99 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.758e-05/0.1807, allocations: 97.86 kB / 365.5 MB, free: 31.88 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.1807, allocations: 33.64 kB / 365.5 MB, free: 31.84 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.371e-05/0.1807, allocations: 81.14 kB / 365.6 MB, free: 31.76 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.1807, allocations: 90.7 kB / 365.7 MB, free: 31.67 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.1808, allocations: 0 / 365.7 MB, free: 31.67 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 4.547e-05/0.1808, allocations: 330.9 kB / 366 MB, free: 31.34 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.764e-05/0.1809, allocations: 84.41 kB / 366.1 MB, free: 31.26 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.45e-05/0.1809, allocations: 112.3 kB / 366.2 MB, free: 31.14 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.1812, allocations: 417.4 kB / 366.6 MB, free: 30.7 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1812, allocations: 0 / 366.6 MB, free: 30.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002506/0.1814, allocations: 360.6 kB / 367 MB, free: 30.33 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.908e-05/0.1815, allocations: 111.3 kB / 367.1 MB, free: 30.21 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1815, allocations: 4 kB / 367.1 MB, free: 30.21 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1815, allocations: 0 / 367.1 MB, free: 30.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.1815, allocations: 12.03 kB / 367.1 MB, free: 30.2 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.1815, allocations: 3.984 kB / 367.1 MB, free: 30.19 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.028e-05/0.1816, allocations: 23.75 kB / 367.1 MB, free: 30.17 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.1816, allocations: 8 kB / 367.1 MB, free: 30.16 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: 47 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,id,rImpure,iImpure) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001712/0.1818, allocations: 303.7 kB / 367.4 MB, free: 29.84 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.1818, allocations: 31.75 kB / 367.5 MB, free: 29.81 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.022e-05/0.1818, allocations: 5.891 kB / 367.5 MB, free: 29.8 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1818, allocations: 0 / 367.5 MB, free: 29.8 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1819, allocations: 0 / 367.5 MB, free: 29.8 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1819, allocations: 7.984 kB / 367.5 MB, free: 29.8 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.182, allocations: 229.3 kB / 367.7 MB, free: 29.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.182, allocations: 7.875 kB / 367.7 MB, free: 29.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/0.182, allocations: 8 kB / 367.7 MB, free: 29.51 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.182, allocations: 0 / 367.7 MB, free: 29.51 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.182, allocations: 23.97 kB / 367.7 MB, free: 29.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.182, allocations: 0 / 367.7 MB, free: 29.48 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.182, allocations: 0 / 367.7 MB, free: 29.48 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008204/0.1829, allocations: 1.239 MB / 369 MB, free: 28.21 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-05/0.1829, allocations: 100.8 kB / 369.1 MB, free: 28.09 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-05/0.183, allocations: 63.94 kB / 369.1 MB, free: 28.03 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.288e-05/0.183, allocations: 19.97 kB / 369.2 MB, free: 28.01 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.1831, allocations: 8 kB / 369.2 MB, free: 28 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.1831, allocations: 19.98 kB / 369.2 MB, free: 27.98 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.713e-05/0.1831, allocations: 79.27 kB / 369.3 MB, free: 27.91 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1831, allocations: 4 kB / 369.3 MB, free: 27.9 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000272/0.1834, allocations: 92 kB / 369.4 MB, free: 27.81 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 47 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,id,rImpure,iImpure) * Number of discrete states: 47 (iImpure,rImpure,id,$whenCondition1,r1024,r128,r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.0003136/0.1837, allocations: 260.8 kB / 369.6 MB, free: 27.55 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.1848, allocations: 2.132 MB / 371.7 MB, free: 25.4 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1848, allocations: 0 / 371.7 MB, free: 25.4 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009904/0.1858, allocations: 2.197 MB / 373.9 MB, free: 23.18 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.186, allocations: 23.94 kB / 374 MB, free: 23.15 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.1865, allocations: 449.2 kB / 374.4 MB, free: 22.68 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.1866, allocations: 0.7247 MB / 375.1 MB, free: 21.92 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.604e-06/0.1866, allocations: 7.438 kB / 375.1 MB, free: 21.91 MB / 250.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1866, allocations: 4 kB / 375.1 MB, free: 21.91 MB / 250.7 MB Notification: Performance of Templates: time 0.003588/0.1902, allocations: 2.89 MB / 378 MB, free: 19.02 MB / 250.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.makefile make -j1 -f Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.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.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.o OMCppModelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.cpp In file included from OMCppModelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.cpp:28: In file included from ./OMCppModelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbersFunctions.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.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.cpp:28: ./OMCppModelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbersFunctions.cpp:81:3: error: no matching function for call to 'ModelicaRandom_xorshift1024star' ModelicaRandom_xorshift1024star(ConstArray(stateIn_).getData(), stateOut_.getData(), &result__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:466:22: note: candidate function not viable: 1st argument ('const int *') would lose const qualifier MODELICA_EXPORT void ModelicaRandom_xorshift1024star(int state_in[], int state_out[], double* y) { ^ In file included from OMCppModelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.cpp:28: ./OMCppModelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbersFunctions.cpp:111: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.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.cpp:28: ./OMCppModelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbersFunctions.cpp:193: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.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.cpp:28: ./OMCppModelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbersFunctions.cpp:367: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.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.cpp:29: ./OMCppModelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbersInitialize.cpp:358:109: error: use of undeclared identifier 'state_' _functions->Modelica__Noise_Math_Random_Utilities_initialStateWithXorshift64star(_localSeed_,_globalSeed_,state_.getDim(1),tmp3); ^ ./OMCppModelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbersInitialize.cpp:361:109: error: use of undeclared identifier 'state_' _functions->Modelica__Noise_Math_Random_Utilities_initialStateWithXorshift64star(_localSeed_,_globalSeed_,state_.getDim(1),tmp4); ^ In file included from OMCppModelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.cpp:33: ./OMCppModelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.cpp:396:111: error: use of undeclared identifier 'state_' _functions->Modelica__Noise_Math_Random_Utilities_initialStateWithXorshift64star(_localSeed_,_globalSeed_,state_.getDim(1),tmp29); ^ ./OMCppModelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.cpp:399:111: error: use of undeclared identifier 'state_' _functions->Modelica__Noise_Math_Random_Utilities_initialStateWithXorshift64star(_localSeed_,_globalSeed_,state_.getDim(1),tmp30); ^ 9 errors generated. make: *** [: OMCppModelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.o] Error 1