Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.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.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001539/0.001539, allocations: 175.8 kB / 16.11 MB, free: 5.121 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.207/1.207, allocations: 170.8 MB / 187.7 MB, free: 1.023 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.001522/0.001522, allocations: 109.9 kB / 227.2 MB, free: 9.992 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.02045/0.02045, allocations: 3.116 MB / 269.8 MB, free: 15.33 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.0003688, allocations: 12 kB / 319.8 MB, free: 62.96 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06849/0.06887, allocations: 39.39 MB / 359.2 MB, free: 23.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2607/0.3296, allocations: 69.91 MB / 429.1 MB, free: 18.57 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.3299, allocations: 79.42 kB / 429.2 MB, free: 18.57 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.02285/0.3528, allocations: 7.718 MB / 436.9 MB, free: 17.78 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3528, allocations: 0 / 436.9 MB, free: 17.78 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.3528, allocations: 3.875 kB / 436.9 MB, free: 17.78 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001116/0.3539, allocations: 0.5469 MB / 437.5 MB, free: 17.33 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.354, allocations: 7.875 kB / 437.5 MB, free: 17.33 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.3542, allocations: 27.67 kB / 437.5 MB, free: 17.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.3546, allocations: 280.1 kB / 437.8 MB, free: 17.1 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.3546, allocations: 7.594 kB / 437.8 MB, free: 17.1 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.3547, allocations: 11.56 kB / 437.8 MB, free: 17.1 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.3549, allocations: 129.4 kB / 437.9 MB, free: 17.05 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.3549, allocations: 4.094 kB / 437.9 MB, free: 17.04 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.355, allocations: 11.44 kB / 438 MB, free: 17.04 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.355, allocations: 0 / 438 MB, free: 17.04 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.3552, allocations: 83.64 kB / 438 MB, free: 17.04 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006927/0.3559, allocations: 0.5043 MB / 438.5 MB, free: 16.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.3561, allocations: 153.5 kB / 438.7 MB, free: 16.62 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.3562, allocations: 72.86 kB / 438.8 MB, free: 16.61 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.3562, allocations: 3.938 kB / 438.8 MB, free: 16.6 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.3564, allocations: 142.4 kB / 438.9 MB, free: 16.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.3565, allocations: 3.938 kB / 438.9 MB, free: 16.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004915/0.357, allocations: 250.9 kB / 439.2 MB, free: 16.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.357, allocations: 84.44 kB / 439.2 MB, free: 16.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.3573, allocations: 247.3 kB / 439.5 MB, free: 16.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.3574, allocations: 37.09 kB / 439.5 MB, free: 16.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.3575, allocations: 117.1 kB / 439.6 MB, free: 16.13 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.883e-05/0.3575, allocations: 46.48 kB / 439.7 MB, free: 16.11 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.3576, allocations: 3.938 kB / 439.7 MB, free: 16.1 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.069e-05/0.3576, allocations: 330 kB / 440 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.3578, allocations: 88.83 kB / 440.1 MB, free: 15.76 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.3579, allocations: 89.19 kB / 440.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.3582, allocations: 182.4 kB / 440.4 MB, free: 15.69 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3582, allocations: 0 / 440.4 MB, free: 15.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003707/0.3586, allocations: 239.2 kB / 440.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3586, allocations: 5 kB / 440.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.3586, allocations: 3.875 kB / 440.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3586, allocations: 0 / 440.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.3588, allocations: 27.27 kB / 440.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3588, allocations: 0 / 440.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.359, allocations: 39.12 kB / 440.7 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.359, allocations: 7.891 kB / 440.7 MB, free: 15.58 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,whiteNoise.localSeed,$PRE.whiteNoise.state[1],whiteNoise.state[1],$PRE.whiteNoise.state[2],whiteNoise.state[2],$PRE.whiteNoise.state[3],whiteNoise.state[3],$PRE.whiteNoise.state[4],whiteNoise.state[4],$PRE.whiteNoise.r,whiteNoise.r,$PRE.whiteNoise.r_raw,whiteNoise.r_raw) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001475/0.3592, allocations: 138.2 kB / 440.8 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/0.3593, allocations: 23.5 kB / 440.8 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.616e-05/0.3593, allocations: 28.42 kB / 440.9 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3593, allocations: 0 / 440.9 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3593, allocations: 3.875 kB / 440.9 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3593, allocations: 0 / 440.9 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.3595, allocations: 245.8 kB / 441.1 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3596, allocations: 3.938 kB / 441.1 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.3597, allocations: 19.52 kB / 441.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3597, allocations: 0 / 441.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.3598, allocations: 7.859 kB / 441.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3598, allocations: 0 / 441.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3598, allocations: 0 / 441.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004545/0.3602, allocations: 311.6 kB / 441.4 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.3603, allocations: 104.4 kB / 441.5 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.3604, allocations: 7.656 kB / 441.5 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.3605, allocations: 19.59 kB / 441.6 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.3606, allocations: 7.953 kB / 441.6 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.3606, allocations: 15.67 kB / 441.6 MB, free: 14.94 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002641/0.3609, allocations: 183.1 kB / 441.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3609, allocations: 0 / 441.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000546/0.3615, allocations: 125 kB / 441.9 MB, free: 14.8 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 8 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw,whiteNoise.localSeed) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007386/0.3622, allocations: 270.6 kB / 442.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003493/0.3626, allocations: 195.4 kB / 442.3 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3626, allocations: 0 / 442.3 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.3627, allocations: 76 kB / 442.4 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.363, allocations: 22.77 kB / 442.4 MB, free: 14.56 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007473/0.3637, allocations: 400.8 kB / 442.8 MB, free: 14.28 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.3639, allocations: 0.731 MB / 443.6 MB, free: 13.56 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.902e-05/0.364, allocations: 32.78 kB / 443.6 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.706e-05/0.3641, allocations: 22.89 kB / 443.6 MB, free: 13.54 MB / 282.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3641, allocations: 0 / 443.6 MB, free: 13.54 MB / 282.7 MB Notification: Performance of Templates: time 0.006327/0.3704, allocations: 3.248 MB / 446.9 MB, free: 11.91 MB / 282.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.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_DrydenContinuousTurbulence -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.DrydenContinuousTurbulence.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.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_DrydenContinuousTurbulence -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.DrydenContinuousTurbulence_functions.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_functions.c In file included from Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_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.DrydenContinuousTurbulence_functions.c:23:34: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_xorshift128plus((const int*) _stateIn_c89, (int*) _stateOut_c89, &_result_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:363:57: note: passing argument to parameter 'state_in' here MODELICA_EXPORT void ModelicaRandom_xorshift128plus(int state_in[], int state_out[], double* y) { ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_functions.c:108:33: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_xorshift64star((const int*) _stateIn_c89, (int*) _stateOut_c89, &_result_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:312:56: note: passing argument to parameter 'state_in' here MODELICA_EXPORT void ModelicaRandom_xorshift64star(int state_in[], int state_out[], double* y) { ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_functions.c:338: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_DrydenContinuousTurbulence -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.DrydenContinuousTurbulence_records.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_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_DrydenContinuousTurbulence -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.DrydenContinuousTurbulence_01exo.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_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_DrydenContinuousTurbulence -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.DrydenContinuousTurbulence_02nls.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_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_DrydenContinuousTurbulence -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.DrydenContinuousTurbulence_03lsy.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_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_DrydenContinuousTurbulence -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.DrydenContinuousTurbulence_04set.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_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_DrydenContinuousTurbulence -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.DrydenContinuousTurbulence_05evt.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_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_DrydenContinuousTurbulence -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.DrydenContinuousTurbulence_06inz.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_06inz.c Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_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.DrydenContinuousTurbulence_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); ^ 2 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_06inz.o] Error 1