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.001473/0.001473, allocations: 169.1 kB / 7.643 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.198/1.198, allocations: 170.7 MB / 178.7 MB, free: 7.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.001532/0.001532, allocations: 99.73 kB / 218 MB, free: 15.34 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.01883/0.01883, allocations: 3.063 MB / 260.2 MB, free: 5.062 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.675e-05/1.657e-05, allocations: 1.219 kB / 305.8 MB, free: 69.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05889/0.05892, allocations: 39.4 MB / 345.2 MB, free: 32.99 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2299/0.2888, allocations: 68.9 MB / 414.1 MB, free: 17.84 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.2891, allocations: 81.67 kB / 414.2 MB, free: 17.84 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.02261/0.3117, allocations: 9.18 MB / 423.3 MB, free: 16.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3117, allocations: 3.875 kB / 423.4 MB, free: 16.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3117, allocations: 4 kB / 423.4 MB, free: 16.93 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.0005601/0.3123, allocations: 0.4932 MB / 423.8 MB, free: 16.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.3123, allocations: 13.64 kB / 423.9 MB, free: 16.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.3125, allocations: 31.34 kB / 423.9 MB, free: 16.48 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.3127, allocations: 203.4 kB / 424.1 MB, free: 16.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.3127, allocations: 9.641 kB / 424.1 MB, free: 16.26 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.3127, allocations: 7.844 kB / 424.1 MB, free: 16.26 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.321e-05/0.3128, allocations: 41.81 kB / 424.1 MB, free: 16.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.313, allocations: 129.2 kB / 424.3 MB, free: 16.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.313, allocations: 0.7031 kB / 424.3 MB, free: 16.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.313, allocations: 8.516 kB / 424.3 MB, free: 16.17 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.313, allocations: 0 / 424.3 MB, free: 16.17 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002131/0.3133, allocations: 247.6 kB / 424.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.3134, allocations: 154 kB / 424.7 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.228e-05/0.3135, allocations: 69.12 kB / 424.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.3135, allocations: 0.7031 kB / 424.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001862/0.3137, allocations: 168.4 kB / 424.9 MB, free: 15.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.3137, allocations: 0 / 424.9 MB, free: 15.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007119/0.3144, allocations: 239.5 kB / 425.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.3145, allocations: 168.7 kB / 425.3 MB, free: 15.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.3146, allocations: 173.8 kB / 425.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.3146, allocations: 40.86 kB / 425.5 MB, free: 15.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.3147, allocations: 114.1 kB / 425.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.3147, allocations: 41.88 kB / 425.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/0.3147, allocations: 0.7031 kB / 425.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.066e-05/0.3148, allocations: 327.7 kB / 426 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.413e-05/0.3149, allocations: 69.94 kB / 426.1 MB, free: 14.92 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.315, allocations: 110 kB / 426.2 MB, free: 14.88 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004862/0.3155, allocations: 120.7 kB / 426.3 MB, free: 14.88 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3155, allocations: 3.844 kB / 426.3 MB, free: 14.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000649/0.3162, allocations: 286.4 kB / 426.6 MB, free: 14.81 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.3162, allocations: 7.906 kB / 426.6 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.3162, allocations: 4.5 kB / 426.6 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3162, allocations: 3.875 kB / 426.6 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.3164, allocations: 24.27 kB / 426.6 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3164, allocations: 0 / 426.6 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.023e-05/0.3165, allocations: 17.94 kB / 426.6 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.3165, allocations: 9.094 kB / 426.6 MB, free: 14.8 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 () * 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 8.097e-05/0.3166, allocations: 133.7 kB / 426.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.3166, allocations: 20.17 kB / 426.8 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.3167, allocations: 22.86 kB / 426.8 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3167, allocations: 0 / 426.8 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3167, allocations: 4.484 kB / 426.8 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3167, allocations: 4.547 kB / 426.8 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.3168, allocations: 192.9 kB / 427 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3168, allocations: 0 / 427 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.101e-05/0.3169, allocations: 23.34 kB / 427 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3169, allocations: 3.938 kB / 427 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.3169, allocations: 5.188 kB / 427 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.317, allocations: 9 kB / 427 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.317, allocations: 0 / 427 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006018/0.3176, allocations: 332 kB / 427.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.3176, allocations: 95.36 kB / 427.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.3177, allocations: 22.48 kB / 427.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.3178, allocations: 10.41 kB / 427.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.3178, allocations: 18.06 kB / 427.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.3178, allocations: 13.75 kB / 427.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.106e-05/0.3179, allocations: 131 kB / 427.7 MB, free: 14.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3179, allocations: 0 / 427.7 MB, free: 14.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004952/0.3184, allocations: 160.9 kB / 427.8 MB, free: 14.07 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]) * 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.0006968/0.3191, allocations: 355 kB / 428.2 MB, free: 13.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.3194, allocations: 212.5 kB / 428.4 MB, free: 13.83 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3194, allocations: 0 / 428.4 MB, free: 13.83 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-05/0.3195, allocations: 61.22 kB / 428.4 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.3196, allocations: 16.77 kB / 428.4 MB, free: 13.81 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.32, allocations: 222.2 kB / 428.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.3201, allocations: 0.7181 MB / 429.4 MB, free: 12.97 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.304e-05/0.3202, allocations: 23.98 kB / 429.4 MB, free: 12.97 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.3202, allocations: 19.92 kB / 429.4 MB, free: 12.96 MB / 282.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3202, allocations: 4 kB / 429.4 MB, free: 12.96 MB / 282.7 MB Notification: Performance of Templates: time 0.006058/0.3263, allocations: 3.546 MB / 433 MB, free: 12.61 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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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:6: 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:103: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:184: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:404: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:513:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_u == 0.0)) ~~~^~~~~~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_functions.c:513: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:513: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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 '$Pstate'; did you mean 'setstate'? integer_array_create(&tmp0, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^~~~~~~ setstate /usr/include/stdlib.h:415:14: note: 'setstate' declared here extern char *setstate (char *__statebuf) __THROW __nonnull ((1)); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:37:93: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp0, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:37:137: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp0, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:192:55: error: use of undeclared identifier '$Pstate'; did you mean 'setstate'? integer_array_create(&tmp4, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^~~~~~~ setstate /usr/include/stdlib.h:415:14: note: 'setstate' declared here extern char *setstate (char *__statebuf) __THROW __nonnull ((1)); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:192:93: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp4, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:192:137: error: use of undeclared identifier '$PstateSize' integer_array_create(&tmp4, ((modelica_integer*)&((&$Pstate)[calc_base_index_dims_subs(1, $PstateSize, ((modelica_integer) 1))])), 1, $PstateSize); ^ 6 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.o] Error 1