Notification: Performance of loadModel(Modelica): time 1.521/1.521, allocations: 194.5 MB / 200.7 MB, free: 5.156 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.292e-05/1.306e-05, allocations: 1 kB / 247.3 MB, free: 4.703 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09562/0.09575, allocations: 44.36 MB / 291.7 MB, free: 9.305 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3417/0.4377, allocations: 72.37 MB / 364.1 MB, free: 6.965 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.4381, allocations: 70.73 kB / 364.1 MB, free: 6.961 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03641/0.4746, allocations: 5.207 MB / 369.3 MB, free: 6.578 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.57e-05/0.4748, allocations: 15.62 kB / 369.4 MB, free: 6.57 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001696/0.4765, allocations: 0.6051 MB / 370 MB, free: 6.137 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.4767, allocations: 7.875 kB / 370 MB, free: 6.137 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.4769, allocations: 39.56 kB / 370 MB, free: 6.117 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/0.4775, allocations: 278.1 kB / 370.3 MB, free: 5.887 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/0.4776, allocations: 11.67 kB / 370.3 MB, free: 5.883 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.4778, allocations: 20.14 kB / 370.3 MB, free: 5.883 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001006/0.4789, allocations: 330.6 kB / 370.6 MB, free: 5.875 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008841/0.4798, allocations: 312 kB / 370.9 MB, free: 5.832 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.48, allocations: 4.656 kB / 370.9 MB, free: 5.828 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.297e-05/0.4801, allocations: 0 / 370.9 MB, free: 5.828 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.4802, allocations: 7.844 kB / 371 MB, free: 5.828 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0037/0.484, allocations: 1.076 MB / 372 MB, free: 5.402 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005843/0.4847, allocations: 238.9 kB / 372.3 MB, free: 5.375 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004269/0.4852, allocations: 163.3 kB / 372.4 MB, free: 5.367 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 8.192e-05/0.4854, allocations: 3.656 kB / 372.4 MB, free: 5.367 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.4855, allocations: 43.28 kB / 372.5 MB, free: 5.324 MB / 296.6 MB Notification: Performance of pre-optimization done (n=41): time 5.797e-06/0.4856, allocations: 112 / 372.5 MB, free: 5.324 MB / 296.6 MB Notification: Performance of matching and sorting (n=47): time 0.005406/0.491, allocations: 1.346 MB / 373.8 MB, free: 4.715 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.4912, allocations: 59.66 kB / 373.9 MB, free: 4.648 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.4915, allocations: 180.1 kB / 374 MB, free: 4.531 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 8.982e-05/0.4917, allocations: 33.17 kB / 374.1 MB, free: 4.5 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.4918, allocations: 136.3 kB / 374.2 MB, free: 4.383 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.492, allocations: 152.2 kB / 374.4 MB, free: 4.273 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.4922, allocations: 0 / 374.4 MB, free: 4.273 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.4924, allocations: 334.3 kB / 374.7 MB, free: 19.95 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004723/0.493, allocations: 174.6 kB / 374.9 MB, free: 19.94 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005087/0.4936, allocations: 235 kB / 375.1 MB, free: 19.86 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007257/0.4944, allocations: 144.2 kB / 375.2 MB, free: 19.83 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.216e-06/0.4945, allocations: 3.875 kB / 375.2 MB, free: 19.83 MB / 312.6 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00252/0.4971, allocations: 0.5905 MB / 375.8 MB, free: 19.68 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.4972, allocations: 7.75 kB / 375.8 MB, free: 19.68 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/0.4973, allocations: 3.984 kB / 375.8 MB, free: 19.68 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.4984, allocations: 358.6 kB / 376.2 MB, free: 19.59 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/0.499, allocations: 73.61 kB / 376.3 MB, free: 19.58 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.5013, allocations: 1.373 MB / 377.6 MB, free: 18.49 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009418/0.5023, allocations: 98.12 kB / 377.7 MB, free: 18.45 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.945e-05/0.5025, allocations: 25.83 kB / 377.8 MB, free: 18.45 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.0001601/0.5027, allocations: 75.28 kB / 377.8 MB, free: 18.38 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.503, allocations: 35.19 kB / 377.9 MB, free: 18.36 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.5055, allocations: 0.6028 MB / 378.5 MB, free: 18.15 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.5056, allocations: 3.844 kB / 378.5 MB, free: 18.15 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.473e-06/0.5057, allocations: 0 / 378.5 MB, free: 18.15 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.5058, allocations: 3.875 kB / 378.5 MB, free: 18.15 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004267/0.5101, allocations: 1.225 MB / 379.7 MB, free: 17.55 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.869e-06/0.5102, allocations: 3.875 kB / 379.7 MB, free: 17.55 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005205/0.5108, allocations: 58.66 kB / 379.8 MB, free: 17.54 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008902/0.5118, allocations: 332.2 kB / 380.1 MB, free: 17.46 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.697e-05/0.5119, allocations: 23.81 kB / 380.1 MB, free: 17.45 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.5139, allocations: 1.315 MB / 381.4 MB, free: 16.35 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.822e-06/0.514, allocations: 0 / 381.4 MB, free: 16.35 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002584/0.5167, allocations: 0.88 MB / 382.3 MB, free: 15.95 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/0.5171, allocations: 149.4 kB / 382.4 MB, free: 15.82 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.5173, allocations: 14.34 kB / 382.5 MB, free: 15.82 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005786/0.5179, allocations: 50.86 kB / 382.5 MB, free: 15.8 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002596/0.5183, allocations: 105.3 kB / 382.6 MB, free: 15.74 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.759e-05/0.5184, allocations: 23.02 kB / 382.6 MB, free: 15.74 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001579/0.5187, allocations: 140.2 kB / 382.8 MB, free: 15.65 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0007504/0.5195, allocations: 92.45 kB / 382.9 MB, free: 15.64 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001762/0.5197, allocations: 84.78 kB / 382.9 MB, free: 15.59 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.5211, allocations: 488.9 kB / 383.4 MB, free: 15.49 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 7.403e-06/0.5212, allocations: 1.062 kB / 383.4 MB, free: 15.49 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0008023/0.5221, allocations: 254.6 kB / 383.7 MB, free: 15.46 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000664/0.5228, allocations: 30.56 kB / 383.7 MB, free: 15.45 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.5252, allocations: 0.6985 MB / 384.4 MB, free: 15.02 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003787/0.5257, allocations: 0.8161 MB / 385.2 MB, free: 14.26 MB / 312.6 MB Notification: Performance of SimCode: time 2.165e-06/0.5257, allocations: 0 / 385.2 MB, free: 14.26 MB / 312.6 MB Notification: Performance of Templates: time 0.04944/0.5752, allocations: 7.546 MB / 392.8 MB, free: 10.38 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Brake.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_Translational_Examples_Brake -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Brake.o Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Brake.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Brake.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Brake_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Brake__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Brake_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Brake__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Brake.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.Translational.Examples.Brake.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Brake_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Brake.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.Translational.Examples.Brake.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Brake_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Brake.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.Translational.Examples.Brake.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Brake_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.Translational.Examples.Brake.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Brake_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Brake.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.Translational.Examples.Brake.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Brake_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Brake.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.Translational.Examples.Brake.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Brake_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.Translational.Examples.Brake.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Brake_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Brake.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.Translational.Examples.Brake.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Brake_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Brake.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Brake_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.Translational.Examples.Brake.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Brake_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Brake.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Brake_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Brake.c:212:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Brake_eqFunction_78(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Brake.c:212:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Brake_eqFunction_78(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Brake.c:213:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Brake_eqFunction_79(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Brake.c:213:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Brake_eqFunction_79(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Brake.c:214:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Brake_eqFunction_80(DATA*,threadData_t*); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Brake.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Brake.o] Error 1