Notification: Performance of loadModel(Modelica): time 1.502/1.502, allocations: 194.5 MB / 200.7 MB, free: 5.188 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.358e-06/9.429e-06, allocations: 1.438 kB / 247.3 MB, free: 4.746 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06232/0.06239, allocations: 44.36 MB / 291.7 MB, free: 9.32 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2297/0.2922, allocations: 73.6 MB / 365.3 MB, free: 7.125 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.2925, allocations: 77.48 kB / 365.4 MB, free: 7.121 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03913/0.3317, allocations: 8.761 MB / 374.1 MB, free: 5.707 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.689e-05/0.3319, allocations: 15.62 kB / 374.2 MB, free: 5.703 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001868/0.3338, allocations: 0.802 MB / 375 MB, free: 5.117 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3339, allocations: 7.812 kB / 375 MB, free: 5.117 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.3342, allocations: 62.41 kB / 375 MB, free: 5.086 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005679/0.3348, allocations: 335.8 kB / 375.4 MB, free: 4.805 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.3349, allocations: 15.47 kB / 375.4 MB, free: 4.805 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.3351, allocations: 27.31 kB / 375.4 MB, free: 4.801 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001139/0.3363, allocations: 483.9 kB / 375.9 MB, free: 4.75 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.3374, allocations: 0.4997 MB / 376.4 MB, free: 4.578 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/0.3375, allocations: 7.781 kB / 376.4 MB, free: 4.574 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.648e-05/0.3377, allocations: 3.938 kB / 376.4 MB, free: 4.57 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.3377, allocations: 11.75 kB / 376.4 MB, free: 4.57 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003468/0.3413, allocations: 1.283 MB / 377.7 MB, free: 3.867 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009239/0.3423, allocations: 345.5 kB / 378 MB, free: 3.828 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005299/0.3429, allocations: 250.7 kB / 378.3 MB, free: 3.812 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 8.528e-05/0.3431, allocations: 11.84 kB / 378.3 MB, free: 3.812 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.3432, allocations: 46.36 kB / 378.3 MB, free: 3.766 MB / 296.6 MB Notification: Performance of pre-optimization done (n=61): time 6.915e-06/0.3432, allocations: 0 / 378.3 MB, free: 3.766 MB / 296.6 MB Notification: Performance of matching and sorting (n=67): time 0.006095/0.3494, allocations: 1.843 MB / 380.2 MB, free: 2.977 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.3495, allocations: 55.97 kB / 380.2 MB, free: 2.914 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.3499, allocations: 228.3 kB / 380.4 MB, free: 2.801 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.35, allocations: 39.84 kB / 380.5 MB, free: 2.766 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 8.144e-05/0.3502, allocations: 157.6 kB / 380.6 MB, free: 2.633 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.3504, allocations: 230.7 kB / 380.9 MB, free: 2.469 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/0.3505, allocations: 4 kB / 380.9 MB, free: 2.465 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3508, allocations: 358.5 kB / 381.2 MB, free: 18.14 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000601/0.3514, allocations: 243.1 kB / 381.4 MB, free: 18.13 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006069/0.3521, allocations: 301 kB / 381.7 MB, free: 18.08 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008354/0.353, allocations: 201.2 kB / 381.9 MB, free: 18.05 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.238e-06/0.3531, allocations: 7.844 kB / 381.9 MB, free: 18.04 MB / 312.6 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002228/0.3554, allocations: 0.7467 MB / 382.7 MB, free: 17.91 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3555, allocations: 7.812 kB / 382.7 MB, free: 17.91 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.3556, allocations: 0 / 382.7 MB, free: 17.91 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.3569, allocations: 0.5402 MB / 383.2 MB, free: 17.78 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005879/0.3576, allocations: 100.4 kB / 383.3 MB, free: 17.76 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.3599, allocations: 1.084 MB / 384.4 MB, free: 17.16 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.3611, allocations: 152.8 kB / 384.6 MB, free: 17.11 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.3613, allocations: 26.92 kB / 384.6 MB, free: 17.11 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.0001839/0.3616, allocations: 87.03 kB / 384.7 MB, free: 17.02 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.3618, allocations: 54.3 kB / 384.7 MB, free: 16.99 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002429/0.3643, allocations: 0.8383 MB / 385.6 MB, free: 16.75 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.3644, allocations: 3.812 kB / 385.6 MB, free: 16.75 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.869e-06/0.3645, allocations: 3.906 kB / 385.6 MB, free: 16.75 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.3645, allocations: 3.984 kB / 385.6 MB, free: 16.75 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003404/0.368, allocations: 1.323 MB / 386.9 MB, free: 16.2 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.892e-06/0.3681, allocations: 3.781 kB / 386.9 MB, free: 16.2 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006654/0.3688, allocations: 93.06 kB / 387 MB, free: 16.18 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/0.3702, allocations: 0.5114 MB / 387.5 MB, free: 16.06 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/0.3704, allocations: 22.83 kB / 387.5 MB, free: 16.05 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/0.3726, allocations: 1.046 MB / 388.6 MB, free: 15.43 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.936e-06/0.3727, allocations: 0 / 388.6 MB, free: 15.43 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002897/0.3757, allocations: 1.091 MB / 389.7 MB, free: 15.14 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003724/0.3762, allocations: 187 kB / 389.9 MB, free: 15 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.3764, allocations: 13.56 kB / 389.9 MB, free: 15 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.3775, allocations: 148.2 kB / 390 MB, free: 14.95 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003707/0.3779, allocations: 153.7 kB / 390.2 MB, free: 14.86 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.3781, allocations: 28.44 kB / 390.2 MB, free: 14.85 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0002551/0.3784, allocations: 194.3 kB / 390.4 MB, free: 14.76 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.00087/0.3794, allocations: 145.7 kB / 390.5 MB, free: 14.74 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001995/0.3796, allocations: 89.75 kB / 390.6 MB, free: 14.68 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001778/0.3815, allocations: 0.7106 MB / 391.3 MB, free: 14.54 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 4.54e-06/0.3816, allocations: 0 / 391.3 MB, free: 14.54 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0009533/0.3826, allocations: 365.2 kB / 391.7 MB, free: 14.49 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008033/0.3835, allocations: 59.97 kB / 391.7 MB, free: 14.48 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/0.3868, allocations: 1.154 MB / 392.9 MB, free: 13.79 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00054/0.3874, allocations: 0.8915 MB / 393.8 MB, free: 13 MB / 312.6 MB Notification: Performance of SimCode: time 2.235e-06/0.3875, allocations: 0 / 393.8 MB, free: 13 MB / 312.6 MB Notification: Performance of Templates: time 0.06188/0.4494, allocations: 11.71 MB / 405.5 MB, free: 5.988 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.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_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_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.o Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_CoupledClutches__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_CoupledClutches__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_CoupledClutches_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_CoupledClutches_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_CoupledClutches_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_CoupledClutches_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_CoupledClutches_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_CoupledClutches_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_CoupledClutches_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_CoupledClutches_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:306:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_CoupledClutches_eqFunction_107(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:306:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_CoupledClutches_eqFunction_107(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:307:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_CoupledClutches_eqFunction_108(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:307:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_CoupledClutches_eqFunction_108(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.c:308:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.o] Error 1