Notification: Performance of loadModel(Modelica): time 1.568/1.568, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.032e-06/8.172e-06, allocations: 0 / 247.3 MB, free: 4.738 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06191/0.06199, allocations: 44.37 MB / 291.7 MB, free: 9.297 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2236/0.2857, allocations: 72.8 MB / 364.5 MB, free: 7.02 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.286, allocations: 66.48 kB / 364.6 MB, free: 7.016 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03254/0.3186, allocations: 7.21 MB / 371.8 MB, free: 6.496 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.3187, allocations: 7.875 kB / 371.8 MB, free: 6.492 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001435/0.3202, allocations: 0.6485 MB / 372.4 MB, free: 6.008 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3203, allocations: 7.781 kB / 372.4 MB, free: 6.008 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.561e-05/0.3205, allocations: 35.09 kB / 372.5 MB, free: 5.992 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.3209, allocations: 259 kB / 372.7 MB, free: 5.75 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004297/0.3214, allocations: 129.8 kB / 372.9 MB, free: 5.664 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.473e-05/0.3215, allocations: 15.56 kB / 372.9 MB, free: 5.664 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006547/0.3222, allocations: 258.9 kB / 373.1 MB, free: 5.637 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.3229, allocations: 273.7 kB / 373.4 MB, free: 5.527 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.323, allocations: 7.781 kB / 373.4 MB, free: 5.523 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.3231, allocations: 0 / 373.4 MB, free: 5.523 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.3231, allocations: 7.875 kB / 373.4 MB, free: 5.52 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.3247, allocations: 0.9271 MB / 374.3 MB, free: 4.887 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.3253, allocations: 268.5 kB / 374.6 MB, free: 4.824 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.3257, allocations: 143.7 kB / 374.7 MB, free: 4.797 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.3258, allocations: 11.94 kB / 374.7 MB, free: 4.793 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.3259, allocations: 42.25 kB / 374.8 MB, free: 4.746 MB / 296.6 MB Notification: Performance of pre-optimization done (n=32): time 3.911e-06/0.3259, allocations: 0 / 374.8 MB, free: 4.746 MB / 296.6 MB Notification: Performance of matching and sorting (n=38): time 0.0028/0.3288, allocations: 1.748 MB / 376.5 MB, free: 19.32 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.3289, allocations: 106.8 kB / 376.6 MB, free: 19.19 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.3292, allocations: 163.7 kB / 376.8 MB, free: 19.08 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.3293, allocations: 25.7 kB / 376.8 MB, free: 19.05 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.3294, allocations: 138.4 kB / 377 MB, free: 18.93 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 9.247e-05/0.3296, allocations: 131 kB / 377.1 MB, free: 18.83 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.3297, allocations: 3.938 kB / 377.1 MB, free: 18.83 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3298, allocations: 337 kB / 377.4 MB, free: 18.51 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.3302, allocations: 115 kB / 377.5 MB, free: 18.5 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003149/0.3306, allocations: 175.8 kB / 377.7 MB, free: 18.44 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.3309, allocations: 105.1 kB / 377.8 MB, free: 18.43 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.142e-06/0.331, allocations: 0 / 377.8 MB, free: 18.43 MB / 312.6 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007761/0.3318, allocations: 341.5 kB / 378.1 MB, free: 18.34 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3319, allocations: 3.875 kB / 378.1 MB, free: 18.34 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3319, allocations: 11.95 kB / 378.2 MB, free: 18.34 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.332, allocations: 11.62 kB / 378.2 MB, free: 18.33 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.3331, allocations: 175.2 kB / 378.3 MB, free: 18.29 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.45e-06/0.3332, allocations: 7.875 kB / 378.3 MB, free: 18.28 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003637/0.3336, allocations: 19.61 kB / 378.4 MB, free: 18.28 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.3337, allocations: 10.88 kB / 378.4 MB, free: 18.28 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 8.06e-05/0.3338, allocations: 79.28 kB / 378.5 MB, free: 18.2 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.334, allocations: 27.03 kB / 378.5 MB, free: 18.19 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.086e-05/0.3342, allocations: 31.3 kB / 378.5 MB, free: 18.18 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.289e-06/0.3342, allocations: 11.61 kB / 378.5 MB, free: 18.18 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.73e-06/0.3343, allocations: 3.906 kB / 378.5 MB, free: 18.17 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.94e-06/0.3344, allocations: 3.984 kB / 378.5 MB, free: 18.17 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/0.3365, allocations: 1.121 MB / 379.6 MB, free: 17.42 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.753e-06/0.3366, allocations: 8.031 kB / 379.7 MB, free: 17.42 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/0.338, allocations: 221.8 kB / 379.9 MB, free: 17.36 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/0.3381, allocations: 7.859 kB / 379.9 MB, free: 17.35 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/0.3382, allocations: 3.906 kB / 379.9 MB, free: 17.35 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.613e-06/0.3382, allocations: 11.91 kB / 379.9 MB, free: 17.34 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.496e-06/0.3383, allocations: 7.812 kB / 379.9 MB, free: 17.34 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001035/0.3394, allocations: 0.8008 MB / 380.7 MB, free: 16.82 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.3396, allocations: 126 kB / 380.8 MB, free: 16.7 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.437e-05/0.3398, allocations: 7.828 kB / 380.8 MB, free: 16.7 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007201/0.3406, allocations: 57.77 kB / 380.9 MB, free: 16.68 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.3407, allocations: 46.41 kB / 380.9 MB, free: 16.66 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.3408, allocations: 11.25 kB / 380.9 MB, free: 16.66 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001126/0.341, allocations: 130.8 kB / 381.1 MB, free: 16.57 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0006655/0.3417, allocations: 69.69 kB / 381.1 MB, free: 16.57 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 7.927e-05/0.3419, allocations: 73.11 kB / 381.2 MB, free: 16.52 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.000536/0.3425, allocations: 240.3 kB / 381.4 MB, free: 16.5 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.911e-06/0.3425, allocations: 4 kB / 381.5 MB, free: 16.5 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.3429, allocations: 164.7 kB / 381.6 MB, free: 16.48 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007108/0.3437, allocations: 42.5 kB / 381.7 MB, free: 16.47 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006276/0.3501, allocations: 1.388 MB / 383 MB, free: 15.7 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004133/0.3506, allocations: 0.8074 MB / 383.9 MB, free: 14.95 MB / 312.6 MB Notification: Performance of SimCode: time 2.165e-06/0.3506, allocations: 0 / 383.9 MB, free: 14.95 MB / 312.6 MB Notification: Performance of Templates: time 0.04082/0.3915, allocations: 3.653 MB / 387.5 MB, free: 13.12 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Backlash.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_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_-O2_Modelica.Mechanics.Rotational.Examples.Backlash.o Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Backlash.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Backlash.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Backlash_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Backlash__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Backlash_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Backlash__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.Rotational.Examples.Backlash.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Backlash_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.Rotational.Examples.Backlash.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Backlash_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.Rotational.Examples.Backlash.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.Rotational.Examples.Backlash.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Backlash_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.Rotational.Examples.Backlash.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Backlash_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.Rotational.Examples.Backlash.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.Rotational.Examples.Backlash.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Backlash_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.Rotational.Examples.Backlash.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Backlash_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Mechanics.Rotational.Examples.Backlash.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Backlash_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Backlash.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Backlash_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Backlash.c:851:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Backlash_eqFunction_76(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Backlash.c:852:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Backlash_eqFunction_77(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Backlash.c:853:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Backlash_eqFunction_78(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Backlash.c:854:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Backlash_eqFunction_79(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Backlash.c:855:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.Rotational.Examples.Backlash.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Backlash.o] Error 1