Notification: Performance of loadModel(Modelica): time 1.563/1.563, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.104e-05/1.118e-05, allocations: 6.625 kB / 247.5 MB, free: 4.574 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05939/0.05947, allocations: 44.36 MB / 291.8 MB, free: 9.137 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2358/0.2953, allocations: 83.91 MB / 375.8 MB, free: 5.887 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.2957, allocations: 91.53 kB / 375.8 MB, free: 5.871 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2159/0.5117, allocations: 54.94 MB / 430.8 MB, free: 2.898 MB / 328.6 MB Notification: Performance of Transformations before backend: time 9.093e-05/0.5118, allocations: 44 kB / 430.8 MB, free: 2.855 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.006767/0.5187, allocations: 2.489 MB / 433.3 MB, free: 324 kB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.5188, allocations: 8.031 kB / 433.3 MB, free: 316 kB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/0.5301, allocations: 1.576 MB / 434.9 MB, free: 14.73 MB / 344.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/0.5405, allocations: 3.306 MB / 438.2 MB, free: 11.4 MB / 344.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003/0.5409, allocations: 80 kB / 438.3 MB, free: 11.32 MB / 344.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008963/0.5419, allocations: 132 kB / 438.4 MB, free: 11.19 MB / 344.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007637/0.5496, allocations: 4.033 MB / 442.4 MB, free: 7.152 MB / 344.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/0.5604, allocations: 6.304 MB / 448.7 MB, free: 60 kB / 344.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001081/0.5606, allocations: 43.62 kB / 448.8 MB, free: 16 kB / 344.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004746/0.5611, allocations: 24.05 kB / 448.8 MB, free: 15.99 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001171/0.5623, allocations: 0.7614 MB / 449.6 MB, free: 15.22 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03672/0.5991, allocations: 32.52 MB / 482.1 MB, free: 13.8 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003053/0.6023, allocations: 2.149 MB / 484.2 MB, free: 11.5 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/0.604, allocations: 1.134 MB / 485.4 MB, free: 10.36 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007185/0.6112, allocations: 3.642 MB / 489 MB, free: 6.59 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.6114, allocations: 42.56 kB / 489.1 MB, free: 6.539 MB / 392.6 MB Notification: Performance of pre-optimization done (n=92): time 6.844e-06/0.6114, allocations: 0 / 489.1 MB, free: 6.539 MB / 392.6 MB Notification: Performance of matching and sorting (n=101): time 0.1351/0.7466, allocations: 8.136 MB / 497.2 MB, free: 142.8 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.7467, allocations: 140 kB / 497.3 MB, free: 142.7 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00392/0.7507, allocations: 2.183 MB / 499.5 MB, free: 142.4 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001845/0.751, allocations: 28.52 kB / 499.5 MB, free: 142.4 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.7524, allocations: 2.039 MB / 0.4898 GB, free: 141.3 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004709/0.7529, allocations: 411 kB / 0.4902 GB, free: 141.1 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003264/0.7533, allocations: 0 / 0.4902 GB, free: 141.1 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0003674/0.7537, allocations: 0.5398 MB / 0.4907 GB, free: 140.8 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002608/0.7564, allocations: 1.338 MB / 0.4921 GB, free: 140.8 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003891/0.7604, allocations: 4.232 MB / 0.4962 GB, free: 137 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004247/0.7647, allocations: 2.378 MB / 0.4985 GB, free: 137 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.906e-05/0.7649, allocations: 30.34 kB / 0.4985 GB, free: 137 MB / 392.6 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.0134/0.7783, allocations: 5.413 MB / 0.5038 GB, free: 136.5 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.7785, allocations: 7.125 kB / 0.5038 GB, free: 136.5 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001295/0.7787, allocations: 104.8 kB / 0.5039 GB, free: 136.5 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003031/0.7817, allocations: 0.7431 MB / 0.5047 GB, free: 136.5 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004611/0.7864, allocations: 1.027 MB / 0.5057 GB, free: 136.4 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006594/0.7931, allocations: 3.902 MB / 0.5095 GB, free: 135.1 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005188/0.7984, allocations: 180.9 kB / 0.5096 GB, free: 135.1 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009157/0.7994, allocations: 282.2 kB / 0.5099 GB, free: 135.1 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001491/0.7996, allocations: 75.28 kB / 0.51 GB, free: 135 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005237/0.8002, allocations: 214.4 kB / 0.5102 GB, free: 134.9 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005273/0.8056, allocations: 1.738 MB / 0.5119 GB, free: 134.8 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-05/0.8057, allocations: 11.06 kB / 0.5119 GB, free: 134.8 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.8058, allocations: 0 / 0.5119 GB, free: 134.8 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.8059, allocations: 7.328 kB / 0.5119 GB, free: 134.8 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/0.8164, allocations: 3.991 MB / 0.5158 GB, free: 134.4 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/0.8166, allocations: 3.969 kB / 0.5158 GB, free: 134.4 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.8177, allocations: 124 kB / 0.5159 GB, free: 134.4 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003057/0.8208, allocations: 0.5909 MB / 0.5165 GB, free: 134.4 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001942/0.8211, allocations: 4.469 kB / 0.5165 GB, free: 134.4 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006015/0.8272, allocations: 3.481 MB / 0.5199 GB, free: 132.8 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.753e-06/0.8273, allocations: 0 / 0.5199 GB, free: 132.8 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007526/0.8349, allocations: 3.601 MB / 0.5234 GB, free: 131.4 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/0.836, allocations: 407.8 kB / 0.5238 GB, free: 131.1 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004127/0.8365, allocations: 7.344 kB / 0.5238 GB, free: 131.1 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/0.8381, allocations: 37.34 kB / 0.5238 GB, free: 131.1 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.8384, allocations: 44.78 kB / 0.5239 GB, free: 131.1 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.8385, allocations: 30.84 kB / 0.5239 GB, free: 131.1 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.0026/0.8412, allocations: 1.446 MB / 0.5253 GB, free: 130.6 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.004844/0.8461, allocations: 0.5486 MB / 0.5259 GB, free: 130.6 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002474/0.8465, allocations: 97.84 kB / 0.526 GB, free: 130.5 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.005786/0.8523, allocations: 3.195 MB / 0.5291 GB, free: 129.4 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.216e-06/0.8524, allocations: 0 / 0.5291 GB, free: 129.4 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001477/0.8539, allocations: 0.8784 MB / 0.5299 GB, free: 129.1 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.8555, allocations: 189.5 kB / 0.5301 GB, free: 129 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.8669, allocations: 4.397 MB / 0.5344 GB, free: 127.5 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004168/0.8712, allocations: 2.417 MB / 0.5368 GB, free: 126 MB / 392.6 MB Notification: Performance of SimCode: time 2.375e-06/0.8713, allocations: 0 / 0.5368 GB, free: 126 MB / 392.6 MB Notification: Performance of Templates: time 0.09684/0.9682, allocations: 22.11 MB / 0.5584 GB, free: 111.2 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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_Elementary_Pendulum -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.Elementary.Pendulum.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.Elementary.Pendulum.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.Elementary.Pendulum.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_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.Elementary.Pendulum.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.Elementary.Pendulum.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.Elementary.Pendulum.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_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.Elementary.Pendulum.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.Elementary.Pendulum.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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_Elementary_Pendulum_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.Elementary.Pendulum.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:1116:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_eqFunction_575(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:1117:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_eqFunction_576(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:1118:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_eqFunction_578(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:1119:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_eqFunction_580(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:1120:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_eqFunction_583(DATA* data, threadData_t *threadData); ^ ; 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.Elementary.Pendulum.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.o] Error 1