Notification: Performance of loadModel(Modelica): time 1.563/1.563, allocations: 194.5 MB / 200.7 MB, free: 5.156 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.027e-05/1.027e-05, allocations: 1.312 kB / 247.3 MB, free: 4.762 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06658/0.06665, allocations: 44.37 MB / 291.7 MB, free: 9.277 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2277/0.2944, allocations: 73.6 MB / 365.3 MB, free: 7.008 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.2948, allocations: 81.05 kB / 365.4 MB, free: 7.004 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03776/0.3326, allocations: 8.769 MB / 374.2 MB, free: 5.586 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.661e-05/0.3327, allocations: 7.844 kB / 374.2 MB, free: 5.586 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001777/0.3346, allocations: 0.7864 MB / 374.9 MB, free: 5.008 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3347, allocations: 11.66 kB / 375 MB, free: 5.008 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.3349, allocations: 58.5 kB / 375 MB, free: 4.977 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005568/0.3355, allocations: 339.9 kB / 375.3 MB, free: 4.695 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.3356, allocations: 15.5 kB / 375.4 MB, free: 4.695 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.3358, allocations: 34.34 kB / 375.4 MB, free: 4.688 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001108/0.337, allocations: 480.1 kB / 375.9 MB, free: 4.637 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.3381, allocations: 0.508 MB / 376.4 MB, free: 4.461 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.3382, allocations: 3.906 kB / 376.4 MB, free: 4.457 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-05/0.3383, allocations: 0 / 376.4 MB, free: 4.457 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.3384, allocations: 11.59 kB / 376.4 MB, free: 4.457 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003302/0.3417, allocations: 1.28 MB / 377.7 MB, free: 3.762 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008836/0.3427, allocations: 347.1 kB / 378 MB, free: 3.723 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005128/0.3433, allocations: 257.4 kB / 378.3 MB, free: 3.699 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 7.312e-05/0.3434, allocations: 8.375 kB / 378.3 MB, free: 3.699 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.3435, allocations: 42.44 kB / 378.3 MB, free: 3.652 MB / 296.6 MB Notification: Performance of pre-optimization done (n=61): time 3.981e-06/0.3436, allocations: 0 / 378.3 MB, free: 3.652 MB / 296.6 MB Notification: Performance of matching and sorting (n=67): time 0.005831/0.3495, allocations: 1.845 MB / 380.2 MB, free: 2.867 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.3496, allocations: 55.91 kB / 380.2 MB, free: 2.805 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.3499, allocations: 232.8 kB / 380.4 MB, free: 2.688 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 9.142e-05/0.3501, allocations: 36.39 kB / 380.5 MB, free: 2.656 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.829e-05/0.3502, allocations: 160.5 kB / 380.6 MB, free: 2.52 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.3504, allocations: 231.7 kB / 380.9 MB, free: 2.355 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.3506, allocations: 0 / 380.9 MB, free: 2.355 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3508, allocations: 355.8 kB / 381.2 MB, free: 18.03 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005821/0.3514, allocations: 248.2 kB / 381.4 MB, free: 18.02 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005976/0.3521, allocations: 306.3 kB / 381.7 MB, free: 17.96 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000831/0.353, allocations: 194.9 kB / 381.9 MB, free: 17.93 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.098e-06/0.3531, allocations: 7.906 kB / 381.9 MB, free: 17.93 MB / 312.6 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002167/0.3553, allocations: 0.7498 MB / 382.7 MB, free: 17.79 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.3554, allocations: 7.75 kB / 382.7 MB, free: 17.79 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/0.3555, allocations: 7.891 kB / 382.7 MB, free: 17.79 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.3568, allocations: 0.5268 MB / 383.2 MB, free: 17.66 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005679/0.3575, allocations: 104.5 kB / 383.3 MB, free: 17.64 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.3597, allocations: 1.087 MB / 384.4 MB, free: 17.04 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.3608, allocations: 152.9 kB / 384.6 MB, free: 16.99 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.361, allocations: 30.78 kB / 384.6 MB, free: 16.98 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.0001796/0.3612, allocations: 83.09 kB / 384.7 MB, free: 16.91 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.3615, allocations: 50.81 kB / 384.7 MB, free: 16.88 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/0.3639, allocations: 0.8347 MB / 385.6 MB, free: 16.64 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.364, allocations: 7.75 kB / 385.6 MB, free: 16.64 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.08e-06/0.3641, allocations: 3.984 kB / 385.6 MB, free: 16.64 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.3641, allocations: 0 / 385.6 MB, free: 16.64 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003314/0.3675, allocations: 1.336 MB / 386.9 MB, free: 16.08 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.3676, allocations: 0 / 386.9 MB, free: 16.08 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006495/0.3683, allocations: 96.19 kB / 387 MB, free: 16.06 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001201/0.3696, allocations: 0.516 MB / 387.5 MB, free: 15.93 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.3698, allocations: 23.52 kB / 387.5 MB, free: 15.92 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.3718, allocations: 1.042 MB / 388.6 MB, free: 15.3 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.517e-06/0.3719, allocations: 0 / 388.6 MB, free: 15.3 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003016/0.375, allocations: 1.079 MB / 389.7 MB, free: 15.03 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/0.3755, allocations: 190.2 kB / 389.9 MB, free: 14.88 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.3757, allocations: 10.44 kB / 389.9 MB, free: 14.88 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.3768, allocations: 154.4 kB / 390 MB, free: 14.83 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003422/0.3772, allocations: 151 kB / 390.2 MB, free: 14.74 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.3774, allocations: 35.95 kB / 390.2 MB, free: 14.73 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0002421/0.3777, allocations: 188.6 kB / 390.4 MB, free: 14.64 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0007913/0.3786, allocations: 146 kB / 390.5 MB, free: 14.62 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001584/0.3788, allocations: 88.34 kB / 390.6 MB, free: 14.56 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.3805, allocations: 0.7178 MB / 391.3 MB, free: 14.41 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.771e-06/0.3806, allocations: 0 / 391.3 MB, free: 14.41 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0009079/0.3816, allocations: 356.5 kB / 391.7 MB, free: 14.38 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007806/0.3825, allocations: 61.02 kB / 391.7 MB, free: 14.36 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/0.3858, allocations: 1.148 MB / 392.9 MB, free: 13.68 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005244/0.3864, allocations: 0.899 MB / 393.8 MB, free: 12.89 MB / 312.6 MB Notification: Performance of SimCode: time 2.375e-06/0.3865, allocations: 0 / 393.8 MB, free: 12.89 MB / 312.6 MB Notification: Performance of Templates: time 0.05655/0.4431, allocations: 11.7 MB / 405.5 MB, free: 5.93 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