Notification: Performance of loadModel(Modelica): time 1.503/1.503, allocations: 194.5 MB / 200.7 MB, free: 5.184 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.124e-05/1.139e-05, allocations: 2.594 kB / 250 MB, free: 18.1 MB / 216.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06215/0.06225, allocations: 44.35 MB / 294.3 MB, free: 6.68 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2488/0.3112, allocations: 96.34 MB / 390.7 MB, free: 2.266 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.3115, allocations: 98.02 kB / 390.8 MB, free: 2.246 MB / 296.6 MB Notification: Performance of FrontEnd: time 4.235/4.547, allocations: 0.9913 GB / 1.373 GB, free: 16.73 MB / 0.4928 GB Notification: Performance of Transformations before backend: time 0.00481/4.552, allocations: 0.8521 MB / 1.374 GB, free: 16.71 MB / 0.4928 GB Notification: Performance of Generate backend data structure: time 0.1558/4.708, allocations: 42.73 MB / 1.415 GB, free: 2.184 MB / 0.4928 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/4.708, allocations: 7.438 kB / 1.415 GB, free: 2.184 MB / 0.4928 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4931/5.201, allocations: 96.29 MB / 1.509 GB, free: 0.9844 MB / 0.5241 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7785/5.979, allocations: 86.53 MB / 1.594 GB, free: 71.54 MB / 0.5241 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001915/5.982, allocations: 1.137 MB / 1.595 GB, free: 71.54 MB / 0.5241 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01612/5.998, allocations: 2.278 MB / 1.597 GB, free: 71.45 MB / 0.5241 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1266/6.124, allocations: 51.28 MB / 1.647 GB, free: 61.14 MB / 0.5241 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7493/6.874, allocations: 69.23 MB / 1.715 GB, free: 60.62 MB / 0.5242 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003579/6.878, allocations: 450.1 kB / 1.715 GB, free: 60.62 MB / 0.5242 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01352/6.891, allocations: 115 kB / 1.716 GB, free: 60.62 MB / 0.5242 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01506/6.906, allocations: 7.328 MB / 1.723 GB, free: 60.56 MB / 0.5242 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.959/7.865, allocations: 350.4 MB / 2.065 GB, free: 31.85 MB / 0.6024 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05873/7.924, allocations: 30.14 MB / 2.094 GB, free: 31.79 MB / 0.6024 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04933/7.974, allocations: 29.68 MB / 2.123 GB, free: 28.65 MB / 0.6024 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5731/8.547, allocations: 124 MB / 2.244 GB, free: 143.6 MB / 0.6024 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003152/8.547, allocations: 217.2 kB / 2.245 GB, free: 143.5 MB / 0.6024 GB Notification: Performance of pre-optimization done (n=1649): time 4.582e-05/8.547, allocations: 0 / 2.245 GB, free: 143.5 MB / 0.6024 GB Notification: Performance of matching and sorting (n=2121): time 1.406/9.953, allocations: 269.5 MB / 2.508 GB, free: 131.2 MB / 0.6024 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004028/9.954, allocations: 1.635 MB / 2.509 GB, free: 129.2 MB / 0.6024 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07482/10.03, allocations: 27.05 MB / 2.536 GB, free: 113.3 MB / 0.6024 GB Notification: Performance of collectPreVariables (initialization): time 0.004607/10.03, allocations: 31.58 kB / 2.536 GB, free: 113.3 MB / 0.6024 GB Notification: Performance of collectInitialEqns (initialization): time 0.3315/10.37, allocations: 17.37 MB / 2.553 GB, free: 138.1 MB / 0.6024 GB Notification: Performance of collectInitialBindings (initialization): time 0.0181/10.38, allocations: 7.098 MB / 2.56 GB, free: 136.2 MB / 0.6024 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005907/10.39, allocations: 0 / 2.56 GB, free: 136.2 MB / 0.6024 GB Notification: Performance of setup shared object (initialization): time 5.224e-05/10.39, allocations: 304.8 kB / 2.56 GB, free: 135.9 MB / 0.6024 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04161/10.43, allocations: 20.56 MB / 2.58 GB, free: 135.8 MB / 0.6024 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05169/10.48, allocations: 33.4 MB / 2.613 GB, free: 120 MB / 0.6024 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05538/10.54, allocations: 26.79 MB / 2.639 GB, free: 119.7 MB / 0.6024 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000603/10.54, allocations: 122.2 kB / 2.639 GB, free: 119.7 MB / 0.6024 GB Notification: Performance of matching and sorting (n=4063) (initialization): time 0.266/10.81, allocations: 83.33 MB / 2.72 GB, free: 93.96 MB / 0.6024 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/10.81, allocations: 5 kB / 2.72 GB, free: 93.96 MB / 0.6024 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009477/10.81, allocations: 426.2 kB / 2.721 GB, free: 93.55 MB / 0.6024 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4946/11.3, allocations: 38.9 MB / 2.759 GB, free: 113.1 MB / 0.6024 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03079/11.33, allocations: 5.839 MB / 2.764 GB, free: 113.1 MB / 0.6024 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7492/12.08, allocations: 195.4 MB / 2.955 GB, free: 102.7 MB / 0.6024 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0438/12.13, allocations: 1.105 MB / 2.956 GB, free: 102.7 MB / 0.6024 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00805/12.13, allocations: 1.48 MB / 2.958 GB, free: 102.7 MB / 0.6024 GB Notification: Performance of prepare postOptimizeDAE: time 0.004922/12.14, allocations: 88.19 kB / 2.958 GB, free: 102.6 MB / 0.6024 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01142/12.15, allocations: 3.241 MB / 2.961 GB, free: 102.6 MB / 0.6024 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2577/12.41, allocations: 74.24 MB / 3.034 GB, free: 101.7 MB / 0.6024 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002533/12.41, allocations: 201.6 kB / 3.034 GB, free: 101.7 MB / 0.6024 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003456/12.41, allocations: 137.1 kB / 3.034 GB, free: 101.7 MB / 0.6024 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003781/12.41, allocations: 102.7 kB / 3.034 GB, free: 101.7 MB / 0.6024 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7805/13.19, allocations: 174.6 MB / 3.205 GB, free: 100.2 MB / 0.6024 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002016/13.19, allocations: 22.33 kB / 3.205 GB, free: 100.2 MB / 0.6024 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01726/13.21, allocations: 2.353 MB / 3.207 GB, free: 100.2 MB / 0.6024 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1705/13.38, allocations: 35.31 MB / 3.241 GB, free: 99.83 MB / 0.6024 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00465/13.38, allocations: 37.48 kB / 3.241 GB, free: 99.83 MB / 0.6024 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7172/14.1, allocations: 183.1 MB / 3.42 GB, free: 99.61 MB / 0.6024 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.878e-05/14.1, allocations: 30.69 kB / 3.42 GB, free: 99.61 MB / 0.6024 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.6304/14.73, allocations: 120.2 MB / 3.538 GB, free: 97.81 MB / 0.6024 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02621/14.76, allocations: 7.268 MB / 3.545 GB, free: 97.71 MB / 0.6024 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01361/14.77, allocations: 36.34 kB / 3.545 GB, free: 97.71 MB / 0.6024 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03071/14.8, allocations: 0.6821 MB / 3.545 GB, free: 97.71 MB / 0.6024 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006483/14.81, allocations: 1.014 MB / 3.546 GB, free: 97.7 MB / 0.6024 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004693/14.81, allocations: 0.4948 MB / 3.547 GB, free: 97.7 MB / 0.6024 GB Notification: Performance of sort global known variables: time 0.0562/14.87, allocations: 20.27 MB / 3.567 GB, free: 96.8 MB / 0.6024 GB Notification: Performance of remove unused functions: time 0.0525/14.92, allocations: 8.869 MB / 3.575 GB, free: 96.8 MB / 0.6024 GB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001747/14.92, allocations: 86.41 kB / 3.575 GB, free: 96.75 MB / 0.6024 GB Notification: Performance of simCode: created initialization part: time 0.1208/15.04, allocations: 53 MB / 3.627 GB, free: 94.86 MB / 0.6024 GB Notification: Performance of simCode: created event and clocks part: time 2.472e-05/15.04, allocations: 9.875 kB / 3.627 GB, free: 94.86 MB / 0.6024 GB Notification: Performance of simCode: created simulation system equations: time 0.07029/15.11, allocations: 27.57 MB / 3.654 GB, free: 93.11 MB / 0.6024 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0388/15.15, allocations: 4.961 MB / 3.659 GB, free: 92.94 MB / 0.6024 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6326/15.78, allocations: 94.85 MB / 3.752 GB, free: 80.36 MB / 0.6024 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.09263/15.88, allocations: 30.94 MB / 3.782 GB, free: 78.35 MB / 0.6024 GB Notification: Performance of SimCode: time 2.654e-06/15.88, allocations: 0 / 3.782 GB, free: 78.35 MB / 0.6024 GB Notification: Performance of Templates: time 2.151/18.03, allocations: 0.4884 GB / 4.27 GB, free: 88.5 MB / 0.6336 GB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.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_Loops_EngineV6 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.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.Loops.EngineV6.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.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.Loops.EngineV6.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.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.Loops.EngineV6.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_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.Loops.EngineV6.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.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.Loops.EngineV6.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.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.Loops.EngineV6.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_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.Loops.EngineV6.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.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.Loops.EngineV6.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.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_Loops_EngineV6_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.Loops.EngineV6.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:5999:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_eqFunction_5443(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:5999:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_eqFunction_5443(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:6000:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_eqFunction_5444(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:6000:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_eqFunction_5444(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:6001:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_eqFunction_5445(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.Loops.EngineV6.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.o] Error 1