Notification: Performance of loadModel(Modelica): time 1.495/1.495, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.453e-05/1.467e-05, allocations: 2.344 kB / 247.6 MB, free: 4.5 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09427/0.09438, allocations: 44.35 MB / 291.9 MB, free: 9.082 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2773/0.3719, allocations: 85.88 MB / 377.8 MB, free: 5.348 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.3722, allocations: 89.12 kB / 377.9 MB, free: 5.332 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.3085/0.6808, allocations: 79.76 MB / 457.6 MB, free: 8.953 MB / 360.6 MB Notification: Performance of Transformations before backend: time 0.0002244/0.6811, allocations: 77.25 kB / 457.7 MB, free: 8.879 MB / 360.6 MB Notification: Performance of Generate backend data structure: time 0.01274/0.6939, allocations: 3.903 MB / 461.6 MB, free: 4.926 MB / 360.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.6941, allocations: 8.031 kB / 461.6 MB, free: 4.918 MB / 360.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0358/0.7299, allocations: 6.245 MB / 467.9 MB, free: 14.66 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01795/0.748, allocations: 5.892 MB / 473.8 MB, free: 8.758 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/0.7482, allocations: 116 kB / 473.9 MB, free: 8.645 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001507/0.7498, allocations: 219.8 kB / 474.1 MB, free: 8.43 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01123/0.7611, allocations: 5.432 MB / 479.5 MB, free: 2.996 MB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01697/0.7782, allocations: 8.374 MB / 487.9 MB, free: 9.715 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001964/0.7785, allocations: 59.45 kB / 488 MB, free: 9.656 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009334/0.7795, allocations: 28 kB / 488 MB, free: 9.629 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001486/0.781, allocations: 0.9569 MB / 488.9 MB, free: 8.676 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2147/0.9958, allocations: 41.73 MB / 0.5182 GB, free: 28.16 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004687/1.001, allocations: 3.217 MB / 0.5214 GB, free: 27.5 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003207/1.004, allocations: 2.174 MB / 0.5235 GB, free: 27.47 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01283/1.017, allocations: 6.386 MB / 0.5297 GB, free: 25.5 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/1.017, allocations: 52.56 kB / 0.5298 GB, free: 25.46 MB / 392.6 MB Notification: Performance of pre-optimization done (n=154): time 8.032e-06/1.017, allocations: 0 / 0.5298 GB, free: 25.46 MB / 392.6 MB Notification: Performance of matching and sorting (n=184): time 0.05166/1.069, allocations: 17.28 MB / 0.5467 GB, free: 22.71 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/1.069, allocations: 254 kB / 0.5469 GB, free: 22.43 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006603/1.076, allocations: 3.045 MB / 0.5499 GB, free: 22.12 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003781/1.076, allocations: 26.33 kB / 0.5499 GB, free: 22.09 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001934/1.078, allocations: 2.606 MB / 0.5525 GB, free: 20.44 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009324/1.079, allocations: 0.6826 MB / 0.5531 GB, free: 19.94 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006283/1.08, allocations: 0 / 0.5531 GB, free: 19.94 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.000533/1.08, allocations: 0.5417 MB / 0.5536 GB, free: 19.54 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004071/1.085, allocations: 2.014 MB / 0.5556 GB, free: 18.84 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005691/1.09, allocations: 5.34 MB / 0.5608 GB, free: 13.63 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005877/1.096, allocations: 3.289 MB / 0.564 GB, free: 12.68 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.226e-05/1.097, allocations: 34.41 kB / 0.5641 GB, free: 12.68 MB / 392.6 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.0196/1.116, allocations: 7.692 MB / 0.5716 GB, free: 10.44 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.116, allocations: 7.75 kB / 0.5716 GB, free: 10.44 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001463/1.117, allocations: 122.6 kB / 0.5717 GB, free: 10.44 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005825/1.122, allocations: 1.34 MB / 0.573 GB, free: 10.19 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005655/1.128, allocations: 1.241 MB / 0.5742 GB, free: 10.04 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/1.142, allocations: 7.471 MB / 0.5815 GB, free: 6.52 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006056/1.149, allocations: 179.8 kB / 0.5817 GB, free: 6.496 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001173/1.15, allocations: 343.3 kB / 0.582 GB, free: 6.453 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002438/1.15, allocations: 77.75 kB / 0.5821 GB, free: 6.379 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008074/1.151, allocations: 327.5 kB / 0.5824 GB, free: 6.203 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00982/1.161, allocations: 3.758 MB / 0.5861 GB, free: 4.953 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.62e-05/1.161, allocations: 19.41 kB / 0.5861 GB, free: 4.953 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/1.161, allocations: 7.406 kB / 0.5861 GB, free: 4.953 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-05/1.161, allocations: 11.59 kB / 0.5861 GB, free: 4.949 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02123/1.183, allocations: 7.868 MB / 0.5938 GB, free: 2.105 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.039e-05/1.183, allocations: 2.156 kB / 0.5938 GB, free: 2.105 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001944/1.185, allocations: 237.6 kB / 0.594 GB, free: 2.086 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005617/1.19, allocations: 1.154 MB / 0.5952 GB, free: 1.84 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003857/1.191, allocations: 5.406 kB / 0.5952 GB, free: 1.84 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01404/1.205, allocations: 6.764 MB / 0.6018 GB, free: 13.73 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.612e-06/1.205, allocations: 0 / 0.6018 GB, free: 13.73 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01399/1.219, allocations: 6.61 MB / 0.6082 GB, free: 7.938 MB / 408.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002023/1.221, allocations: 0.6369 MB / 0.6088 GB, free: 7.328 MB / 408.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001017/1.222, allocations: 0 / 0.6088 GB, free: 7.328 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002824/1.225, allocations: 60.06 kB / 0.6089 GB, free: 7.289 MB / 408.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005009/1.226, allocations: 82.22 kB / 0.609 GB, free: 7.242 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002215/1.226, allocations: 55.48 kB / 0.609 GB, free: 7.195 MB / 408.6 MB Notification: Performance of sort global known variables: time 0.004847/1.231, allocations: 2.082 MB / 0.6111 GB, free: 5.391 MB / 408.6 MB Notification: Performance of remove unused functions: time 0.006786/1.238, allocations: 0.8411 MB / 0.6119 GB, free: 4.555 MB / 408.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002532/1.238, allocations: 102.3 kB / 0.612 GB, free: 4.465 MB / 408.6 MB Notification: Performance of simCode: created initialization part: time 0.01101/1.25, allocations: 5.051 MB / 0.6169 GB, free: 15.92 MB / 424.6 MB Notification: Performance of simCode: created event and clocks part: time 6.635e-06/1.25, allocations: 0 / 0.6169 GB, free: 15.92 MB / 424.6 MB Notification: Performance of simCode: created simulation system equations: time 0.004734/1.254, allocations: 1.822 MB / 0.6187 GB, free: 14.27 MB / 424.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003001/1.258, allocations: 371.9 kB / 0.6191 GB, free: 13.95 MB / 424.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01972/1.277, allocations: 7.533 MB / 0.6264 GB, free: 7.211 MB / 424.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007526/1.285, allocations: 3.414 MB / 0.6297 GB, free: 4.555 MB / 424.6 MB Notification: Performance of SimCode: time 2.514e-06/1.285, allocations: 0 / 0.6297 GB, free: 4.555 MB / 424.6 MB Notification: Performance of Templates: time 0.3875/1.673, allocations: 39.38 MB / 0.6682 GB, free: 95.49 MB / 424.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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_DoublePendulum -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.DoublePendulum.o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.DoublePendulum.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.DoublePendulum.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.DoublePendulum.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_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.DoublePendulum.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.DoublePendulum.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.DoublePendulum.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_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.DoublePendulum.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.DoublePendulum.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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_DoublePendulum_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.DoublePendulum.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:2097:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_eqFunction_750(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:2098:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_eqFunction_752(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:2099:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_eqFunction_753(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:2100:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_eqFunction_755(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:2101:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_eqFunction_757(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.DoublePendulum.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.o] Error 1