Notification: Performance of loadModel(Modelica): time 1.521/1.521, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.708e-06/9.848e-06, allocations: 1.5 kB / 250 MB, free: 18.08 MB / 216.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06311/0.0632, allocations: 44.37 MB / 294.3 MB, free: 6.633 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2535/0.3168, allocations: 96.33 MB / 390.7 MB, free: 2.145 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.3172, allocations: 91.53 kB / 390.8 MB, free: 2.129 MB / 296.6 MB Notification: Performance of FrontEnd: time 4.281/4.598, allocations: 0.9913 GB / 1.373 GB, free: 16.77 MB / 0.4928 GB Notification: Performance of Transformations before backend: time 0.00538/4.604, allocations: 0.8537 MB / 1.374 GB, free: 16.75 MB / 0.4928 GB Notification: Performance of Generate backend data structure: time 0.165/4.769, allocations: 42.72 MB / 1.415 GB, free: 2.227 MB / 0.4928 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/4.769, allocations: 7.906 kB / 1.415 GB, free: 2.227 MB / 0.4928 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5287/5.297, allocations: 96.28 MB / 1.509 GB, free: 1.027 MB / 0.5241 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7583/6.056, allocations: 86.54 MB / 1.594 GB, free: 71.44 MB / 0.5241 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001964/6.058, allocations: 1.131 MB / 1.595 GB, free: 71.44 MB / 0.5241 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01547/6.074, allocations: 2.283 MB / 1.597 GB, free: 71.35 MB / 0.5241 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1202/6.194, allocations: 51.27 MB / 1.647 GB, free: 61.07 MB / 0.5241 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7083/6.902, allocations: 69.23 MB / 1.715 GB, free: 60.73 MB / 0.5242 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003273/6.906, allocations: 454.1 kB / 1.715 GB, free: 60.73 MB / 0.5242 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01303/6.919, allocations: 111.5 kB / 1.716 GB, free: 60.73 MB / 0.5242 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01493/6.934, allocations: 7.326 MB / 1.723 GB, free: 60.67 MB / 0.5242 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9327/7.867, allocations: 350.4 MB / 2.065 GB, free: 31.85 MB / 0.6024 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05633/7.923, allocations: 30.14 MB / 2.094 GB, free: 31.79 MB / 0.6024 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.06571/7.989, allocations: 29.68 MB / 2.123 GB, free: 28.2 MB / 0.6024 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5548/8.544, allocations: 124 MB / 2.244 GB, free: 143.4 MB / 0.6024 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000305/8.544, allocations: 215.9 kB / 2.245 GB, free: 143.3 MB / 0.6024 GB Notification: Performance of pre-optimization done (n=1649): time 3.073e-05/8.544, allocations: 0 / 2.245 GB, free: 143.3 MB / 0.6024 GB Notification: Performance of matching and sorting (n=2121): time 1.379/9.923, allocations: 268.2 MB / 2.507 GB, free: 126.4 MB / 0.6024 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004095/9.924, allocations: 1.641 MB / 2.508 GB, free: 124.4 MB / 0.6024 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07316/9.997, allocations: 27.05 MB / 2.535 GB, free: 108.5 MB / 0.6024 GB Notification: Performance of collectPreVariables (initialization): time 0.004338/10, allocations: 29.7 kB / 2.535 GB, free: 108.5 MB / 0.6024 GB Notification: Performance of collectInitialEqns (initialization): time 0.3243/10.33, allocations: 17.37 MB / 2.552 GB, free: 135.2 MB / 0.6024 GB Notification: Performance of collectInitialBindings (initialization): time 0.01596/10.34, allocations: 7.097 MB / 2.558 GB, free: 131.7 MB / 0.6024 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005377/10.35, allocations: 0 / 2.558 GB, free: 131.7 MB / 0.6024 GB Notification: Performance of setup shared object (initialization): time 4.91e-05/10.35, allocations: 304.3 kB / 2.559 GB, free: 131.4 MB / 0.6024 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04054/10.39, allocations: 20.56 MB / 2.579 GB, free: 131.3 MB / 0.6024 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04988/10.44, allocations: 33.39 MB / 2.611 GB, free: 115.5 MB / 0.6024 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05546/10.49, allocations: 26.79 MB / 2.638 GB, free: 115.3 MB / 0.6024 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006089/10.49, allocations: 124.7 kB / 2.638 GB, free: 115.3 MB / 0.6024 GB Notification: Performance of matching and sorting (n=4063) (initialization): time 0.2611/10.76, allocations: 83.34 MB / 2.719 GB, free: 88.3 MB / 0.6024 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/10.76, allocations: 4 kB / 2.719 GB, free: 88.3 MB / 0.6024 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007058/10.76, allocations: 420 kB / 2.72 GB, free: 87.89 MB / 0.6024 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4999/11.26, allocations: 39.43 MB / 2.758 GB, free: 112.5 MB / 0.6024 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03378/11.29, allocations: 5.838 MB / 2.764 GB, free: 112.5 MB / 0.6024 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7395/12.03, allocations: 194.6 MB / 2.954 GB, free: 97.96 MB / 0.6024 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05142/12.08, allocations: 1.107 MB / 2.955 GB, free: 97.96 MB / 0.6024 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01233/12.09, allocations: 1.478 MB / 2.956 GB, free: 97.96 MB / 0.6024 GB Notification: Performance of prepare postOptimizeDAE: time 0.006384/12.1, allocations: 86.84 kB / 2.956 GB, free: 97.89 MB / 0.6024 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01102/12.11, allocations: 3.244 MB / 2.96 GB, free: 97.89 MB / 0.6024 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2436/12.36, allocations: 74.23 MB / 3.032 GB, free: 96.93 MB / 0.6024 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002303/12.36, allocations: 202.2 kB / 3.032 GB, free: 96.93 MB / 0.6024 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002594/12.36, allocations: 138.7 kB / 3.032 GB, free: 96.93 MB / 0.6024 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003053/12.36, allocations: 100.9 kB / 3.032 GB, free: 96.93 MB / 0.6024 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7605/13.12, allocations: 174.6 MB / 3.203 GB, free: 94.07 MB / 0.6024 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001788/13.12, allocations: 24.72 kB / 3.203 GB, free: 94.07 MB / 0.6024 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01775/13.13, allocations: 2.351 MB / 3.205 GB, free: 94.07 MB / 0.6024 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1797/13.31, allocations: 35.31 MB / 3.24 GB, free: 93.65 MB / 0.6024 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004755/13.32, allocations: 38.2 kB / 3.24 GB, free: 93.65 MB / 0.6024 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7109/14.03, allocations: 182.7 MB / 3.418 GB, free: 93.17 MB / 0.6024 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.185e-05/14.03, allocations: 31.44 kB / 3.418 GB, free: 93.17 MB / 0.6024 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.6125/14.64, allocations: 120.2 MB / 3.536 GB, free: 94.94 MB / 0.6024 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02581/14.67, allocations: 7.276 MB / 3.543 GB, free: 94.84 MB / 0.6024 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01309/14.68, allocations: 30.55 kB / 3.543 GB, free: 94.84 MB / 0.6024 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03149/14.71, allocations: 0.684 MB / 3.544 GB, free: 94.84 MB / 0.6024 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006289/14.72, allocations: 1.011 MB / 3.545 GB, free: 94.83 MB / 0.6024 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004701/14.73, allocations: 0.4904 MB / 3.545 GB, free: 94.83 MB / 0.6024 GB Notification: Performance of sort global known variables: time 0.05318/14.78, allocations: 20.28 MB / 3.565 GB, free: 93.93 MB / 0.6024 GB Notification: Performance of remove unused functions: time 0.05321/14.83, allocations: 8.872 MB / 3.573 GB, free: 93.93 MB / 0.6024 GB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001875/14.83, allocations: 90.31 kB / 3.574 GB, free: 93.88 MB / 0.6024 GB Notification: Performance of simCode: created initialization part: time 0.1197/14.95, allocations: 53 MB / 3.625 GB, free: 91.98 MB / 0.6024 GB Notification: Performance of simCode: created event and clocks part: time 2.521e-05/14.95, allocations: 8.531 kB / 3.625 GB, free: 91.98 MB / 0.6024 GB Notification: Performance of simCode: created simulation system equations: time 0.0704/15.02, allocations: 27.57 MB / 3.652 GB, free: 90.25 MB / 0.6024 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03896/15.06, allocations: 4.956 MB / 3.657 GB, free: 89.74 MB / 0.6024 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6606/15.72, allocations: 96.62 MB / 3.751 GB, free: 76.35 MB / 0.6024 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.09741/15.82, allocations: 30.94 MB / 3.782 GB, free: 74.34 MB / 0.6024 GB Notification: Performance of SimCode: time 2.095e-06/15.82, allocations: 3.688 kB / 3.782 GB, free: 74.34 MB / 0.6024 GB Notification: Performance of Templates: time 1.82/17.64, allocations: 0.4884 GB / 4.27 GB, free: 83.77 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