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.0009547/0.0009548, allocations: 167.4 kB / 16.06 MB, free: 5.703 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.405/1.405, allocations: 170.5 MB / 187.3 MB, free: 10.42 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.001691/0.001691, allocations: 109 kB / 226.6 MB, free: 3.078 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.019/0.019, allocations: 3.103 MB / 268.9 MB, free: 23.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004356/0.0004357, allocations: 12 kB / 318.8 MB, free: 5.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2392, allocations: 39.11 MB / 357.9 MB, free: 37.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers): time 0.001122/0.2404, allocations: 0.9326 MB / 358.8 MB, free: 36.79 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.2416, allocations: 0.8274 MB / 359.7 MB, free: 36.17 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.713e-05/0.2417, allocations: 1.156 kB / 359.7 MB, free: 36.17 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.156e-05/0.2417, allocations: 3.984 kB / 359.7 MB, free: 36.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.581e-05/0.2418, allocations: 7.922 kB / 359.7 MB, free: 36.16 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006311/0.2424, allocations: 130.5 kB / 359.8 MB, free: 36.07 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.778e-05/0.2425, allocations: 50.33 kB / 359.8 MB, free: 36.05 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.057e-05/0.2426, allocations: 10.19 kB / 359.9 MB, free: 36.04 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.935e-05/0.2427, allocations: 22.27 kB / 359.9 MB, free: 36.03 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.054e-05/0.2427, allocations: 24.09 kB / 359.9 MB, free: 36.01 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.2427, allocations: 2.469 kB / 359.9 MB, free: 36.01 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000297/0.243, allocations: 149.1 kB / 360 MB, free: 35.93 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.942e-05/0.2431, allocations: 30.86 kB / 360.1 MB, free: 35.91 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.229e-05/0.2432, allocations: 48.73 kB / 360.1 MB, free: 35.89 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.2434, allocations: 142.6 kB / 360.3 MB, free: 35.8 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2434, allocations: 0 / 360.3 MB, free: 35.8 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2434, allocations: 0 / 360.3 MB, free: 35.8 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.2434, allocations: 4 kB / 360.3 MB, free: 35.8 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.0004733/0.2439, allocations: 0.5558 MB / 360.8 MB, free: 35.28 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.2439, allocations: 9.656 kB / 360.8 MB, free: 35.28 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.2441, allocations: 19.84 kB / 360.9 MB, free: 35.27 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.2442, allocations: 180.8 kB / 361 MB, free: 35.06 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.2442, allocations: 2.562 kB / 361 MB, free: 35.06 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.2442, allocations: 5.812 kB / 361 MB, free: 35.06 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.2446, allocations: 280.1 kB / 361.3 MB, free: 34.92 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.2446, allocations: 0 / 361.3 MB, free: 34.92 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.2446, allocations: 2.219 kB / 361.3 MB, free: 34.92 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2446, allocations: 1.125 kB / 361.3 MB, free: 34.92 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.2448, allocations: 147.9 kB / 361.5 MB, free: 34.86 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.245, allocations: 205.4 kB / 361.7 MB, free: 34.63 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.2453, allocations: 0.4888 MB / 362.1 MB, free: 34.27 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/0.2456, allocations: 476.2 kB / 362.6 MB, free: 33.94 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-06/0.2456, allocations: 3.984 kB / 362.6 MB, free: 33.93 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004408/0.2461, allocations: 488.8 kB / 363.1 MB, free: 33.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=47): time 1.483e-06/0.2461, allocations: 0 / 363.1 MB, free: 33.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=47): time 0.0006332/0.2467, allocations: 0.7309 MB / 363.8 MB, free: 32.84 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.2468, allocations: 160.6 kB / 364 MB, free: 32.65 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.684e-05/0.2468, allocations: 97.86 kB / 364.1 MB, free: 32.54 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.2469, allocations: 33.69 kB / 364.1 MB, free: 32.5 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.674e-05/0.2469, allocations: 85.08 kB / 364.2 MB, free: 32.42 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.2469, allocations: 86.72 kB / 364.3 MB, free: 32.33 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.247, allocations: 33.7 kB / 364.3 MB, free: 32.29 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.636e-05/0.247, allocations: 330.8 kB / 364.6 MB, free: 31.96 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.108e-05/0.2471, allocations: 84.34 kB / 364.7 MB, free: 31.88 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.846e-05/0.2472, allocations: 116.3 kB / 364.8 MB, free: 31.76 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.2474, allocations: 421.4 kB / 365.2 MB, free: 31.32 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2474, allocations: 0 / 365.2 MB, free: 31.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000264/0.2477, allocations: 364.5 kB / 365.6 MB, free: 30.94 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.643e-05/0.2478, allocations: 107.3 kB / 365.7 MB, free: 30.82 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2478, allocations: 0 / 365.7 MB, free: 30.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.2478, allocations: 0 / 365.7 MB, free: 30.82 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.893e-06/0.2478, allocations: 4 kB / 365.7 MB, free: 30.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.2478, allocations: 8.078 kB / 365.7 MB, free: 30.81 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/0.2479, allocations: 19.75 kB / 365.7 MB, free: 30.79 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.2479, allocations: 12 kB / 365.7 MB, free: 30.78 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 (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],r1024,r128,r64,$whenCondition2,iImpure,rImpure,id,$whenCondition1) * 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.0001847/0.2481, allocations: 291.7 kB / 366 MB, free: 30.48 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.2481, allocations: 35.75 kB / 366.1 MB, free: 30.44 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.405e-05/0.2482, allocations: 9.547 kB / 366.1 MB, free: 30.43 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2482, allocations: 336 / 366.1 MB, free: 30.43 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2482, allocations: 0 / 366.1 MB, free: 30.43 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2482, allocations: 0 / 366.1 MB, free: 30.43 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.2483, allocations: 229.4 kB / 366.3 MB, free: 30.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.2484, allocations: 7.922 kB / 366.3 MB, free: 30.15 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-07/0.2484, allocations: 3.938 kB / 366.3 MB, free: 30.14 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2484, allocations: 4 kB / 366.3 MB, free: 30.14 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.2484, allocations: 31.92 kB / 366.3 MB, free: 30.11 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2484, allocations: 0 / 366.3 MB, free: 30.11 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2484, allocations: 0 / 366.3 MB, free: 30.11 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008828/0.2493, allocations: 1.239 MB / 367.6 MB, free: 28.84 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.2493, allocations: 96.8 kB / 367.7 MB, free: 28.72 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.153e-05/0.2494, allocations: 67.94 kB / 367.7 MB, free: 28.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.252e-05/0.2495, allocations: 12 kB / 367.8 MB, free: 28.64 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.2495, allocations: 16.02 kB / 367.8 MB, free: 28.63 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.2496, allocations: 19.98 kB / 367.8 MB, free: 28.61 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.02e-05/0.2496, allocations: 75.28 kB / 367.9 MB, free: 28.54 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2496, allocations: 0 / 367.9 MB, free: 28.54 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003089/0.2499, allocations: 99.98 kB / 368 MB, free: 28.44 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.0003723/0.2503, allocations: 260.6 kB / 368.2 MB, free: 28.18 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.2514, allocations: 2.132 MB / 370.4 MB, free: 26.03 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2514, allocations: 4.125 kB / 370.4 MB, free: 26.02 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009792/0.2524, allocations: 2.194 MB / 372.5 MB, free: 23.8 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.2526, allocations: 20.97 kB / 372.6 MB, free: 23.79 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.2531, allocations: 459.6 kB / 373 MB, free: 23.3 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.2533, allocations: 0.7247 MB / 373.7 MB, free: 22.54 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.877e-06/0.2533, allocations: 7.438 kB / 373.7 MB, free: 22.54 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2533, allocations: 0 / 373.7 MB, free: 22.54 MB / 250.7 MB Notification: Performance of Templates: time 0.004007/0.2573, allocations: 2.897 MB / 376.6 MB, free: 19.64 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