Notification: Performance of loadModel(Modelica): time 1.734/1.734, allocations: 194.5 MB / 200.7 MB, free: 5.152 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.87e-06/9.01e-06, allocations: 1.469 kB / 247.3 MB, free: 4.742 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06338/0.06345, allocations: 44.36 MB / 291.7 MB, free: 9.277 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.226/0.2896, allocations: 73.61 MB / 365.3 MB, free: 6.98 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001849/0.2899, allocations: 75.45 kB / 365.4 MB, free: 6.977 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.0373/0.3272, allocations: 8.764 MB / 374.1 MB, free: 5.551 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.556e-05/0.3273, allocations: 7.812 kB / 374.2 MB, free: 5.551 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001824/0.3292, allocations: 0.7994 MB / 375 MB, free: 4.965 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3293, allocations: 11.5 kB / 375 MB, free: 4.965 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.3296, allocations: 58.56 kB / 375 MB, free: 4.934 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/0.3302, allocations: 335.4 kB / 375.3 MB, free: 4.656 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/0.3303, allocations: 23.55 kB / 375.4 MB, free: 4.648 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.3304, allocations: 30.88 kB / 375.4 MB, free: 4.645 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001107/0.3316, allocations: 478.3 kB / 375.9 MB, free: 4.594 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.3327, allocations: 0.4992 MB / 376.4 MB, free: 4.43 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.3328, allocations: 7.891 kB / 376.4 MB, free: 4.422 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.606e-05/0.3329, allocations: 3.938 kB / 376.4 MB, free: 4.418 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.333, allocations: 11.72 kB / 376.4 MB, free: 4.418 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0033/0.3363, allocations: 1.275 MB / 377.7 MB, free: 3.723 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008873/0.3373, allocations: 357.9 kB / 378 MB, free: 3.676 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004798/0.3379, allocations: 249.1 kB / 378.3 MB, free: 3.66 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-05/0.338, allocations: 8.281 kB / 378.3 MB, free: 3.66 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.3381, allocations: 36.25 kB / 378.3 MB, free: 3.621 MB / 296.6 MB Notification: Performance of pre-optimization done (n=61): time 6.146e-06/0.3382, allocations: 0 / 378.3 MB, free: 3.621 MB / 296.6 MB Notification: Performance of matching and sorting (n=67): time 0.005826/0.344, allocations: 1.85 MB / 380.2 MB, free: 2.828 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.3442, allocations: 59.94 kB / 380.2 MB, free: 2.762 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.3445, allocations: 233.8 kB / 380.4 MB, free: 2.645 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.3447, allocations: 40.19 kB / 380.5 MB, free: 2.609 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/0.3448, allocations: 158.4 kB / 380.6 MB, free: 2.477 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.3451, allocations: 227.5 kB / 380.9 MB, free: 2.312 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.265e-05/0.3452, allocations: 3.844 kB / 380.9 MB, free: 2.312 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3454, allocations: 349.1 kB / 381.2 MB, free: 17.99 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005441/0.346, allocations: 247.8 kB / 381.4 MB, free: 17.98 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000576/0.3467, allocations: 312 kB / 381.7 MB, free: 17.93 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008353/0.3476, allocations: 199 kB / 381.9 MB, free: 17.89 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.098e-06/0.3476, allocations: 3.906 kB / 381.9 MB, free: 17.89 MB / 312.6 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002089/0.3498, allocations: 0.7444 MB / 382.7 MB, free: 17.76 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3499, allocations: 7.75 kB / 382.7 MB, free: 17.76 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/0.35, allocations: 0 / 382.7 MB, free: 17.76 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.3513, allocations: 0.5386 MB / 383.2 MB, free: 17.63 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.352, allocations: 105.5 kB / 383.3 MB, free: 17.61 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.3543, allocations: 1.088 MB / 384.4 MB, free: 17 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.3555, allocations: 152.8 kB / 384.6 MB, free: 16.95 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.3557, allocations: 33.3 kB / 384.6 MB, free: 16.95 MB / 312.6 MB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.000155/0.3559, allocations: 79.22 kB / 384.7 MB, free: 16.87 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.3561, allocations: 46.38 kB / 384.7 MB, free: 16.85 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/0.3585, allocations: 0.8363 MB / 385.6 MB, free: 16.61 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.3586, allocations: 7.719 kB / 385.6 MB, free: 16.61 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.473e-06/0.3586, allocations: 0 / 385.6 MB, free: 16.61 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.3587, allocations: 3.984 kB / 385.6 MB, free: 16.61 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/0.3619, allocations: 1.329 MB / 386.9 MB, free: 16.05 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.961e-06/0.362, allocations: 0 / 386.9 MB, free: 16.05 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000694/0.3628, allocations: 99.81 kB / 387 MB, free: 16.03 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001331/0.3642, allocations: 0.5117 MB / 387.5 MB, free: 15.9 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/0.3644, allocations: 23.58 kB / 387.5 MB, free: 15.89 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.3664, allocations: 1.046 MB / 388.6 MB, free: 15.28 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.403e-06/0.3665, allocations: 0 / 388.6 MB, free: 15.28 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003011/0.3696, allocations: 1.08 MB / 389.7 MB, free: 15 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003844/0.3701, allocations: 185.2 kB / 389.8 MB, free: 14.86 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.3703, allocations: 14.59 kB / 389.9 MB, free: 14.86 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.3716, allocations: 151 kB / 390 MB, free: 14.8 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003572/0.372, allocations: 149.6 kB / 390.2 MB, free: 14.72 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.75e-05/0.3722, allocations: 35.48 kB / 390.2 MB, free: 14.71 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0002405/0.3725, allocations: 187.5 kB / 390.4 MB, free: 14.62 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0007984/0.3734, allocations: 144.8 kB / 390.5 MB, free: 14.6 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000165/0.3736, allocations: 94.16 kB / 390.6 MB, free: 14.54 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001704/0.3754, allocations: 0.7155 MB / 391.3 MB, free: 14.39 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.771e-06/0.3755, allocations: 5.25 kB / 391.3 MB, free: 14.38 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0008903/0.3764, allocations: 360 kB / 391.7 MB, free: 14.34 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007894/0.3773, allocations: 66.25 kB / 391.7 MB, free: 14.32 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.3805, allocations: 1.149 MB / 392.9 MB, free: 13.64 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006445/0.3812, allocations: 0.8889 MB / 393.8 MB, free: 12.86 MB / 312.6 MB Notification: Performance of SimCode: time 2.584e-06/0.3813, allocations: 1.375 kB / 393.8 MB, free: 12.86 MB / 312.6 MB Notification: Performance of Templates: time 0.0828/0.4642, allocations: 11.7 MB / 405.5 MB, free: 5.961 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.CoupledClutches.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_Rotational_Examples_CoupledClutches -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.CoupledClutches.o Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.CoupledClutches_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_CoupledClutches__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.CoupledClutches_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_CoupledClutches__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.CoupledClutches.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.Rotational.Examples.CoupledClutches.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_CoupledClutches_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.CoupledClutches.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.Rotational.Examples.CoupledClutches.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_CoupledClutches_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.CoupledClutches.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.Rotational.Examples.CoupledClutches.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_CoupledClutches_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.Rotational.Examples.CoupledClutches.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_CoupledClutches_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.CoupledClutches.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.Rotational.Examples.CoupledClutches.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_CoupledClutches_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.CoupledClutches.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.Rotational.Examples.CoupledClutches.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_CoupledClutches_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.Rotational.Examples.CoupledClutches.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_CoupledClutches_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.CoupledClutches.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.Rotational.Examples.CoupledClutches.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_CoupledClutches_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_CoupledClutches_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.Rotational.Examples.CoupledClutches.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_CoupledClutches_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_CoupledClutches_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:306:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_CoupledClutches_eqFunction_107(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:306:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_CoupledClutches_eqFunction_107(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:307:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_CoupledClutches_eqFunction_108(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:307:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_CoupledClutches_eqFunction_108(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:308:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_CoupledClutches_eqFunction_109(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.Rotational.Examples.CoupledClutches.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.CoupledClutches.o] Error 1