Notification: Performance of loadModel(Modelica): time 1.674/1.674, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.939e-06/9.219e-06, allocations: 1.938 kB / 247.7 MB, free: 4.344 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06094/0.06103, allocations: 44.36 MB / 292.1 MB, free: 8.898 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2559/0.317, allocations: 91.36 MB / 383.5 MB, free: 3.902 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.3173, allocations: 94.3 kB / 383.6 MB, free: 3.883 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.9239/1.241, allocations: 159.4 MB / 0.5302 GB, free: 65.14 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0005723/1.242, allocations: 162.6 kB / 0.5304 GB, free: 65.14 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.02608/1.268, allocations: 8.031 MB / 0.5382 GB, free: 61.98 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/1.268, allocations: 15.12 kB / 0.5382 GB, free: 61.98 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08765/1.356, allocations: 16.12 MB / 0.554 GB, free: 61.37 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04329/1.399, allocations: 13.93 MB / 0.5676 GB, free: 59.19 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005689/1.4, allocations: 244.4 kB / 0.5678 GB, free: 59.18 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003339/1.404, allocations: 465.9 kB / 0.5682 GB, free: 59.16 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02238/1.426, allocations: 10.36 MB / 0.5783 GB, free: 50.19 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03336/1.459, allocations: 15.24 MB / 0.5932 GB, free: 33.81 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000637/1.46, allocations: 110.8 kB / 0.5933 GB, free: 33.72 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002893/1.463, allocations: 44 kB / 0.5934 GB, free: 33.68 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002765/1.466, allocations: 1.674 MB / 0.595 GB, free: 32.01 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2477/1.714, allocations: 75.57 MB / 0.6688 GB, free: 68.72 MB / 408.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008632/1.723, allocations: 5.634 MB / 0.6743 GB, free: 68.07 MB / 408.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006812/1.729, allocations: 4.579 MB / 0.6788 GB, free: 68.02 MB / 408.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02841/1.758, allocations: 14.12 MB / 0.6926 GB, free: 63.96 MB / 408.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.013e-05/1.758, allocations: 73.75 kB / 0.6926 GB, free: 63.92 MB / 408.6 MB Notification: Performance of pre-optimization done (n=293): time 1.034e-05/1.758, allocations: 0 / 0.6926 GB, free: 63.92 MB / 408.6 MB Notification: Performance of matching and sorting (n=366): time 0.1214/1.88, allocations: 33.8 MB / 0.7256 GB, free: 54.45 MB / 408.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/1.88, allocations: 400.9 kB / 0.726 GB, free: 54.01 MB / 408.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01232/1.892, allocations: 5.724 MB / 0.7316 GB, free: 52.05 MB / 408.6 MB Notification: Performance of collectPreVariables (initialization): time 0.000718/1.893, allocations: 25.7 kB / 0.7316 GB, free: 52.02 MB / 408.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.003576/1.897, allocations: 4.549 MB / 0.7361 GB, free: 48.85 MB / 408.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.001744/1.899, allocations: 1.302 MB / 0.7374 GB, free: 47.88 MB / 408.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008677/1.9, allocations: 0 / 0.7374 GB, free: 47.88 MB / 408.6 MB Notification: Performance of setup shared object (initialization): time 0.0006098/1.9, allocations: 0.6853 MB / 0.738 GB, free: 47.4 MB / 408.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007039/1.907, allocations: 3.443 MB / 0.7414 GB, free: 46.16 MB / 408.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009398/1.917, allocations: 8.387 MB / 0.7496 GB, free: 38.28 MB / 408.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/1.927, allocations: 5.347 MB / 0.7548 GB, free: 36.63 MB / 408.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001225/1.927, allocations: 50.34 kB / 0.7548 GB, free: 36.63 MB / 408.6 MB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.0365/1.964, allocations: 13.8 MB / 0.7683 GB, free: 25.53 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/1.964, allocations: 8 kB / 0.7683 GB, free: 25.52 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000207/1.964, allocations: 174.8 kB / 0.7685 GB, free: 25.36 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0152/1.979, allocations: 3.618 MB / 0.772 GB, free: 22.63 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008547/1.988, allocations: 1.882 MB / 0.7739 GB, free: 20.98 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04118/2.029, allocations: 20.99 MB / 0.7944 GB, free: 2.328 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01058/2.04, allocations: 282.7 kB / 0.7946 GB, free: 2.09 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001932/2.042, allocations: 0.5066 MB / 0.7951 GB, free: 1.594 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.000526/2.043, allocations: 75.28 kB / 0.7952 GB, free: 1.52 MB / 408.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001565/2.044, allocations: 0.6441 MB / 0.7958 GB, free: 0.8672 MB / 408.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1736/2.218, allocations: 8.551 MB / 0.8042 GB, free: 97.57 MB / 408.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.561e-05/2.218, allocations: 34.56 kB / 0.8042 GB, free: 97.57 MB / 408.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.1e-05/2.218, allocations: 20.78 kB / 0.8042 GB, free: 97.57 MB / 408.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.622e-05/2.218, allocations: 17.67 kB / 0.8043 GB, free: 97.57 MB / 408.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04973/2.268, allocations: 17.92 MB / 0.8218 GB, free: 96.46 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.485e-05/2.268, allocations: 7.625 kB / 0.8218 GB, free: 96.46 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003267/2.272, allocations: 432 kB / 0.8222 GB, free: 96.46 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01497/2.287, allocations: 3.334 MB / 0.8254 GB, free: 96.42 MB / 408.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006811/2.288, allocations: 13.77 kB / 0.8254 GB, free: 96.42 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03822/2.326, allocations: 20.36 MB / 0.8453 GB, free: 90.84 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.76e-05/2.326, allocations: 17.91 kB / 0.8453 GB, free: 90.84 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02967/2.356, allocations: 14.72 MB / 0.8597 GB, free: 84.4 MB / 408.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004007/2.36, allocations: 1.181 MB / 0.8609 GB, free: 84.08 MB / 408.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002158/2.362, allocations: 14.77 kB / 0.8609 GB, free: 84.08 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005403/2.368, allocations: 115.7 kB / 0.861 GB, free: 84.08 MB / 408.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009588/2.369, allocations: 188.1 kB / 0.8612 GB, free: 84.05 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005453/2.369, allocations: 105 kB / 0.8613 GB, free: 84.03 MB / 408.6 MB Notification: Performance of sort global known variables: time 0.009283/2.379, allocations: 4.016 MB / 0.8652 GB, free: 82.64 MB / 408.6 MB Notification: Performance of remove unused functions: time 0.01166/2.39, allocations: 1.69 MB / 0.8669 GB, free: 82.64 MB / 408.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002899/2.391, allocations: 108.4 kB / 0.867 GB, free: 82.59 MB / 408.6 MB Notification: Performance of simCode: created initialization part: time 0.01839/2.409, allocations: 8.993 MB / 0.8757 GB, free: 79.69 MB / 408.6 MB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/2.409, allocations: 5.312 kB / 0.8757 GB, free: 79.69 MB / 408.6 MB Notification: Performance of simCode: created simulation system equations: time 0.008858/2.418, allocations: 3.794 MB / 0.8794 GB, free: 78.16 MB / 408.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00702/2.425, allocations: 0.8438 MB / 0.8803 GB, free: 77.86 MB / 408.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04268/2.468, allocations: 15.51 MB / 0.8954 GB, free: 64.77 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01476/2.483, allocations: 6.308 MB / 0.9016 GB, free: 60.08 MB / 408.6 MB Notification: Performance of SimCode: time 2.165e-06/2.483, allocations: 0 / 0.9016 GB, free: 60.08 MB / 408.6 MB Notification: Performance of Templates: time 0.4393/2.923, allocations: 81.18 MB / 0.9809 GB, free: 87.34 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