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.001045/0.001045, allocations: 170.3 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.237/1.237, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.001584/0.001585, allocations: 110.8 kB / 223.2 MB, free: 4.109 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.01837/0.01837, allocations: 3.051 MB / 265.5 MB, free: 24.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.063e-05/3.065e-05, allocations: 4 kB / 312.8 MB, free: 8.992 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.199, allocations: 39.38 MB / 352.1 MB, free: 37.41 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07838/0.2774, allocations: 69.78 MB / 421.9 MB, free: 1.777 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.2777, allocations: 75.95 kB / 422 MB, free: 1.703 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.02294/0.3007, allocations: 7.684 MB / 429.7 MB, free: 10 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3007, allocations: 0 / 429.7 MB, free: 10 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.896e-05/0.3008, allocations: 4 kB / 429.7 MB, free: 9.996 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008519/0.3016, allocations: 498.2 kB / 430.2 MB, free: 9.465 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3017, allocations: 8.031 kB / 430.2 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.3019, allocations: 27.8 kB / 430.2 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.3023, allocations: 258.4 kB / 430.5 MB, free: 9.137 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.3023, allocations: 4 kB / 430.5 MB, free: 9.133 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.3024, allocations: 11.95 kB / 430.5 MB, free: 9.121 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.3027, allocations: 117.4 kB / 430.6 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.3027, allocations: 0 / 430.6 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.3027, allocations: 4 kB / 430.6 MB, free: 8.992 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.3027, allocations: 4 kB / 430.6 MB, free: 8.988 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.3029, allocations: 75.89 kB / 430.7 MB, free: 8.914 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009541/0.3039, allocations: 0.5124 MB / 431.2 MB, free: 8.348 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.3041, allocations: 134.4 kB / 431.3 MB, free: 8.199 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.3043, allocations: 61.69 kB / 431.4 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.3043, allocations: 0 / 431.4 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.3045, allocations: 141 kB / 431.5 MB, free: 7.977 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.914e-06/0.3045, allocations: 3.938 kB / 431.5 MB, free: 7.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003998/0.305, allocations: 177.6 kB / 431.7 MB, free: 7.793 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.305, allocations: 93.03 kB / 431.8 MB, free: 7.684 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.3053, allocations: 193.9 kB / 432 MB, free: 7.484 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.3053, allocations: 33.7 kB / 432 MB, free: 7.445 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.3054, allocations: 120.1 kB / 432.1 MB, free: 7.324 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.3054, allocations: 47.55 kB / 432.2 MB, free: 7.277 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/0.3055, allocations: 0 / 432.2 MB, free: 7.277 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3056, allocations: 330.8 kB / 432.5 MB, free: 6.945 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.3057, allocations: 79.78 kB / 432.6 MB, free: 6.867 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.3059, allocations: 81.69 kB / 432.6 MB, free: 6.781 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.306, allocations: 76.7 kB / 432.7 MB, free: 6.703 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.306, allocations: 0 / 432.7 MB, free: 6.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003528/0.3064, allocations: 225.3 kB / 432.9 MB, free: 6.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3064, allocations: 4 kB / 432.9 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.3064, allocations: 0 / 432.9 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3064, allocations: 4 kB / 432.9 MB, free: 6.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.3066, allocations: 23.97 kB / 433 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.3066, allocations: 11.89 kB / 433 MB, free: 6.438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.3068, allocations: 27.83 kB / 433 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.3069, allocations: 7.984 kB / 433 MB, free: 6.402 MB / 298.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 () * 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 9.633e-05/0.307, allocations: 128.9 kB / 433.1 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.307, allocations: 15.81 kB / 433.2 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.096e-05/0.3071, allocations: 21.64 kB / 433.2 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3071, allocations: 4 kB / 433.2 MB, free: 6.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.3071, allocations: 0 / 433.2 MB, free: 6.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.3071, allocations: 7.953 kB / 433.2 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.3074, allocations: 241.5 kB / 433.4 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3074, allocations: 0 / 433.4 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.3075, allocations: 27.92 kB / 433.4 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.3075, allocations: 0 / 433.4 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.3076, allocations: 7.984 kB / 433.5 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.3076, allocations: 0 / 433.5 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3076, allocations: 0 / 433.5 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/0.3081, allocations: 288.5 kB / 433.7 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.899e-05/0.3082, allocations: 100.8 kB / 433.8 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.3082, allocations: 15.98 kB / 433.9 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.3084, allocations: 15.98 kB / 433.9 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.3085, allocations: 15.88 kB / 433.9 MB, free: 5.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3085, allocations: 11.98 kB / 433.9 MB, free: 5.418 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.3086, allocations: 156.5 kB / 434 MB, free: 5.266 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3087, allocations: 96 / 434 MB, free: 5.266 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005334/0.3092, allocations: 123.8 kB / 434.2 MB, free: 5.145 MB / 298.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]) * 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.0008054/0.31, allocations: 269.4 kB / 434.4 MB, free: 4.883 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000338/0.3104, allocations: 185.7 kB / 434.6 MB, free: 4.695 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3104, allocations: 0 / 434.6 MB, free: 4.695 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.3105, allocations: 63.92 kB / 434.7 MB, free: 4.633 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.3107, allocations: 15.98 kB / 434.7 MB, free: 4.617 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006115/0.3113, allocations: 272.5 kB / 435 MB, free: 4.328 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.3116, allocations: 0.7364 MB / 435.7 MB, free: 3.562 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.3118, allocations: 29.19 kB / 435.7 MB, free: 3.527 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.622e-05/0.3118, allocations: 19.42 kB / 435.7 MB, free: 3.512 MB / 298.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3118, allocations: 0 / 435.7 MB, free: 3.512 MB / 298.7 MB Notification: Performance of Templates: time 0.007375/0.3192, allocations: 3.166 MB / 438.9 MB, free: 392 kB / 298.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 "-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_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 "-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_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) { ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_functions.c:367:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_u == 0.0)) ~~~^~~~~~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_functions.c:367:14: note: remove extraneous parentheses around the comparison to silence this warning if((_u == 0.0)) ~ ^ ~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_functions.c:367: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_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 "-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_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 "-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_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 "-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_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 "-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_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 "-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_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 "-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_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)[calc_base_index_dims_subs(1, stateSize, ((modelica_integer) 1))])), 1, stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_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.DrydenContinuousTurbulence_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); ^ 3 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_06inz.o] Error 1