Notification: Performance of loadModel(Modelica): time 1.498/1.498, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.104e-05/1.132e-05, allocations: 2.031 kB / 247.5 MB, free: 4.539 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06327/0.06335, allocations: 44.36 MB / 291.8 MB, free: 9.141 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2387/0.3021, allocations: 80.52 MB / 372.4 MB, free: 6.891 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.3025, allocations: 86.97 kB / 372.5 MB, free: 6.875 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2264/0.529, allocations: 57.31 MB / 429.8 MB, free: 3.289 MB / 328.6 MB Notification: Performance of Transformations before backend: time 8.674e-05/0.5292, allocations: 40 kB / 429.8 MB, free: 3.25 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.01768/0.5469, allocations: 3.202 MB / 433 MB, free: 15.99 MB / 344.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/0.547, allocations: 8.031 kB / 433 MB, free: 15.98 MB / 344.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01367/0.5608, allocations: 1.821 MB / 434.8 MB, free: 14.16 MB / 344.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0152/0.5761, allocations: 4.791 MB / 439.6 MB, free: 9.355 MB / 344.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.5763, allocations: 72 kB / 439.7 MB, free: 9.285 MB / 344.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001106/0.5775, allocations: 143.8 kB / 439.8 MB, free: 9.145 MB / 344.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008343/0.5859, allocations: 4.185 MB / 444 MB, free: 4.957 MB / 344.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/0.5981, allocations: 6.437 MB / 450.5 MB, free: 13.67 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/0.5983, allocations: 51.62 kB / 450.5 MB, free: 13.62 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006088/0.599, allocations: 24 kB / 450.5 MB, free: 13.6 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001475/0.6005, allocations: 0.7803 MB / 451.3 MB, free: 12.82 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03905/0.6397, allocations: 33.38 MB / 484.7 MB, free: 10.49 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003535/0.6433, allocations: 2.271 MB / 487 MB, free: 8.07 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002102/0.6455, allocations: 1.35 MB / 488.3 MB, free: 6.707 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001503/0.6471, allocations: 0.6377 MB / 488.9 MB, free: 5.965 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.6472, allocations: 47.56 kB / 489 MB, free: 5.91 MB / 392.6 MB Notification: Performance of pre-optimization done (n=122): time 9.219e-06/0.6473, allocations: 7.922 kB / 489 MB, free: 5.902 MB / 392.6 MB Notification: Performance of matching and sorting (n=136): time 0.2253/0.8727, allocations: 22.83 MB / 0.4998 GB, free: 93.65 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.8728, allocations: 170.6 kB / 0.5 GB, free: 93.46 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00393/0.8768, allocations: 2.324 MB / 0.5023 GB, free: 93.18 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.00032/0.8772, allocations: 25.7 kB / 0.5023 GB, free: 93.15 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001149/0.8784, allocations: 1.991 MB / 0.5042 GB, free: 92.1 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007319/0.8792, allocations: 0.5583 MB / 0.5048 GB, free: 91.81 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003698/0.8797, allocations: 0 / 0.5048 GB, free: 91.81 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0002942/0.88, allocations: 0.5114 MB / 0.5053 GB, free: 91.5 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003453/0.8835, allocations: 2.086 MB / 0.5073 GB, free: 91.48 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004966/0.8886, allocations: 5.06 MB / 0.5123 GB, free: 87.61 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02205/0.9107, allocations: 6.983 MB / 0.5191 GB, free: 87.34 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-05/0.9109, allocations: 31 kB / 0.5191 GB, free: 87.34 MB / 392.6 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.0437/0.9547, allocations: 11.89 MB / 0.5307 GB, free: 85.02 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.9548, allocations: 4 kB / 0.5307 GB, free: 85.02 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03185/0.9867, allocations: 7.738 MB / 0.5383 GB, free: 79.22 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01247/0.9993, allocations: 2.053 MB / 0.5403 GB, free: 77.81 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00546/1.005, allocations: 1.135 MB / 0.5414 GB, free: 76.82 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009161/1.014, allocations: 7.634 MB / 0.5489 GB, free: 69.43 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007253/1.021, allocations: 348.1 kB / 0.5492 GB, free: 69.18 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009755/1.022, allocations: 325.9 kB / 0.5495 GB, free: 68.87 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002231/1.023, allocations: 75.28 kB / 0.5496 GB, free: 68.8 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005846/1.023, allocations: 236.9 kB / 0.5498 GB, free: 68.56 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008815/1.024, allocations: 346.4 kB / 0.5501 GB, free: 68.25 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02886/1.053, allocations: 7.596 MB / 0.5575 GB, free: 62.43 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-05/1.053, allocations: 4.656 kB / 0.5575 GB, free: 62.42 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.094e-05/1.053, allocations: 5.297 kB / 0.5576 GB, free: 62.42 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/1.064, allocations: 4.656 MB / 0.5621 GB, free: 58.32 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/1.064, allocations: 0 / 0.5621 GB, free: 58.32 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002008/1.066, allocations: 222.9 kB / 0.5623 GB, free: 58.1 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01258/1.079, allocations: 2.058 MB / 0.5643 GB, free: 56.02 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004084/1.079, allocations: 35.95 kB / 0.5644 GB, free: 55.98 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/1.09, allocations: 8.372 MB / 0.5725 GB, free: 47.17 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001673/1.091, allocations: 2.705 MB / 0.5752 GB, free: 44.21 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03614/1.128, allocations: 10.86 MB / 0.5858 GB, free: 33.28 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007338/1.128, allocations: 313.8 kB / 0.5861 GB, free: 32.95 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006652/1.129, allocations: 19.98 kB / 0.5861 GB, free: 32.93 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002829/1.132, allocations: 135.8 kB / 0.5862 GB, free: 32.8 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000353/1.132, allocations: 71.72 kB / 0.5863 GB, free: 32.73 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002303/1.133, allocations: 55.97 kB / 0.5864 GB, free: 32.68 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002652/1.135, allocations: 1.553 MB / 0.5879 GB, free: 31.11 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.005649/1.141, allocations: 0.836 MB / 0.5887 GB, free: 30.29 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003014/1.142, allocations: 116.7 kB / 0.5888 GB, free: 30.18 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.0124/1.154, allocations: 6.095 MB / 0.5947 GB, free: 23.98 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 5.587e-06/1.154, allocations: 192 / 0.5947 GB, free: 23.98 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.006721/1.161, allocations: 2.968 MB / 0.5976 GB, free: 20.88 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/1.163, allocations: 234.8 kB / 0.5979 GB, free: 20.64 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/1.178, allocations: 6.795 MB / 0.6045 GB, free: 13.88 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003683/1.182, allocations: 2.554 MB / 0.607 GB, free: 11.3 MB / 392.6 MB Notification: Performance of SimCode: time 2.374e-06/1.182, allocations: 4 kB / 0.607 GB, free: 11.3 MB / 392.6 MB Notification: Performance of Templates: time 0.2536/1.435, allocations: 35.81 MB / 0.642 GB, free: 94.39 MB / 408.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