Notification: Performance of loadModel(Modelica): time 1.537/1.537, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.006e-05/1.027e-05, allocations: 1.125 kB / 247.8 MB, free: 4.297 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06063/0.06072, allocations: 44.35 MB / 292.1 MB, free: 8.844 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2443/0.3051, allocations: 91.69 MB / 383.8 MB, free: 3.75 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.3055, allocations: 91.34 kB / 383.9 MB, free: 3.734 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.6798/0.9854, allocations: 142.2 MB / 0.5138 GB, free: 66.59 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0004362/0.9859, allocations: 147.4 kB / 0.514 GB, free: 66.59 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.04076/1.027, allocations: 8.225 MB / 0.522 GB, free: 63.77 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/1.027, allocations: 11.53 kB / 0.522 GB, free: 63.77 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08454/1.111, allocations: 14.76 MB / 0.5364 GB, free: 63.2 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03833/1.15, allocations: 13.15 MB / 0.5493 GB, free: 62.02 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003181/1.15, allocations: 213.5 kB / 0.5495 GB, free: 62.02 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002536/1.153, allocations: 410.4 kB / 0.5499 GB, free: 62 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01981/1.173, allocations: 9.383 MB / 0.559 GB, free: 61.34 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03077/1.204, allocations: 14.51 MB / 0.5732 GB, free: 49.68 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004319/1.204, allocations: 109.4 kB / 0.5733 GB, free: 49.62 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002197/1.207, allocations: 44 kB / 0.5733 GB, free: 49.57 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002655/1.209, allocations: 1.59 MB / 0.5749 GB, free: 48.28 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2486/1.458, allocations: 76.68 MB / 0.6498 GB, free: 66.65 MB / 408.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008763/1.467, allocations: 5.586 MB / 0.6552 GB, free: 65.98 MB / 408.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00679/1.474, allocations: 4.596 MB / 0.6597 GB, free: 65.94 MB / 408.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03013/1.504, allocations: 14.76 MB / 0.6741 GB, free: 62.39 MB / 408.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/1.504, allocations: 62.5 kB / 0.6742 GB, free: 62.35 MB / 408.6 MB Notification: Performance of pre-optimization done (n=262): time 1.055e-05/1.504, allocations: 0 / 0.6742 GB, free: 62.35 MB / 408.6 MB Notification: Performance of matching and sorting (n=342): time 0.1494/1.654, allocations: 43.37 MB / 0.7165 GB, free: 50.89 MB / 408.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.205e-05/1.654, allocations: 302.4 kB / 0.7168 GB, free: 50.57 MB / 408.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01214/1.666, allocations: 5.722 MB / 0.7224 GB, free: 48.61 MB / 408.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0008049/1.667, allocations: 25.7 kB / 0.7224 GB, free: 48.58 MB / 408.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.003442/1.671, allocations: 4.467 MB / 0.7268 GB, free: 45.52 MB / 408.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.002046/1.673, allocations: 1.272 MB / 0.728 GB, free: 44.58 MB / 408.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/1.674, allocations: 2.625 kB / 0.728 GB, free: 44.58 MB / 408.6 MB Notification: Performance of setup shared object (initialization): time 0.0006492/1.675, allocations: 0.708 MB / 0.7287 GB, free: 44.11 MB / 408.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008918/1.684, allocations: 4.389 MB / 0.733 GB, free: 42.53 MB / 408.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01167/1.695, allocations: 9.759 MB / 0.7426 GB, free: 32.36 MB / 408.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/1.707, allocations: 6.474 MB / 0.7489 GB, free: 27.2 MB / 408.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001384/1.707, allocations: 56 kB / 0.7489 GB, free: 27.14 MB / 408.6 MB Notification: Performance of matching and sorting (n=1249) (initialization): time 0.08599/1.793, allocations: 24.62 MB / 0.773 GB, free: 9.484 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/1.793, allocations: 4 kB / 0.773 GB, free: 9.48 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06065/1.854, allocations: 16.01 MB / 0.7886 GB, free: 12.49 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05988/1.914, allocations: 11.4 MB / 0.7998 GB, free: 1.105 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1525/2.066, allocations: 2.084 MB / 0.8018 GB, free: 113.1 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05855/2.125, allocations: 28.79 MB / 0.8299 GB, free: 108.2 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01181/2.137, allocations: 442.1 kB / 0.8303 GB, free: 108.2 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002044/2.139, allocations: 0.5789 MB / 0.8309 GB, free: 108.2 MB / 424.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005103/2.14, allocations: 81.27 kB / 0.831 GB, free: 108.1 MB / 424.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001577/2.141, allocations: 0.6203 MB / 0.8316 GB, free: 108.1 MB / 424.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02699/2.168, allocations: 9.778 MB / 0.8411 GB, free: 107.7 MB / 424.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02448/2.193, allocations: 8.58 MB / 0.8495 GB, free: 105.7 MB / 424.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.629e-05/2.193, allocations: 17.66 kB / 0.8495 GB, free: 105.7 MB / 424.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.375e-05/2.193, allocations: 15.05 kB / 0.8495 GB, free: 105.7 MB / 424.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05516/2.249, allocations: 22.04 MB / 0.8711 GB, free: 97.87 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.114e-05/2.249, allocations: 6.094 kB / 0.8711 GB, free: 97.87 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004242/2.253, allocations: 482.1 kB / 0.8715 GB, free: 97.86 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02041/2.274, allocations: 3.816 MB / 0.8753 GB, free: 97.16 MB / 424.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008792/2.275, allocations: 54.86 kB / 0.8753 GB, free: 97.15 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03846/2.313, allocations: 21.71 MB / 0.8965 GB, free: 84.78 MB / 424.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002012/2.315, allocations: 2.77 MB / 0.8992 GB, free: 82.09 MB / 424.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03259/2.348, allocations: 15.22 MB / 0.9141 GB, free: 69.91 MB / 424.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004255/2.352, allocations: 1.297 MB / 0.9153 GB, free: 68.71 MB / 424.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002233/2.355, allocations: 31.56 kB / 0.9154 GB, free: 68.68 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006006/2.361, allocations: 168.8 kB / 0.9155 GB, free: 68.59 MB / 424.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001053/2.362, allocations: 174.9 kB / 0.9157 GB, free: 68.49 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004398/2.362, allocations: 96.81 kB / 0.9158 GB, free: 68.41 MB / 424.6 MB Notification: Performance of sort global known variables: time 0.00868/2.371, allocations: 3.965 MB / 0.9197 GB, free: 64.98 MB / 424.6 MB Notification: Performance of remove unused functions: time 0.01225/2.384, allocations: 1.848 MB / 0.9215 GB, free: 63.14 MB / 424.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002891/2.384, allocations: 116.2 kB / 0.9216 GB, free: 63.05 MB / 424.6 MB Notification: Performance of simCode: created initialization part: time 0.02217/2.406, allocations: 11.21 MB / 0.9325 GB, free: 53.39 MB / 424.6 MB Notification: Performance of simCode: created event and clocks part: time 8.66e-06/2.406, allocations: 0 / 0.9325 GB, free: 53.39 MB / 424.6 MB Notification: Performance of simCode: created simulation system equations: time 0.009683/2.416, allocations: 4.811 MB / 0.9372 GB, free: 49.02 MB / 424.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006138/2.422, allocations: 0.7762 MB / 0.938 GB, free: 48.38 MB / 424.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0458/2.468, allocations: 16.13 MB / 0.9537 GB, free: 34.44 MB / 424.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1596/2.628, allocations: 5.905 MB / 0.9595 GB, free: 105.8 MB / 424.6 MB Notification: Performance of SimCode: time 2.724e-06/2.628, allocations: 1.156 kB / 0.9595 GB, free: 105.8 MB / 424.6 MB Notification: Performance of Templates: time 0.2584/2.886, allocations: 95.2 MB / 1.052 GB, free: 77.85 MB / 424.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.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_GyroscopicEffects -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.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.GyroscopicEffects.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.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.GyroscopicEffects.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.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.GyroscopicEffects.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_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.GyroscopicEffects.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.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.GyroscopicEffects.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.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.GyroscopicEffects.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_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.GyroscopicEffects.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.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.GyroscopicEffects.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.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_GyroscopicEffects_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.GyroscopicEffects.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:124:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_eqFunction_1327(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:124:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_eqFunction_1327(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:125:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_eqFunction_1326(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:125:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_eqFunction_1326(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:126:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_eqFunction_1325(DATA*,threadData_t*); ^ 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.GyroscopicEffects.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.o] Error 1