Notification: Performance of loadModel(Modelica): time 1.517/1.517, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.118e-05/1.159e-05, allocations: 2.531 kB / 247.5 MB, free: 4.582 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06308/0.06317, allocations: 44.36 MB / 291.8 MB, free: 9.145 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2372/0.3005, allocations: 80.52 MB / 372.4 MB, free: 6.723 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.3008, allocations: 89.84 kB / 372.4 MB, free: 6.707 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2339/0.5348, allocations: 57.3 MB / 429.7 MB, free: 3.297 MB / 328.6 MB Notification: Performance of Transformations before backend: time 0.0001038/0.535, allocations: 44 kB / 429.8 MB, free: 3.254 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.01906/0.5541, allocations: 3.194 MB / 433 MB, free: 8 kB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/0.5543, allocations: 12.08 kB / 433 MB, free: 15.99 MB / 344.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01442/0.5688, allocations: 1.818 MB / 434.8 MB, free: 14.17 MB / 344.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01524/0.5841, allocations: 4.803 MB / 439.6 MB, free: 9.352 MB / 344.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/0.5844, allocations: 75.94 kB / 439.7 MB, free: 9.277 MB / 344.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001197/0.5856, allocations: 139.9 kB / 439.8 MB, free: 9.141 MB / 344.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00859/0.5943, allocations: 4.185 MB / 444 MB, free: 4.949 MB / 344.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01309/0.6075, allocations: 6.437 MB / 450.4 MB, free: 13.67 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001595/0.6078, allocations: 47.62 kB / 450.5 MB, free: 13.62 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0011/0.6089, allocations: 24 kB / 450.5 MB, free: 13.6 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001529/0.6105, allocations: 0.7803 MB / 451.3 MB, free: 12.82 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03995/0.6505, allocations: 33.39 MB / 484.7 MB, free: 10.49 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003728/0.6544, allocations: 2.268 MB / 487 MB, free: 8.074 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002383/0.6569, allocations: 1.346 MB / 488.3 MB, free: 6.711 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/0.6583, allocations: 0.6389 MB / 488.9 MB, free: 5.965 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.6584, allocations: 51.56 kB / 489 MB, free: 5.906 MB / 392.6 MB Notification: Performance of pre-optimization done (n=122): time 7.264e-06/0.6585, allocations: 4 kB / 489 MB, free: 5.902 MB / 392.6 MB Notification: Performance of matching and sorting (n=136): time 0.1913/0.8499, allocations: 22.83 MB / 0.4998 GB, free: 140 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.85, allocations: 166.1 kB / 0.5 GB, free: 139.8 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004099/0.8542, allocations: 2.331 MB / 0.5023 GB, free: 139.5 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003424/0.8546, allocations: 25.7 kB / 0.5023 GB, free: 139.5 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.856, allocations: 1.99 MB / 0.5042 GB, free: 138.4 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008147/0.8568, allocations: 0.5496 MB / 0.5048 GB, free: 138.1 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004599/0.8574, allocations: 0 / 0.5048 GB, free: 138.1 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0003137/0.8577, allocations: 0.5203 MB / 0.5053 GB, free: 137.8 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003914/0.8617, allocations: 2.085 MB / 0.5073 GB, free: 137.8 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005177/0.867, allocations: 5.058 MB / 0.5123 GB, free: 133.9 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02108/0.8882, allocations: 6.986 MB / 0.5191 GB, free: 133.6 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.142e-05/0.8884, allocations: 30.41 kB / 0.5191 GB, free: 133.6 MB / 392.6 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.04042/0.9289, allocations: 11.9 MB / 0.5307 GB, free: 130.8 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.929, allocations: 4.812 kB / 0.5307 GB, free: 130.8 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02928/0.9583, allocations: 7.741 MB / 0.5383 GB, free: 126.3 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01193/0.9704, allocations: 2.051 MB / 0.5403 GB, free: 124.9 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005215/0.9757, allocations: 1.141 MB / 0.5414 GB, free: 123.9 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009084/0.9849, allocations: 7.656 MB / 0.5489 GB, free: 116.5 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006755/0.9917, allocations: 348.9 kB / 0.5492 GB, free: 116.3 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/0.9929, allocations: 323.6 kB / 0.5495 GB, free: 116 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002947/0.9933, allocations: 79.28 kB / 0.5496 GB, free: 115.9 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006726/0.994, allocations: 236.9 kB / 0.5498 GB, free: 115.6 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.9951, allocations: 344.4 kB / 0.5501 GB, free: 115.3 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02907/1.024, allocations: 7.59 MB / 0.5576 GB, free: 109.5 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.241e-05/1.024, allocations: 7.938 kB / 0.5576 GB, free: 109.5 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.038e-05/1.024, allocations: 11.88 kB / 0.5576 GB, free: 109.5 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/1.035, allocations: 4.647 MB / 0.5621 GB, free: 105.8 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/1.035, allocations: 0 / 0.5621 GB, free: 105.8 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/1.037, allocations: 227.5 kB / 0.5623 GB, free: 105.7 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01171/1.049, allocations: 2.053 MB / 0.5643 GB, free: 103.9 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004552/1.05, allocations: 35.2 kB / 0.5644 GB, free: 103.9 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01064/1.06, allocations: 8.418 MB / 0.5726 GB, free: 95.03 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001746/1.062, allocations: 2.716 MB / 0.5752 GB, free: 92.07 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03299/1.095, allocations: 10.86 MB / 0.5858 GB, free: 81.14 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007048/1.096, allocations: 317.5 kB / 0.5862 GB, free: 80.81 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008537/1.097, allocations: 15.98 kB / 0.5862 GB, free: 80.8 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002931/1.1, allocations: 135.8 kB / 0.5863 GB, free: 80.66 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004691/1.101, allocations: 71.78 kB / 0.5864 GB, free: 80.59 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000219/1.101, allocations: 55.88 kB / 0.5864 GB, free: 80.54 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.003238/1.104, allocations: 1.549 MB / 0.5879 GB, free: 78.98 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.005914/1.11, allocations: 0.842 MB / 0.5888 GB, free: 78.14 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003199/1.111, allocations: 117.6 kB / 0.5889 GB, free: 78.04 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.01294/1.124, allocations: 6.083 MB / 0.5948 GB, free: 71.85 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 5.937e-06/1.124, allocations: 0 / 0.5948 GB, free: 71.85 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.006873/1.131, allocations: 2.975 MB / 0.5977 GB, free: 68.74 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/1.133, allocations: 235.4 kB / 0.5979 GB, free: 68.52 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/1.149, allocations: 6.794 MB / 0.6046 GB, free: 61.75 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004368/1.153, allocations: 2.566 MB / 0.6071 GB, free: 59.16 MB / 392.6 MB Notification: Performance of SimCode: time 3.143e-06/1.153, allocations: 0 / 0.6071 GB, free: 59.16 MB / 392.6 MB Notification: Performance of Templates: time 0.1065/1.26, allocations: 35.82 MB / 0.6421 GB, free: 24.07 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:505:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_eqFunction_663(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:505:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_eqFunction_663(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:506:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_eqFunction_662(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:506:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_eqFunction_662(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.c:507:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.o] Error 1