Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions.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.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007813/0.007813, allocations: 165.6 kB / 15.11 MB, free: 5.973 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.199/1.199, allocations: 170.8 MB / 186.6 MB, free: 1.035 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.001634/0.001634, allocations: 121.9 kB / 226.2 MB, free: 10.09 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.03103/0.03103, allocations: 3.112 MB / 268.7 MB, free: 15.45 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003642, allocations: 12 kB / 318.6 MB, free: 63.26 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07325/0.07363, allocations: 39.39 MB / 358 MB, free: 23.98 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.27/0.3437, allocations: 69.65 MB / 427.7 MB, free: 18.52 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.344, allocations: 80.55 kB / 427.7 MB, free: 18.52 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Math/Random/Interfaces/random.mo:7:3-7:71:writable] Warning: Unused input variable stateSize in function .Modelica_Noise.Math.Random.Generators.Xorshift64star.random. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Math/Random/Interfaces/random.mo:7:3-7:71:writable] Warning: Unused input variable stateSize in function .Modelica_Noise.Math.Random.Generators.Xorshift128plus.random. Notification: Performance of FrontEnd - DAE generated: time 0.02484/0.3689, allocations: 9.283 MB / 437 MB, free: 17.54 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3689, allocations: 0 / 437 MB, free: 17.54 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.3689, allocations: 7.875 kB / 437 MB, free: 17.54 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009774/0.3699, allocations: 0.526 MB / 437.6 MB, free: 17.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.37, allocations: 7.75 kB / 437.6 MB, free: 17.05 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002607/0.3702, allocations: 31.11 kB / 437.6 MB, free: 17.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.3705, allocations: 201.8 kB / 437.8 MB, free: 16.83 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.3705, allocations: 7.703 kB / 437.8 MB, free: 16.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.3705, allocations: 15.88 kB / 437.8 MB, free: 16.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.3708, allocations: 146.6 kB / 438 MB, free: 16.71 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3708, allocations: 3.969 kB / 438 MB, free: 16.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.3708, allocations: 0 / 438 MB, free: 16.71 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3709, allocations: 4 kB / 438 MB, free: 16.71 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.3711, allocations: 73.58 kB / 438 MB, free: 16.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002636/0.3713, allocations: 279.8 kB / 438.3 MB, free: 16.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/0.3716, allocations: 200 kB / 438.5 MB, free: 16.28 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.3717, allocations: 7.891 kB / 438.5 MB, free: 16.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002701/0.3719, allocations: 175.9 kB / 438.7 MB, free: 16.15 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 1.994e-06/0.372, allocations: 0 / 438.7 MB, free: 16.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006931/0.3727, allocations: 455.2 kB / 439.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.411e-05/0.3727, allocations: 172.5 kB / 439.3 MB, free: 15.69 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.3729, allocations: 167.1 kB / 439.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.373, allocations: 48.5 kB / 439.5 MB, free: 15.54 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.373, allocations: 109.4 kB / 439.6 MB, free: 15.45 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/0.3731, allocations: 49.02 kB / 439.7 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.3731, allocations: 3.75 kB / 439.7 MB, free: 15.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.76e-05/0.3732, allocations: 337.7 kB / 440 MB, free: 15.1 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.3734, allocations: 84.97 kB / 440.1 MB, free: 15.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.3735, allocations: 138.5 kB / 440.2 MB, free: 15.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.3737, allocations: 97.56 kB / 440.3 MB, free: 15.01 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3738, allocations: 0 / 440.3 MB, free: 15.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004502/0.3742, allocations: 292.6 kB / 440.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3742, allocations: 3.875 kB / 440.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.3743, allocations: 7.969 kB / 440.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.3743, allocations: 0 / 440.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.3744, allocations: 27.45 kB / 440.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3744, allocations: 0 / 440.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.3746, allocations: 23.58 kB / 440.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.3746, allocations: 7.75 kB / 440.7 MB, free: 14.89 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 29 (n,$whenCondition2,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,truncatedNormalNoise.localSeed,$whenCondition1,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,uniformNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 21 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0001361/0.3747, allocations: 154.2 kB / 440.8 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.3748, allocations: 19.33 kB / 440.8 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.3748, allocations: 24.58 kB / 440.9 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3748, allocations: 3.875 kB / 440.9 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3749, allocations: 0 / 440.9 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3749, allocations: 0 / 440.9 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.3751, allocations: 227.3 kB / 441.1 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3751, allocations: 0 / 441.1 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.396e-05/0.3751, allocations: 19.7 kB / 441.1 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.3752, allocations: 7.828 kB / 441.1 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.3752, allocations: 3.984 kB / 441.1 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3752, allocations: 3.75 kB / 441.1 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3752, allocations: 4 kB / 441.1 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.3756, allocations: 326.5 kB / 441.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.3757, allocations: 96.81 kB / 441.5 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.3757, allocations: 19.36 kB / 441.6 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.393e-05/0.3758, allocations: 15.38 kB / 441.6 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.3759, allocations: 15.5 kB / 441.6 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.3759, allocations: 3.875 kB / 441.6 MB, free: 14.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.581e-05/0.376, allocations: 138.8 kB / 441.7 MB, free: 14.08 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.376, allocations: 0 / 441.7 MB, free: 14.08 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000663/0.3767, allocations: 163.4 kB / 441.9 MB, free: 14.02 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (n,truncatedNormalNoise.localSeed,$whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,uniformNoise.localSeed,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0009966/0.3777, allocations: 349.1 kB / 442.2 MB, free: 13.83 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004569/0.3782, allocations: 264.1 kB / 442.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3782, allocations: 0 / 442.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.3784, allocations: 80.19 kB / 442.6 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/0.3785, allocations: 15.59 kB / 442.6 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.3791, allocations: 322 kB / 442.9 MB, free: 13.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.3793, allocations: 0.7197 MB / 443.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.77e-05/0.3794, allocations: 29.48 kB / 443.6 MB, free: 12.71 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.3794, allocations: 19.19 kB / 443.7 MB, free: 12.71 MB / 282.7 MB Notification: Performance of SimCode: time 4e-07/0.3794, allocations: 0 / 443.7 MB, free: 12.71 MB / 282.7 MB Notification: Performance of Templates: time 0.006974/0.3864, allocations: 3.653 MB / 447.3 MB, free: 10.88 MB / 282.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions.makefile make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions.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_Distributions -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.Distributions.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions.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_Distributions -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.Distributions_functions.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_functions.c In file included from Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_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.Distributions_functions.c:110: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.Distributions_functions.c:195: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.Distributions_functions.c:425: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) { ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_functions.c:543:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_u == 0.0)) ~~~^~~~~~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_functions.c:543:14: note: remove extraneous parentheses around the comparison to silence this warning if((_u == 0.0)) ~ ^ ~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_functions.c:543:14: note: use '=' to turn this equality comparison into an assignment if((_u == 0.0)) ^~ = 5 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_Distributions -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.Distributions_records.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_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_Distributions -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.Distributions_01exo.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_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_Distributions -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.Distributions_02nls.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_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_Distributions -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.Distributions_03lsy.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_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_Distributions -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.Distributions_04set.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_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_Distributions -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.Distributions_05evt.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_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_Distributions -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.Distributions_06inz.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:37:55: error: use of undeclared identifier 'state' integer_array_create(&tmp0, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, stateSize, ((modelica_integer) 1))])), 1, stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:37:91: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp0, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, stateSize, ((modelica_integer) 1))])), 1, stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:37:133: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp0, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, stateSize, ((modelica_integer) 1))])), 1, stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:192:55: error: use of undeclared identifier 'state' integer_array_create(&tmp4, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, stateSize, ((modelica_integer) 1))])), 1, stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:192:91: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp4, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, stateSize, ((modelica_integer) 1))])), 1, stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:192:133: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp4, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, stateSize, ((modelica_integer) 1))])), 1, stateSize); ^ 6 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.o] Error 1