Notification: Performance of loadModel(Modelica): time 1.547/1.547, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.173e-05/1.194e-05, allocations: 1.031 kB / 247.3 MB, free: 4.742 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06664/0.06675, allocations: 44.36 MB / 291.7 MB, free: 9.285 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2365/0.3034, allocations: 73.6 MB / 365.3 MB, free: 7.02 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/0.3037, allocations: 74.5 kB / 365.4 MB, free: 7.016 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.05565/0.3594, allocations: 8.765 MB / 374.1 MB, free: 5.602 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.696e-05/0.3595, allocations: 7.781 kB / 374.2 MB, free: 5.602 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.002014/0.3616, allocations: 0.7968 MB / 374.9 MB, free: 5.02 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3617, allocations: 7.719 kB / 375 MB, free: 5.02 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.3619, allocations: 62.41 kB / 375 MB, free: 4.988 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.3625, allocations: 340.7 kB / 375.3 MB, free: 4.707 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.3626, allocations: 15.28 kB / 375.4 MB, free: 4.707 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.3628, allocations: 30.84 kB / 375.4 MB, free: 4.699 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001093/0.3639, allocations: 482.8 kB / 375.9 MB, free: 4.648 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.365, allocations: 0.5018 MB / 376.4 MB, free: 4.477 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/0.3651, allocations: 3.906 kB / 376.4 MB, free: 4.473 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.669e-05/0.3653, allocations: 3.875 kB / 376.4 MB, free: 4.473 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.3653, allocations: 7.75 kB / 376.4 MB, free: 4.473 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003238/0.3686, allocations: 1.286 MB / 377.7 MB, free: 3.77 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008735/0.3696, allocations: 346.3 kB / 378 MB, free: 3.73 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004769/0.3701, allocations: 257.3 kB / 378.3 MB, free: 3.707 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 7.864e-05/0.3703, allocations: 15.78 kB / 378.3 MB, free: 3.707 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.3704, allocations: 38.88 kB / 378.3 MB, free: 3.668 MB / 296.6 MB Notification: Performance of pre-optimization done (n=61): time 5.448e-06/0.3704, allocations: 0 / 378.3 MB, free: 3.668 MB / 296.6 MB Notification: Performance of matching and sorting (n=67): time 0.00568/0.3762, allocations: 1.84 MB / 380.2 MB, free: 2.879 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.3763, allocations: 59.72 kB / 380.2 MB, free: 2.816 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.3766, allocations: 233.4 kB / 380.4 MB, free: 2.695 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 9.862e-05/0.3768, allocations: 40.73 kB / 380.5 MB, free: 2.664 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.3769, allocations: 159.2 kB / 380.6 MB, free: 2.527 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.3772, allocations: 221.2 kB / 380.8 MB, free: 2.367 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-05/0.3773, allocations: 3.125 kB / 380.9 MB, free: 2.367 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3775, allocations: 354.2 kB / 381.2 MB, free: 18.04 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005442/0.3781, allocations: 249.2 kB / 381.4 MB, free: 18.03 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005676/0.3787, allocations: 301.6 kB / 381.7 MB, free: 17.98 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007923/0.3796, allocations: 199.4 kB / 381.9 MB, free: 17.95 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.238e-06/0.3796, allocations: 3.906 kB / 381.9 MB, free: 17.95 MB / 312.6 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002819/0.3825, allocations: 0.7546 MB / 382.7 MB, free: 17.81 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.3827, allocations: 7.75 kB / 382.7 MB, free: 17.81 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.548e-05/0.3828, allocations: 3.984 kB / 382.7 MB, free: 17.8 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/0.3843, allocations: 0.5305 MB / 383.2 MB, free: 17.68 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/0.3849, allocations: 112.4 kB / 383.3 MB, free: 17.65 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/0.387, allocations: 1.082 MB / 384.4 MB, free: 17.06 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.3881, allocations: 152.6 kB / 384.6 MB, free: 17.01 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.931e-05/0.3883, allocations: 26.73 kB / 384.6 MB, free: 17 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.0001708/0.3885, allocations: 87.17 kB / 384.7 MB, free: 16.92 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.3887, allocations: 54.19 kB / 384.7 MB, free: 16.89 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/0.391, allocations: 0.8291 MB / 385.6 MB, free: 16.66 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.3911, allocations: 3.906 kB / 385.6 MB, free: 16.66 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.426e-06/0.3912, allocations: 0 / 385.6 MB, free: 16.66 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.3912, allocations: 11.97 kB / 385.6 MB, free: 16.65 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003069/0.3944, allocations: 1.331 MB / 386.9 MB, free: 16.1 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.587e-06/0.3945, allocations: 0 / 386.9 MB, free: 16.1 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006321/0.3951, allocations: 96.3 kB / 387 MB, free: 16.08 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001159/0.3964, allocations: 0.5135 MB / 387.5 MB, free: 15.95 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.871e-05/0.3965, allocations: 19.47 kB / 387.5 MB, free: 15.93 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.3985, allocations: 1.05 MB / 388.6 MB, free: 15.32 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.076e-06/0.3986, allocations: 3.812 kB / 388.6 MB, free: 15.32 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002781/0.4015, allocations: 1.077 MB / 389.7 MB, free: 15.04 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005462/0.4021, allocations: 185 kB / 389.8 MB, free: 14.89 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.4023, allocations: 16.34 kB / 389.9 MB, free: 14.89 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.4034, allocations: 147.8 kB / 390 MB, free: 14.84 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003539/0.4039, allocations: 155.9 kB / 390.2 MB, free: 14.75 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.827e-05/0.404, allocations: 34.86 kB / 390.2 MB, free: 14.74 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0002343/0.4043, allocations: 189 kB / 390.4 MB, free: 14.65 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0008259/0.4052, allocations: 141.7 kB / 390.5 MB, free: 14.64 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001608/0.4054, allocations: 93.12 kB / 390.6 MB, free: 14.57 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.4071, allocations: 0.7146 MB / 391.3 MB, free: 14.43 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.632e-06/0.4072, allocations: 1.188 kB / 391.3 MB, free: 14.43 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.000846/0.4081, allocations: 356.1 kB / 391.7 MB, free: 14.39 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000753/0.4089, allocations: 62.42 kB / 391.7 MB, free: 14.37 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/0.4121, allocations: 1.149 MB / 392.9 MB, free: 13.69 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004971/0.4126, allocations: 0.8929 MB / 393.8 MB, free: 12.91 MB / 312.6 MB Notification: Performance of SimCode: time 2.026e-06/0.4127, allocations: 0 / 393.8 MB, free: 12.91 MB / 312.6 MB Notification: Performance of Templates: time 0.08778/0.5005, allocations: 11.7 MB / 405.5 MB, free: 6.035 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