Notification: Performance of loadModel(Modelica): time 1.533/1.533, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.428e-06/9.499e-06, allocations: 1.625 kB / 247.6 MB, free: 4.469 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06236/0.06244, allocations: 44.36 MB / 291.9 MB, free: 9.043 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2448/0.3073, allocations: 91.49 MB / 383.4 MB, free: 3.863 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.3077, allocations: 93 kB / 383.5 MB, free: 3.848 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.3205/0.6283, allocations: 81.09 MB / 464.6 MB, free: 2.133 MB / 360.6 MB Notification: Performance of Transformations before backend: time 0.0002279/0.6286, allocations: 80 kB / 464.7 MB, free: 2.055 MB / 360.6 MB Notification: Performance of Generate backend data structure: time 0.01948/0.6482, allocations: 4.404 MB / 469.1 MB, free: 13.59 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.6483, allocations: 12.03 kB / 469.1 MB, free: 13.57 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0135/0.6619, allocations: 1.819 MB / 470.9 MB, free: 11.75 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01449/0.6765, allocations: 4.516 MB / 475.4 MB, free: 7.164 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002255/0.6768, allocations: 136 kB / 475.6 MB, free: 7.031 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001969/0.6789, allocations: 247.9 kB / 475.8 MB, free: 6.789 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0141/0.693, allocations: 6.529 MB / 482.4 MB, free: 256 kB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02209/0.7152, allocations: 9.862 MB / 492.2 MB, free: 5.336 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002303/0.7156, allocations: 63.41 kB / 492.3 MB, free: 5.273 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001681/0.7173, allocations: 32 kB / 492.3 MB, free: 5.242 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001777/0.7192, allocations: 1.057 MB / 493.4 MB, free: 4.176 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1824/0.9017, allocations: 47.6 MB / 0.5283 GB, free: 90.87 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004856/0.9067, allocations: 3.315 MB / 0.5315 GB, free: 90.21 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003033/0.9098, allocations: 1.917 MB / 0.5334 GB, free: 90.18 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01206/0.922, allocations: 5.912 MB / 0.5392 GB, free: 88.21 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.9221, allocations: 51.97 kB / 0.5392 GB, free: 88.18 MB / 392.6 MB Notification: Performance of pre-optimization done (n=139): time 8.381e-06/0.9222, allocations: 0 / 0.5392 GB, free: 88.18 MB / 392.6 MB Notification: Performance of matching and sorting (n=146): time 0.02794/0.9502, allocations: 11.23 MB / 0.5502 GB, free: 84.49 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.526e-05/0.9503, allocations: 143.2 kB / 0.5503 GB, free: 84.33 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006466/0.9568, allocations: 3.188 MB / 0.5534 GB, free: 83.19 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003109/0.9573, allocations: 25.7 kB / 0.5535 GB, free: 83.16 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002077/0.9594, allocations: 3.052 MB / 0.5564 GB, free: 81.04 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000756/0.9603, allocations: 0.5761 MB / 0.557 GB, free: 80.62 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005272/0.9609, allocations: 3.844 kB / 0.557 GB, free: 80.62 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0004093/0.9613, allocations: 0.5645 MB / 0.5576 GB, free: 80.21 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003887/0.9653, allocations: 1.919 MB / 0.5594 GB, free: 79.56 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005753/0.9711, allocations: 5.856 MB / 0.5652 GB, free: 73.56 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006024/0.9773, allocations: 3.355 MB / 0.5684 GB, free: 72.62 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001171/0.9775, allocations: 40.25 kB / 0.5685 GB, free: 72.62 MB / 392.6 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01874/0.9963, allocations: 7.426 MB / 0.5757 GB, free: 70.25 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.9964, allocations: 7.5 kB / 0.5757 GB, free: 70.25 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001979/0.9967, allocations: 143.5 kB / 0.5759 GB, free: 70.25 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0034/1, allocations: 0.8697 MB / 0.5767 GB, free: 70.12 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006332/1.007, allocations: 1.425 MB / 0.5781 GB, free: 69.94 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007678/1.014, allocations: 4.5 MB / 0.5825 GB, free: 67.57 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006538/1.021, allocations: 196.7 kB / 0.5827 GB, free: 67.54 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001302/1.022, allocations: 388.2 kB / 0.5831 GB, free: 67.5 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002254/1.023, allocations: 75.28 kB / 0.5831 GB, free: 67.42 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007613/1.024, allocations: 314.4 kB / 0.5834 GB, free: 67.25 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006952/1.031, allocations: 2.694 MB / 0.5861 GB, free: 65.96 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.801e-05/1.031, allocations: 12 kB / 0.5861 GB, free: 65.95 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/1.031, allocations: 7.906 kB / 0.5861 GB, free: 65.94 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-05/1.031, allocations: 11.17 kB / 0.5861 GB, free: 65.94 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/1.047, allocations: 6.135 MB / 0.5921 GB, free: 61.02 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/1.047, allocations: 0 / 0.5921 GB, free: 61.02 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/1.049, allocations: 232.4 kB / 0.5923 GB, free: 60.83 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002958/1.052, allocations: 0.6351 MB / 0.5929 GB, free: 60.39 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002715/1.052, allocations: 23.14 kB / 0.5929 GB, free: 60.38 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00654/1.059, allocations: 4.113 MB / 0.597 GB, free: 56.66 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/1.059, allocations: 4 kB / 0.597 GB, free: 56.66 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009878/1.069, allocations: 5.065 MB / 0.6019 GB, free: 52.23 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001642/1.07, allocations: 0.5698 MB / 0.6025 GB, free: 51.68 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008516/1.071, allocations: 4 kB / 0.6025 GB, free: 51.68 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002362/1.074, allocations: 47.69 kB / 0.6025 GB, free: 51.65 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004277/1.074, allocations: 70.5 kB / 0.6026 GB, free: 51.61 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/1.075, allocations: 43.38 kB / 0.6026 GB, free: 51.57 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.004572/1.079, allocations: 2.126 MB / 0.6047 GB, free: 49.72 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.00708/1.086, allocations: 0.8209 MB / 0.6055 GB, free: 48.91 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002697/1.087, allocations: 99.38 kB / 0.6056 GB, free: 48.82 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.008542/1.095, allocations: 4.569 MB / 0.6101 GB, free: 44.69 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.007e-06/1.095, allocations: 0 / 0.6101 GB, free: 44.69 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002479/1.098, allocations: 1.323 MB / 0.6114 GB, free: 43.49 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/1.101, allocations: 316.7 kB / 0.6117 GB, free: 43.22 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01866/1.119, allocations: 7.219 MB / 0.6187 GB, free: 36.74 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007919/1.127, allocations: 3.586 MB / 0.6222 GB, free: 33.96 MB / 392.6 MB Notification: Performance of SimCode: time 2.724e-06/1.127, allocations: 0 / 0.6222 GB, free: 33.96 MB / 392.6 MB Notification: Performance of Templates: time 0.1404/1.268, allocations: 33.03 MB / 0.6545 GB, free: 3.992 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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_Rotational3DEffects_ActuatedDrive -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.Rotational3DEffects.ActuatedDrive.o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.Rotational3DEffects.ActuatedDrive.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.Rotational3DEffects.ActuatedDrive.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.Rotational3DEffects.ActuatedDrive.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_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.Rotational3DEffects.ActuatedDrive.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.Rotational3DEffects.ActuatedDrive.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.Rotational3DEffects.ActuatedDrive.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_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.Rotational3DEffects.ActuatedDrive.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.Rotational3DEffects.ActuatedDrive.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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_Rotational3DEffects_ActuatedDrive_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.Rotational3DEffects.ActuatedDrive.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:1780:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_eqFunction_788(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:1781:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_eqFunction_790(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:1782:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_eqFunction_792(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:1783:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_eqFunction_801(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:1784:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_eqFunction_802(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.Rotational3DEffects.ActuatedDrive.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.o] Error 1