Notification: Performance of loadModel(Modelica): time 1.487/1.487, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.089e-05/1.097e-05, allocations: 1.625 kB / 247.3 MB, free: 4.734 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06621/0.06629, allocations: 44.36 MB / 291.7 MB, free: 9.297 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2231/0.2895, allocations: 72.38 MB / 364.1 MB, free: 7.027 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001743/0.2897, allocations: 65.86 kB / 364.1 MB, free: 7.023 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.02366/0.3135, allocations: 5.204 MB / 369.3 MB, free: 6.645 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.228e-05/0.3136, allocations: 11.75 kB / 369.4 MB, free: 6.641 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001269/0.3149, allocations: 0.611 MB / 370 MB, free: 6.203 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.315, allocations: 7.875 kB / 370 MB, free: 6.203 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.3152, allocations: 39.97 kB / 370 MB, free: 6.184 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.3156, allocations: 271.8 kB / 370.3 MB, free: 5.957 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/0.3157, allocations: 11.62 kB / 370.3 MB, free: 5.957 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.78e-05/0.3158, allocations: 23.19 kB / 370.3 MB, free: 5.953 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008382/0.3167, allocations: 330.9 kB / 370.6 MB, free: 5.945 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007488/0.3176, allocations: 308.4 kB / 370.9 MB, free: 5.906 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.3177, allocations: 7.281 kB / 370.9 MB, free: 5.902 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/0.3178, allocations: 0 / 370.9 MB, free: 5.902 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.3179, allocations: 8.469 kB / 370.9 MB, free: 5.902 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002777/0.3207, allocations: 1.076 MB / 372 MB, free: 5.469 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.3212, allocations: 235.3 kB / 372.3 MB, free: 5.445 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/0.3216, allocations: 166 kB / 372.4 MB, free: 5.438 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.719e-05/0.3218, allocations: 3.781 kB / 372.4 MB, free: 5.438 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.3219, allocations: 42.16 kB / 372.5 MB, free: 5.395 MB / 296.6 MB Notification: Performance of pre-optimization done (n=41): time 4.679e-06/0.3219, allocations: 0 / 372.5 MB, free: 5.395 MB / 296.6 MB Notification: Performance of matching and sorting (n=47): time 0.004282/0.3263, allocations: 1.35 MB / 373.8 MB, free: 4.789 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.3264, allocations: 55.72 kB / 373.9 MB, free: 4.727 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.3266, allocations: 179.5 kB / 374 MB, free: 4.609 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 6.495e-05/0.3268, allocations: 33.48 kB / 374.1 MB, free: 4.578 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/0.3269, allocations: 132.1 kB / 374.2 MB, free: 20.46 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.3271, allocations: 155.4 kB / 374.4 MB, free: 20.35 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.3272, allocations: 0 / 374.4 MB, free: 20.35 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0002456/0.3275, allocations: 341.8 kB / 374.7 MB, free: 20.02 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005293/0.3281, allocations: 163.3 kB / 374.8 MB, free: 20.02 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.3286, allocations: 235.1 kB / 375.1 MB, free: 19.94 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005735/0.3292, allocations: 152.7 kB / 375.2 MB, free: 19.91 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.33e-06/0.3293, allocations: 0 / 375.2 MB, free: 19.91 MB / 312.6 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002/0.3313, allocations: 0.5871 MB / 375.8 MB, free: 19.76 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3314, allocations: 7.75 kB / 375.8 MB, free: 19.76 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/0.3315, allocations: 3.984 kB / 375.8 MB, free: 19.76 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008383/0.3324, allocations: 363.3 kB / 376.2 MB, free: 19.67 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.3329, allocations: 78.48 kB / 376.3 MB, free: 19.65 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/0.3347, allocations: 1.374 MB / 377.6 MB, free: 18.55 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007598/0.3355, allocations: 94.09 kB / 377.7 MB, free: 18.52 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.62e-05/0.3357, allocations: 23.52 kB / 377.7 MB, free: 18.52 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.0001362/0.3358, allocations: 75.28 kB / 377.8 MB, free: 18.45 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.336, allocations: 34.97 kB / 377.9 MB, free: 18.43 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.3382, allocations: 0.6018 MB / 378.5 MB, free: 18.23 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.079e-06/0.3383, allocations: 3.844 kB / 378.5 MB, free: 18.23 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.613e-06/0.3383, allocations: 3.875 kB / 378.5 MB, free: 18.23 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.59e-06/0.3384, allocations: 0 / 378.5 MB, free: 18.23 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003583/0.342, allocations: 1.235 MB / 379.7 MB, free: 17.62 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.473e-06/0.3422, allocations: 0 / 379.7 MB, free: 17.62 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004386/0.3427, allocations: 62.47 kB / 379.8 MB, free: 17.61 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008058/0.3435, allocations: 336 kB / 380.1 MB, free: 17.52 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.536e-05/0.3437, allocations: 15.22 kB / 380.1 MB, free: 17.52 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.3454, allocations: 1.315 MB / 381.4 MB, free: 16.42 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.565e-06/0.3455, allocations: 0 / 381.4 MB, free: 16.42 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002182/0.3478, allocations: 0.877 MB / 382.3 MB, free: 16.02 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.3481, allocations: 150.9 kB / 382.4 MB, free: 15.89 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.3483, allocations: 11.09 kB / 382.5 MB, free: 15.89 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000492/0.3488, allocations: 55.02 kB / 382.5 MB, free: 15.88 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.3491, allocations: 97.69 kB / 382.6 MB, free: 15.82 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.53e-05/0.3493, allocations: 28.59 kB / 382.6 MB, free: 15.81 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001432/0.3495, allocations: 139 kB / 382.8 MB, free: 15.73 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0006139/0.3501, allocations: 93.52 kB / 382.9 MB, free: 15.72 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000147/0.3503, allocations: 84.8 kB / 382.9 MB, free: 15.66 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.3515, allocations: 487.4 kB / 383.4 MB, free: 15.56 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 4.19e-06/0.3516, allocations: 0 / 383.4 MB, free: 15.56 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006562/0.3523, allocations: 250 kB / 383.7 MB, free: 15.54 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/0.3529, allocations: 31.12 kB / 383.7 MB, free: 15.53 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.3548, allocations: 0.7071 MB / 384.4 MB, free: 15.08 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003489/0.3552, allocations: 0.8146 MB / 385.2 MB, free: 14.33 MB / 312.6 MB Notification: Performance of SimCode: time 2.165e-06/0.3553, allocations: 0 / 385.2 MB, free: 14.33 MB / 312.6 MB Notification: Performance of Templates: time 0.048/0.4033, allocations: 7.538 MB / 392.8 MB, free: 10.47 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