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.001023/0.001023, allocations: 160.5 kB / 16.11 MB, free: 5.68 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.356/1.356, allocations: 170.8 MB / 187.6 MB, free: 10.46 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.001621/0.001621, allocations: 106 kB / 227.2 MB, free: 2.855 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.01904/0.01904, allocations: 3.11 MB / 269.8 MB, free: 23.14 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000578/0.0005781, allocations: 12 kB / 319.8 MB, free: 4.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3111, allocations: 39.39 MB / 359.2 MB, free: 37.41 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1015/0.4126, allocations: 69.69 MB / 428.9 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.4129, allocations: 87.95 kB / 429 MB, free: 0.5352 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.02588/0.4388, allocations: 9.297 MB / 438.3 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4388, allocations: 0 / 438.3 MB, free: 7.172 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.4389, allocations: 4 kB / 438.3 MB, free: 7.168 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.001073/0.4399, allocations: 0.5145 MB / 438.8 MB, free: 6.602 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.44, allocations: 8.031 kB / 438.8 MB, free: 6.594 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002697/0.4403, allocations: 36.73 kB / 438.9 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.4405, allocations: 204.2 kB / 439.1 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/0.4405, allocations: 4.375 kB / 439.1 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.4406, allocations: 8.375 kB / 439.1 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.4409, allocations: 150.4 kB / 439.2 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4409, allocations: 4.125 kB / 439.2 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.4409, allocations: 7.922 kB / 439.2 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.441, allocations: 4 kB / 439.2 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.4412, allocations: 75.88 kB / 439.3 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004528/0.4416, allocations: 280.9 kB / 439.6 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/0.4421, allocations: 209 kB / 439.8 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.4423, allocations: 80.27 kB / 439.9 MB, free: 5.371 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.4423, allocations: 7.938 kB / 439.9 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003403/0.4427, allocations: 175.5 kB / 440.1 MB, free: 5.164 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.954e-06/0.4427, allocations: 0 / 440.1 MB, free: 5.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007755/0.4434, allocations: 297.6 kB / 440.3 MB, free: 4.867 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.4436, allocations: 170.2 kB / 440.5 MB, free: 4.664 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.4438, allocations: 186.6 kB / 440.7 MB, free: 4.469 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.4439, allocations: 49.69 kB / 440.7 MB, free: 4.414 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.38e-05/0.444, allocations: 104.1 kB / 440.8 MB, free: 4.309 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.238e-05/0.4441, allocations: 55.47 kB / 440.9 MB, free: 4.254 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/0.4441, allocations: 4 kB / 440.9 MB, free: 4.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4443, allocations: 334.8 kB / 441.2 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.4445, allocations: 79.95 kB / 441.3 MB, free: 3.836 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.4447, allocations: 141.2 kB / 441.4 MB, free: 3.684 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.4451, allocations: 215.8 kB / 441.7 MB, free: 3.461 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4451, allocations: 0 / 441.7 MB, free: 3.461 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005879/0.4457, allocations: 275.5 kB / 441.9 MB, free: 3.188 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.4458, allocations: 11.94 kB / 441.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.4458, allocations: 96 / 441.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.4458, allocations: 8 kB / 441.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.446, allocations: 27.97 kB / 442 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.446, allocations: 4 kB / 442 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.4461, allocations: 19.81 kB / 442 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.4461, allocations: 16.39 kB / 442 MB, free: 3.102 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 () * 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.0001656/0.4463, allocations: 150.1 kB / 442.2 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.4464, allocations: 19.75 kB / 442.2 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.4464, allocations: 17.34 kB / 442.2 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4464, allocations: 0 / 442.2 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.4464, allocations: 4 kB / 442.2 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.4464, allocations: 3.984 kB / 442.2 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.4467, allocations: 217.6 kB / 442.4 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4467, allocations: 4 kB / 442.4 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.554e-05/0.4468, allocations: 11.94 kB / 442.4 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.4468, allocations: 11.94 kB / 442.4 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.4468, allocations: 11.98 kB / 442.4 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.4468, allocations: 4 kB / 442.5 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4468, allocations: 4 kB / 442.5 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/0.4473, allocations: 285.8 kB / 442.7 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-05/0.4474, allocations: 100.8 kB / 442.8 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.494e-05/0.4475, allocations: 19.92 kB / 442.9 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.4476, allocations: 11.98 kB / 442.9 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.4476, allocations: 19.92 kB / 442.9 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.4477, allocations: 11.98 kB / 442.9 MB, free: 2.109 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001315/0.4478, allocations: 135.2 kB / 443 MB, free: 1.977 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4478, allocations: 0 / 443 MB, free: 1.977 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007567/0.4486, allocations: 167.7 kB / 443.2 MB, free: 1.812 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]) * 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.001318/0.4499, allocations: 342.8 kB / 443.5 MB, free: 1.473 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000562/0.4505, allocations: 259.2 kB / 443.8 MB, free: 1.207 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4505, allocations: 0 / 443.8 MB, free: 1.207 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.4507, allocations: 75.89 kB / 443.9 MB, free: 1.133 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.451, allocations: 23.23 kB / 443.9 MB, free: 1.113 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006455/0.4517, allocations: 325.8 kB / 444.2 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.4521, allocations: 0.7128 MB / 444.9 MB, free: 12 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.4522, allocations: 21.66 kB / 444.9 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.4523, allocations: 23.42 kB / 445 MB, free: 15.96 MB / 314.7 MB Notification: Performance of SimCode: time 8.92e-07/0.4523, allocations: 0 / 445 MB, free: 15.96 MB / 314.7 MB Notification: Performance of Templates: time 0.008639/0.4609, allocations: 3.835 MB / 448.8 MB, free: 12.14 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 -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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:111: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:196: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:426: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 -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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)[((modelica_integer) 1) - 1])), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:37:106: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp0, ((modelica_integer*)&((&state)[((modelica_integer) 1) - 1])), 1, (_index_t)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)[((modelica_integer) 1) - 1])), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.c:192:106: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp4, ((modelica_integer*)&((&state)[((modelica_integer) 1) - 1])), 1, (_index_t)stateSize); ^ 4 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Distributions_06inz.o] Error 1