Notification: Performance of loadModel(Modelica): time 1.521/1.521, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.062e-05/1.076e-05, allocations: 2.094 kB / 247.5 MB, free: 4.531 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06289/0.06298, allocations: 44.36 MB / 291.9 MB, free: 9.098 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2403/0.3034, allocations: 86.13 MB / 378 MB, free: 5.375 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.3037, allocations: 96.89 kB / 378.1 MB, free: 5.355 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2709/0.5746, allocations: 69.06 MB / 447.2 MB, free: 3.266 MB / 344.6 MB Notification: Performance of Transformations before backend: time 0.0001794/0.5749, allocations: 72 kB / 447.3 MB, free: 3.195 MB / 344.6 MB Notification: Performance of Generate backend data structure: time 0.01594/0.5909, allocations: 3.673 MB / 450.9 MB, free: 15.47 MB / 360.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.5911, allocations: 8.031 kB / 450.9 MB, free: 15.46 MB / 360.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01284/0.604, allocations: 1.758 MB / 452.7 MB, free: 13.7 MB / 360.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01515/0.6192, allocations: 4.477 MB / 457.2 MB, free: 9.199 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.6195, allocations: 116 kB / 457.3 MB, free: 9.086 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00156/0.6211, allocations: 216 kB / 457.5 MB, free: 8.875 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01175/0.633, allocations: 5.341 MB / 462.8 MB, free: 3.531 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01752/0.6506, allocations: 8.246 MB / 471.1 MB, free: 10.34 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001591/0.6509, allocations: 59.56 kB / 471.1 MB, free: 10.28 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001043/0.652, allocations: 28 kB / 471.2 MB, free: 10.25 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001447/0.6535, allocations: 0.9207 MB / 472.1 MB, free: 9.328 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1737/0.8273, allocations: 42.86 MB / 0.5029 GB, free: 103.4 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003417/0.8308, allocations: 2.318 MB / 0.5051 GB, free: 102.8 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002324/0.8332, allocations: 1.449 MB / 0.5066 GB, free: 102.7 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009042/0.8424, allocations: 4.39 MB / 0.5108 GB, free: 101.8 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.8425, allocations: 47.83 kB / 0.5109 GB, free: 101.7 MB / 392.6 MB Notification: Performance of pre-optimization done (n=118): time 8.381e-06/0.8426, allocations: 0 / 0.5109 GB, free: 101.7 MB / 392.6 MB Notification: Performance of matching and sorting (n=125): time 0.0225/0.8651, allocations: 8.389 MB / 0.5191 GB, free: 99.42 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.8653, allocations: 152.8 kB / 0.5192 GB, free: 99.27 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005296/0.8706, allocations: 2.801 MB / 0.522 GB, free: 98.95 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002655/0.871, allocations: 25.7 kB / 0.522 GB, free: 98.92 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001722/0.8728, allocations: 2.644 MB / 0.5246 GB, free: 97.35 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007242/0.8736, allocations: 0.5134 MB / 0.5251 GB, free: 97.07 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004934/0.8742, allocations: 0 / 0.5251 GB, free: 97.07 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0003651/0.8746, allocations: 0.541 MB / 0.5256 GB, free: 96.76 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003581/0.8782, allocations: 1.814 MB / 0.5274 GB, free: 96.74 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005225/0.8836, allocations: 5.339 MB / 0.5326 GB, free: 92.12 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005527/0.8892, allocations: 3.103 MB / 0.5356 GB, free: 92.11 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/0.8894, allocations: 36.28 kB / 0.5357 GB, free: 92.11 MB / 392.6 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.02425/0.9137, allocations: 7.448 MB / 0.5429 GB, free: 90.36 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.9138, allocations: 3.781 kB / 0.5429 GB, free: 90.36 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01243/0.9263, allocations: 2.788 MB / 0.5457 GB, free: 89.66 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01199/0.9384, allocations: 1.579 MB / 0.5472 GB, free: 89.45 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005232/0.9437, allocations: 1.255 MB / 0.5484 GB, free: 89.29 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009122/0.953, allocations: 5.317 MB / 0.5536 GB, free: 85.98 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006094/0.9591, allocations: 218.7 kB / 0.5538 GB, free: 85.96 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/0.9603, allocations: 360.3 kB / 0.5542 GB, free: 85.91 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001993/0.9605, allocations: 75.28 kB / 0.5542 GB, free: 85.84 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000646/0.9612, allocations: 274.3 kB / 0.5545 GB, free: 85.69 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006886/0.9682, allocations: 2.562 MB / 0.557 GB, free: 84.84 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005991/0.9743, allocations: 2.172 MB / 0.5591 GB, free: 84.16 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.956e-05/0.9744, allocations: 7.25 kB / 0.5591 GB, free: 84.16 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.087e-05/0.9745, allocations: 8.062 kB / 0.5591 GB, free: 84.16 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006278/0.9808, allocations: 2.727 MB / 0.5618 GB, free: 83.14 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/0.981, allocations: 4 kB / 0.5618 GB, free: 83.14 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/0.9826, allocations: 190.2 kB / 0.562 GB, free: 83.12 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004691/0.9874, allocations: 0.9702 MB / 0.5629 GB, free: 82.9 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002894/0.9877, allocations: 20.58 kB / 0.563 GB, free: 82.9 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007055/0.9949, allocations: 4.815 MB / 0.5677 GB, free: 78.58 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009018/0.9959, allocations: 1.37 MB / 0.569 GB, free: 77.13 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009199/1.005, allocations: 4.802 MB / 0.5737 GB, free: 72.91 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008082/1.006, allocations: 332.4 kB / 0.574 GB, free: 72.57 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006752/1.007, allocations: 15.75 kB / 0.574 GB, free: 72.55 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002183/1.009, allocations: 68.23 kB / 0.5741 GB, free: 72.51 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002794/1.009, allocations: 57.92 kB / 0.5741 GB, free: 72.48 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/1.01, allocations: 42.95 kB / 0.5742 GB, free: 72.45 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.003481/1.013, allocations: 1.86 MB / 0.576 GB, free: 70.82 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.006116/1.019, allocations: 0.8412 MB / 0.5768 GB, free: 69.99 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002378/1.02, allocations: 106.2 kB / 0.5769 GB, free: 69.89 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.01054/1.03, allocations: 4.883 MB / 0.5817 GB, free: 65.47 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.216e-06/1.03, allocations: 0 / 0.5817 GB, free: 65.47 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.004597/1.035, allocations: 1.874 MB / 0.5835 GB, free: 63.77 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/1.037, allocations: 301 kB / 0.5838 GB, free: 63.52 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/1.053, allocations: 6.858 MB / 0.5905 GB, free: 57.41 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005652/1.059, allocations: 3.159 MB / 0.5936 GB, free: 54.94 MB / 392.6 MB Notification: Performance of SimCode: time 2.375e-06/1.059, allocations: 0 / 0.5936 GB, free: 54.94 MB / 392.6 MB Notification: Performance of Templates: time 0.09959/1.159, allocations: 33.18 MB / 0.626 GB, free: 25.61 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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_FreeBody -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.FreeBody.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.FreeBody.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.FreeBody.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_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.FreeBody.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.FreeBody.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.FreeBody.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_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.FreeBody.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.FreeBody.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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_FreeBody_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.FreeBody.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:433:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_eqFunction_728(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:433:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_eqFunction_728(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:434:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_eqFunction_727(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:434:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_eqFunction_727(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:435:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_eqFunction_726(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.FreeBody.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.o] Error 1