Notification: Performance of loadModel(Modelica): time 1.789/1.789, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.987e-06/1.055e-05, allocations: 1.969 kB / 247.5 MB, free: 4.57 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05883/0.05892, allocations: 44.36 MB / 291.8 MB, free: 9.133 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2262/0.2854, allocations: 80.52 MB / 372.4 MB, free: 6.805 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.2858, allocations: 90.78 kB / 372.4 MB, free: 6.789 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2295/0.5153, allocations: 57.3 MB / 429.7 MB, free: 3.234 MB / 328.6 MB Notification: Performance of Transformations before backend: time 8.269e-05/0.5155, allocations: 48 kB / 429.8 MB, free: 3.188 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.01674/0.5323, allocations: 3.193 MB / 433 MB, free: 15.95 MB / 344.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.5324, allocations: 8.031 kB / 433 MB, free: 15.94 MB / 344.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01377/0.5462, allocations: 1.822 MB / 434.8 MB, free: 14.11 MB / 344.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01474/0.5611, allocations: 4.799 MB / 439.6 MB, free: 9.293 MB / 344.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.5613, allocations: 72 kB / 439.7 MB, free: 9.223 MB / 344.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001171/0.5625, allocations: 139.9 kB / 439.8 MB, free: 9.086 MB / 344.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008033/0.5706, allocations: 4.189 MB / 444 MB, free: 4.891 MB / 344.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01124/0.582, allocations: 6.433 MB / 450.4 MB, free: 13.61 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000111/0.5822, allocations: 47.62 kB / 450.5 MB, free: 13.56 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004741/0.5827, allocations: 28 kB / 450.5 MB, free: 13.54 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001206/0.584, allocations: 0.7838 MB / 451.3 MB, free: 12.75 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03785/0.6219, allocations: 33.38 MB / 484.7 MB, free: 10.43 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003539/0.6255, allocations: 2.271 MB / 487 MB, free: 8.008 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002194/0.6278, allocations: 1.35 MB / 488.3 MB, free: 6.645 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001247/0.6291, allocations: 0.6305 MB / 488.9 MB, free: 5.906 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.6294, allocations: 55.56 kB / 489 MB, free: 5.844 MB / 392.6 MB Notification: Performance of pre-optimization done (n=122): time 8.102e-06/0.6295, allocations: 0 / 489 MB, free: 5.844 MB / 392.6 MB Notification: Performance of matching and sorting (n=136): time 0.2207/0.8502, allocations: 22.84 MB / 0.4998 GB, free: 93.67 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.8504, allocations: 169.4 kB / 0.5 GB, free: 93.48 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004389/0.8548, allocations: 2.322 MB / 0.5023 GB, free: 93.2 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003537/0.8553, allocations: 28.55 kB / 0.5023 GB, free: 93.17 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.8567, allocations: 1.987 MB / 0.5042 GB, free: 92.12 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008227/0.8577, allocations: 0.5555 MB / 0.5048 GB, free: 91.83 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005404/0.8583, allocations: 0 / 0.5048 GB, free: 91.83 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0003647/0.8587, allocations: 0.5112 MB / 0.5053 GB, free: 91.52 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004028/0.8628, allocations: 2.086 MB / 0.5073 GB, free: 91.5 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005404/0.8683, allocations: 5.06 MB / 0.5123 GB, free: 87.64 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0218/0.8902, allocations: 6.987 MB / 0.5191 GB, free: 87.37 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001154/0.8904, allocations: 30.5 kB / 0.5191 GB, free: 87.37 MB / 392.6 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.04363/0.9341, allocations: 11.9 MB / 0.5307 GB, free: 84.91 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.9343, allocations: 4 kB / 0.5307 GB, free: 84.9 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02978/0.9641, allocations: 7.736 MB / 0.5383 GB, free: 79.15 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01214/0.9763, allocations: 2.055 MB / 0.5403 GB, free: 77.74 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005407/0.9819, allocations: 1.137 MB / 0.5414 GB, free: 76.75 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009837/0.9918, allocations: 7.649 MB / 0.5489 GB, free: 69.35 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006856/0.9988, allocations: 352.9 kB / 0.5492 GB, free: 69.09 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001087/1, allocations: 320.9 kB / 0.5495 GB, free: 68.79 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002342/1, allocations: 79.28 kB / 0.5496 GB, free: 68.71 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006546/1.001, allocations: 238.4 kB / 0.5498 GB, free: 68.48 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009858/1.002, allocations: 345.3 kB / 0.5501 GB, free: 68.17 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0299/1.032, allocations: 7.597 MB / 0.5576 GB, free: 62.34 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.801e-05/1.032, allocations: 7.938 kB / 0.5576 GB, free: 62.33 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.031e-05/1.032, allocations: 7.891 kB / 0.5576 GB, free: 62.33 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/1.043, allocations: 4.646 MB / 0.5621 GB, free: 58.11 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/1.043, allocations: 0 / 0.5621 GB, free: 58.11 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/1.045, allocations: 223.7 kB / 0.5623 GB, free: 57.89 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01155/1.056, allocations: 2.055 MB / 0.5643 GB, free: 55.81 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004121/1.057, allocations: 47.19 kB / 0.5644 GB, free: 55.77 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/1.067, allocations: 8.41 MB / 0.5726 GB, free: 46.92 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001736/1.069, allocations: 2.717 MB / 0.5752 GB, free: 43.96 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0341/1.103, allocations: 10.86 MB / 0.5859 GB, free: 33.03 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007009/1.104, allocations: 313.8 kB / 0.5862 GB, free: 32.7 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006463/1.105, allocations: 15.98 kB / 0.5862 GB, free: 32.68 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002854/1.108, allocations: 135.8 kB / 0.5863 GB, free: 32.55 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004406/1.108, allocations: 67.88 kB / 0.5864 GB, free: 32.48 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002137/1.109, allocations: 47.97 kB / 0.5864 GB, free: 32.44 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002826/1.111, allocations: 1.561 MB / 0.5879 GB, free: 30.87 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.005664/1.117, allocations: 0.8342 MB / 0.5887 GB, free: 30.04 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003059/1.118, allocations: 119.6 kB / 0.5889 GB, free: 29.93 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.01293/1.131, allocations: 6.099 MB / 0.5948 GB, free: 23.73 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.286e-06/1.131, allocations: 0 / 0.5948 GB, free: 23.73 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.006943/1.138, allocations: 2.972 MB / 0.5977 GB, free: 20.62 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/1.14, allocations: 230.6 kB / 0.5979 GB, free: 20.39 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01626/1.156, allocations: 6.786 MB / 0.6046 GB, free: 13.62 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00425/1.161, allocations: 2.566 MB / 0.6071 GB, free: 11.04 MB / 392.6 MB Notification: Performance of SimCode: time 2.304e-06/1.161, allocations: 0 / 0.6071 GB, free: 11.04 MB / 392.6 MB Notification: Performance of Templates: time 0.2795/1.44, allocations: 35.83 MB / 0.6421 GB, free: 94.02 MB / 408.6 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