Notification: Performance of loadModel(Modelica): time 1.73/1.73, allocations: 194.5 MB / 200.7 MB, free: 5.148 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.569e-06/9.638e-06, allocations: 2.188 kB / 247.3 MB, free: 4.719 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06241/0.06249, allocations: 44.36 MB / 291.7 MB, free: 9.285 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2239/0.2866, allocations: 71.13 MB / 362.8 MB, free: 6.996 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.2869, allocations: 77.34 kB / 362.9 MB, free: 6.992 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.0322/0.3191, allocations: 7.752 MB / 370.7 MB, free: 6.105 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.3193, allocations: 7.688 kB / 370.7 MB, free: 6.102 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0009603/0.3203, allocations: 0.5942 MB / 371.3 MB, free: 5.602 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3204, allocations: 7.406 kB / 371.3 MB, free: 5.602 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.3217, allocations: 126.9 kB / 371.4 MB, free: 5.551 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.322, allocations: 248.5 kB / 371.6 MB, free: 5.324 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.3221, allocations: 11.77 kB / 371.6 MB, free: 5.316 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.054e-05/0.3223, allocations: 11.53 kB / 371.7 MB, free: 5.316 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002649/0.3226, allocations: 107.8 kB / 371.8 MB, free: 5.301 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003891/0.323, allocations: 253.4 kB / 372 MB, free: 5.172 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3231, allocations: 3.938 kB / 372 MB, free: 5.168 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.3232, allocations: 3.812 kB / 372 MB, free: 5.168 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.289e-06/0.3233, allocations: 7.719 kB / 372 MB, free: 5.164 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.3244, allocations: 0.7417 MB / 372.8 MB, free: 4.578 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/0.325, allocations: 297 kB / 373.1 MB, free: 4.406 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.3252, allocations: 145.4 kB / 373.2 MB, free: 4.344 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.3253, allocations: 3.844 kB / 373.2 MB, free: 4.344 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003916/0.3257, allocations: 286.5 kB / 373.5 MB, free: 4.191 MB / 296.6 MB Notification: Performance of pre-optimization done (n=48): time 5.937e-06/0.3258, allocations: 0 / 373.5 MB, free: 4.191 MB / 296.6 MB Notification: Performance of matching and sorting (n=48): time 0.0006792/0.3265, allocations: 346.5 kB / 373.8 MB, free: 4.094 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.711e-05/0.3267, allocations: 226.4 kB / 374 MB, free: 3.863 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000329/0.3271, allocations: 280.4 kB / 374.3 MB, free: 3.734 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001333/0.3273, allocations: 76.2 kB / 374.4 MB, free: 3.695 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.3274, allocations: 127.9 kB / 374.5 MB, free: 3.594 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.3276, allocations: 116.8 kB / 374.6 MB, free: 3.52 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.3277, allocations: 0 / 374.6 MB, free: 3.52 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.3279, allocations: 365.4 kB / 375 MB, free: 19.19 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004422/0.3284, allocations: 216.1 kB / 375.2 MB, free: 19.17 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004841/0.329, allocations: 299.7 kB / 375.5 MB, free: 19.08 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009679/0.33, allocations: 304.3 kB / 375.8 MB, free: 19.01 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.705e-06/0.3301, allocations: 3.906 kB / 375.8 MB, free: 19 MB / 312.6 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001746/0.3319, allocations: 0.6862 MB / 376.5 MB, free: 18.85 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.332, allocations: 7.75 kB / 376.5 MB, free: 18.85 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.541e-05/0.3321, allocations: 7.797 kB / 376.5 MB, free: 18.84 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.3322, allocations: 4.125 kB / 376.5 MB, free: 18.84 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.3326, allocations: 76.45 kB / 376.6 MB, free: 18.83 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.3327, allocations: 15.72 kB / 376.6 MB, free: 18.82 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/0.3331, allocations: 50.7 kB / 376.6 MB, free: 18.79 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.011e-05/0.3332, allocations: 37.52 kB / 376.7 MB, free: 18.79 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.3334, allocations: 83.75 kB / 376.8 MB, free: 18.7 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.163e-05/0.3336, allocations: 42.64 kB / 376.8 MB, free: 18.68 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.69e-05/0.3337, allocations: 32.19 kB / 376.8 MB, free: 18.67 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.031e-06/0.3337, allocations: 3.844 kB / 376.8 MB, free: 18.67 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.473e-06/0.3338, allocations: 0 / 376.8 MB, free: 18.67 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.892e-06/0.3339, allocations: 3.844 kB / 376.8 MB, free: 18.67 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004042/0.3343, allocations: 298.6 kB / 377.1 MB, free: 18.44 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3344, allocations: 3.906 kB / 377.1 MB, free: 18.44 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.3346, allocations: 35.16 kB / 377.2 MB, free: 18.43 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.032e-06/0.3347, allocations: 3.812 kB / 377.2 MB, free: 18.43 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/0.3348, allocations: 7.859 kB / 377.2 MB, free: 18.43 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.657e-06/0.3348, allocations: 7.625 kB / 377.2 MB, free: 18.42 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.076e-06/0.3349, allocations: 11.69 kB / 377.2 MB, free: 18.41 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000652/0.3356, allocations: 454.6 kB / 377.6 MB, free: 18.17 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.3358, allocations: 123.6 kB / 377.8 MB, free: 18.04 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.336, allocations: 34.16 kB / 377.8 MB, free: 18.04 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.3363, allocations: 23.5 kB / 377.8 MB, free: 18.03 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.3365, allocations: 44.98 kB / 377.9 MB, free: 18 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/0.3366, allocations: 22.8 kB / 377.9 MB, free: 18 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0003995/0.337, allocations: 201.3 kB / 378.1 MB, free: 17.91 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0006432/0.3377, allocations: 104 kB / 378.2 MB, free: 17.89 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004116/0.3382, allocations: 194.5 kB / 378.4 MB, free: 17.78 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.3393, allocations: 0.631 MB / 379 MB, free: 17.55 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/0.3393, allocations: 4.375 kB / 379 MB, free: 17.55 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.3397, allocations: 152.7 kB / 379.2 MB, free: 17.54 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.34, allocations: 21.64 kB / 379.2 MB, free: 17.53 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009509/0.341, allocations: 450 kB / 379.6 MB, free: 17.29 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/0.3414, allocations: 0.8266 MB / 380.4 MB, free: 16.53 MB / 312.6 MB Notification: Performance of SimCode: time 1.816e-06/0.3415, allocations: 0 / 380.4 MB, free: 16.53 MB / 312.6 MB Notification: Performance of Templates: time 0.05964/0.4012, allocations: 4.779 MB / 385.2 MB, free: 14.17 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.makefile clang -fPIC -O1 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed -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_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.o Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.c In file included from Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.c:2: ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: variable has incomplete type 'void' static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: expected ';' after top level declarator Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:171:33: error: unknown type name 'MEASURE_TIME' static void fmtInit(DATA* data, MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:175:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:198:63: error: unknown type name 'MEASURE_TIME' static void fmtEmitStep(DATA* data, threadData_t *threadData, MEASURE_TIME* mt, SOLVER_INFO* solverInfo) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:239:5: warning: implicit declaration of function 'overwriteOldSimulationData' is invalid in C99 [-Wimplicit-function-declaration] overwriteOldSimulationData(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:240:5: warning: implicit declaration of function 'storePreValues' is invalid in C99 [-Wimplicit-function-declaration] storePreValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:241:5: warning: implicit declaration of function 'storeOldValues' is invalid in C99 [-Wimplicit-function-declaration] storeOldValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:259:3: warning: implicit declaration of function 'printAllVarsDebug' is invalid in C99 [-Wimplicit-function-declaration] printAllVarsDebug(data, 0, LOG_DEBUG); /* ??? */ ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:263:22: error: unknown type name 'MEASURE_TIME' static void fmtClose(MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:291:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:308:3: warning: implicit declaration of function 'restoreOldValues' is invalid in C99 [-Wimplicit-function-declaration] restoreOldValues(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:311:3: warning: implicit declaration of function 'updateDiscreteSystem' is invalid in C99 [-Wimplicit-function-declaration] updateDiscreteSystem(data, threadData); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_performSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: expected ';' after top level declarator int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_performQSSSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: expected ';' after top level declarator int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_input_function(DATA *data, threadData_t *threadData) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.c:556: ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_12jac.h:7:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_12jac.h:18:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_12jac.h:29:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_INDEX_JAC_C 1 ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 11 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.o] Error 1