Notification: Performance of loadModel(Modelica): time 1.523/1.523, allocations: 194.5 MB / 200.7 MB, free: 7.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.222e-05/1.236e-05, allocations: 1.938 kB / 247.5 MB, free: 5.324 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06281/0.0629, allocations: 44.37 MB / 291.9 MB, free: 11.55 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2483/0.3114, allocations: 80.51 MB / 372.4 MB, free: 7.293 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.3117, allocations: 90.3 kB / 372.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of FrontEnd: time 0.2213/0.533, allocations: 57.29 MB / 429.7 MB, free: 6.355 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.892e-05/0.5332, allocations: 43.94 kB / 429.8 MB, free: 6.312 MB / 330.7 MB Notification: Performance of Generate backend data structure: time 0.01671/0.55, allocations: 3.198 MB / 433 MB, free: 3.062 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.5501, allocations: 8.031 kB / 433 MB, free: 3.055 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01355/0.5637, allocations: 1.825 MB / 434.8 MB, free: 1.223 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01532/0.5791, allocations: 4.803 MB / 439.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.5794, allocations: 72 kB / 439.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009828/0.5804, allocations: 139.9 kB / 439.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007824/0.5883, allocations: 4.189 MB / 444 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/0.5984, allocations: 6.437 MB / 450.5 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/0.5986, allocations: 47.62 kB / 450.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004357/0.5991, allocations: 24 kB / 450.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001391/0.6005, allocations: 0.7803 MB / 451.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03753/0.6381, allocations: 33.38 MB / 484.7 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003482/0.6417, allocations: 2.275 MB / 487 MB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001907/0.6437, allocations: 1.35 MB / 488.3 MB, free: 9.766 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/0.6452, allocations: 0.6271 MB / 488.9 MB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.6453, allocations: 55.55 kB / 489 MB, free: 8.969 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 7.194e-06/0.6454, allocations: 0 / 489 MB, free: 8.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=136): time 0.2234/0.8688, allocations: 22.84 MB / 0.4998 GB, free: 96.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.8689, allocations: 171.8 kB / 0.5 GB, free: 95.97 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003618/0.8726, allocations: 2.321 MB / 0.5023 GB, free: 95.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002965/0.873, allocations: 28.89 kB / 0.5023 GB, free: 95.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.8741, allocations: 1.995 MB / 0.5042 GB, free: 94.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005937/0.8747, allocations: 0.5476 MB / 0.5048 GB, free: 94.33 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/0.8751, allocations: 3.969 kB / 0.5048 GB, free: 94.33 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002738/0.8754, allocations: 0.5121 MB / 0.5053 GB, free: 94.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003391/0.8789, allocations: 2.081 MB / 0.5073 GB, free: 94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004689/0.8836, allocations: 5.067 MB / 0.5123 GB, free: 90.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02297/0.9067, allocations: 6.994 MB / 0.5191 GB, free: 89.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.766e-05/0.9069, allocations: 28.78 kB / 0.5191 GB, free: 89.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.04387/0.9508, allocations: 11.89 MB / 0.5307 GB, free: 89.19 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.9509, allocations: 5.875 kB / 0.5307 GB, free: 89.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02946/0.9804, allocations: 7.739 MB / 0.5383 GB, free: 83.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01175/0.9923, allocations: 2.052 MB / 0.5403 GB, free: 82.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00589/0.9983, allocations: 1.136 MB / 0.5414 GB, free: 81.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0145/1.013, allocations: 7.628 MB / 0.5488 GB, free: 73.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01168/1.025, allocations: 354.4 kB / 0.5492 GB, free: 73.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001249/1.026, allocations: 317.5 kB / 0.5495 GB, free: 73.24 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002197/1.026, allocations: 83.28 kB / 0.5496 GB, free: 73.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006176/1.027, allocations: 232.9 kB / 0.5498 GB, free: 72.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008718/1.028, allocations: 349.5 kB / 0.5501 GB, free: 72.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0349/1.063, allocations: 7.596 MB / 0.5575 GB, free: 66.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.654e-05/1.063, allocations: 4 kB / 0.5575 GB, free: 66.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.752e-05/1.063, allocations: 7.594 kB / 0.5575 GB, free: 66.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009884/1.073, allocations: 4.651 MB / 0.5621 GB, free: 62.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/1.073, allocations: 0 / 0.5621 GB, free: 62.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/1.075, allocations: 219.7 kB / 0.5623 GB, free: 62.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01119/1.086, allocations: 2.062 MB / 0.5643 GB, free: 60.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004126/1.087, allocations: 35.95 kB / 0.5643 GB, free: 60.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/1.097, allocations: 8.369 MB / 0.5725 GB, free: 51.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001683/1.099, allocations: 2.717 MB / 0.5752 GB, free: 48.52 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03255/1.132, allocations: 10.86 MB / 0.5858 GB, free: 37.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007247/1.132, allocations: 309.8 kB / 0.5861 GB, free: 37.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006522/1.133, allocations: 19.98 kB / 0.5861 GB, free: 37.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002516/1.136, allocations: 135.8 kB / 0.5862 GB, free: 37.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/1.136, allocations: 71.81 kB / 0.5863 GB, free: 37.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002099/1.136, allocations: 51.88 kB / 0.5863 GB, free: 37 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002473/1.139, allocations: 1.557 MB / 0.5879 GB, free: 35.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005582/1.145, allocations: 0.842 MB / 0.5887 GB, free: 34.59 MB / 394.7 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002954/1.145, allocations: 105.6 kB / 0.5888 GB, free: 34.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01261/1.158, allocations: 6.104 MB / 0.5947 GB, free: 28.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.286e-06/1.158, allocations: 0 / 0.5947 GB, free: 28.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006849/1.165, allocations: 2.971 MB / 0.5976 GB, free: 25.19 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/1.167, allocations: 234.3 kB / 0.5979 GB, free: 24.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/1.182, allocations: 6.791 MB / 0.6045 GB, free: 18.19 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004071/1.187, allocations: 2.554 MB / 0.607 GB, free: 15.62 MB / 394.7 MB Notification: Performance of SimCode: time 2.304e-06/1.187, allocations: 0 / 0.607 GB, free: 15.62 MB / 394.7 MB Notification: Performance of Templates: time 0.2429/1.43, allocations: 35.82 MB / 0.642 GB, free: 94.84 MB / 410.7 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile clang -fPIC -O2 -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_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=12 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:505:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_eqFunction_663(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:505:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_eqFunction_663(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:506:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_eqFunction_662(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:506:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_eqFunction_662(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:507:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_eqFunction_661(DATA*,threadData_t*); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.o] Error 1