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.001051/0.001051, allocations: 169.5 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.088/1.088, allocations: 170.8 MB / 187.3 MB, free: 1.133 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.001506/0.001506, allocations: 101.2 kB / 226.8 MB, free: 10.12 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.01885/0.01885, allocations: 3.112 MB / 269.4 MB, free: 15.46 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003179, allocations: 8 kB / 319.3 MB, free: 63.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05141/0.05174, allocations: 39.4 MB / 358.7 MB, free: 23.98 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers): time 0.0009623/0.05273, allocations: 0.9196 MB / 359.6 MB, free: 23.04 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.05377, allocations: 0.7697 MB / 360.4 MB, free: 22.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.082e-05/0.05382, allocations: 0 / 360.4 MB, free: 22.27 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.05385, allocations: 0 / 360.4 MB, free: 22.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.152e-05/0.05389, allocations: 7.938 kB / 360.4 MB, free: 22.26 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000504/0.0544, allocations: 131.7 kB / 360.5 MB, free: 22.13 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.205e-05/0.05447, allocations: 43.84 kB / 360.5 MB, free: 22.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.05452, allocations: 0 / 360.5 MB, free: 22.09 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.05456, allocations: 23.97 kB / 360.6 MB, free: 22.07 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.41e-05/0.0546, allocations: 19.92 kB / 360.6 MB, free: 22.05 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.05462, allocations: 0 / 360.6 MB, free: 22.05 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.05486, allocations: 143.7 kB / 360.7 MB, free: 21.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.302e-05/0.05491, allocations: 27.92 kB / 360.8 MB, free: 21.88 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.719e-05/0.05495, allocations: 49.58 kB / 360.8 MB, free: 21.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.05512, allocations: 135.8 kB / 360.9 MB, free: 21.69 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.05513, allocations: 3.938 kB / 360.9 MB, free: 21.69 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.05514, allocations: 0 / 360.9 MB, free: 21.69 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.05515, allocations: 0 / 360.9 MB, free: 21.69 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.0003792/0.05553, allocations: 0.5492 MB / 361.5 MB, free: 21.08 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.05557, allocations: 8.031 kB / 361.5 MB, free: 21.07 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.0557, allocations: 23.8 kB / 361.5 MB, free: 21.05 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.9e-05/0.05578, allocations: 171 kB / 361.7 MB, free: 20.84 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.05581, allocations: 7.953 kB / 361.7 MB, free: 20.83 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.05583, allocations: 8 kB / 361.7 MB, free: 20.82 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.05605, allocations: 280.1 kB / 362 MB, free: 20.54 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.05607, allocations: 3.938 kB / 362 MB, free: 20.53 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.05609, allocations: 11.98 kB / 362 MB, free: 20.52 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.05609, allocations: 0 / 362 MB, free: 20.52 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.0562, allocations: 140 kB / 362.1 MB, free: 20.38 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.05635, allocations: 202.3 kB / 362.3 MB, free: 20.13 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.05659, allocations: 0.4894 MB / 362.8 MB, free: 19.62 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.05681, allocations: 482.3 kB / 363.3 MB, free: 19.15 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.05682, allocations: 0 / 363.3 MB, free: 19.15 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002916/0.05712, allocations: 494.7 kB / 363.8 MB, free: 18.62 MB / 250.7 MB Notification: Performance of pre-optimization done (n=47): time 1.042e-06/0.05713, allocations: 3.938 kB / 363.8 MB, free: 18.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=47): time 0.0005751/0.05771, allocations: 0.7232 MB / 364.5 MB, free: 17.88 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.05777, allocations: 160.4 kB / 364.7 MB, free: 17.69 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.353e-05/0.05782, allocations: 101.8 kB / 364.8 MB, free: 17.58 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.05783, allocations: 29.7 kB / 364.8 MB, free: 17.55 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.39e-05/0.05785, allocations: 81.14 kB / 364.9 MB, free: 17.46 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.05789, allocations: 94.66 kB / 365 MB, free: 17.37 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.0579, allocations: 0 / 365 MB, free: 17.37 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 4.376e-05/0.05795, allocations: 330.9 kB / 365.3 MB, free: 17.04 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.676e-05/0.05802, allocations: 88.41 kB / 365.4 MB, free: 16.95 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-05/0.05809, allocations: 112.3 kB / 365.5 MB, free: 16.84 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.0582, allocations: 196.4 kB / 365.7 MB, free: 16.63 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.05821, allocations: 0 / 365.7 MB, free: 16.63 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002367/0.05845, allocations: 356.6 kB / 366 MB, free: 16.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.696e-05/0.05852, allocations: 111.3 kB / 366.1 MB, free: 16.14 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.05853, allocations: 0 / 366.1 MB, free: 16.14 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.05855, allocations: 8.094 kB / 366.1 MB, free: 16.14 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.05855, allocations: 3.938 kB / 366.1 MB, free: 16.13 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.05856, allocations: 0 / 366.1 MB, free: 16.13 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.05862, allocations: 23.75 kB / 366.2 MB, free: 16.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.05864, allocations: 8 kB / 366.2 MB, free: 16.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001619/0.05881, allocations: 297.7 kB / 366.5 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.05884, allocations: 31.77 kB / 366.5 MB, free: 15.76 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.003e-05/0.05886, allocations: 9.562 kB / 366.5 MB, free: 15.75 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.05886, allocations: 0 / 366.5 MB, free: 15.75 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.05887, allocations: 4 kB / 366.5 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.05888, allocations: 0 / 366.5 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.05899, allocations: 229.4 kB / 366.7 MB, free: 15.47 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.059, allocations: 8 kB / 366.7 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.32e-07/0.059, allocations: 0 / 366.7 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.05901, allocations: 0 / 366.7 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.05903, allocations: 19.95 kB / 366.7 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.05904, allocations: 7.922 kB / 366.8 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.05905, allocations: 0 / 366.8 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007663/0.05982, allocations: 1.231 MB / 368 MB, free: 14.17 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.05985, allocations: 100.8 kB / 368.1 MB, free: 14.05 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.281e-05/0.05993, allocations: 67.98 kB / 368.2 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.218e-05/0.05998, allocations: 15.94 kB / 368.2 MB, free: 13.97 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.06002, allocations: 4 kB / 368.2 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.06005, allocations: 19.98 kB / 368.2 MB, free: 13.95 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.701e-05/0.06007, allocations: 83.61 kB / 368.3 MB, free: 13.86 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.06008, allocations: 3.938 kB / 368.3 MB, free: 13.86 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002657/0.06035, allocations: 95.92 kB / 368.4 MB, free: 13.77 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 (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.0003036/0.06066, allocations: 272 kB / 368.6 MB, free: 13.5 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.06168, allocations: 2.128 MB / 370.8 MB, free: 11.34 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.06169, allocations: 0 / 370.8 MB, free: 11.34 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008903/0.06259, allocations: 2.194 MB / 373 MB, free: 9.125 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.06276, allocations: 23.98 kB / 373 MB, free: 9.102 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.06319, allocations: 441.2 kB / 373.4 MB, free: 8.633 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.06331, allocations: 0.7247 MB / 374.1 MB, free: 7.879 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-06/0.06332, allocations: 11.44 kB / 374.1 MB, free: 7.867 MB / 250.7 MB Notification: Performance of SimCode: time 2.3e-07/0.06333, allocations: 3.938 kB / 374.2 MB, free: 7.863 MB / 250.7 MB Notification: Performance of Templates: time 0.003351/0.06668, allocations: 2.906 MB / 377.1 MB, free: 4.965 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++ -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.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:359: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:362: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