Notification: Performance of loadModel(Modelica): time 1.688/1.688, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.708e-06/9.847e-06, allocations: 1.188 kB / 247.8 MB, free: 4.297 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0636/0.06368, allocations: 44.36 MB / 292.1 MB, free: 8.852 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2512/0.315, allocations: 91.69 MB / 383.8 MB, free: 3.812 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.3153, allocations: 94.72 kB / 383.9 MB, free: 3.793 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.6697/0.9851, allocations: 142.2 MB / 0.5138 GB, free: 66.55 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0004776/0.9857, allocations: 142.6 kB / 0.514 GB, free: 66.55 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.04061/1.026, allocations: 8.223 MB / 0.522 GB, free: 63.73 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 6.376e-05/1.027, allocations: 13.47 kB / 0.522 GB, free: 63.73 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08168/1.108, allocations: 14.76 MB / 0.5364 GB, free: 63.14 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03826/1.147, allocations: 13.16 MB / 0.5493 GB, free: 61.96 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003309/1.147, allocations: 209.9 kB / 0.5495 GB, free: 61.96 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002712/1.15, allocations: 409.6 kB / 0.5499 GB, free: 61.95 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02044/1.17, allocations: 9.383 MB / 0.559 GB, free: 61.27 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03029/1.201, allocations: 14.5 MB / 0.5732 GB, free: 49.61 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003911/1.201, allocations: 112.5 kB / 0.5733 GB, free: 49.54 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002195/1.204, allocations: 44 kB / 0.5733 GB, free: 49.5 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002586/1.206, allocations: 1.584 MB / 0.5749 GB, free: 48.21 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2456/1.452, allocations: 76.68 MB / 0.6498 GB, free: 66.45 MB / 408.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008535/1.461, allocations: 5.594 MB / 0.6552 GB, free: 65.78 MB / 408.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00688/1.468, allocations: 4.591 MB / 0.6597 GB, free: 65.74 MB / 408.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02965/1.497, allocations: 14.76 MB / 0.6741 GB, free: 62.18 MB / 408.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.203e-05/1.497, allocations: 63.97 kB / 0.6742 GB, free: 62.14 MB / 408.6 MB Notification: Performance of pre-optimization done (n=262): time 1.006e-05/1.498, allocations: 0 / 0.6742 GB, free: 62.14 MB / 408.6 MB Notification: Performance of matching and sorting (n=342): time 0.1439/1.642, allocations: 43.37 MB / 0.7165 GB, free: 50.64 MB / 408.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.521e-05/1.642, allocations: 295.8 kB / 0.7168 GB, free: 50.33 MB / 408.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0116/1.653, allocations: 5.732 MB / 0.7224 GB, free: 48.37 MB / 408.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0007889/1.654, allocations: 25.7 kB / 0.7225 GB, free: 48.34 MB / 408.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.003445/1.658, allocations: 4.467 MB / 0.7268 GB, free: 45.28 MB / 408.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.00207/1.66, allocations: 1.268 MB / 0.7281 GB, free: 44.34 MB / 408.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00114/1.661, allocations: 0 / 0.7281 GB, free: 44.34 MB / 408.6 MB Notification: Performance of setup shared object (initialization): time 0.0006903/1.662, allocations: 0.7114 MB / 0.7287 GB, free: 43.86 MB / 408.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009383/1.671, allocations: 4.39 MB / 0.733 GB, free: 42.28 MB / 408.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01141/1.683, allocations: 9.758 MB / 0.7426 GB, free: 31.96 MB / 408.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01122/1.694, allocations: 6.473 MB / 0.7489 GB, free: 26.8 MB / 408.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001393/1.694, allocations: 56 kB / 0.7489 GB, free: 26.74 MB / 408.6 MB Notification: Performance of matching and sorting (n=1249) (initialization): time 0.08538/1.78, allocations: 24.62 MB / 0.773 GB, free: 9.117 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.78, allocations: 4 kB / 0.773 GB, free: 9.113 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06297/1.843, allocations: 16.05 MB / 0.7887 GB, free: 12.55 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05897/1.902, allocations: 11.4 MB / 0.7998 GB, free: 1.168 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1526/2.055, allocations: 2.087 MB / 0.8018 GB, free: 112.9 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05649/2.112, allocations: 28.79 MB / 0.8299 GB, free: 108 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01255/2.124, allocations: 452.2 kB / 0.8304 GB, free: 108 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002106/2.126, allocations: 0.5698 MB / 0.8309 GB, free: 108 MB / 424.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005299/2.127, allocations: 75.28 kB / 0.831 GB, free: 107.9 MB / 424.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001567/2.129, allocations: 0.6256 MB / 0.8316 GB, free: 107.9 MB / 424.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02798/2.157, allocations: 9.776 MB / 0.8412 GB, free: 107.5 MB / 424.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02385/2.181, allocations: 8.582 MB / 0.8495 GB, free: 105.5 MB / 424.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.964e-05/2.181, allocations: 16.06 kB / 0.8496 GB, free: 105.5 MB / 424.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.997e-05/2.181, allocations: 21.27 kB / 0.8496 GB, free: 105.5 MB / 424.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05682/2.238, allocations: 22.04 MB / 0.8711 GB, free: 97.68 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.66e-05/2.238, allocations: 0 / 0.8711 GB, free: 97.68 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003931/2.242, allocations: 482.6 kB / 0.8716 GB, free: 97.66 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02112/2.263, allocations: 3.816 MB / 0.8753 GB, free: 96.97 MB / 424.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009058/2.264, allocations: 62.66 kB / 0.8753 GB, free: 96.95 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03904/2.303, allocations: 21.7 MB / 0.8965 GB, free: 84.58 MB / 424.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002046/2.305, allocations: 2.765 MB / 0.8992 GB, free: 81.9 MB / 424.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0345/2.34, allocations: 15.22 MB / 0.9141 GB, free: 69.78 MB / 424.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004179/2.344, allocations: 1.288 MB / 0.9154 GB, free: 68.58 MB / 424.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002345/2.347, allocations: 42.17 kB / 0.9154 GB, free: 68.55 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005859/2.353, allocations: 167.3 kB / 0.9156 GB, free: 68.45 MB / 424.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001048/2.354, allocations: 166 kB / 0.9157 GB, free: 68.36 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006337/2.355, allocations: 95.2 kB / 0.9158 GB, free: 68.28 MB / 424.6 MB Notification: Performance of sort global known variables: time 0.008857/2.364, allocations: 3.971 MB / 0.9197 GB, free: 64.84 MB / 424.6 MB Notification: Performance of remove unused functions: time 0.01259/2.376, allocations: 1.848 MB / 0.9215 GB, free: 63.01 MB / 424.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000305/2.377, allocations: 113 kB / 0.9216 GB, free: 62.92 MB / 424.6 MB Notification: Performance of simCode: created initialization part: time 0.02218/2.399, allocations: 11.21 MB / 0.9326 GB, free: 53.25 MB / 424.6 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/2.399, allocations: 4 kB / 0.9326 GB, free: 53.25 MB / 424.6 MB Notification: Performance of simCode: created simulation system equations: time 0.009554/2.409, allocations: 4.809 MB / 0.9373 GB, free: 48.88 MB / 424.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006044/2.415, allocations: 0.7803 MB / 0.938 GB, free: 48.25 MB / 424.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04434/2.459, allocations: 16.12 MB / 0.9538 GB, free: 34.26 MB / 424.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01376/2.473, allocations: 5.907 MB / 0.9595 GB, free: 29.1 MB / 424.6 MB Notification: Performance of SimCode: time 2.375e-06/2.473, allocations: 0 / 0.9595 GB, free: 29.1 MB / 424.6 MB Notification: Performance of Templates: time 0.3584/2.832, allocations: 95.2 MB / 1.052 GB, free: 84.43 MB / 424.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.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_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_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:124:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_eqFunction_1327(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:124:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_eqFunction_1327(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:125:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_eqFunction_1326(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:125:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects_eqFunction_1326(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.c:126:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.o] Error 1