Notification: Performance of loadModel(Modelica): time 1.518/1.518, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.289e-06/9.429e-06, allocations: 1.094 kB / 247.6 MB, free: 4.473 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06379/0.06387, allocations: 44.36 MB / 292 MB, free: 9.02 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2465/0.3104, allocations: 92.18 MB / 384.2 MB, free: 3.742 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.3108, allocations: 91.22 kB / 384.3 MB, free: 3.727 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.4514/0.7622, allocations: 93.89 MB / 478.1 MB, free: 4.562 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.0002374/0.7625, allocations: 103.9 kB / 478.2 MB, free: 4.461 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.02295/0.7856, allocations: 5.436 MB / 483.7 MB, free: 14.95 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.7857, allocations: 8.031 kB / 483.7 MB, free: 14.94 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01376/0.7995, allocations: 1.927 MB / 485.6 MB, free: 13 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01542/0.815, allocations: 4.98 MB / 490.6 MB, free: 7.965 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002551/0.8154, allocations: 168 kB / 490.8 MB, free: 7.801 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002031/0.8175, allocations: 303.9 kB / 491.1 MB, free: 7.504 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1388/0.9564, allocations: 7.974 MB / 499 MB, free: 110.5 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02417/0.9806, allocations: 11.74 MB / 0.4988 GB, free: 107.6 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000268/0.981, allocations: 71.22 kB / 0.4989 GB, free: 107.6 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001894/0.983, allocations: 37.12 kB / 0.4989 GB, free: 107.6 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002143/0.9852, allocations: 1.265 MB / 0.5001 GB, free: 107.6 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07194/1.057, allocations: 55.58 MB / 0.5544 GB, free: 76.06 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006314/1.064, allocations: 4.437 MB / 0.5587 GB, free: 73.94 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004758/1.069, allocations: 3.318 MB / 0.562 GB, free: 72.59 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02128/1.09, allocations: 10 MB / 0.5718 GB, free: 67.72 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/1.09, allocations: 57.23 kB / 0.5718 GB, free: 67.67 MB / 392.6 MB Notification: Performance of pre-optimization done (n=215): time 9.568e-06/1.09, allocations: 0 / 0.5718 GB, free: 67.67 MB / 392.6 MB Notification: Performance of matching and sorting (n=246): time 0.05944/1.15, allocations: 22.27 MB / 0.5936 GB, free: 59.27 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/1.15, allocations: 155.8 kB / 0.5937 GB, free: 59.11 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006665/1.157, allocations: 3.405 MB / 0.597 GB, free: 57.82 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0005295/1.157, allocations: 28.36 kB / 0.5971 GB, free: 57.79 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002047/1.159, allocations: 3.411 MB / 0.6004 GB, free: 55.14 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.001159/1.16, allocations: 0.9052 MB / 0.6013 GB, free: 54.33 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006082/1.161, allocations: 0 / 0.6013 GB, free: 54.33 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0004003/1.162, allocations: 0.6085 MB / 0.6019 GB, free: 53.8 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005925/1.168, allocations: 2.958 MB / 0.6048 GB, free: 51.18 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00778/1.175, allocations: 7.134 MB / 0.6117 GB, free: 42.6 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008048/1.184, allocations: 4.551 MB / 0.6162 GB, free: 38.76 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.54e-05/1.184, allocations: 44 kB / 0.6162 GB, free: 38.72 MB / 392.6 MB Notification: Performance of matching and sorting (n=933) (initialization): time 0.02367/1.208, allocations: 10.06 MB / 0.626 GB, free: 30.09 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/1.208, allocations: 4 kB / 0.626 GB, free: 30.08 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001928/1.208, allocations: 148 kB / 0.6262 GB, free: 29.94 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003934/1.212, allocations: 1.085 MB / 0.6272 GB, free: 29.1 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008695/1.221, allocations: 1.738 MB / 0.6289 GB, free: 27.61 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009096/1.23, allocations: 5.523 MB / 0.6343 GB, free: 22.7 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008011/1.238, allocations: 243.5 kB / 0.6346 GB, free: 22.49 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001502/1.24, allocations: 450.1 kB / 0.635 GB, free: 22.08 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003945/1.24, allocations: 85.91 kB / 0.6351 GB, free: 22 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009494/1.241, allocations: 371.2 kB / 0.6354 GB, free: 21.63 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/1.254, allocations: 5.348 MB / 0.6407 GB, free: 17.29 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.507e-05/1.254, allocations: 28 kB / 0.6407 GB, free: 17.26 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/1.254, allocations: 7.906 kB / 0.6407 GB, free: 17.25 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.225e-05/1.254, allocations: 9 kB / 0.6407 GB, free: 17.25 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02584/1.28, allocations: 10.74 MB / 0.6512 GB, free: 6.773 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.947e-05/1.28, allocations: 4 kB / 0.6512 GB, free: 6.77 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003938/1.284, allocations: 457.9 kB / 0.6516 GB, free: 6.324 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003506/1.288, allocations: 0.8731 MB / 0.6525 GB, free: 5.449 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005468/1.289, allocations: 19.98 kB / 0.6525 GB, free: 5.43 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008408/1.297, allocations: 5.234 MB / 0.6576 GB, free: 96 kB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/1.297, allocations: 7.938 kB / 0.6576 GB, free: 88 kB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1443/1.442, allocations: 9.557 MB / 0.6669 GB, free: 99.77 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002397/1.444, allocations: 0.832 MB / 0.6678 GB, free: 99.68 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001132/1.445, allocations: 14.64 kB / 0.6678 GB, free: 99.68 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003235/1.449, allocations: 92.78 kB / 0.6679 GB, free: 99.68 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000617/1.449, allocations: 132.7 kB / 0.668 GB, free: 99.68 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002889/1.45, allocations: 67.16 kB / 0.6681 GB, free: 99.68 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.004482/1.454, allocations: 2.274 MB / 0.6703 GB, free: 99.5 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.00759/1.462, allocations: 1.08 MB / 0.6713 GB, free: 99.5 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002561/1.462, allocations: 102 kB / 0.6714 GB, free: 99.44 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.01274/1.475, allocations: 7.01 MB / 0.6783 GB, free: 99.31 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.146e-06/1.475, allocations: 0 / 0.6783 GB, free: 99.31 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.004799/1.48, allocations: 2.633 MB / 0.6808 GB, free: 99.2 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/1.483, allocations: 343.3 kB / 0.6812 GB, free: 99.18 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.024/1.507, allocations: 9.998 MB / 0.6909 GB, free: 97.42 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00917/1.516, allocations: 4.234 MB / 0.6951 GB, free: 96.59 MB / 392.6 MB Notification: Performance of SimCode: time 2.515e-06/1.516, allocations: 7.375 kB / 0.6951 GB, free: 96.59 MB / 392.6 MB Notification: Performance of Templates: time 0.1336/1.65, allocations: 48.44 MB / 0.7424 GB, free: 81.09 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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_MovingActuatedDrive -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.MovingActuatedDrive.o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.MovingActuatedDrive.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.MovingActuatedDrive.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.MovingActuatedDrive.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_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.MovingActuatedDrive.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.MovingActuatedDrive.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.MovingActuatedDrive.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_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.MovingActuatedDrive.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.MovingActuatedDrive.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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_MovingActuatedDrive_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.MovingActuatedDrive.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.c:3310:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_eqFunction_932(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.c:3311:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_eqFunction_933(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.c:3312:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_eqFunction_934(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.c:3313:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_eqFunction_935(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.c:3314:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_eqFunction_937(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.MovingActuatedDrive.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.o] Error 1