Notification: Performance of loadModel(Modelica): time 1.489/1.489, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.09e-05/1.097e-05, allocations: 2.344 kB / 247.7 MB, free: 4.297 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05892/0.05901, allocations: 44.36 MB / 292.1 MB, free: 8.875 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2389/0.298, allocations: 91.36 MB / 383.5 MB, free: 3.848 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.2983, allocations: 98.42 kB / 383.6 MB, free: 3.828 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.741/1.039, allocations: 159.4 MB / 0.5302 GB, free: 64.77 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0005534/1.04, allocations: 161.6 kB / 0.5303 GB, free: 64.76 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.02513/1.065, allocations: 8.036 MB / 0.5382 GB, free: 61.61 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/1.065, allocations: 6.844 kB / 0.5382 GB, free: 61.61 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08562/1.151, allocations: 16.12 MB / 0.5539 GB, free: 61 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04102/1.192, allocations: 13.94 MB / 0.5676 GB, free: 58.84 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000489/1.193, allocations: 240.8 kB / 0.5678 GB, free: 58.84 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003185/1.196, allocations: 465.9 kB / 0.5682 GB, free: 58.81 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02162/1.218, allocations: 10.36 MB / 0.5783 GB, free: 50.21 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03093/1.249, allocations: 15.25 MB / 0.5932 GB, free: 33.83 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004515/1.249, allocations: 110.4 kB / 0.5933 GB, free: 33.73 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00214/1.251, allocations: 36 kB / 0.5934 GB, free: 33.69 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002612/1.254, allocations: 1.671 MB / 0.595 GB, free: 32.02 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2444/1.499, allocations: 75.57 MB / 0.6688 GB, free: 68.8 MB / 408.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008638/1.507, allocations: 5.636 MB / 0.6743 GB, free: 68.15 MB / 408.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006787/1.514, allocations: 4.575 MB / 0.6788 GB, free: 68.1 MB / 408.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02731/1.542, allocations: 14.12 MB / 0.6926 GB, free: 64.04 MB / 408.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.49e-05/1.542, allocations: 65.72 kB / 0.6926 GB, free: 64 MB / 408.6 MB Notification: Performance of pre-optimization done (n=293): time 1.055e-05/1.542, allocations: 0 / 0.6926 GB, free: 64 MB / 408.6 MB Notification: Performance of matching and sorting (n=366): time 0.1192/1.661, allocations: 33.8 MB / 0.7256 GB, free: 54.56 MB / 408.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/1.661, allocations: 398.2 kB / 0.726 GB, free: 54.12 MB / 408.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0123/1.674, allocations: 5.728 MB / 0.7316 GB, free: 52.16 MB / 408.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0006485/1.675, allocations: 25.7 kB / 0.7316 GB, free: 52.12 MB / 408.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.003529/1.678, allocations: 4.553 MB / 0.7361 GB, free: 48.96 MB / 408.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.001718/1.68, allocations: 1.293 MB / 0.7373 GB, free: 47.98 MB / 408.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008353/1.681, allocations: 3.938 kB / 0.7373 GB, free: 47.98 MB / 408.6 MB Notification: Performance of setup shared object (initialization): time 0.0005866/1.682, allocations: 0.6841 MB / 0.738 GB, free: 47.52 MB / 408.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00688/1.688, allocations: 3.448 MB / 0.7414 GB, free: 46.27 MB / 408.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009276/1.698, allocations: 8.387 MB / 0.7496 GB, free: 38.39 MB / 408.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/1.708, allocations: 5.344 MB / 0.7548 GB, free: 36.75 MB / 408.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001543/1.708, allocations: 48.16 kB / 0.7548 GB, free: 36.71 MB / 408.6 MB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.03696/1.746, allocations: 13.8 MB / 0.7683 GB, free: 25.63 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.746, allocations: 4 kB / 0.7683 GB, free: 25.63 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002106/1.746, allocations: 172 kB / 0.7685 GB, free: 25.46 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01667/1.763, allocations: 3.621 MB / 0.772 GB, free: 22.73 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008511/1.771, allocations: 1.894 MB / 0.7739 GB, free: 21.07 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04119/1.813, allocations: 21.06 MB / 0.7944 GB, free: 2.375 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01009/1.823, allocations: 279.8 kB / 0.7947 GB, free: 2.137 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001861/1.825, allocations: 0.507 MB / 0.7952 GB, free: 1.641 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005205/1.825, allocations: 75.28 kB / 0.7953 GB, free: 1.566 MB / 408.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001452/1.827, allocations: 0.6441 MB / 0.7959 GB, free: 0.9141 MB / 408.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1799/2.007, allocations: 9.252 MB / 0.8049 GB, free: 97.53 MB / 408.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.666e-05/2.007, allocations: 34.34 kB / 0.805 GB, free: 97.53 MB / 408.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.611e-05/2.007, allocations: 27.14 kB / 0.805 GB, free: 97.53 MB / 408.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.301e-05/2.007, allocations: 14.72 kB / 0.805 GB, free: 97.53 MB / 408.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04546/2.053, allocations: 17.92 MB / 0.8225 GB, free: 96.41 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.66e-05/2.053, allocations: 17.41 kB / 0.8225 GB, free: 96.41 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002856/2.056, allocations: 428.4 kB / 0.8229 GB, free: 96.41 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01465/2.071, allocations: 3.332 MB / 0.8262 GB, free: 96.38 MB / 408.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006722/2.071, allocations: 12.47 kB / 0.8262 GB, free: 96.38 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03912/2.11, allocations: 20.44 MB / 0.8462 GB, free: 91.61 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.551e-05/2.111, allocations: 14 kB / 0.8462 GB, free: 91.61 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02928/2.14, allocations: 14.73 MB / 0.8606 GB, free: 85.17 MB / 408.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003732/2.144, allocations: 1.178 MB / 0.8617 GB, free: 84.86 MB / 408.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001917/2.146, allocations: 14.58 kB / 0.8617 GB, free: 84.86 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005424/2.151, allocations: 113.4 kB / 0.8618 GB, free: 84.86 MB / 408.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001025/2.152, allocations: 188.5 kB / 0.862 GB, free: 84.82 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005982/2.153, allocations: 104.5 kB / 0.8621 GB, free: 84.8 MB / 408.6 MB Notification: Performance of sort global known variables: time 0.009401/2.163, allocations: 4.014 MB / 0.866 GB, free: 83.42 MB / 408.6 MB Notification: Performance of remove unused functions: time 0.01182/2.175, allocations: 1.691 MB / 0.8677 GB, free: 83.41 MB / 408.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003161/2.175, allocations: 105.1 kB / 0.8678 GB, free: 83.36 MB / 408.6 MB Notification: Performance of simCode: created initialization part: time 0.01852/2.194, allocations: 8.996 MB / 0.8766 GB, free: 80.46 MB / 408.6 MB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/2.194, allocations: 3.812 kB / 0.8766 GB, free: 80.46 MB / 408.6 MB Notification: Performance of simCode: created simulation system equations: time 0.008418/2.202, allocations: 3.793 MB / 0.8803 GB, free: 78.94 MB / 408.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006626/2.209, allocations: 0.8539 MB / 0.8811 GB, free: 78.64 MB / 408.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04155/2.251, allocations: 15.51 MB / 0.8963 GB, free: 66.6 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.015/2.266, allocations: 6.313 MB / 0.9024 GB, free: 61.92 MB / 408.6 MB Notification: Performance of SimCode: time 2.933e-06/2.266, allocations: 0 / 0.9024 GB, free: 61.92 MB / 408.6 MB Notification: Performance of Templates: time 0.3817/2.648, allocations: 81.18 MB / 0.9817 GB, free: 82.1 MB / 408.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:1244:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_eqFunction_1357(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:1244:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_eqFunction_1357(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:1245:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_eqFunction_1358(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:1245:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_eqFunction_1358(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.c:1246:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.o] Error 1