Notification: Performance of loadModel(Modelica): time 1.595/1.595, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.069e-05/1.089e-05, allocations: 1.188 kB / 250 MB, free: 18.11 MB / 216.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06458/0.06467, allocations: 44.36 MB / 294.3 MB, free: 6.672 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2544/0.3192, allocations: 96.33 MB / 390.7 MB, free: 2.133 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.3196, allocations: 96.22 kB / 390.8 MB, free: 2.117 MB / 296.6 MB Notification: Performance of FrontEnd: time 4.319/4.639, allocations: 0.9913 GB / 1.373 GB, free: 16.8 MB / 0.4928 GB Notification: Performance of Transformations before backend: time 0.005732/4.645, allocations: 0.8533 MB / 1.374 GB, free: 16.78 MB / 0.4928 GB Notification: Performance of Generate backend data structure: time 0.1623/4.807, allocations: 42.72 MB / 1.415 GB, free: 2.266 MB / 0.4928 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/4.808, allocations: 14.78 kB / 1.415 GB, free: 2.262 MB / 0.4928 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4926/5.3, allocations: 96.27 MB / 1.509 GB, free: 1.066 MB / 0.5241 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7641/6.064, allocations: 86.54 MB / 1.594 GB, free: 71.41 MB / 0.5241 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001924/6.066, allocations: 1.135 MB / 1.595 GB, free: 71.41 MB / 0.5241 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01512/6.082, allocations: 2.278 MB / 1.597 GB, free: 71.32 MB / 0.5241 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1171/6.199, allocations: 51.28 MB / 1.647 GB, free: 61.05 MB / 0.5241 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6978/6.897, allocations: 69.23 MB / 1.715 GB, free: 60.58 MB / 0.5242 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00327/6.9, allocations: 446.2 kB / 1.715 GB, free: 60.58 MB / 0.5242 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0124/6.913, allocations: 115.6 kB / 1.716 GB, free: 60.58 MB / 0.5242 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01492/6.928, allocations: 7.324 MB / 1.723 GB, free: 60.51 MB / 0.5242 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9187/7.846, allocations: 350.4 MB / 2.065 GB, free: 31.76 MB / 0.6024 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05503/7.902, allocations: 30.14 MB / 2.094 GB, free: 31.7 MB / 0.6024 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04684/7.949, allocations: 29.68 MB / 2.123 GB, free: 28.2 MB / 0.6024 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5428/8.491, allocations: 124 MB / 2.244 GB, free: 143.3 MB / 0.6024 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002875/8.492, allocations: 224.1 kB / 2.245 GB, free: 143.2 MB / 0.6024 GB Notification: Performance of pre-optimization done (n=1649): time 3.248e-05/8.492, allocations: 0 / 2.245 GB, free: 143.2 MB / 0.6024 GB Notification: Performance of matching and sorting (n=2121): time 1.347/9.839, allocations: 268.2 MB / 2.507 GB, free: 126.3 MB / 0.6024 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004031/9.839, allocations: 1.634 MB / 2.508 GB, free: 124.3 MB / 0.6024 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07316/9.912, allocations: 27.05 MB / 2.535 GB, free: 108.4 MB / 0.6024 GB Notification: Performance of collectPreVariables (initialization): time 0.004441/9.917, allocations: 30.33 kB / 2.535 GB, free: 108.4 MB / 0.6024 GB Notification: Performance of collectInitialEqns (initialization): time 0.3312/10.25, allocations: 17.37 MB / 2.552 GB, free: 135.1 MB / 0.6024 GB Notification: Performance of collectInitialBindings (initialization): time 0.01622/10.26, allocations: 7.102 MB / 2.559 GB, free: 131.5 MB / 0.6024 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005724/10.27, allocations: 0 / 2.559 GB, free: 131.5 MB / 0.6024 GB Notification: Performance of setup shared object (initialization): time 5.161e-05/10.27, allocations: 305.2 kB / 2.559 GB, free: 131.2 MB / 0.6024 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04115/10.31, allocations: 20.56 MB / 2.579 GB, free: 131.2 MB / 0.6024 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0513/10.36, allocations: 33.39 MB / 2.611 GB, free: 115.4 MB / 0.6024 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05476/10.42, allocations: 26.79 MB / 2.638 GB, free: 115.1 MB / 0.6024 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006733/10.42, allocations: 125.1 kB / 2.638 GB, free: 115.1 MB / 0.6024 GB Notification: Performance of matching and sorting (n=4063) (initialization): time 0.2575/10.68, allocations: 83.33 MB / 2.719 GB, free: 88.24 MB / 0.6024 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/10.68, allocations: 4.969 kB / 2.719 GB, free: 88.23 MB / 0.6024 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006672/10.68, allocations: 420 kB / 2.72 GB, free: 87.82 MB / 0.6024 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4862/11.16, allocations: 39.43 MB / 2.758 GB, free: 112.4 MB / 0.6024 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03026/11.19, allocations: 5.84 MB / 2.764 GB, free: 112.4 MB / 0.6024 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7095/11.9, allocations: 195.1 MB / 2.954 GB, free: 97.84 MB / 0.6024 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0421/11.95, allocations: 1.106 MB / 2.955 GB, free: 97.84 MB / 0.6024 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007492/11.95, allocations: 1.486 MB / 2.957 GB, free: 97.84 MB / 0.6024 GB Notification: Performance of prepare postOptimizeDAE: time 0.004441/11.96, allocations: 85.69 kB / 2.957 GB, free: 97.77 MB / 0.6024 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01051/11.97, allocations: 3.241 MB / 2.96 GB, free: 97.77 MB / 0.6024 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2431/12.21, allocations: 74.24 MB / 3.033 GB, free: 96.8 MB / 0.6024 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002161/12.21, allocations: 199.7 kB / 3.033 GB, free: 96.8 MB / 0.6024 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003074/12.21, allocations: 137.7 kB / 3.033 GB, free: 96.8 MB / 0.6024 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003491/12.21, allocations: 101.4 kB / 3.033 GB, free: 96.8 MB / 0.6024 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7626/12.98, allocations: 174.6 MB / 3.204 GB, free: 94.41 MB / 0.6024 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001685/12.98, allocations: 20.31 kB / 3.204 GB, free: 94.41 MB / 0.6024 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01685/12.99, allocations: 2.352 MB / 3.206 GB, free: 94.41 MB / 0.6024 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1689/13.16, allocations: 35.31 MB / 3.24 GB, free: 93.99 MB / 0.6024 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005003/13.17, allocations: 35.52 kB / 3.24 GB, free: 93.99 MB / 0.6024 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.706/13.87, allocations: 183.1 MB / 3.419 GB, free: 97.92 MB / 0.6024 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.904e-05/13.87, allocations: 35.53 kB / 3.419 GB, free: 97.92 MB / 0.6024 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.6084/14.48, allocations: 120.2 MB / 3.537 GB, free: 95.1 MB / 0.6024 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02455/14.51, allocations: 7.269 MB / 3.544 GB, free: 95 MB / 0.6024 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.013/14.52, allocations: 43.97 kB / 3.544 GB, free: 95 MB / 0.6024 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02968/14.55, allocations: 0.6815 MB / 3.544 GB, free: 95 MB / 0.6024 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006048/14.56, allocations: 1.005 MB / 3.545 GB, free: 94.99 MB / 0.6024 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00442/14.56, allocations: 0.497 MB / 3.546 GB, free: 94.99 MB / 0.6024 GB Notification: Performance of sort global known variables: time 0.05058/14.61, allocations: 20.27 MB / 3.566 GB, free: 94.09 MB / 0.6024 GB Notification: Performance of remove unused functions: time 0.05157/14.66, allocations: 8.874 MB / 3.574 GB, free: 94.09 MB / 0.6024 GB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001803/14.66, allocations: 86.19 kB / 3.574 GB, free: 94.04 MB / 0.6024 GB Notification: Performance of simCode: created initialization part: time 0.1219/14.78, allocations: 53 MB / 3.626 GB, free: 92.14 MB / 0.6024 GB Notification: Performance of simCode: created event and clocks part: time 2.507e-05/14.78, allocations: 9.25 kB / 3.626 GB, free: 92.14 MB / 0.6024 GB Notification: Performance of simCode: created simulation system equations: time 0.07136/14.86, allocations: 27.57 MB / 3.653 GB, free: 90.4 MB / 0.6024 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03651/14.89, allocations: 4.966 MB / 3.658 GB, free: 89.38 MB / 0.6024 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6258/15.52, allocations: 96.91 MB / 3.753 GB, free: 76.71 MB / 0.6024 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.09416/15.61, allocations: 30.94 MB / 3.783 GB, free: 74.7 MB / 0.6024 GB Notification: Performance of SimCode: time 2.514e-06/15.61, allocations: 0 / 3.783 GB, free: 74.7 MB / 0.6024 GB Notification: Performance of Templates: time 2.145/17.76, allocations: 0.4885 GB / 4.271 GB, free: 94.34 MB / 0.6336 GB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.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_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:5999:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_eqFunction_5443(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:5999:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_eqFunction_5443(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:6000:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_eqFunction_5444(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:6000:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_eqFunction_5444(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.c:6001:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.o] Error 1