Notification: Performance of loadModel(Modelica): time 1.512/1.512, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.149e-06/9.219e-06, allocations: 1.062 kB / 247.6 MB, free: 4.496 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06294/0.06301, allocations: 44.36 MB / 291.9 MB, free: 9.074 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2405/0.3036, allocations: 85.87 MB / 377.8 MB, free: 5.387 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.304, allocations: 95.39 kB / 377.9 MB, free: 5.367 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.3074/0.6115, allocations: 79.75 MB / 457.6 MB, free: 8.992 MB / 360.6 MB Notification: Performance of Transformations before backend: time 0.0002176/0.6118, allocations: 79.94 kB / 457.7 MB, free: 8.914 MB / 360.6 MB Notification: Performance of Generate backend data structure: time 0.01188/0.6237, allocations: 3.899 MB / 461.6 MB, free: 4.961 MB / 360.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.6239, allocations: 8.031 kB / 461.6 MB, free: 4.953 MB / 360.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03546/0.6594, allocations: 6.242 MB / 467.9 MB, free: 14.7 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01761/0.6771, allocations: 5.893 MB / 473.8 MB, free: 8.801 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.6773, allocations: 116 kB / 473.9 MB, free: 8.688 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001414/0.6788, allocations: 219.8 kB / 474.1 MB, free: 8.473 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.011/0.6899, allocations: 5.447 MB / 479.5 MB, free: 3.02 MB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01745/0.7074, allocations: 8.369 MB / 487.9 MB, free: 9.746 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002035/0.7077, allocations: 63.44 kB / 488 MB, free: 9.684 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001045/0.7089, allocations: 28 kB / 488 MB, free: 9.656 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001351/0.7103, allocations: 0.9592 MB / 489 MB, free: 8.703 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1701/0.8804, allocations: 41.72 MB / 0.5182 GB, free: 98.04 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004738/0.8853, allocations: 3.219 MB / 0.5214 GB, free: 97.39 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003052/0.8884, allocations: 2.174 MB / 0.5235 GB, free: 97.36 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01235/0.9009, allocations: 6.389 MB / 0.5297 GB, free: 95.39 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.901, allocations: 48.69 kB / 0.5298 GB, free: 95.35 MB / 392.6 MB Notification: Performance of pre-optimization done (n=154): time 8.381e-06/0.9011, allocations: 0 / 0.5298 GB, free: 95.35 MB / 392.6 MB Notification: Performance of matching and sorting (n=184): time 0.04892/0.9501, allocations: 17.28 MB / 0.5467 GB, free: 91.44 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.9502, allocations: 257.1 kB / 0.5469 GB, free: 91.16 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006055/0.9563, allocations: 3.048 MB / 0.5499 GB, free: 90.08 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003512/0.9568, allocations: 25.7 kB / 0.5499 GB, free: 90.05 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001774/0.9586, allocations: 2.603 MB / 0.5525 GB, free: 88.31 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008685/0.9596, allocations: 0.6764 MB / 0.5531 GB, free: 87.81 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005522/0.9602, allocations: 3.938 kB / 0.5531 GB, free: 87.81 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0004121/0.9607, allocations: 0.541 MB / 0.5537 GB, free: 87.41 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004062/0.9648, allocations: 2.012 MB / 0.5556 GB, free: 86.71 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005787/0.9707, allocations: 5.345 MB / 0.5608 GB, free: 81.5 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006007/0.9768, allocations: 3.284 MB / 0.564 GB, free: 80.55 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.652e-05/0.977, allocations: 34.03 kB / 0.5641 GB, free: 80.55 MB / 392.6 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.0197/0.9968, allocations: 7.697 MB / 0.5716 GB, free: 78.33 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.9969, allocations: 7.656 kB / 0.5716 GB, free: 78.33 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001826/0.9971, allocations: 117.8 kB / 0.5717 GB, free: 78.33 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005659/1.003, allocations: 1.335 MB / 0.573 GB, free: 78.09 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006367/1.009, allocations: 1.249 MB / 0.5742 GB, free: 77.93 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01441/1.024, allocations: 7.473 MB / 0.5815 GB, free: 72.44 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006029/1.03, allocations: 170 kB / 0.5817 GB, free: 72.29 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/1.031, allocations: 351.1 kB / 0.582 GB, free: 71.96 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003067/1.032, allocations: 83.19 kB / 0.5821 GB, free: 71.88 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008076/1.033, allocations: 323.8 kB / 0.5824 GB, free: 71.56 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009986/1.043, allocations: 3.757 MB / 0.5861 GB, free: 68.55 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.451e-05/1.043, allocations: 16 kB / 0.5861 GB, free: 68.53 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.403e-05/1.043, allocations: 11.94 kB / 0.5861 GB, free: 68.52 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.394e-05/1.043, allocations: 7.359 kB / 0.5861 GB, free: 68.52 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02086/1.064, allocations: 7.869 MB / 0.5938 GB, free: 62.12 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.193e-05/1.064, allocations: 0 / 0.5938 GB, free: 62.12 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/1.066, allocations: 238.4 kB / 0.594 GB, free: 61.92 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005312/1.071, allocations: 1.153 MB / 0.5952 GB, free: 61.08 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003813/1.072, allocations: 4 kB / 0.5952 GB, free: 61.08 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01243/1.084, allocations: 6.76 MB / 0.6018 GB, free: 55.1 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.682e-06/1.084, allocations: 0 / 0.6018 GB, free: 55.1 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01358/1.098, allocations: 6.621 MB / 0.6082 GB, free: 49.31 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001941/1.1, allocations: 0.6316 MB / 0.6088 GB, free: 48.7 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009417/1.101, allocations: 11.91 kB / 0.6089 GB, free: 48.69 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002633/1.104, allocations: 58.31 kB / 0.6089 GB, free: 48.66 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004815/1.104, allocations: 77.98 kB / 0.609 GB, free: 48.61 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/1.105, allocations: 50.34 kB / 0.609 GB, free: 48.57 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.004335/1.109, allocations: 2.082 MB / 0.6111 GB, free: 46.76 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.006534/1.116, allocations: 0.8372 MB / 0.6119 GB, free: 45.93 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002579/1.116, allocations: 103.3 kB / 0.612 GB, free: 45.84 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.01019/1.126, allocations: 5.051 MB / 0.6169 GB, free: 41.28 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.473e-06/1.126, allocations: 0 / 0.6169 GB, free: 41.28 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.004167/1.131, allocations: 1.824 MB / 0.6187 GB, free: 39.63 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002988/1.134, allocations: 367.5 kB / 0.619 GB, free: 39.32 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01864/1.152, allocations: 7.55 MB / 0.6264 GB, free: 32.57 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00702/1.16, allocations: 3.415 MB / 0.6298 GB, free: 29.91 MB / 392.6 MB Notification: Performance of SimCode: time 2.375e-06/1.16, allocations: 0 / 0.6298 GB, free: 29.91 MB / 392.6 MB Notification: Performance of Templates: time 0.2293/1.389, allocations: 39.33 MB / 0.6682 GB, free: 113.2 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:2097:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_eqFunction_750(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:2098:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_eqFunction_752(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:2099:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_eqFunction_753(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:2100:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_eqFunction_755(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.c:2101:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.o] Error 1