Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties") translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008078/0.008078, allocations: 163.9 kB / 15.11 MB, free: 5.559 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.124/1.124, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.00158/0.00158, allocations: 109.2 kB / 226.2 MB, free: 10.11 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.01952/0.01952, allocations: 3.123 MB / 268.7 MB, free: 15.46 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 9.094 kB / 318.6 MB, free: 63.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07837/0.07876, allocations: 39.4 MB / 358 MB, free: 24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.002275/0.08108, allocations: 1.494 MB / 359.5 MB, free: 22.49 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.08312, allocations: 0.9511 MB / 360.5 MB, free: 21.53 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.08326, allocations: 0 / 360.5 MB, free: 21.53 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.0834, allocations: 11.88 kB / 360.5 MB, free: 21.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005273/0.08394, allocations: 91.69 kB / 360.6 MB, free: 21.43 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.08434, allocations: 103.7 kB / 360.7 MB, free: 21.33 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.08456, allocations: 119.8 kB / 360.8 MB, free: 21.21 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.08476, allocations: 56.27 kB / 360.8 MB, free: 21.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.08491, allocations: 75.69 kB / 360.9 MB, free: 21.08 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.08506, allocations: 87.58 kB / 361 MB, free: 21 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.08511, allocations: 12 kB / 361 MB, free: 20.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.0854, allocations: 115.8 kB / 361.1 MB, free: 20.87 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.08548, allocations: 35.89 kB / 361.1 MB, free: 20.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.441e-05/0.08557, allocations: 57.58 kB / 361.2 MB, free: 20.77 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.0859, allocations: 211.8 kB / 361.4 MB, free: 20.57 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.08592, allocations: 0 / 361.4 MB, free: 20.57 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.08593, allocations: 0 / 361.4 MB, free: 20.57 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.08594, allocations: 4 kB / 361.4 MB, free: 20.56 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001276/0.08723, allocations: 0.5504 MB / 362 MB, free: 19.96 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.08727, allocations: 8.031 kB / 362 MB, free: 19.95 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003051/0.08759, allocations: 35.7 kB / 362 MB, free: 19.92 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.08789, allocations: 234.7 kB / 362.2 MB, free: 19.65 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.261e-05/0.08795, allocations: 20.23 kB / 362.3 MB, free: 19.63 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.773e-05/0.08802, allocations: 16 kB / 362.3 MB, free: 19.61 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007373/0.08877, allocations: 240.1 kB / 362.5 MB, free: 19.37 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.0888, allocations: 7.875 kB / 362.5 MB, free: 19.36 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.08884, allocations: 8 kB / 362.5 MB, free: 19.35 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.08887, allocations: 4 kB / 362.5 MB, free: 19.35 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007548/0.08963, allocations: 179.8 kB / 362.7 MB, free: 19.17 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.09094, allocations: 0.6446 MB / 363.3 MB, free: 18.47 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.09268, allocations: 397.4 kB / 363.7 MB, free: 18.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.09274, allocations: 8 kB / 363.7 MB, free: 18.06 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006334/0.09338, allocations: 216.2 kB / 364 MB, free: 17.83 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 3.036e-06/0.0934, allocations: 0 / 364 MB, free: 17.83 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.001744/0.09516, allocations: 0.5007 MB / 364.5 MB, free: 17.31 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.09522, allocations: 85.48 kB / 364.5 MB, free: 17.21 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.0955, allocations: 203.8 kB / 364.7 MB, free: 17 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/0.09557, allocations: 45.69 kB / 364.8 MB, free: 16.95 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.731e-05/0.09567, allocations: 128.5 kB / 364.9 MB, free: 16.82 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.636e-05/0.09576, allocations: 71 kB / 365 MB, free: 16.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.0958, allocations: 4 kB / 365 MB, free: 16.75 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.114e-05/0.09588, allocations: 342.8 kB / 365.3 MB, free: 16.4 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005494/0.09645, allocations: 135.9 kB / 365.4 MB, free: 16.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005623/0.09703, allocations: 177.8 kB / 365.6 MB, free: 16.09 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005752/0.09762, allocations: 156 kB / 365.8 MB, free: 15.94 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.09764, allocations: 0 / 365.8 MB, free: 15.94 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001282/0.09893, allocations: 394.4 kB / 366.2 MB, free: 15.55 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.09898, allocations: 10.84 kB / 366.2 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.099, allocations: 4 kB / 366.2 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.09903, allocations: 0 / 366.2 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/0.09952, allocations: 75.88 kB / 366.2 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.09955, allocations: 4 kB / 366.3 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.09986, allocations: 47.73 kB / 366.3 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.09991, allocations: 11.98 kB / 366.3 MB, free: 15.4 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,noise.localSeed,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001669/0.1001, allocations: 138.8 kB / 366.4 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.1002, allocations: 19.77 kB / 366.5 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.643e-05/0.1003, allocations: 29.86 kB / 366.5 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.1003, allocations: 4 kB / 366.5 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.1003, allocations: 0 / 366.5 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.1003, allocations: 3.938 kB / 366.5 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.1021, allocations: 0.6854 MB / 367.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1021, allocations: 4 kB / 367.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004244/0.1025, allocations: 51.91 kB / 367.2 MB, free: 14.4 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/0.1025, allocations: 4 kB / 367.2 MB, free: 14.4 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.1026, allocations: 11.92 kB / 367.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.758e-06/0.1026, allocations: 7.938 kB / 367.3 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1026, allocations: 0 / 367.3 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.1043, allocations: 0.5606 MB / 367.8 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.1044, allocations: 92.86 kB / 367.9 MB, free: 13.68 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-05/0.1045, allocations: 16.17 kB / 367.9 MB, free: 13.67 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.1048, allocations: 31.98 kB / 368 MB, free: 13.64 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.571e-05/0.1049, allocations: 23.86 kB / 368 MB, free: 13.61 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.1049, allocations: 4 kB / 368 MB, free: 13.61 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001794/0.1051, allocations: 153.5 kB / 368.1 MB, free: 13.46 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1052, allocations: 4 kB / 368.1 MB, free: 13.46 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007131/0.1059, allocations: 79.89 kB / 368.2 MB, free: 13.38 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 8 (noise.localSeed,$whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004208/0.1063, allocations: 165.9 kB / 368.4 MB, free: 13.21 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.1075, allocations: 311.9 kB / 368.7 MB, free: 12.91 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1075, allocations: 4.062 kB / 368.7 MB, free: 12.9 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005265/0.1081, allocations: 135.9 kB / 368.8 MB, free: 12.77 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.1085, allocations: 19.59 kB / 368.8 MB, free: 12.75 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.1096, allocations: 0.5167 MB / 369.4 MB, free: 12.21 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.1099, allocations: 0.7437 MB / 370.1 MB, free: 11.43 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.1101, allocations: 25.94 kB / 370.1 MB, free: 11.41 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.1102, allocations: 23.42 kB / 370.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1102, allocations: 8 kB / 370.2 MB, free: 11.38 MB / 250.7 MB Notification: Performance of Templates: time 0.008928/0.1192, allocations: 2.922 MB / 373.1 MB, free: 8.469 MB / 250.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_functions.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_functions.c In file included from Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:600:10: warning: implicit declaration of function '_getpid' is invalid in C99 [-Wimplicit-function-declaration] pid = ModelicaRandom_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 ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_functions.c:23:34: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_xorshift128plus((const int*) _stateIn_c89, (int*) _stateOut_c89, &_result_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:363:57: note: passing argument to parameter 'state_in' here MODELICA_EXPORT void ModelicaRandom_xorshift128plus(int state_in[], int state_out[], double* y) { ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_functions.c:108:33: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_xorshift64star((const int*) _stateIn_c89, (int*) _stateOut_c89, &_result_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:312:56: note: passing argument to parameter 'state_in' here MODELICA_EXPORT void ModelicaRandom_xorshift64star(int state_in[], int state_out[], double* y) { ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_functions.c:334:52: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_setInternalState_xorshift1024star((const int*) _rngState_c89, size_of_dimension_base_array(_rngState, ((modelica_integer) 1)), _id_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:530:76: note: passing argument to parameter 'state' here MODELICA_EXPORT void ModelicaRandom_setInternalState_xorshift1024star(int* state, size_t nState, int id) { ^ 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_records.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_records.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_01exo.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_01exo.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_02nls.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_02nls.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_03lsy.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_03lsy.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_04set.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_04set.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_05evt.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_05evt.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_06inz.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_06inz.c Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_06inz.c:127:55: error: use of undeclared identifier 'state' integer_array_create(&tmp1, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_06inz.c:127:101: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp1, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_06inz.c:127:153: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp1, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ 3 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties_06inz.o] Error 1