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.00099/0.0009898, allocations: 170.2 kB / 12.72 MB, free: 2.594 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.214/1.214, allocations: 170.6 MB / 183.8 MB, free: 11.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.001587/0.001587, allocations: 103.5 kB / 223.2 MB, free: 4.039 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.01785/0.01785, allocations: 3.059 MB / 265.5 MB, free: 24.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.19e-05/3.209e-05, allocations: 7.984 kB / 312.8 MB, free: 8.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2069, allocations: 39.38 MB / 352.1 MB, free: 37.39 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07865/0.2856, allocations: 69.58 MB / 421.7 MB, free: 2.008 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.2859, allocations: 83.94 kB / 421.8 MB, free: 1.926 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.02556/0.3114, allocations: 9.226 MB / 431 MB, free: 8.656 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3115, allocations: 4 kB / 431 MB, free: 8.652 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.3115, allocations: 4 kB / 431 MB, free: 8.648 MB / 298.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.000712/0.3122, allocations: 0.4904 MB / 431.5 MB, free: 8.113 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.3122, allocations: 8.031 kB / 431.5 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/0.3125, allocations: 35.8 kB / 431.6 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.3127, allocations: 203.3 kB / 431.8 MB, free: 7.832 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.3127, allocations: 7.953 kB / 431.8 MB, free: 7.824 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.3127, allocations: 12 kB / 431.8 MB, free: 7.812 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.3129, allocations: 125.9 kB / 431.9 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.3129, allocations: 0 / 431.9 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.313, allocations: 8 kB / 431.9 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.313, allocations: 0 / 431.9 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.385e-05/0.3131, allocations: 51.86 kB / 432 MB, free: 7.609 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.3134, allocations: 280.9 kB / 432.2 MB, free: 7.273 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.3136, allocations: 161.9 kB / 432.4 MB, free: 7.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.71e-05/0.3137, allocations: 76.41 kB / 432.5 MB, free: 6.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.3137, allocations: 0 / 432.5 MB, free: 6.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.314, allocations: 163.6 kB / 432.6 MB, free: 6.793 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.402e-06/0.314, allocations: 0 / 432.6 MB, free: 6.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004189/0.3144, allocations: 197.3 kB / 432.8 MB, free: 6.594 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.411e-05/0.3145, allocations: 178.6 kB / 433 MB, free: 6.383 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.3147, allocations: 177.7 kB / 433.2 MB, free: 6.199 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.3147, allocations: 41.69 kB / 433.2 MB, free: 6.152 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.01e-05/0.3148, allocations: 112.1 kB / 433.3 MB, free: 6.039 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.3149, allocations: 43.45 kB / 433.4 MB, free: 5.996 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.19e-05/0.3149, allocations: 4 kB / 433.4 MB, free: 5.992 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.315, allocations: 334.8 kB / 433.7 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.3151, allocations: 71.97 kB / 433.8 MB, free: 5.586 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.3153, allocations: 112.3 kB / 433.9 MB, free: 5.461 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.3154, allocations: 81.58 kB / 433.9 MB, free: 5.383 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3155, allocations: 0 / 433.9 MB, free: 5.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003782/0.3158, allocations: 261.2 kB / 434.2 MB, free: 5.121 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3159, allocations: 4 kB / 434.2 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.3159, allocations: 8.094 kB / 434.2 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3159, allocations: 0 / 434.2 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.3161, allocations: 27.92 kB / 434.2 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3161, allocations: 4 kB / 434.2 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.3162, allocations: 23.8 kB / 434.3 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.3162, allocations: 16 kB / 434.3 MB, free: 5.039 MB / 298.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 () * 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.0001144/0.3164, allocations: 140 kB / 434.4 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.3164, allocations: 19.77 kB / 434.4 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.906e-05/0.3164, allocations: 21.47 kB / 434.5 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3164, allocations: 0 / 434.5 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.3165, allocations: 4 kB / 434.5 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3165, allocations: 3.984 kB / 434.5 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.3167, allocations: 221.6 kB / 434.7 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3167, allocations: 0 / 434.7 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.938e-05/0.3167, allocations: 8 kB / 434.7 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.3168, allocations: 11.95 kB / 434.7 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.3168, allocations: 7.984 kB / 434.7 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3168, allocations: 0 / 434.7 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.3168, allocations: 4 kB / 434.7 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.3172, allocations: 299.9 kB / 435 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.3172, allocations: 96.86 kB / 435.1 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.3173, allocations: 19.92 kB / 435.1 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.548e-05/0.3174, allocations: 7.984 kB / 435.1 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.3174, allocations: 19.97 kB / 435.2 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.3175, allocations: 12 kB / 435.2 MB, free: 4.031 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001032/0.3176, allocations: 128.6 kB / 435.3 MB, free: 3.906 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3176, allocations: 0 / 435.3 MB, free: 3.906 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006165/0.3182, allocations: 167.7 kB / 435.5 MB, free: 3.742 MB / 298.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]) * 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.0008522/0.3191, allocations: 358.5 kB / 435.8 MB, free: 3.395 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003628/0.3194, allocations: 223.4 kB / 436 MB, free: 3.164 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3194, allocations: 4.062 kB / 436 MB, free: 3.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.3196, allocations: 63.92 kB / 436.1 MB, free: 3.098 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.3197, allocations: 12.14 kB / 436.1 MB, free: 3.082 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.3202, allocations: 217.9 kB / 436.3 MB, free: 2.832 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.3205, allocations: 0.7247 MB / 437 MB, free: 2.078 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.611e-05/0.3206, allocations: 25.17 kB / 437.1 MB, free: 2.055 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/0.3207, allocations: 19.44 kB / 437.1 MB, free: 2.035 MB / 298.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3207, allocations: 0 / 437.1 MB, free: 2.035 MB / 298.7 MB Notification: Performance of Templates: time 0.007396/0.3281, allocations: 3.653 MB / 440.7 MB, free: 14.41 MB / 314.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