Notification: Performance of loadModel(Modelica): time 1.575/1.575, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.8e-06/8.87e-06, allocations: 1.281 kB / 247.6 MB, free: 4.48 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06416/0.06426, allocations: 44.36 MB / 292 MB, free: 9.062 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2483/0.3127, allocations: 91.51 MB / 383.5 MB, free: 3.715 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.313, allocations: 85.44 kB / 383.5 MB, free: 3.699 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.3032/0.6163, allocations: 81.08 MB / 464.6 MB, free: 2.09 MB / 360.6 MB Notification: Performance of Transformations before backend: time 0.0001945/0.6166, allocations: 80.19 kB / 464.7 MB, free: 2.012 MB / 360.6 MB Notification: Performance of Generate backend data structure: time 0.01843/0.6351, allocations: 4.404 MB / 469.1 MB, free: 13.54 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.6352, allocations: 12.03 kB / 469.1 MB, free: 13.53 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01295/0.6482, allocations: 1.823 MB / 470.9 MB, free: 11.7 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01384/0.6622, allocations: 4.504 MB / 475.4 MB, free: 7.125 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/0.6625, allocations: 140 kB / 475.6 MB, free: 6.988 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001821/0.6644, allocations: 251.9 kB / 475.8 MB, free: 6.742 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01341/0.6779, allocations: 6.533 MB / 482.4 MB, free: 208 kB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01965/0.6976, allocations: 9.85 MB / 492.2 MB, free: 5.297 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001702/0.6979, allocations: 71.39 kB / 492.3 MB, free: 5.227 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000802/0.6987, allocations: 32 kB / 492.3 MB, free: 5.195 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001518/0.7003, allocations: 1.053 MB / 493.4 MB, free: 4.133 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1816/0.882, allocations: 47.6 MB / 0.5283 GB, free: 90.79 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004814/0.887, allocations: 3.32 MB / 0.5315 GB, free: 90.13 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00295/0.89, allocations: 1.917 MB / 0.5334 GB, free: 90.09 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01186/0.902, allocations: 5.908 MB / 0.5392 GB, free: 88.13 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.9021, allocations: 50.91 kB / 0.5392 GB, free: 88.09 MB / 392.6 MB Notification: Performance of pre-optimization done (n=139): time 8.8e-06/0.9022, allocations: 0 / 0.5392 GB, free: 88.09 MB / 392.6 MB Notification: Performance of matching and sorting (n=146): time 0.02923/0.9315, allocations: 11.24 MB / 0.5502 GB, free: 84.39 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.9316, allocations: 147.6 kB / 0.5503 GB, free: 84.23 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006533/0.9382, allocations: 3.18 MB / 0.5534 GB, free: 83.09 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003081/0.9386, allocations: 25.7 kB / 0.5535 GB, free: 83.06 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002012/0.9407, allocations: 3.05 MB / 0.5564 GB, free: 80.94 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007705/0.9416, allocations: 0.5812 MB / 0.557 GB, free: 80.52 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005857/0.9423, allocations: 3.281 kB / 0.557 GB, free: 80.52 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.000489/0.9428, allocations: 0.561 MB / 0.5576 GB, free: 80.11 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004149/0.947, allocations: 1.92 MB / 0.5594 GB, free: 79.46 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005979/0.9531, allocations: 5.855 MB / 0.5652 GB, free: 73.46 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006/0.9593, allocations: 3.358 MB / 0.5684 GB, free: 72.52 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00011/0.9595, allocations: 40.81 kB / 0.5685 GB, free: 72.52 MB / 392.6 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01874/0.9783, allocations: 7.421 MB / 0.5757 GB, free: 70.18 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.9784, allocations: 12.81 kB / 0.5757 GB, free: 70.18 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002014/0.9787, allocations: 145.7 kB / 0.5759 GB, free: 70.17 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003397/0.9821, allocations: 0.8692 MB / 0.5767 GB, free: 70.04 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006495/0.9887, allocations: 1.427 MB / 0.5781 GB, free: 69.86 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007804/0.9967, allocations: 4.477 MB / 0.5825 GB, free: 67.5 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006686/1.003, allocations: 192.1 kB / 0.5827 GB, free: 67.48 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00142/1.005, allocations: 397.3 kB / 0.583 GB, free: 67.42 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002801/1.005, allocations: 78.47 kB / 0.5831 GB, free: 67.35 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008095/1.006, allocations: 318 kB / 0.5834 GB, free: 67.17 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007344/1.014, allocations: 2.695 MB / 0.5861 GB, free: 65.81 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.78e-05/1.014, allocations: 12 kB / 0.5861 GB, free: 65.8 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.816e-05/1.014, allocations: 7.906 kB / 0.5861 GB, free: 65.79 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.822e-05/1.014, allocations: 7.078 kB / 0.5861 GB, free: 65.79 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/1.03, allocations: 6.132 MB / 0.5921 GB, free: 60.86 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/1.03, allocations: 0 / 0.5921 GB, free: 60.86 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/1.032, allocations: 233.3 kB / 0.5923 GB, free: 60.68 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002927/1.035, allocations: 0.6395 MB / 0.5929 GB, free: 60.24 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000308/1.036, allocations: 11.91 kB / 0.5929 GB, free: 60.23 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006523/1.042, allocations: 4.109 MB / 0.5969 GB, free: 56.52 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.682e-06/1.042, allocations: 4.062 kB / 0.5969 GB, free: 56.51 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009809/1.052, allocations: 5.072 MB / 0.6019 GB, free: 52.08 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001705/1.054, allocations: 0.5621 MB / 0.6024 GB, free: 51.54 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009278/1.055, allocations: 4 kB / 0.6025 GB, free: 51.54 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002464/1.058, allocations: 58.86 kB / 0.6025 GB, free: 51.5 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004615/1.058, allocations: 66.94 kB / 0.6026 GB, free: 51.46 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002039/1.059, allocations: 39.66 kB / 0.6026 GB, free: 51.43 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.004758/1.063, allocations: 2.125 MB / 0.6047 GB, free: 49.58 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.006883/1.07, allocations: 0.8209 MB / 0.6055 GB, free: 48.77 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002558/1.071, allocations: 109.8 kB / 0.6056 GB, free: 48.67 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.008382/1.079, allocations: 4.553 MB / 0.61 GB, free: 44.56 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.077e-06/1.079, allocations: 0 / 0.61 GB, free: 44.56 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002388/1.082, allocations: 1.32 MB / 0.6113 GB, free: 43.36 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/1.084, allocations: 323.5 kB / 0.6116 GB, free: 43.09 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01893/1.103, allocations: 7.227 MB / 0.6187 GB, free: 36.6 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007676/1.111, allocations: 3.578 MB / 0.6222 GB, free: 33.82 MB / 392.6 MB Notification: Performance of SimCode: time 2.793e-06/1.111, allocations: 0 / 0.6222 GB, free: 33.82 MB / 392.6 MB Notification: Performance of Templates: time 0.1008/1.212, allocations: 33.03 MB / 0.6544 GB, free: 3.848 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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_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_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:1780:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_eqFunction_788(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:1781:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_eqFunction_790(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:1782:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_eqFunction_792(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:1783:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_eqFunction_801(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.c:1784:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.o] Error 1