Notification: Performance of loadModel(Modelica): time 1.54/1.54, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.708e-06/9.777e-06, allocations: 1.062 kB / 247.3 MB, free: 4.738 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06071/0.06079, allocations: 44.36 MB / 291.7 MB, free: 9.305 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2253/0.2862, allocations: 72.37 MB / 364.1 MB, free: 7.141 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.2865, allocations: 71.88 kB / 364.1 MB, free: 7.137 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.02377/0.3104, allocations: 5.209 MB / 369.3 MB, free: 6.75 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.284e-05/0.3105, allocations: 7.594 kB / 369.3 MB, free: 6.75 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001317/0.3119, allocations: 0.6046 MB / 370 MB, free: 6.316 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.312, allocations: 11.62 kB / 370 MB, free: 6.316 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.3122, allocations: 35.88 kB / 370 MB, free: 6.297 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.3127, allocations: 273.3 kB / 370.3 MB, free: 6.066 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.3128, allocations: 11.62 kB / 370.3 MB, free: 6.066 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.625e-05/0.3129, allocations: 23.89 kB / 370.3 MB, free: 6.062 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008322/0.3138, allocations: 328.4 kB / 370.6 MB, free: 6.055 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007444/0.3146, allocations: 311.7 kB / 370.9 MB, free: 6.012 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.3147, allocations: 11.67 kB / 370.9 MB, free: 6.004 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-05/0.3148, allocations: 0 / 370.9 MB, free: 6.004 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.3149, allocations: 8.516 kB / 370.9 MB, free: 6.004 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002935/0.3179, allocations: 1.075 MB / 372 MB, free: 5.578 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004813/0.3185, allocations: 232.9 kB / 372.2 MB, free: 5.551 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/0.3189, allocations: 166.4 kB / 372.4 MB, free: 5.543 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.195e-05/0.319, allocations: 12.38 kB / 372.4 MB, free: 5.539 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.3191, allocations: 38.72 kB / 372.5 MB, free: 5.5 MB / 296.6 MB Notification: Performance of pre-optimization done (n=41): time 4.4e-06/0.3192, allocations: 0 / 372.5 MB, free: 5.5 MB / 296.6 MB Notification: Performance of matching and sorting (n=47): time 0.004301/0.3235, allocations: 1.342 MB / 373.8 MB, free: 4.906 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.3236, allocations: 63.7 kB / 373.9 MB, free: 4.836 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.3239, allocations: 176.5 kB / 374 MB, free: 4.723 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 8.046e-05/0.324, allocations: 37 kB / 374.1 MB, free: 4.688 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.3242, allocations: 131.5 kB / 374.2 MB, free: 4.57 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.3244, allocations: 152.7 kB / 374.4 MB, free: 4.465 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.3245, allocations: 0 / 374.4 MB, free: 4.465 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3247, allocations: 348.5 kB / 374.7 MB, free: 20.14 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.3251, allocations: 165.2 kB / 374.9 MB, free: 20.13 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.3256, allocations: 231.2 kB / 375.1 MB, free: 20.05 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005878/0.3263, allocations: 139.9 kB / 375.2 MB, free: 20.03 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.238e-06/0.3263, allocations: 3.875 kB / 375.2 MB, free: 20.03 MB / 312.6 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002027/0.3284, allocations: 0.5981 MB / 375.8 MB, free: 19.88 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.3285, allocations: 6.719 kB / 375.8 MB, free: 19.88 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/0.3286, allocations: 3.812 kB / 375.8 MB, free: 19.88 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008682/0.3295, allocations: 371 kB / 376.2 MB, free: 19.78 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.33, allocations: 69.41 kB / 376.3 MB, free: 19.77 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/0.3319, allocations: 1.374 MB / 377.6 MB, free: 18.67 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007844/0.3328, allocations: 89.98 kB / 377.7 MB, free: 18.64 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-05/0.333, allocations: 23.05 kB / 377.7 MB, free: 18.64 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.0001449/0.3332, allocations: 78.66 kB / 377.8 MB, free: 18.57 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.3334, allocations: 35.19 kB / 377.9 MB, free: 18.55 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.3356, allocations: 0.6009 MB / 378.5 MB, free: 18.34 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.3358, allocations: 3.844 kB / 378.5 MB, free: 18.34 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.565e-06/0.3358, allocations: 0 / 378.5 MB, free: 18.34 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.3359, allocations: 7.922 kB / 378.5 MB, free: 18.34 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003597/0.3396, allocations: 1.223 MB / 379.7 MB, free: 17.75 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.8e-06/0.3397, allocations: 3.875 kB / 379.7 MB, free: 17.75 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/0.3402, allocations: 62.09 kB / 379.8 MB, free: 17.73 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008069/0.3411, allocations: 335.2 kB / 380.1 MB, free: 17.64 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-05/0.3412, allocations: 19 kB / 380.1 MB, free: 17.63 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/0.3428, allocations: 1.313 MB / 381.4 MB, free: 16.54 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.565e-06/0.3429, allocations: 0 / 381.4 MB, free: 16.54 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002424/0.3454, allocations: 0.8828 MB / 382.3 MB, free: 16.14 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.3458, allocations: 148.7 kB / 382.4 MB, free: 16.01 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.346, allocations: 14.66 kB / 382.5 MB, free: 16.01 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.3465, allocations: 54.98 kB / 382.5 MB, free: 15.99 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/0.3468, allocations: 101.1 kB / 382.6 MB, free: 15.93 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.586e-05/0.3469, allocations: 27.34 kB / 382.6 MB, free: 15.92 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001547/0.3472, allocations: 141.5 kB / 382.8 MB, free: 15.84 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0006271/0.3478, allocations: 85.72 kB / 382.9 MB, free: 15.83 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001636/0.3481, allocations: 88.47 kB / 382.9 MB, free: 15.77 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.3493, allocations: 487.7 kB / 383.4 MB, free: 15.68 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 6.775e-06/0.3494, allocations: 1.062 kB / 383.4 MB, free: 15.68 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006725/0.3501, allocations: 248.7 kB / 383.7 MB, free: 15.65 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.3507, allocations: 39.02 kB / 383.7 MB, free: 15.64 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.3526, allocations: 0.6938 MB / 384.4 MB, free: 15.2 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/0.3531, allocations: 0.8148 MB / 385.2 MB, free: 14.45 MB / 312.6 MB Notification: Performance of SimCode: time 1.815e-06/0.3532, allocations: 4 kB / 385.2 MB, free: 14.44 MB / 312.6 MB Notification: Performance of Templates: time 0.0406/0.3938, allocations: 7.553 MB / 392.8 MB, free: 10.56 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Brake.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_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_-O1_Modelica.Mechanics.Translational.Examples.Brake.o Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Brake.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Brake.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Brake_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Brake__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Brake_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Brake__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Translational.Examples.Brake.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Brake_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Translational.Examples.Brake.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Brake_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Translational.Examples.Brake.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.Translational.Examples.Brake.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Brake_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Translational.Examples.Brake.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Brake_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Translational.Examples.Brake.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.Translational.Examples.Brake.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Brake_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Translational.Examples.Brake.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Brake_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Mechanics.Translational.Examples.Brake.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Brake_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Brake.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Brake_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Brake.c:212:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Brake_eqFunction_78(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Brake.c:212:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Brake_eqFunction_78(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Brake.c:213:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Brake_eqFunction_79(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Brake.c:213:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Brake_eqFunction_79(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Brake.c:214:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.Translational.Examples.Brake.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Brake.o] Error 1