Notification: Performance of loadModel(Modelica): time 1.564/1.564, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.847e-06/9.988e-06, allocations: 1.094 kB / 247.7 MB, free: 4.289 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05977/0.05985, allocations: 44.36 MB / 292.1 MB, free: 8.875 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2435/0.3035, allocations: 91.35 MB / 383.5 MB, free: 3.742 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.3038, allocations: 100.8 kB / 383.6 MB, free: 3.723 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.7378/1.042, allocations: 159.4 MB / 0.5302 GB, free: 65.19 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0005531/1.042, allocations: 169.4 kB / 0.5304 GB, free: 65.19 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.02457/1.067, allocations: 8.029 MB / 0.5382 GB, free: 62.03 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/1.067, allocations: 7.875 kB / 0.5382 GB, free: 62.03 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08558/1.153, allocations: 16.13 MB / 0.5539 GB, free: 61.42 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04019/1.193, allocations: 13.93 MB / 0.5675 GB, free: 59.21 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004795/1.194, allocations: 239.9 kB / 0.5678 GB, free: 59.21 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002993/1.197, allocations: 464.5 kB / 0.5682 GB, free: 59.19 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02053/1.217, allocations: 10.36 MB / 0.5783 GB, free: 50.17 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03029/1.248, allocations: 15.25 MB / 0.5932 GB, free: 33.77 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004484/1.248, allocations: 111 kB / 0.5933 GB, free: 33.66 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001945/1.25, allocations: 36 kB / 0.5934 GB, free: 33.62 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002556/1.253, allocations: 1.683 MB / 0.595 GB, free: 31.95 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2351/1.488, allocations: 75.56 MB / 0.6688 GB, free: 68.93 MB / 408.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008531/1.497, allocations: 5.646 MB / 0.6743 GB, free: 68.27 MB / 408.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006612/1.503, allocations: 4.582 MB / 0.6788 GB, free: 68.22 MB / 408.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02716/1.531, allocations: 14.11 MB / 0.6926 GB, free: 64.16 MB / 408.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.062e-05/1.531, allocations: 72.09 kB / 0.6926 GB, free: 64.12 MB / 408.6 MB Notification: Performance of pre-optimization done (n=293): time 1.013e-05/1.531, allocations: 0 / 0.6926 GB, free: 64.12 MB / 408.6 MB Notification: Performance of matching and sorting (n=366): time 0.1154/1.646, allocations: 33.8 MB / 0.7256 GB, free: 54.59 MB / 408.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/1.647, allocations: 400.7 kB / 0.726 GB, free: 54.14 MB / 408.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01132/1.658, allocations: 5.725 MB / 0.7316 GB, free: 52.18 MB / 408.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0006075/1.659, allocations: 28.67 kB / 0.7316 GB, free: 52.15 MB / 408.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.003273/1.662, allocations: 4.557 MB / 0.7361 GB, free: 48.98 MB / 408.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.001679/1.664, allocations: 1.289 MB / 0.7374 GB, free: 48.01 MB / 408.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008418/1.665, allocations: 0 / 0.7374 GB, free: 48.01 MB / 408.6 MB Notification: Performance of setup shared object (initialization): time 0.0005555/1.665, allocations: 0.685 MB / 0.738 GB, free: 47.54 MB / 408.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006904/1.672, allocations: 3.445 MB / 0.7414 GB, free: 46.3 MB / 408.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009225/1.682, allocations: 8.393 MB / 0.7496 GB, free: 38.42 MB / 408.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/1.692, allocations: 5.345 MB / 0.7548 GB, free: 36.75 MB / 408.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001319/1.692, allocations: 48 kB / 0.7548 GB, free: 36.7 MB / 408.6 MB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.03681/1.729, allocations: 13.8 MB / 0.7683 GB, free: 25.62 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/1.729, allocations: 4 kB / 0.7683 GB, free: 25.61 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002131/1.729, allocations: 172 kB / 0.7685 GB, free: 25.45 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01523/1.745, allocations: 3.618 MB / 0.772 GB, free: 22.72 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008334/1.753, allocations: 1.889 MB / 0.7739 GB, free: 21.06 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04057/1.794, allocations: 21.06 MB / 0.7944 GB, free: 2.363 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01009/1.804, allocations: 281.3 kB / 0.7947 GB, free: 2.125 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0016/1.806, allocations: 0.5088 MB / 0.7952 GB, free: 1.629 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004837/1.806, allocations: 83.28 kB / 0.7953 GB, free: 1.547 MB / 408.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001423/1.808, allocations: 0.6402 MB / 0.7959 GB, free: 0.8984 MB / 408.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1812/1.989, allocations: 9.249 MB / 0.8049 GB, free: 97.63 MB / 408.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.254e-05/1.989, allocations: 36.09 kB / 0.805 GB, free: 97.63 MB / 408.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-05/1.989, allocations: 22.06 kB / 0.805 GB, free: 97.63 MB / 408.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.629e-05/1.989, allocations: 14.67 kB / 0.805 GB, free: 97.63 MB / 408.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04717/2.037, allocations: 17.92 MB / 0.8225 GB, free: 96.51 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.779e-05/2.037, allocations: 12.47 kB / 0.8225 GB, free: 96.51 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003123/2.04, allocations: 427.3 kB / 0.8229 GB, free: 96.51 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01506/2.055, allocations: 3.336 MB / 0.8262 GB, free: 96.47 MB / 408.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007111/2.056, allocations: 15.7 kB / 0.8262 GB, free: 96.47 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03938/2.095, allocations: 20.44 MB / 0.8462 GB, free: 91.58 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.669e-05/2.096, allocations: 15.09 kB / 0.8462 GB, free: 91.58 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03003/2.126, allocations: 14.73 MB / 0.8606 GB, free: 85.14 MB / 408.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003752/2.129, allocations: 1.178 MB / 0.8617 GB, free: 84.83 MB / 408.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002019/2.132, allocations: 11.69 kB / 0.8617 GB, free: 84.83 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005407/2.137, allocations: 120 kB / 0.8618 GB, free: 84.83 MB / 408.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009649/2.138, allocations: 183.4 kB / 0.862 GB, free: 84.8 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004943/2.139, allocations: 99.44 kB / 0.8621 GB, free: 84.78 MB / 408.6 MB Notification: Performance of sort global known variables: time 0.009273/2.148, allocations: 4.018 MB / 0.866 GB, free: 83.39 MB / 408.6 MB Notification: Performance of remove unused functions: time 0.01135/2.16, allocations: 1.692 MB / 0.8677 GB, free: 83.39 MB / 408.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002894/2.16, allocations: 110.8 kB / 0.8678 GB, free: 83.33 MB / 408.6 MB Notification: Performance of simCode: created initialization part: time 0.01826/2.178, allocations: 9 MB / 0.8766 GB, free: 80.44 MB / 408.6 MB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/2.178, allocations: 9.375 kB / 0.8766 GB, free: 80.44 MB / 408.6 MB Notification: Performance of simCode: created simulation system equations: time 0.008321/2.187, allocations: 3.784 MB / 0.8803 GB, free: 78.91 MB / 408.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006667/2.194, allocations: 0.849 MB / 0.8811 GB, free: 78.61 MB / 408.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04218/2.236, allocations: 15.51 MB / 0.8963 GB, free: 66.48 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01489/2.251, allocations: 6.311 MB / 0.9024 GB, free: 61.8 MB / 408.6 MB Notification: Performance of SimCode: time 3.073e-06/2.251, allocations: 4 kB / 0.9024 GB, free: 61.79 MB / 408.6 MB Notification: Performance of Templates: time 0.4068/2.658, allocations: 81.18 MB / 0.9817 GB, free: 87.7 MB / 408.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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_Engine1b -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.Engine1b.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.Engine1b.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.Engine1b.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_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.Engine1b.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.Engine1b.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.Engine1b.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_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.Engine1b.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.Engine1b.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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_Engine1b_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.Engine1b.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:1244:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_eqFunction_1357(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:1244:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_eqFunction_1357(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:1245:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_eqFunction_1358(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:1245:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_eqFunction_1358(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:1246:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_eqFunction_1359(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.Engine1b.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.o] Error 1