Notification: Performance of loadModel(Modelica): time 1.564/1.564, allocations: 194.5 MB / 200.7 MB, free: 5.145 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.079e-06/9.219e-06, allocations: 1 kB / 247.7 MB, free: 4.324 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06109/0.06116, allocations: 44.36 MB / 292.1 MB, free: 8.859 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2462/0.3075, allocations: 91.36 MB / 383.5 MB, free: 3.918 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.3078, allocations: 93.25 kB / 383.6 MB, free: 3.902 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.8005/1.108, allocations: 159.4 MB / 0.5302 GB, free: 52.85 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0005377/1.109, allocations: 163.7 kB / 0.5304 GB, free: 52.84 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.02555/1.135, allocations: 8.035 MB / 0.5382 GB, free: 49.69 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/1.135, allocations: 11.03 kB / 0.5382 GB, free: 49.69 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08549/1.22, allocations: 16.12 MB / 0.554 GB, free: 49.08 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04302/1.264, allocations: 13.93 MB / 0.5676 GB, free: 47.72 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004146/1.264, allocations: 243.9 kB / 0.5678 GB, free: 47.55 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002967/1.267, allocations: 465.9 kB / 0.5682 GB, free: 47.11 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02169/1.289, allocations: 10.35 MB / 0.5783 GB, free: 39.4 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0307/1.32, allocations: 15.25 MB / 0.5932 GB, free: 24.56 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004775/1.32, allocations: 111 kB / 0.5933 GB, free: 24.45 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002222/1.323, allocations: 40 kB / 0.5934 GB, free: 24.41 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002579/1.325, allocations: 1.67 MB / 0.595 GB, free: 22.75 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2758/1.601, allocations: 75.57 MB / 0.6688 GB, free: 39.48 MB / 424.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008809/1.61, allocations: 5.639 MB / 0.6743 GB, free: 38.82 MB / 424.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006955/1.617, allocations: 4.58 MB / 0.6788 GB, free: 38.77 MB / 424.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02687/1.644, allocations: 14.12 MB / 0.6926 GB, free: 34.68 MB / 424.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/1.644, allocations: 73.25 kB / 0.6926 GB, free: 34.64 MB / 424.6 MB Notification: Performance of pre-optimization done (n=293): time 1.006e-05/1.644, allocations: 0 / 0.6926 GB, free: 34.64 MB / 424.6 MB Notification: Performance of matching and sorting (n=366): time 0.1313/1.776, allocations: 33.8 MB / 0.7256 GB, free: 27.96 MB / 424.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/1.776, allocations: 403.7 kB / 0.726 GB, free: 27.52 MB / 424.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01346/1.789, allocations: 5.728 MB / 0.7316 GB, free: 25.56 MB / 424.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0006122/1.79, allocations: 29.23 kB / 0.7317 GB, free: 25.53 MB / 424.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.003393/1.794, allocations: 4.546 MB / 0.7361 GB, free: 22.36 MB / 424.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.00168/1.795, allocations: 1.298 MB / 0.7374 GB, free: 21.38 MB / 424.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007863/1.796, allocations: 0 / 0.7374 GB, free: 21.38 MB / 424.6 MB Notification: Performance of setup shared object (initialization): time 0.0005596/1.797, allocations: 0.6842 MB / 0.738 GB, free: 20.91 MB / 424.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007348/1.804, allocations: 3.449 MB / 0.7414 GB, free: 19.67 MB / 424.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009675/1.814, allocations: 8.393 MB / 0.7496 GB, free: 10.68 MB / 424.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009502/1.824, allocations: 5.332 MB / 0.7548 GB, free: 6.449 MB / 424.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001314/1.824, allocations: 48 kB / 0.7548 GB, free: 6.402 MB / 424.6 MB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.04252/1.867, allocations: 14.06 MB / 0.7686 GB, free: 12.06 MB / 440.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/1.867, allocations: 4 kB / 0.7686 GB, free: 12.05 MB / 440.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002009/1.867, allocations: 175.9 kB / 0.7688 GB, free: 11.88 MB / 440.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01567/1.883, allocations: 3.619 MB / 0.7723 GB, free: 9.164 MB / 440.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008517/1.891, allocations: 1.889 MB / 0.7741 GB, free: 7.504 MB / 440.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05558/1.947, allocations: 21.68 MB / 0.7953 GB, free: 6.676 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0104/1.957, allocations: 280.2 kB / 0.7956 GB, free: 6.438 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001805/1.959, allocations: 0.5067 MB / 0.7961 GB, free: 5.941 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004758/1.96, allocations: 79.28 kB / 0.7961 GB, free: 5.863 MB / 456.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001748/1.962, allocations: 0.6402 MB / 0.7968 GB, free: 5.215 MB / 456.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03321/1.995, allocations: 8.913 MB / 0.8055 GB, free: 15.3 MB / 472.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001118/1.995, allocations: 40 kB / 0.8055 GB, free: 15.26 MB / 472.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.561e-05/1.995, allocations: 19.66 kB / 0.8055 GB, free: 15.25 MB / 472.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-05/1.995, allocations: 25.23 kB / 0.8056 GB, free: 15.24 MB / 472.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2317/2.227, allocations: 17.92 MB / 0.8231 GB, free: 109.3 MB / 472.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-05/2.227, allocations: 11.84 kB / 0.8231 GB, free: 109.3 MB / 472.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002948/2.23, allocations: 428.8 kB / 0.8235 GB, free: 109.3 MB / 472.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01469/2.245, allocations: 3.333 MB / 0.8267 GB, free: 109.2 MB / 472.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007041/2.246, allocations: 14.78 kB / 0.8267 GB, free: 109.2 MB / 472.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03888/2.285, allocations: 20.36 MB / 0.8466 GB, free: 105.4 MB / 472.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.571e-05/2.285, allocations: 14.56 kB / 0.8466 GB, free: 105.4 MB / 472.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03149/2.317, allocations: 14.73 MB / 0.861 GB, free: 102.9 MB / 472.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003997/2.321, allocations: 1.173 MB / 0.8622 GB, free: 102.8 MB / 472.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002178/2.323, allocations: 12.22 kB / 0.8622 GB, free: 102.8 MB / 472.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005649/2.329, allocations: 109.1 kB / 0.8623 GB, free: 102.8 MB / 472.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009739/2.33, allocations: 192.5 kB / 0.8625 GB, free: 102.8 MB / 472.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003997/2.33, allocations: 101 kB / 0.8626 GB, free: 102.8 MB / 472.6 MB Notification: Performance of sort global known variables: time 0.009497/2.34, allocations: 4.015 MB / 0.8665 GB, free: 102.5 MB / 472.6 MB Notification: Performance of remove unused functions: time 0.01198/2.352, allocations: 1.692 MB / 0.8681 GB, free: 102.5 MB / 472.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002929/2.352, allocations: 109.6 kB / 0.8682 GB, free: 102.5 MB / 472.6 MB Notification: Performance of simCode: created initialization part: time 0.01859/2.371, allocations: 9.007 MB / 0.877 GB, free: 101.7 MB / 472.6 MB Notification: Performance of simCode: created event and clocks part: time 1.39e-05/2.371, allocations: 6.406 kB / 0.877 GB, free: 101.7 MB / 472.6 MB Notification: Performance of simCode: created simulation system equations: time 0.008504/2.38, allocations: 3.786 MB / 0.8807 GB, free: 100.1 MB / 472.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006787/2.387, allocations: 0.8547 MB / 0.8816 GB, free: 99.82 MB / 472.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04336/2.43, allocations: 15.49 MB / 0.8967 GB, free: 94.48 MB / 472.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01684/2.447, allocations: 6.307 MB / 0.9029 GB, free: 92.64 MB / 472.6 MB Notification: Performance of SimCode: time 2.445e-06/2.447, allocations: 0.6875 kB / 0.9029 GB, free: 92.64 MB / 472.6 MB Notification: Performance of Templates: time 0.2717/2.719, allocations: 81.2 MB / 0.9822 GB, free: 28.59 MB / 472.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