Notification: Performance of loadModel(Modelica): time 1.656/1.656, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.278e-05/1.285e-05, allocations: 1.469 kB / 247.3 MB, free: 4.723 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07883/0.07894, allocations: 44.36 MB / 291.7 MB, free: 9.285 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2252/0.3043, allocations: 75.13 MB / 366.8 MB, free: 7.047 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.3046, allocations: 70.36 kB / 366.9 MB, free: 7.043 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.02674/0.3314, allocations: 6.327 MB / 373.2 MB, free: 6.059 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.493e-05/0.3315, allocations: 11.81 kB / 373.2 MB, free: 6.055 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001358/0.3329, allocations: 0.6671 MB / 373.9 MB, free: 5.535 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.333, allocations: 11.62 kB / 373.9 MB, free: 5.535 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.3332, allocations: 46.22 kB / 374 MB, free: 5.512 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.3337, allocations: 289.1 kB / 374.2 MB, free: 5.25 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.3338, allocations: 11.66 kB / 374.3 MB, free: 5.25 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.639e-05/0.3339, allocations: 23.41 kB / 374.3 MB, free: 5.246 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008398/0.3348, allocations: 356.4 kB / 374.6 MB, free: 5.211 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000773/0.3356, allocations: 349 kB / 375 MB, free: 5.098 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.3357, allocations: 7.812 kB / 375 MB, free: 5.094 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.958e-05/0.3358, allocations: 4 kB / 375 MB, free: 5.09 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.3359, allocations: 7.75 kB / 375 MB, free: 5.09 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003315/0.3393, allocations: 1.246 MB / 376.2 MB, free: 4.418 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005703/0.3399, allocations: 254.5 kB / 376.5 MB, free: 4.375 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003979/0.3404, allocations: 196.2 kB / 376.7 MB, free: 4.363 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.726e-05/0.3405, allocations: 8.188 kB / 376.7 MB, free: 4.363 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.3406, allocations: 38.73 kB / 376.7 MB, free: 4.32 MB / 296.6 MB Notification: Performance of pre-optimization done (n=47): time 6.216e-06/0.3407, allocations: 0 / 376.7 MB, free: 4.32 MB / 296.6 MB Notification: Performance of matching and sorting (n=51): time 0.004778/0.3455, allocations: 1.503 MB / 378.2 MB, free: 3.602 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.3456, allocations: 59.78 kB / 378.3 MB, free: 3.531 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.3459, allocations: 184.5 kB / 378.5 MB, free: 3.422 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 7.152e-05/0.346, allocations: 37.38 kB / 378.5 MB, free: 3.387 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.3462, allocations: 146.3 kB / 378.6 MB, free: 3.258 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.3464, allocations: 164.7 kB / 378.8 MB, free: 3.137 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.3465, allocations: 0 / 378.8 MB, free: 3.137 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3467, allocations: 346.9 kB / 379.1 MB, free: 18.81 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/0.3471, allocations: 180.9 kB / 379.3 MB, free: 18.8 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004578/0.3477, allocations: 240.5 kB / 379.6 MB, free: 18.74 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006038/0.3483, allocations: 151.5 kB / 379.7 MB, free: 18.71 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.19e-06/0.3484, allocations: 0 / 379.7 MB, free: 18.71 MB / 312.6 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002209/0.3507, allocations: 0.6554 MB / 380.4 MB, free: 18.55 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3508, allocations: 7.75 kB / 380.4 MB, free: 18.55 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/0.3508, allocations: 3.969 kB / 380.4 MB, free: 18.55 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.3521, allocations: 434.3 kB / 380.8 MB, free: 18.43 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.3526, allocations: 77.02 kB / 380.9 MB, free: 18.41 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003542/0.3562, allocations: 3.358 MB / 384.2 MB, free: 15.38 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007849/0.357, allocations: 106.1 kB / 384.3 MB, free: 15.34 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.283e-05/0.3572, allocations: 26.39 kB / 384.4 MB, free: 15.34 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.0001284/0.3574, allocations: 75.28 kB / 384.4 MB, free: 15.27 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.3576, allocations: 39.12 kB / 384.5 MB, free: 15.25 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/0.3597, allocations: 0.6716 MB / 385.1 MB, free: 15.03 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.45e-06/0.3597, allocations: 3.844 kB / 385.1 MB, free: 15.03 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.753e-06/0.3598, allocations: 0 / 385.1 MB, free: 15.03 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.241e-06/0.3599, allocations: 7.781 kB / 385.2 MB, free: 15.03 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/0.3623, allocations: 1.069 MB / 386.2 MB, free: 14.54 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.867e-06/0.3624, allocations: 0 / 386.2 MB, free: 14.54 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004281/0.3629, allocations: 69.67 kB / 386.3 MB, free: 14.52 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001122/0.3641, allocations: 412.5 kB / 386.7 MB, free: 14.4 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.481e-05/0.3642, allocations: 15.5 kB / 386.7 MB, free: 14.39 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00322/0.3675, allocations: 3.317 MB / 390 MB, free: 11.37 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.006e-06/0.3676, allocations: 3.969 kB / 390 MB, free: 11.37 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002133/0.3698, allocations: 0.8647 MB / 390.9 MB, free: 11.1 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/0.3702, allocations: 154.1 kB / 391 MB, free: 10.97 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.3704, allocations: 7.562 kB / 391 MB, free: 10.97 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008146/0.3712, allocations: 98 kB / 391.1 MB, free: 10.94 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/0.3716, allocations: 110.6 kB / 391.3 MB, free: 10.87 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-05/0.3717, allocations: 29.81 kB / 391.3 MB, free: 10.86 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001518/0.3719, allocations: 148 kB / 391.4 MB, free: 10.77 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0006742/0.3726, allocations: 112.6 kB / 391.5 MB, free: 10.77 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000153/0.3728, allocations: 92.66 kB / 391.6 MB, free: 10.7 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.3744, allocations: 0.7324 MB / 392.4 MB, free: 10.39 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.352e-06/0.3745, allocations: 0 / 392.4 MB, free: 10.39 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0009086/0.3754, allocations: 471.4 kB / 392.8 MB, free: 10.16 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005552/0.376, allocations: 42.41 kB / 392.9 MB, free: 10.14 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.3784, allocations: 0.7506 MB / 393.6 MB, free: 9.715 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000528/0.3791, allocations: 0.8452 MB / 394.5 MB, free: 8.945 MB / 312.6 MB Notification: Performance of SimCode: time 2.235e-06/0.3791, allocations: 0 / 394.5 MB, free: 8.945 MB / 312.6 MB Notification: Performance of Templates: time 0.04186/0.421, allocations: 8.716 MB / 403.2 MB, free: 4.484 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.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_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.o Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_SimpleGearShift__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_SimpleGearShift__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.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.SimpleGearShift.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.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.SimpleGearShift.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.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.SimpleGearShift.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_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.SimpleGearShift.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.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.SimpleGearShift.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.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.SimpleGearShift.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_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.SimpleGearShift.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.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.SimpleGearShift.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.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_SimpleGearShift_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.SimpleGearShift.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.c:304:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_eqFunction_94(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.c:304:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_eqFunction_94(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.c:305:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_eqFunction_95(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.c:305:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_eqFunction_95(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.c:306:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_SimpleGearShift_eqFunction_96(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.SimpleGearShift.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.o] Error 1