Notification: Performance of loadModel(Modelica): time 1.484/1.484, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.918e-06/1.013e-05, allocations: 1.406 kB / 247.5 MB, free: 4.613 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06377/0.06386, allocations: 44.36 MB / 291.8 MB, free: 9.176 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2379/0.3019, allocations: 83.91 MB / 375.8 MB, free: 5.684 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.3022, allocations: 89.25 kB / 375.8 MB, free: 5.668 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2204/0.5227, allocations: 54.94 MB / 430.8 MB, free: 2.867 MB / 328.6 MB Notification: Performance of Transformations before backend: time 8.591e-05/0.5229, allocations: 48 kB / 430.8 MB, free: 2.82 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.006758/0.5297, allocations: 2.489 MB / 433.3 MB, free: 288 kB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.5299, allocations: 12.03 kB / 433.3 MB, free: 276 kB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/0.5412, allocations: 1.572 MB / 434.9 MB, free: 14.69 MB / 344.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/0.552, allocations: 3.315 MB / 438.2 MB, free: 11.36 MB / 344.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.5522, allocations: 75.94 kB / 438.3 MB, free: 11.28 MB / 344.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009773/0.5533, allocations: 140 kB / 438.4 MB, free: 11.14 MB / 344.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00797/0.5613, allocations: 4.033 MB / 442.5 MB, free: 7.105 MB / 344.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01214/0.5735, allocations: 6.296 MB / 448.8 MB, free: 16 kB / 344.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001486/0.5738, allocations: 43.73 kB / 448.8 MB, free: 15.97 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007676/0.5746, allocations: 24 kB / 448.8 MB, free: 15.95 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001326/0.576, allocations: 0.761 MB / 449.6 MB, free: 15.18 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03822/0.6143, allocations: 32.52 MB / 482.1 MB, free: 13.76 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003173/0.6176, allocations: 2.145 MB / 484.2 MB, free: 11.47 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001898/0.6196, allocations: 1.142 MB / 485.4 MB, free: 10.32 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007276/0.627, allocations: 3.638 MB / 489 MB, free: 6.547 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.6271, allocations: 38.56 kB / 489.1 MB, free: 6.5 MB / 392.6 MB Notification: Performance of pre-optimization done (n=92): time 6.845e-06/0.6272, allocations: 0 / 489.1 MB, free: 6.5 MB / 392.6 MB Notification: Performance of matching and sorting (n=101): time 0.136/0.7632, allocations: 8.139 MB / 497.2 MB, free: 142.7 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.7633, allocations: 139.5 kB / 497.3 MB, free: 142.5 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003614/0.767, allocations: 2.184 MB / 499.5 MB, free: 142.2 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001944/0.7673, allocations: 25.7 kB / 499.6 MB, free: 142.2 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001278/0.7687, allocations: 2.034 MB / 0.4898 GB, free: 141.1 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004732/0.7692, allocations: 412.5 kB / 0.4902 GB, free: 140.9 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003213/0.7696, allocations: 3.469 kB / 0.4902 GB, free: 140.9 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0003801/0.77, allocations: 0.5446 MB / 0.4908 GB, free: 140.6 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002591/0.7727, allocations: 1.336 MB / 0.4921 GB, free: 140.6 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003878/0.7766, allocations: 4.224 MB / 0.4962 GB, free: 136.8 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004339/0.7811, allocations: 2.383 MB / 0.4985 GB, free: 136.8 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.787e-05/0.7813, allocations: 29.28 kB / 0.4985 GB, free: 136.8 MB / 392.6 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.01371/0.795, allocations: 5.402 MB / 0.5038 GB, free: 136.4 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.7952, allocations: 14.7 kB / 0.5038 GB, free: 136.4 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/0.7954, allocations: 106.6 kB / 0.5039 GB, free: 136.4 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00313/0.7985, allocations: 0.7498 MB / 0.5047 GB, free: 136.4 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004361/0.803, allocations: 1.022 MB / 0.5057 GB, free: 136.3 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006388/0.8095, allocations: 3.921 MB / 0.5095 GB, free: 134.9 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004881/0.8145, allocations: 176.8 kB / 0.5097 GB, free: 134.9 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008479/0.8154, allocations: 281.9 kB / 0.5099 GB, free: 134.9 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.8157, allocations: 78.75 kB / 0.51 GB, free: 134.8 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004886/0.8162, allocations: 211 kB / 0.5102 GB, free: 134.7 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004834/0.8211, allocations: 1.743 MB / 0.5119 GB, free: 134.6 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-05/0.8213, allocations: 7.438 kB / 0.5119 GB, free: 134.6 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.8213, allocations: 3.938 kB / 0.5119 GB, free: 134.6 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/0.8214, allocations: 11.33 kB / 0.5119 GB, free: 134.6 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.8319, allocations: 3.974 MB / 0.5158 GB, free: 134.2 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/0.832, allocations: 7.203 kB / 0.5158 GB, free: 134.2 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.8331, allocations: 128.8 kB / 0.5159 GB, free: 134.2 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00281/0.836, allocations: 0.5809 MB / 0.5165 GB, free: 134.2 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001862/0.8363, allocations: 11.62 kB / 0.5165 GB, free: 134.2 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005896/0.8423, allocations: 3.479 MB / 0.5199 GB, free: 132.8 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.451e-06/0.8424, allocations: 3.438 kB / 0.5199 GB, free: 132.8 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007534/0.85, allocations: 3.605 MB / 0.5234 GB, free: 131.3 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.8513, allocations: 419.8 kB / 0.5238 GB, free: 131 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006117/0.852, allocations: 0 / 0.5238 GB, free: 131 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/0.8539, allocations: 40.09 kB / 0.5239 GB, free: 131 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/0.8542, allocations: 41.72 kB / 0.5239 GB, free: 131 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.8544, allocations: 29.66 kB / 0.5239 GB, free: 131 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.003008/0.8575, allocations: 1.443 MB / 0.5254 GB, free: 130.5 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.005089/0.8627, allocations: 0.5427 MB / 0.5259 GB, free: 130.5 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002831/0.8631, allocations: 109.2 kB / 0.526 GB, free: 130.4 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.006154/0.8693, allocations: 3.187 MB / 0.5291 GB, free: 129.4 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 5.378e-06/0.8694, allocations: 0 / 0.5291 GB, free: 129.4 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001519/0.871, allocations: 0.8805 MB / 0.53 GB, free: 129 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.8726, allocations: 188.8 kB / 0.5301 GB, free: 128.9 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.8846, allocations: 4.402 MB / 0.5344 GB, free: 127.4 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004518/0.8893, allocations: 2.41 MB / 0.5368 GB, free: 125.8 MB / 392.6 MB Notification: Performance of SimCode: time 2.793e-06/0.8894, allocations: 0 / 0.5368 GB, free: 125.8 MB / 392.6 MB Notification: Performance of Templates: time 0.1073/0.9967, allocations: 22.1 MB / 0.5584 GB, free: 111.1 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