Notification: Performance of loadModel(Modelica): time 1.529/1.529, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.917e-06/1.006e-05, allocations: 2.188 kB / 247.6 MB, free: 4.445 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06065/0.06073, allocations: 44.36 MB / 292 MB, free: 9.004 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2455/0.3063, allocations: 93.84 MB / 385.8 MB, free: 3.16 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.3067, allocations: 95.05 kB / 385.9 MB, free: 3.141 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.3557/0.6625, allocations: 93.89 MB / 479.8 MB, free: 2.84 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.0002/0.6628, allocations: 88.19 kB / 479.9 MB, free: 2.754 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.01417/0.677, allocations: 4.646 MB / 484.5 MB, free: 14.04 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.6771, allocations: 8.031 kB / 484.6 MB, free: 14.04 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02554/0.7027, allocations: 4.146 MB / 488.7 MB, free: 9.871 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01636/0.7192, allocations: 5.089 MB / 493.8 MB, free: 4.719 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002375/0.7195, allocations: 156 kB / 493.9 MB, free: 4.566 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001811/0.7214, allocations: 279.9 kB / 494.2 MB, free: 4.293 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1358/0.8573, allocations: 7.161 MB / 0.4896 GB, free: 113.5 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02058/0.878, allocations: 10.76 MB / 0.5001 GB, free: 110.7 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001838/0.8783, allocations: 59.03 kB / 0.5002 GB, free: 110.7 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001167/0.8795, allocations: 32.44 kB / 0.5002 GB, free: 110.7 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001718/0.8813, allocations: 1.269 MB / 0.5015 GB, free: 110.7 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07568/0.957, allocations: 51.28 MB / 0.5515 GB, free: 80.86 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006032/0.9632, allocations: 4.203 MB / 0.5556 GB, free: 78.68 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004821/0.9681, allocations: 2.568 MB / 0.5582 GB, free: 77.63 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01529/0.9835, allocations: 7.274 MB / 0.5653 GB, free: 74.01 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.9837, allocations: 53.38 kB / 0.5653 GB, free: 73.96 MB / 392.6 MB Notification: Performance of pre-optimization done (n=192): time 8.939e-06/0.9837, allocations: 2.812 kB / 0.5653 GB, free: 73.96 MB / 392.6 MB Notification: Performance of matching and sorting (n=213): time 0.0436/1.027, allocations: 15.39 MB / 0.5803 GB, free: 68.04 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/1.028, allocations: 181.1 kB / 0.5805 GB, free: 67.85 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006651/1.034, allocations: 3.446 MB / 0.5839 GB, free: 66.6 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0004339/1.035, allocations: 25.7 kB / 0.5839 GB, free: 66.57 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002148/1.037, allocations: 3.301 MB / 0.5871 GB, free: 64.05 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009804/1.038, allocations: 0.7943 MB / 0.5879 GB, free: 63.46 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005987/1.039, allocations: 2.969 kB / 0.5879 GB, free: 63.46 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0004165/1.039, allocations: 0.5951 MB / 0.5885 GB, free: 63.04 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00502/1.044, allocations: 2.429 MB / 0.5909 GB, free: 62.19 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007278/1.052, allocations: 6.436 MB / 0.5971 GB, free: 55.93 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006924/1.059, allocations: 3.971 MB / 0.601 GB, free: 52.94 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001055/1.059, allocations: 44 kB / 0.6011 GB, free: 52.89 MB / 392.6 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.01997/1.079, allocations: 8.646 MB / 0.6095 GB, free: 45.37 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/1.079, allocations: 8 kB / 0.6095 GB, free: 45.36 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001598/1.079, allocations: 140 kB / 0.6097 GB, free: 45.22 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003135/1.082, allocations: 0.8854 MB / 0.6105 GB, free: 44.52 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007809/1.09, allocations: 1.607 MB / 0.6121 GB, free: 43.12 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009498/1.1, allocations: 5.301 MB / 0.6173 GB, free: 38.35 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007332/1.107, allocations: 213.6 kB / 0.6175 GB, free: 38.17 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/1.109, allocations: 417.8 kB / 0.6179 GB, free: 37.77 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002934/1.109, allocations: 83.19 kB / 0.6179 GB, free: 37.69 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008269/1.11, allocations: 359.3 kB / 0.6183 GB, free: 37.33 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009474/1.12, allocations: 3.892 MB / 0.6221 GB, free: 34.11 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.367e-05/1.12, allocations: 20 kB / 0.6221 GB, free: 34.09 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.102e-05/1.12, allocations: 11.94 kB / 0.6221 GB, free: 34.08 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.974e-05/1.12, allocations: 10.88 kB / 0.6221 GB, free: 34.08 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01965/1.14, allocations: 8.49 MB / 0.6304 GB, free: 27.15 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/1.14, allocations: 7.625 kB / 0.6304 GB, free: 27.15 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002971/1.143, allocations: 369.9 kB / 0.6308 GB, free: 26.86 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002577/1.145, allocations: 0.6656 MB / 0.6314 GB, free: 26.37 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004071/1.146, allocations: 11.55 kB / 0.6314 GB, free: 26.36 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008579/1.155, allocations: 4.803 MB / 0.6361 GB, free: 22.02 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.635e-06/1.155, allocations: 0 / 0.6361 GB, free: 22.02 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01288/1.168, allocations: 7.049 MB / 0.643 GB, free: 15.76 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002078/1.17, allocations: 0.7154 MB / 0.6437 GB, free: 15.08 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001017/1.171, allocations: 4 kB / 0.6437 GB, free: 15.07 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002886/1.174, allocations: 68.97 kB / 0.6438 GB, free: 15.04 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005538/1.175, allocations: 90.67 kB / 0.6439 GB, free: 14.98 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002497/1.175, allocations: 52 kB / 0.6439 GB, free: 14.93 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.005066/1.18, allocations: 2.324 MB / 0.6462 GB, free: 12.89 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.007617/1.188, allocations: 0.9713 MB / 0.6471 GB, free: 11.93 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002619/1.188, allocations: 102.7 kB / 0.6472 GB, free: 11.84 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.01129/1.199, allocations: 5.896 MB / 0.653 GB, free: 6.16 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.705e-06/1.2, allocations: 3.938 kB / 0.653 GB, free: 6.156 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.004368/1.204, allocations: 2.051 MB / 0.655 GB, free: 4.102 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002658/1.207, allocations: 341.6 kB / 0.6553 GB, free: 3.773 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1507/1.358, allocations: 8.977 MB / 0.6641 GB, free: 101.8 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008676/1.366, allocations: 4.059 MB / 0.6681 GB, free: 100.9 MB / 392.6 MB Notification: Performance of SimCode: time 2.723e-06/1.366, allocations: 6.531 kB / 0.6681 GB, free: 100.9 MB / 392.6 MB Notification: Performance of Templates: time 0.1519/1.518, allocations: 41.9 MB / 0.709 GB, free: 99.12 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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_ForceAndTorque -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.ForceAndTorque.o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.ForceAndTorque.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.ForceAndTorque.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.ForceAndTorque.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_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.ForceAndTorque.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.ForceAndTorque.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.ForceAndTorque.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_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.ForceAndTorque.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.ForceAndTorque.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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_ForceAndTorque_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.ForceAndTorque.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.c:2657:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_eqFunction_890(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.c:2658:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_eqFunction_891(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.c:2659:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_eqFunction_892(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.c:2660:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_eqFunction_893(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.c:2661:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_eqFunction_894(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.ForceAndTorque.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.o] Error 1