Notification: Performance of loadModel(Modelica): time 1.532/1.532, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.289e-06/9.428e-06, allocations: 1.5 kB / 247.3 MB, free: 4.719 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06043/0.06051, allocations: 44.37 MB / 291.7 MB, free: 9.273 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2234/0.284, allocations: 72.8 MB / 364.5 MB, free: 7.02 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.2843, allocations: 71.67 kB / 364.6 MB, free: 7.016 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03333/0.3177, allocations: 7.204 MB / 371.8 MB, free: 6.426 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.102e-05/0.3179, allocations: 7.812 kB / 371.8 MB, free: 6.426 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001433/0.3193, allocations: 0.6431 MB / 372.4 MB, free: 5.93 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3195, allocations: 11.66 kB / 372.4 MB, free: 5.93 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.3196, allocations: 31.12 kB / 372.5 MB, free: 5.914 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.32, allocations: 259.3 kB / 372.7 MB, free: 5.672 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004306/0.3205, allocations: 126.4 kB / 372.8 MB, free: 5.586 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.18e-05/0.3207, allocations: 18.94 kB / 372.9 MB, free: 5.586 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006545/0.3214, allocations: 255.1 kB / 373.1 MB, free: 5.562 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005719/0.322, allocations: 279.8 kB / 373.4 MB, free: 5.445 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.3221, allocations: 11.19 kB / 373.4 MB, free: 5.441 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.3222, allocations: 0 / 373.4 MB, free: 5.441 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.3223, allocations: 7.75 kB / 373.4 MB, free: 5.441 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.3239, allocations: 0.9178 MB / 374.3 MB, free: 4.812 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/0.3245, allocations: 271.5 kB / 374.6 MB, free: 4.746 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.3249, allocations: 151 kB / 374.7 MB, free: 4.715 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.325, allocations: 7.781 kB / 374.7 MB, free: 4.715 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.3251, allocations: 38.5 kB / 374.8 MB, free: 4.668 MB / 296.6 MB Notification: Performance of pre-optimization done (n=32): time 4.54e-06/0.3251, allocations: 4 kB / 374.8 MB, free: 4.664 MB / 296.6 MB Notification: Performance of matching and sorting (n=38): time 0.002845/0.328, allocations: 1.75 MB / 376.5 MB, free: 19.23 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.3282, allocations: 110.6 kB / 376.6 MB, free: 19.11 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.3285, allocations: 152.6 kB / 376.8 MB, free: 19 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.3286, allocations: 29.58 kB / 376.8 MB, free: 18.97 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/0.3287, allocations: 137.7 kB / 377 MB, free: 18.85 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 9.463e-05/0.3288, allocations: 129.3 kB / 377.1 MB, free: 18.75 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.3289, allocations: 4 kB / 377.1 MB, free: 18.75 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3291, allocations: 339.6 kB / 377.4 MB, free: 18.43 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.3295, allocations: 114.8 kB / 377.5 MB, free: 18.42 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.3299, allocations: 174.4 kB / 377.7 MB, free: 18.36 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.3302, allocations: 111.3 kB / 377.8 MB, free: 18.34 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.4e-06/0.3302, allocations: 3.875 kB / 377.8 MB, free: 18.34 MB / 312.6 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007896/0.3311, allocations: 336.8 kB / 378.1 MB, free: 18.26 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3312, allocations: 3.875 kB / 378.1 MB, free: 18.26 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.3312, allocations: 0 / 378.1 MB, free: 18.26 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.3313, allocations: 11.81 kB / 378.2 MB, free: 18.25 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.3324, allocations: 186.9 kB / 378.3 MB, free: 18.2 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.3325, allocations: 3.984 kB / 378.3 MB, free: 18.2 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.3329, allocations: 27.36 kB / 378.4 MB, free: 18.19 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.333, allocations: 11.72 kB / 378.4 MB, free: 18.19 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 9.247e-05/0.3331, allocations: 75.28 kB / 378.5 MB, free: 18.11 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.3333, allocations: 27.38 kB / 378.5 MB, free: 18.1 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.577e-05/0.3335, allocations: 27.11 kB / 378.5 MB, free: 18.1 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.451e-06/0.3335, allocations: 3.906 kB / 378.5 MB, free: 18.1 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.289e-06/0.3336, allocations: 11.91 kB / 378.5 MB, free: 18.09 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.753e-06/0.3337, allocations: 3.875 kB / 378.5 MB, free: 18.09 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/0.3358, allocations: 1.12 MB / 379.6 MB, free: 17.34 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.774e-06/0.3359, allocations: 3.875 kB / 379.7 MB, free: 17.34 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/0.3373, allocations: 225.8 kB / 379.9 MB, free: 17.27 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.3374, allocations: 3.875 kB / 379.9 MB, free: 17.27 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.302e-05/0.3375, allocations: 11.67 kB / 379.9 MB, free: 17.27 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.333e-06/0.3375, allocations: 4 kB / 379.9 MB, free: 17.27 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.867e-06/0.3376, allocations: 7.875 kB / 379.9 MB, free: 17.26 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001018/0.3387, allocations: 0.8002 MB / 380.7 MB, free: 16.73 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.3389, allocations: 130.8 kB / 380.8 MB, free: 16.62 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.396e-05/0.339, allocations: 0 / 380.8 MB, free: 16.62 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006905/0.3398, allocations: 70.38 kB / 380.9 MB, free: 16.59 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.34, allocations: 38.25 kB / 380.9 MB, free: 16.57 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.771e-05/0.3401, allocations: 11.78 kB / 380.9 MB, free: 16.57 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001098/0.3402, allocations: 132.5 kB / 381.1 MB, free: 16.49 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0006665/0.341, allocations: 74.3 kB / 381.1 MB, free: 16.48 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 9.987e-05/0.3411, allocations: 69.08 kB / 381.2 MB, free: 16.43 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0005571/0.3417, allocations: 237.3 kB / 381.4 MB, free: 16.42 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.492e-06/0.3418, allocations: 0 / 381.4 MB, free: 16.42 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0003585/0.3422, allocations: 163 kB / 381.6 MB, free: 16.4 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007293/0.343, allocations: 54.86 kB / 381.7 MB, free: 16.39 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006241/0.3493, allocations: 1.378 MB / 383 MB, free: 15.62 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/0.3498, allocations: 0.8103 MB / 383.8 MB, free: 14.87 MB / 312.6 MB Notification: Performance of SimCode: time 2.165e-06/0.3499, allocations: 0 / 383.8 MB, free: 14.87 MB / 312.6 MB Notification: Performance of Templates: time 0.05875/0.4087, allocations: 3.665 MB / 387.5 MB, free: 13.04 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Backlash.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_Backlash -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Backlash.o Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Backlash.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Backlash.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Backlash_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Backlash__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Backlash_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Backlash__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Backlash.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.Backlash.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Backlash_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Backlash.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.Backlash.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Backlash_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Backlash.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.Backlash.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Backlash_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.Backlash.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Backlash_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Backlash.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.Backlash.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Backlash_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Backlash.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.Backlash.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Backlash_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.Backlash.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Backlash_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Backlash.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.Backlash.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Backlash_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Backlash.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_Backlash_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.Backlash.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Backlash_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Backlash.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Backlash_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Backlash.c:851:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Backlash_eqFunction_76(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Backlash.c:852:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Backlash_eqFunction_77(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Backlash.c:853:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Backlash_eqFunction_78(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Backlash.c:854:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Backlash_eqFunction_79(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Backlash.c:855:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Backlash_eqFunction_80(DATA* data, threadData_t *threadData); ^ ; 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.Backlash.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Backlash.o] Error 1