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") Notification: Performance of loadModel(Modelica_Noise): time 1.856/1.856, allocations: 174.3 MB / 188.8 MB, free: 15.07 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.599e-05/3.607e-05, allocations: 0 / 231.9 MB, free: 4.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08583/0.0859, allocations: 39.4 MB / 271.3 MB, free: 12.77 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.002326/0.08828, allocations: 1.326 MB / 272.7 MB, free: 11.42 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.09088, allocations: 1.101 MB / 273.8 MB, free: 10.31 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.09101, allocations: 0 / 273.8 MB, free: 10.31 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.09133, allocations: 39.77 kB / 273.8 MB, free: 10.27 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003708/0.09172, allocations: 79.75 kB / 273.9 MB, free: 10.2 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.09225, allocations: 151.5 kB / 274 MB, free: 10.05 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.09244, allocations: 67.84 kB / 274.1 MB, free: 9.98 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.321e-05/0.09253, allocations: 4 kB / 274.1 MB, free: 9.977 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.09273, allocations: 67.81 kB / 274.2 MB, free: 9.91 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.09294, allocations: 83.77 kB / 274.2 MB, free: 9.828 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007703/0.09373, allocations: 299.5 kB / 274.5 MB, free: 9.535 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.806e-05/0.09384, allocations: 16 kB / 274.5 MB, free: 9.52 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.09397, allocations: 39.89 kB / 274.6 MB, free: 9.48 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.271e-05/0.09403, allocations: 8 kB / 274.6 MB, free: 9.473 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005725/0.09462, allocations: 251.6 kB / 274.8 MB, free: 9.227 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.09463, allocations: 0 / 274.8 MB, free: 9.227 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.23e-06/0.09465, allocations: 4 kB / 274.8 MB, free: 9.223 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.09467, allocations: 3.938 kB / 274.8 MB, free: 9.219 MB / 234.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.001023/0.0957, allocations: 470.9 kB / 275.3 MB, free: 8.711 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.09576, allocations: 12.03 kB / 275.3 MB, free: 8.699 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002888/0.09606, allocations: 23.8 kB / 275.3 MB, free: 8.676 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008787/0.09696, allocations: 306.2 kB / 275.6 MB, free: 8.336 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.097, allocations: 4 kB / 275.6 MB, free: 8.332 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.09705, allocations: 8 kB / 275.7 MB, free: 8.324 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.09741, allocations: 127.3 kB / 275.8 MB, free: 8.188 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.09744, allocations: 0 / 275.8 MB, free: 8.188 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.09747, allocations: 7.984 kB / 275.8 MB, free: 8.18 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.09748, allocations: 0 / 275.8 MB, free: 8.18 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.09782, allocations: 87.88 kB / 275.9 MB, free: 8.094 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.09906, allocations: 0.5241 MB / 276.4 MB, free: 7.516 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004406/0.09952, allocations: 149 kB / 276.5 MB, free: 7.352 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.09956, allocations: 8 kB / 276.5 MB, free: 7.344 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003446/0.09991, allocations: 137.1 kB / 276.7 MB, free: 7.191 MB / 234.7 MB Notification: Performance of pre-optimization done (n=15): time 1.934e-06/0.09993, allocations: 0 / 276.7 MB, free: 7.191 MB / 234.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008611/0.1008, allocations: 334.9 kB / 277 MB, free: 6.84 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.1009, allocations: 89.09 kB / 277.1 MB, free: 6.734 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007719/0.1017, allocations: 241.8 kB / 277.3 MB, free: 6.488 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.628e-05/0.1017, allocations: 37.7 kB / 277.4 MB, free: 6.445 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1018, allocations: 120.3 kB / 277.5 MB, free: 6.324 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.162e-05/0.1019, allocations: 47.36 kB / 277.5 MB, free: 6.277 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.698e-05/0.102, allocations: 4 kB / 277.5 MB, free: 6.273 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1021, allocations: 342.8 kB / 277.9 MB, free: 5.93 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.1024, allocations: 75.95 kB / 277.9 MB, free: 5.855 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.1027, allocations: 103.6 kB / 278 MB, free: 5.75 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.103, allocations: 99.53 kB / 278.1 MB, free: 5.656 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.103, allocations: 3.938 kB / 278.1 MB, free: 5.652 MB / 234.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006767/0.1037, allocations: 235.8 kB / 278.4 MB, free: 5.418 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.1037, allocations: 4 kB / 278.4 MB, free: 5.414 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.1037, allocations: 8 kB / 278.4 MB, free: 5.406 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.1038, allocations: 3.953 kB / 278.4 MB, free: 5.402 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.1041, allocations: 27.92 kB / 278.4 MB, free: 5.375 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1041, allocations: 4.031 kB / 278.4 MB, free: 5.371 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005774/0.1047, allocations: 59.77 kB / 278.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.1047, allocations: 4 kB / 278.5 MB, free: 5.309 MB / 234.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): 19 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0001763/0.1049, allocations: 135.1 kB / 278.6 MB, free: 5.168 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.105, allocations: 15.81 kB / 278.6 MB, free: 5.152 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.962e-05/0.105, allocations: 29.45 kB / 278.7 MB, free: 5.121 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.1051, allocations: 4 kB / 278.7 MB, free: 5.117 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1051, allocations: 3.953 kB / 278.7 MB, free: 5.113 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1051, allocations: 0 / 278.7 MB, free: 5.113 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.1054, allocations: 245.5 kB / 278.9 MB, free: 4.824 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1054, allocations: 0 / 278.9 MB, free: 4.824 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.1057, allocations: 15.98 kB / 278.9 MB, free: 4.809 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.1057, allocations: 4 kB / 278.9 MB, free: 4.805 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.1057, allocations: 0 / 278.9 MB, free: 4.805 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/0.1057, allocations: 7.984 kB / 278.9 MB, free: 4.797 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1057, allocations: 4 kB / 278.9 MB, free: 4.793 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008141/0.1066, allocations: 328.9 kB / 279.3 MB, free: 4.445 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/0.1067, allocations: 88.92 kB / 279.3 MB, free: 4.34 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.1067, allocations: 16.14 kB / 279.4 MB, free: 4.324 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.1071, allocations: 23.91 kB / 279.4 MB, free: 4.301 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.1071, allocations: 11.94 kB / 279.4 MB, free: 4.289 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.1072, allocations: 4 kB / 279.4 MB, free: 4.285 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0005285/0.1077, allocations: 194.7 kB / 279.6 MB, free: 4.094 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1077, allocations: 0 / 279.6 MB, free: 4.094 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005102/0.1083, allocations: 91.98 kB / 279.7 MB, free: 4.004 MB / 234.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.0007828/0.109, allocations: 236 kB / 279.9 MB, free: 3.773 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0005959/0.1097, allocations: 168 kB / 280.1 MB, free: 3.609 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1097, allocations: 4 kB / 280.1 MB, free: 3.605 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.1099, allocations: 67.91 kB / 280.1 MB, free: 3.539 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.1102, allocations: 15.98 kB / 280.2 MB, free: 3.523 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.1113, allocations: 413 kB / 280.6 MB, free: 3.09 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.1116, allocations: 0.736 MB / 281.3 MB, free: 2.328 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0001796/0.1118, allocations: 37.39 kB / 281.3 MB, free: 2.293 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.927e-05/0.1119, allocations: 23.42 kB / 281.4 MB, free: 2.27 MB / 234.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1119, allocations: 0 / 281.4 MB, free: 2.27 MB / 234.7 MB Notification: Performance of Templates: time 0.01012/0.1221, allocations: 2.95 MB / 284.3 MB, free: 15.32 MB / 250.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/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 -mfpmath=sse -fno-dollars-in-identifiers "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/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: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/Resources/Include/ModelicaRandom.c:600:10: warning: implicit declaration of function '_getpid' is invalid in C99 [-Wimplicit-function-declaration] pid = ModelicaRandom_getpid(); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/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); ^~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/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); ^~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/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:334: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/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:365:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_u == 0.0)) ~~~^~~~~~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_functions.c:365: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:365:14: note: use '=' to turn this equality comparison into an assignment if((_u == 0.0)) ^~ = 5 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/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 -mfpmath=sse -fno-dollars-in-identifiers "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/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 -mfpmath=sse -fno-dollars-in-identifiers "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/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 -mfpmath=sse -fno-dollars-in-identifiers "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/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 -mfpmath=sse -fno-dollars-in-identifiers "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/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 -mfpmath=sse -fno-dollars-in-identifiers "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/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 -mfpmath=sse -fno-dollars-in-identifiers "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/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'; did you mean 'stime'? integer_array_create(&tmp0, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, stateSize, ((modelica_integer) 1))])), 1, stateSize); ^~~~~ stime /usr/include/time.h:181:12: note: 'stime' declared here extern int stime (const time_t *__when) __THROW; ^ 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. : recipe for target 'Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_06inz.o' failed make: *** [Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_06inz.o] Error 1