Notification: Performance of loadModel(Modelica): time 1.492/1.492, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.041e-05/1.055e-05, allocations: 2.219 kB / 247.3 MB, free: 4.758 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06185/0.06193, allocations: 44.38 MB / 291.7 MB, free: 9.316 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2247/0.2868, allocations: 70.14 MB / 361.8 MB, free: 7.027 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001908/0.2871, allocations: 76.66 kB / 361.9 MB, free: 7.023 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.01524/0.3024, allocations: 3.198 MB / 365.1 MB, free: 6.836 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.3025, allocations: 0 / 365.1 MB, free: 6.836 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0003598/0.303, allocations: 367.8 kB / 365.5 MB, free: 6.461 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3031, allocations: 11.66 kB / 365.5 MB, free: 6.461 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.3032, allocations: 9.5 kB / 365.5 MB, free: 6.453 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.3034, allocations: 164.3 kB / 365.7 MB, free: 6.258 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3034, allocations: 0 / 365.7 MB, free: 6.258 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.3035, allocations: 3.984 kB / 365.7 MB, free: 6.254 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.154e-05/0.3036, allocations: 17.27 kB / 365.7 MB, free: 6.25 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.83e-05/0.3037, allocations: 34.77 kB / 365.7 MB, free: 6.215 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3038, allocations: 4.984 kB / 365.7 MB, free: 6.211 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3039, allocations: 0 / 365.7 MB, free: 6.211 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.378e-06/0.3039, allocations: 0 / 365.7 MB, free: 6.211 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.3041, allocations: 140.3 kB / 365.9 MB, free: 6.051 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 6.712e-05/0.3042, allocations: 26.28 kB / 365.9 MB, free: 6.035 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.3043, allocations: 9.906 kB / 365.9 MB, free: 6.027 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.3044, allocations: 3.938 kB / 365.9 MB, free: 6.023 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.3044, allocations: 30.56 kB / 365.9 MB, free: 5.984 MB / 296.6 MB Notification: Performance of pre-optimization done (n=3): time 2.724e-06/0.3045, allocations: 0 / 365.9 MB, free: 5.984 MB / 296.6 MB Notification: Performance of matching and sorting (n=3): time 0.0001446/0.3047, allocations: 56.28 kB / 366 MB, free: 5.941 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.872e-05/0.3048, allocations: 51.41 kB / 366 MB, free: 5.879 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.711e-05/0.3049, allocations: 94.17 kB / 366.1 MB, free: 5.789 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 8.731e-06/0.305, allocations: 25.7 kB / 366.1 MB, free: 5.758 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 1.725e-05/0.305, allocations: 85.77 kB / 366.2 MB, free: 5.676 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.3051, allocations: 7.844 kB / 366.2 MB, free: 5.668 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-06/0.3052, allocations: 0 / 366.2 MB, free: 5.668 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 5.371e-05/0.3053, allocations: 325.1 kB / 366.6 MB, free: 5.352 MB / 296.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.991e-05/0.3053, allocations: 4 kB / 366.6 MB, free: 5.348 MB / 296.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.108e-05/0.3054, allocations: 21.16 kB / 366.6 MB, free: 5.332 MB / 296.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.975e-05/0.3055, allocations: 5.562 kB / 366.6 MB, free: 5.332 MB / 296.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.933e-06/0.3055, allocations: 0 / 366.6 MB, free: 5.332 MB / 296.6 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001127/0.3057, allocations: 51.45 kB / 366.6 MB, free: 5.297 MB / 296.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3058, allocations: 5.422 kB / 366.6 MB, free: 5.297 MB / 296.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.495e-06/0.3058, allocations: 3.875 kB / 366.6 MB, free: 5.297 MB / 296.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3059, allocations: 4.031 kB / 366.6 MB, free: 5.293 MB / 296.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.729e-05/0.3061, allocations: 9.062 kB / 366.7 MB, free: 5.293 MB / 296.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.495e-06/0.3061, allocations: 3.906 kB / 366.7 MB, free: 5.289 MB / 296.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.597e-05/0.3062, allocations: 0 / 366.7 MB, free: 5.289 MB / 296.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.3063, allocations: 3.875 kB / 366.7 MB, free: 5.289 MB / 296.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.3064, allocations: 79.22 kB / 366.7 MB, free: 5.215 MB / 296.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.3064, allocations: 5.125 kB / 366.7 MB, free: 5.211 MB / 296.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.3065, allocations: 7.562 kB / 366.8 MB, free: 5.207 MB / 296.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.19e-06/0.3066, allocations: 0 / 366.8 MB, free: 5.207 MB / 296.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.867e-06/0.3066, allocations: 4 kB / 366.8 MB, free: 5.203 MB / 296.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.517e-06/0.3067, allocations: 5.719 kB / 366.8 MB, free: 5.199 MB / 296.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.3068, allocations: 132.2 kB / 366.9 MB, free: 21.04 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.213e-06/0.3069, allocations: 3.875 kB / 366.9 MB, free: 21.04 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.3071, allocations: 5.328 kB / 366.9 MB, free: 21.04 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.425e-06/0.3071, allocations: 0 / 366.9 MB, free: 21.04 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.3072, allocations: 15.83 kB / 366.9 MB, free: 21.03 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.632e-06/0.3073, allocations: 4 kB / 366.9 MB, free: 21.02 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.448e-06/0.3073, allocations: 1.828 kB / 366.9 MB, free: 21.02 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001574/0.3075, allocations: 75.47 kB / 367 MB, free: 20.95 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/0.308, allocations: 78.47 kB / 367.1 MB, free: 20.86 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.3081, allocations: 3.875 kB / 367.1 MB, free: 20.86 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.128e-05/0.3082, allocations: 1.594 kB / 367.1 MB, free: 20.86 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.3083, allocations: 0 / 367.1 MB, free: 20.86 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.845e-06/0.3083, allocations: 3.562 kB / 367.1 MB, free: 20.86 MB / 312.6 MB Notification: Performance of sort global known variables: time 3.702e-05/0.3084, allocations: 84.53 kB / 367.2 MB, free: 20.78 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0004732/0.3089, allocations: 73.34 kB / 367.2 MB, free: 20.76 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002914/0.3093, allocations: 145.1 kB / 367.4 MB, free: 20.68 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.3094, allocations: 20.81 kB / 367.4 MB, free: 20.68 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.493e-06/0.3095, allocations: 0 / 367.4 MB, free: 20.68 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 1.879e-05/0.3096, allocations: 3.875 kB / 367.4 MB, free: 20.68 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.3098, allocations: 7.75 kB / 367.4 MB, free: 20.67 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.3101, allocations: 81.27 kB / 367.5 MB, free: 20.59 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.3103, allocations: 0.6966 MB / 368.2 MB, free: 19.89 MB / 312.6 MB Notification: Performance of SimCode: time 2.863e-06/0.3104, allocations: 0 / 368.2 MB, free: 19.89 MB / 312.6 MB Notification: Performance of Templates: time 0.03078/0.3412, allocations: 1.077 MB / 369.3 MB, free: 19.75 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.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_Math_Nonlinear_Examples_quadratureLobatto3 -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.Math.Nonlinear.Examples.quadratureLobatto3.o Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.c In file included from Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.c:2: ./Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.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.Math.Nonlinear.Examples.quadratureLobatto3.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.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.Math.Nonlinear.Examples.quadratureLobatto3.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.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.Math.Nonlinear.Examples.quadratureLobatto3.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_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.Math.Nonlinear.Examples.quadratureLobatto3.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.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.Math.Nonlinear.Examples.quadratureLobatto3.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.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.Math.Nonlinear.Examples.quadratureLobatto3.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_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.Math.Nonlinear.Examples.quadratureLobatto3.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.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.Math.Nonlinear.Examples.quadratureLobatto3.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_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.Math.Nonlinear.Examples.quadratureLobatto3.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.c:133:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_eqFunction_8(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.c:137:19: warning: implicit declaration of function 'O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_eqFunction_7' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_eqFunction_7(data, threadData); ^ Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.c:137:18: error: invalid operands to binary expression ('void' and 'int') Modelica_3_2_2_-O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_eqFunction_7(data, threadData); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.c:139:19: warning: implicit declaration of function 'O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_eqFunction_8' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_eqFunction_8(data, threadData); ^ Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.c:139:18: error: invalid operands to binary expression ('void' and 'int') Modelica_3_2_2_-O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_eqFunction_8(data, threadData); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.c:142:5: error: redefinition of 'Modelica_3_2_2_' with a different type: 'int' vs 'void' int Modelica_3_2_2_-O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_functionODE(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.c:133:13: note: previous declaration is here extern void Modelica_3_2_2_-O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_eqFunction_8(DATA* data, threadData_t *threadData); ^ Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.c:142:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_functionODE(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.c:162: ./Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_12jac.h:7:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3_INDEX_JAC_A 3 ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 9 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.o] Error 1