Notification: Performance of loadModel(Modelica): time 1.991/1.991, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.429e-06/9.498e-06, allocations: 1.188 kB / 247.6 MB, free: 4.484 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06356/0.06364, allocations: 44.36 MB / 291.9 MB, free: 9.043 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2418/0.3055, allocations: 91.49 MB / 383.4 MB, free: 3.918 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.3059, allocations: 92.41 kB / 383.5 MB, free: 3.902 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.3074/0.6133, allocations: 81.09 MB / 464.6 MB, free: 2.109 MB / 360.6 MB Notification: Performance of Transformations before backend: time 0.0001838/0.6136, allocations: 80 kB / 464.7 MB, free: 2.031 MB / 360.6 MB Notification: Performance of Generate backend data structure: time 0.01805/0.6317, allocations: 4.404 MB / 469.1 MB, free: 13.56 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.6319, allocations: 8.031 kB / 469.1 MB, free: 13.55 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01313/0.6451, allocations: 1.823 MB / 470.9 MB, free: 11.72 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01412/0.6593, allocations: 4.512 MB / 475.4 MB, free: 7.145 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.6596, allocations: 140 kB / 475.6 MB, free: 7.008 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001664/0.6613, allocations: 247.9 kB / 475.8 MB, free: 6.766 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01374/0.6751, allocations: 6.533 MB / 482.4 MB, free: 228 kB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02024/0.6955, allocations: 9.85 MB / 492.2 MB, free: 5.32 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001988/0.6958, allocations: 67.41 kB / 492.3 MB, free: 5.254 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001372/0.6972, allocations: 28 kB / 492.3 MB, free: 5.227 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00184/0.6991, allocations: 1.057 MB / 493.4 MB, free: 4.16 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1821/0.8812, allocations: 47.61 MB / 0.5283 GB, free: 90.96 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00496/0.8863, allocations: 3.317 MB / 0.5315 GB, free: 90.3 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00303/0.8895, allocations: 1.917 MB / 0.5334 GB, free: 90.26 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01222/0.9018, allocations: 5.911 MB / 0.5392 GB, free: 88.3 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.902, allocations: 48.25 kB / 0.5392 GB, free: 88.26 MB / 392.6 MB Notification: Performance of pre-optimization done (n=139): time 8.66e-06/0.902, allocations: 0 / 0.5392 GB, free: 88.26 MB / 392.6 MB Notification: Performance of matching and sorting (n=146): time 0.02987/0.9319, allocations: 11.24 MB / 0.5502 GB, free: 84.53 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.9321, allocations: 140.5 kB / 0.5503 GB, free: 84.38 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006604/0.9388, allocations: 3.186 MB / 0.5534 GB, free: 83.23 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002949/0.9392, allocations: 29.58 kB / 0.5535 GB, free: 83.2 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002048/0.9413, allocations: 3.051 MB / 0.5564 GB, free: 81.08 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007995/0.9422, allocations: 0.5717 MB / 0.557 GB, free: 80.67 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005221/0.9428, allocations: 0 / 0.557 GB, free: 80.67 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0004114/0.9433, allocations: 0.5662 MB / 0.5576 GB, free: 80.25 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003999/0.9473, allocations: 1.925 MB / 0.5594 GB, free: 79.61 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005888/0.9533, allocations: 5.854 MB / 0.5652 GB, free: 73.6 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00615/0.9596, allocations: 3.355 MB / 0.5684 GB, free: 72.66 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/0.9598, allocations: 41.09 kB / 0.5685 GB, free: 72.66 MB / 392.6 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01863/0.9785, allocations: 7.43 MB / 0.5757 GB, free: 70.3 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.9786, allocations: 10.34 kB / 0.5757 GB, free: 70.3 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001989/0.9789, allocations: 140.6 kB / 0.5759 GB, free: 70.3 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003371/0.9823, allocations: 0.8796 MB / 0.5767 GB, free: 70.16 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006714/0.9891, allocations: 1.414 MB / 0.5781 GB, free: 69.98 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007951/0.9972, allocations: 4.479 MB / 0.5825 GB, free: 67.62 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006574/1.004, allocations: 189.7 kB / 0.5827 GB, free: 67.6 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/1.005, allocations: 395.2 kB / 0.583 GB, free: 67.55 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002081/1.006, allocations: 79.28 kB / 0.5831 GB, free: 67.47 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007877/1.006, allocations: 322.5 kB / 0.5834 GB, free: 67.29 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007472/1.014, allocations: 2.691 MB / 0.5861 GB, free: 66.05 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-05/1.014, allocations: 19.94 kB / 0.5861 GB, free: 66.03 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/1.014, allocations: 7.906 kB / 0.5861 GB, free: 66.02 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.787e-05/1.014, allocations: 6.891 kB / 0.5861 GB, free: 66.02 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0158/1.03, allocations: 6.13 MB / 0.5921 GB, free: 61.1 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/1.03, allocations: 7.812 kB / 0.5921 GB, free: 61.1 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/1.032, allocations: 226.3 kB / 0.5923 GB, free: 60.91 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002927/1.035, allocations: 0.6393 MB / 0.5929 GB, free: 60.48 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002833/1.036, allocations: 19.78 kB / 0.5929 GB, free: 60.46 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006924/1.043, allocations: 4.104 MB / 0.5969 GB, free: 56.75 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.311e-06/1.043, allocations: 4 kB / 0.5969 GB, free: 56.75 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009904/1.053, allocations: 5.075 MB / 0.6019 GB, free: 52.32 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/1.054, allocations: 0.5675 MB / 0.6025 GB, free: 51.77 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007183/1.055, allocations: 4 kB / 0.6025 GB, free: 51.77 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0022/1.057, allocations: 47.09 kB / 0.6025 GB, free: 51.74 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003979/1.058, allocations: 70.12 kB / 0.6026 GB, free: 51.7 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/1.058, allocations: 43.84 kB / 0.6026 GB, free: 51.66 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.003989/1.062, allocations: 2.121 MB / 0.6047 GB, free: 49.82 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.006601/1.069, allocations: 0.817 MB / 0.6055 GB, free: 49.01 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002694/1.069, allocations: 109.1 kB / 0.6056 GB, free: 48.91 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.008197/1.078, allocations: 4.558 MB / 0.61 GB, free: 44.79 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 5.238e-06/1.078, allocations: 4 kB / 0.61 GB, free: 44.79 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002476/1.08, allocations: 1.317 MB / 0.6113 GB, free: 43.59 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/1.083, allocations: 324.8 kB / 0.6116 GB, free: 43.32 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/1.101, allocations: 7.226 MB / 0.6187 GB, free: 36.84 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00746/1.109, allocations: 3.579 MB / 0.6222 GB, free: 34.06 MB / 392.6 MB Notification: Performance of SimCode: time 2.514e-06/1.109, allocations: 0 / 0.6222 GB, free: 34.06 MB / 392.6 MB Notification: Performance of Templates: time 0.1162/1.225, allocations: 33.01 MB / 0.6544 GB, free: 3.961 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