Notification: Performance of loadModel(Modelica): time 1.552/1.552, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.429e-06/9.498e-06, allocations: 1.188 kB / 247.5 MB, free: 4.566 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06209/0.06216, allocations: 44.35 MB / 291.8 MB, free: 9.148 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2361/0.2984, allocations: 83.91 MB / 375.8 MB, free: 5.887 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.2987, allocations: 91.06 kB / 375.8 MB, free: 5.871 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2189/0.5176, allocations: 54.93 MB / 430.8 MB, free: 2.93 MB / 328.6 MB Notification: Performance of Transformations before backend: time 9.736e-05/0.5178, allocations: 47.94 kB / 430.8 MB, free: 2.883 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.007494/0.5254, allocations: 2.49 MB / 433.3 MB, free: 348 kB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.5255, allocations: 8.031 kB / 433.3 MB, free: 340 kB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/0.5369, allocations: 1.572 MB / 434.9 MB, free: 14.75 MB / 344.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/0.5476, allocations: 3.313 MB / 438.2 MB, free: 11.42 MB / 344.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.5478, allocations: 76 kB / 438.3 MB, free: 11.35 MB / 344.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009718/0.5488, allocations: 136 kB / 438.4 MB, free: 11.21 MB / 344.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008049/0.5569, allocations: 4.037 MB / 442.4 MB, free: 7.168 MB / 344.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01157/0.5686, allocations: 6.296 MB / 448.7 MB, free: 80 kB / 344.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001081/0.5688, allocations: 43.62 kB / 448.8 MB, free: 36 kB / 344.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005747/0.5694, allocations: 24 kB / 448.8 MB, free: 12 kB / 344.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00123/0.5707, allocations: 0.7542 MB / 449.6 MB, free: 15.25 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03757/0.6084, allocations: 32.53 MB / 482.1 MB, free: 13.82 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003119/0.6116, allocations: 2.145 MB / 484.2 MB, free: 11.54 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001988/0.6137, allocations: 1.142 MB / 485.4 MB, free: 10.38 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0075/0.6213, allocations: 3.637 MB / 489 MB, free: 6.613 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.6214, allocations: 38.56 kB / 489.1 MB, free: 6.566 MB / 392.6 MB Notification: Performance of pre-optimization done (n=92): time 6.845e-06/0.6215, allocations: 0 / 489.1 MB, free: 6.566 MB / 392.6 MB Notification: Performance of matching and sorting (n=101): time 0.1351/0.7566, allocations: 8.137 MB / 497.2 MB, free: 142.7 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.7567, allocations: 142.4 kB / 497.3 MB, free: 142.5 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003748/0.7605, allocations: 2.18 MB / 499.5 MB, free: 142.3 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001791/0.7608, allocations: 25.7 kB / 499.5 MB, free: 142.2 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001162/0.762, allocations: 2.038 MB / 0.4898 GB, free: 141.2 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004093/0.7625, allocations: 411.3 kB / 0.4902 GB, free: 141 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.7628, allocations: 3.719 kB / 0.4902 GB, free: 141 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0003352/0.7632, allocations: 0.537 MB / 0.4907 GB, free: 140.7 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002461/0.7657, allocations: 1.336 MB / 0.492 GB, free: 140.7 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003937/0.7698, allocations: 4.236 MB / 0.4962 GB, free: 136.9 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004097/0.774, allocations: 2.377 MB / 0.4985 GB, free: 136.9 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.145e-05/0.7741, allocations: 35.06 kB / 0.4985 GB, free: 136.9 MB / 392.6 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.01379/0.788, allocations: 5.406 MB / 0.5038 GB, free: 136.4 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.7881, allocations: 10.08 kB / 0.5038 GB, free: 136.4 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000131/0.7883, allocations: 105.2 kB / 0.5039 GB, free: 136.4 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003043/0.7914, allocations: 0.7455 MB / 0.5047 GB, free: 136.4 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004379/0.7959, allocations: 1.025 MB / 0.5057 GB, free: 136.3 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006224/0.8022, allocations: 3.905 MB / 0.5095 GB, free: 135 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004761/0.807, allocations: 179.5 kB / 0.5096 GB, free: 135 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008273/0.808, allocations: 282.9 kB / 0.5099 GB, free: 135 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.8082, allocations: 79.19 kB / 0.51 GB, free: 134.9 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004704/0.8087, allocations: 217.9 kB / 0.5102 GB, free: 134.8 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00467/0.8134, allocations: 1.738 MB / 0.5119 GB, free: 134.7 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.558e-05/0.8136, allocations: 7.531 kB / 0.5119 GB, free: 134.7 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.8137, allocations: 3.875 kB / 0.5119 GB, free: 134.7 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/0.8137, allocations: 3.75 kB / 0.5119 GB, free: 134.7 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.824, allocations: 3.986 MB / 0.5158 GB, free: 134.2 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/0.8241, allocations: 11.08 kB / 0.5158 GB, free: 134.2 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009536/0.8251, allocations: 121.1 kB / 0.5159 GB, free: 134.2 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002726/0.8279, allocations: 0.5859 MB / 0.5165 GB, free: 134.2 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001782/0.8282, allocations: 7.531 kB / 0.5165 GB, free: 134.2 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005646/0.8339, allocations: 3.48 MB / 0.5199 GB, free: 132.6 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.289e-06/0.834, allocations: 3.875 kB / 0.5199 GB, free: 132.6 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007408/0.8415, allocations: 3.599 MB / 0.5234 GB, free: 131.1 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.8427, allocations: 412.1 kB / 0.5238 GB, free: 130.9 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004342/0.8432, allocations: 6.125 kB / 0.5238 GB, free: 130.9 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/0.8447, allocations: 34.8 kB / 0.5239 GB, free: 130.9 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.845, allocations: 48.19 kB / 0.5239 GB, free: 130.9 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.8452, allocations: 26.38 kB / 0.5239 GB, free: 130.9 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.00269/0.8479, allocations: 1.445 MB / 0.5253 GB, free: 130.3 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.004946/0.853, allocations: 0.5461 MB / 0.5259 GB, free: 130.3 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002581/0.8533, allocations: 104.4 kB / 0.526 GB, free: 130.3 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.005855/0.8593, allocations: 3.187 MB / 0.5291 GB, free: 129.2 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.146e-06/0.8593, allocations: 0 / 0.5291 GB, free: 129.2 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001668/0.8611, allocations: 0.881 MB / 0.5299 GB, free: 128.9 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.8628, allocations: 189.6 kB / 0.5301 GB, free: 128.8 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.8742, allocations: 4.4 MB / 0.5344 GB, free: 127.2 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004624/0.879, allocations: 2.418 MB / 0.5368 GB, free: 126 MB / 392.6 MB Notification: Performance of SimCode: time 2.515e-06/0.8791, allocations: 0 / 0.5368 GB, free: 126 MB / 392.6 MB Notification: Performance of Templates: time 0.08323/0.9624, allocations: 22.11 MB / 0.5584 GB, free: 111.2 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:1116:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_eqFunction_575(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:1117:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_eqFunction_576(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:1118:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_eqFunction_578(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:1119:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_eqFunction_580(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.c:1120:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.o] Error 1