Notification: Performance of loadModel(Modelica): time 1.531/1.531, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.638e-06/9.778e-06, allocations: 1.25 kB / 247.5 MB, free: 4.531 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06112/0.0612, allocations: 44.37 MB / 291.9 MB, free: 9.113 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2354/0.2967, allocations: 86.13 MB / 378 MB, free: 5.27 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.297, allocations: 93.17 kB / 378.1 MB, free: 5.25 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2653/0.5624, allocations: 69.06 MB / 447.2 MB, free: 3.266 MB / 344.6 MB Notification: Performance of Transformations before backend: time 0.0001757/0.5627, allocations: 72 kB / 447.3 MB, free: 3.195 MB / 344.6 MB Notification: Performance of Generate backend data structure: time 0.01497/0.5777, allocations: 3.674 MB / 450.9 MB, free: 15.47 MB / 360.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.5779, allocations: 12.03 kB / 450.9 MB, free: 15.46 MB / 360.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01268/0.5906, allocations: 1.754 MB / 452.7 MB, free: 13.7 MB / 360.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01441/0.6051, allocations: 4.476 MB / 457.2 MB, free: 9.199 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.6054, allocations: 120 kB / 457.3 MB, free: 9.078 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001429/0.6069, allocations: 212 kB / 457.5 MB, free: 8.871 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01104/0.618, allocations: 5.342 MB / 462.8 MB, free: 3.527 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01643/0.6346, allocations: 8.246 MB / 471.1 MB, free: 10.34 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000144/0.6348, allocations: 55.5 kB / 471.1 MB, free: 10.28 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008612/0.6357, allocations: 28 kB / 471.2 MB, free: 10.25 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00148/0.6373, allocations: 0.9229 MB / 472.1 MB, free: 9.324 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1723/0.8097, allocations: 42.87 MB / 0.5029 GB, free: 103.6 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003463/0.8133, allocations: 2.323 MB / 0.5052 GB, free: 102.9 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002313/0.8157, allocations: 1.451 MB / 0.5066 GB, free: 102.9 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009695/0.8255, allocations: 4.38 MB / 0.5108 GB, free: 101.9 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.8256, allocations: 50.52 kB / 0.5109 GB, free: 101.9 MB / 392.6 MB Notification: Performance of pre-optimization done (n=118): time 8.242e-06/0.8257, allocations: 1.344 kB / 0.5109 GB, free: 101.9 MB / 392.6 MB Notification: Performance of matching and sorting (n=125): time 0.02369/0.8494, allocations: 8.391 MB / 0.5191 GB, free: 99.56 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.8496, allocations: 143.5 kB / 0.5192 GB, free: 99.4 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004943/0.8546, allocations: 2.801 MB / 0.522 GB, free: 99.09 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002649/0.855, allocations: 25.7 kB / 0.522 GB, free: 99.06 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001639/0.8567, allocations: 2.644 MB / 0.5246 GB, free: 97.49 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006907/0.8574, allocations: 0.5141 MB / 0.5251 GB, free: 97.21 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003867/0.8579, allocations: 3.812 kB / 0.5251 GB, free: 97.21 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0003186/0.8583, allocations: 0.5383 MB / 0.5256 GB, free: 96.9 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003388/0.8617, allocations: 1.822 MB / 0.5274 GB, free: 96.88 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005113/0.8669, allocations: 5.331 MB / 0.5326 GB, free: 92.26 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00558/0.8726, allocations: 3.109 MB / 0.5356 GB, free: 92.25 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001014/0.8728, allocations: 35.81 kB / 0.5357 GB, free: 92.25 MB / 392.6 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.02414/0.897, allocations: 7.445 MB / 0.5429 GB, free: 90.38 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.8971, allocations: 3.781 kB / 0.5429 GB, free: 90.38 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01201/0.9092, allocations: 2.783 MB / 0.5456 GB, free: 89.67 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01216/0.9215, allocations: 1.591 MB / 0.5472 GB, free: 89.46 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00556/0.9272, allocations: 1.249 MB / 0.5484 GB, free: 89.3 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009182/0.9365, allocations: 5.296 MB / 0.5536 GB, free: 86 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006226/0.9428, allocations: 219.3 kB / 0.5538 GB, free: 85.98 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/0.944, allocations: 354.3 kB / 0.5541 GB, free: 85.93 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.9443, allocations: 83 kB / 0.5542 GB, free: 85.86 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000659/0.945, allocations: 271 kB / 0.5545 GB, free: 85.71 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007285/0.9524, allocations: 2.559 MB / 0.557 GB, free: 84.85 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006465/0.959, allocations: 2.174 MB / 0.5591 GB, free: 84.16 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.626e-05/0.9591, allocations: 3.312 kB / 0.5591 GB, free: 84.16 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-05/0.9592, allocations: 8.203 kB / 0.5591 GB, free: 84.16 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006641/0.9659, allocations: 2.736 MB / 0.5618 GB, free: 83.15 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.966, allocations: 1.25 kB / 0.5618 GB, free: 83.15 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/0.9677, allocations: 186.8 kB / 0.562 GB, free: 83.13 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00427/0.972, allocations: 0.9772 MB / 0.5629 GB, free: 82.91 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003038/0.9724, allocations: 15.36 kB / 0.5629 GB, free: 82.91 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006823/0.9793, allocations: 4.776 MB / 0.5676 GB, free: 78.7 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000964/0.9804, allocations: 1.374 MB / 0.5689 GB, free: 77.25 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009769/0.9903, allocations: 4.805 MB / 0.5736 GB, free: 73.02 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008466/0.9912, allocations: 341 kB / 0.574 GB, free: 72.67 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006585/0.992, allocations: 7.844 kB / 0.574 GB, free: 72.67 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00229/0.9943, allocations: 66.83 kB / 0.574 GB, free: 72.62 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003467/0.9948, allocations: 61.17 kB / 0.5741 GB, free: 72.59 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/0.995, allocations: 39.55 kB / 0.5741 GB, free: 72.56 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.003704/0.9987, allocations: 1.862 MB / 0.5759 GB, free: 70.93 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.006415/1.005, allocations: 0.8373 MB / 0.5768 GB, free: 70.1 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002774/1.006, allocations: 114.4 kB / 0.5769 GB, free: 70 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.0107/1.016, allocations: 4.877 MB / 0.5816 GB, free: 65.58 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.752e-06/1.017, allocations: 4 kB / 0.5816 GB, free: 65.58 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.004741/1.021, allocations: 1.875 MB / 0.5835 GB, free: 63.88 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/1.024, allocations: 294 kB / 0.5837 GB, free: 63.62 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01626/1.04, allocations: 6.864 MB / 0.5904 GB, free: 57.52 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006165/1.046, allocations: 3.159 MB / 0.5935 GB, free: 55.05 MB / 392.6 MB Notification: Performance of SimCode: time 2.444e-06/1.046, allocations: 0 / 0.5935 GB, free: 55.05 MB / 392.6 MB Notification: Performance of Templates: time 0.1159/1.162, allocations: 33.19 MB / 0.6259 GB, free: 25.53 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:433:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_eqFunction_728(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:433:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_eqFunction_728(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:434:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_eqFunction_727(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:434:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_eqFunction_727(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.c:435:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.o] Error 1