Notification: Performance of loadModel(Modelica): time 1.545/1.545, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.117e-05/1.132e-05, allocations: 1.312 kB / 247.5 MB, free: 4.613 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06307/0.06316, allocations: 44.36 MB / 291.8 MB, free: 9.156 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2424/0.3057, allocations: 83.91 MB / 375.8 MB, free: 5.859 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.3061, allocations: 91.97 kB / 375.8 MB, free: 5.844 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2246/0.5308, allocations: 54.93 MB / 430.8 MB, free: 3 MB / 328.6 MB Notification: Performance of Transformations before backend: time 0.000109/0.531, allocations: 48 kB / 430.8 MB, free: 2.953 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.007816/0.5389, allocations: 2.486 MB / 433.3 MB, free: 424 kB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.539, allocations: 8.031 kB / 433.3 MB, free: 416 kB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.5509, allocations: 1.576 MB / 434.9 MB, free: 14.82 MB / 344.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01121/0.5622, allocations: 3.311 MB / 438.2 MB, free: 11.49 MB / 344.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.5624, allocations: 76 kB / 438.3 MB, free: 11.41 MB / 344.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001113/0.5636, allocations: 132 kB / 438.4 MB, free: 11.29 MB / 344.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008423/0.5721, allocations: 4.037 MB / 442.4 MB, free: 7.242 MB / 344.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0128/0.585, allocations: 6.3 MB / 448.7 MB, free: 156 kB / 344.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/0.5853, allocations: 43.61 kB / 448.8 MB, free: 112 kB / 344.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009843/0.5864, allocations: 24 kB / 448.8 MB, free: 88 kB / 344.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001375/0.5878, allocations: 0.7537 MB / 449.6 MB, free: 15.32 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03833/0.6262, allocations: 32.53 MB / 482.1 MB, free: 13.9 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003122/0.6295, allocations: 2.149 MB / 484.2 MB, free: 11.61 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001917/0.6315, allocations: 1.134 MB / 485.4 MB, free: 10.46 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007574/0.6391, allocations: 3.641 MB / 489 MB, free: 6.691 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.6392, allocations: 38.56 kB / 489.1 MB, free: 6.645 MB / 392.6 MB Notification: Performance of pre-optimization done (n=92): time 7.054e-06/0.6393, allocations: 0 / 489.1 MB, free: 6.645 MB / 392.6 MB Notification: Performance of matching and sorting (n=101): time 0.1368/0.7762, allocations: 8.14 MB / 497.2 MB, free: 143.1 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.7763, allocations: 142.5 kB / 497.3 MB, free: 143 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004026/0.7804, allocations: 2.178 MB / 499.5 MB, free: 142.8 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001877/0.7807, allocations: 25.7 kB / 499.5 MB, free: 142.8 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.00133/0.7821, allocations: 2.038 MB / 0.4898 GB, free: 141.7 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004886/0.7827, allocations: 412.5 kB / 0.4902 GB, free: 141.5 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003654/0.7831, allocations: 0 / 0.4902 GB, free: 141.5 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.000383/0.7835, allocations: 0.5445 MB / 0.4907 GB, free: 141.2 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002652/0.7862, allocations: 1.335 MB / 0.492 GB, free: 141.2 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004089/0.7904, allocations: 4.235 MB / 0.4962 GB, free: 137.4 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004302/0.7948, allocations: 2.379 MB / 0.4985 GB, free: 137.4 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.718e-05/0.795, allocations: 35.88 kB / 0.4985 GB, free: 137.4 MB / 392.6 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.01395/0.809, allocations: 5.405 MB / 0.5038 GB, free: 136.9 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.8091, allocations: 10.48 kB / 0.5038 GB, free: 136.9 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001261/0.8093, allocations: 104 kB / 0.5039 GB, free: 136.9 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003096/0.8125, allocations: 0.7466 MB / 0.5047 GB, free: 136.9 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00444/0.817, allocations: 1.021 MB / 0.5057 GB, free: 136.8 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00629/0.8234, allocations: 3.917 MB / 0.5095 GB, free: 135.5 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005124/0.8286, allocations: 179.4 kB / 0.5096 GB, free: 135.5 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008528/0.8296, allocations: 285 kB / 0.5099 GB, free: 135.5 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.8298, allocations: 79.08 kB / 0.51 GB, free: 135.4 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004939/0.8303, allocations: 208.2 kB / 0.5102 GB, free: 135.3 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004829/0.8352, allocations: 1.741 MB / 0.5119 GB, free: 135.2 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.95e-05/0.8354, allocations: 7.875 kB / 0.5119 GB, free: 135.2 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.8355, allocations: 3.969 kB / 0.5119 GB, free: 135.2 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/0.8355, allocations: 3.938 kB / 0.5119 GB, free: 135.2 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/0.8462, allocations: 3.987 MB / 0.5158 GB, free: 134.8 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/0.8463, allocations: 10.81 kB / 0.5158 GB, free: 134.8 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.8475, allocations: 124.2 kB / 0.5159 GB, free: 134.8 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002824/0.8504, allocations: 0.5822 MB / 0.5165 GB, free: 134.8 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001902/0.8506, allocations: 4.531 kB / 0.5165 GB, free: 134.8 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006032/0.8567, allocations: 3.485 MB / 0.5199 GB, free: 133.2 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.102e-06/0.8568, allocations: 3.062 kB / 0.5199 GB, free: 133.2 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006953/0.8638, allocations: 3.604 MB / 0.5234 GB, free: 131.7 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/0.865, allocations: 404.6 kB / 0.5238 GB, free: 131.4 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005191/0.8656, allocations: 3.781 kB / 0.5238 GB, free: 131.4 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/0.8673, allocations: 41.27 kB / 0.5239 GB, free: 131.4 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.8675, allocations: 50.28 kB / 0.5239 GB, free: 131.4 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.8677, allocations: 30.47 kB / 0.5239 GB, free: 131.4 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002981/0.8707, allocations: 1.441 MB / 0.5253 GB, free: 130.9 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.004877/0.8757, allocations: 0.5442 MB / 0.5259 GB, free: 130.9 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000275/0.8761, allocations: 109 kB / 0.526 GB, free: 130.8 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.005936/0.8821, allocations: 3.176 MB / 0.5291 GB, free: 129.8 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 5.447e-06/0.8822, allocations: 3.75 kB / 0.5291 GB, free: 129.8 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.8837, allocations: 0.8809 MB / 0.5299 GB, free: 129.4 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.8853, allocations: 192.5 kB / 0.5301 GB, free: 129.3 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.8966, allocations: 4.396 MB / 0.5344 GB, free: 127.8 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004104/0.9008, allocations: 2.416 MB / 0.5368 GB, free: 126.2 MB / 392.6 MB Notification: Performance of SimCode: time 2.724e-06/0.9009, allocations: 0 / 0.5368 GB, free: 126.2 MB / 392.6 MB Notification: Performance of Templates: time 0.07865/0.9796, allocations: 22.09 MB / 0.5584 GB, free: 111.3 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