Notification: Performance of loadModel(Modelica): time 1.572/1.572, allocations: 194.5 MB / 200.7 MB, free: 7.359 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 9.359e-06/9.498e-06, allocations: 0.9688 kB / 247.3 MB, free: 5.5 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07106/0.07115, allocations: 44.36 MB / 291.7 MB, free: 11.72 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2368/0.3081, allocations: 75.22 MB / 366.9 MB, free: 7.332 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.3084, allocations: 78.84 kB / 367 MB, free: 7.328 MB / 298.7 MB Notification: Performance of FrontEnd: time 0.03028/0.3387, allocations: 7.235 MB / 374.2 MB, free: 6.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.605e-05/0.3388, allocations: 7.844 kB / 374.2 MB, free: 6.82 MB / 298.7 MB Notification: Performance of Generate backend data structure: time 0.001492/0.3404, allocations: 0.7093 MB / 374.9 MB, free: 6.344 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3405, allocations: 7.875 kB / 375 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.3407, allocations: 51.23 kB / 375 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/0.3412, allocations: 304.2 kB / 375.3 MB, free: 6.074 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.3413, allocations: 15.47 kB / 375.3 MB, free: 6.074 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.429e-05/0.3415, allocations: 30.28 kB / 375.3 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008817/0.3424, allocations: 379.1 kB / 375.7 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008326/0.3433, allocations: 370.5 kB / 376.1 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/0.3434, allocations: 7.891 kB / 376.1 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.3435, allocations: 0 / 376.1 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.3436, allocations: 11.62 kB / 376.1 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/0.3465, allocations: 1.09 MB / 377.2 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.3472, allocations: 268.5 kB / 377.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004669/0.3478, allocations: 233.2 kB / 377.7 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.964e-05/0.3479, allocations: 4.344 kB / 377.7 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.348, allocations: 38.41 kB / 377.7 MB, free: 5.344 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 3.841e-06/0.348, allocations: 0 / 377.7 MB, free: 5.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=58): time 0.004516/0.3526, allocations: 1.557 MB / 379.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.3527, allocations: 59.62 kB / 379.3 MB, free: 4.547 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.353, allocations: 205.6 kB / 379.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.766e-05/0.3532, allocations: 37.53 kB / 379.6 MB, free: 4.398 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/0.3533, allocations: 152.5 kB / 379.7 MB, free: 4.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.3535, allocations: 187.1 kB / 379.9 MB, free: 4.133 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.3536, allocations: 3.844 kB / 379.9 MB, free: 4.133 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002877/0.354, allocations: 349.8 kB / 380.2 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/0.3544, allocations: 187 kB / 380.4 MB, free: 19.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/0.3549, allocations: 236.1 kB / 380.7 MB, free: 19.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000618/0.3556, allocations: 162.6 kB / 380.8 MB, free: 19.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.771e-06/0.3557, allocations: 0 / 380.8 MB, free: 19.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002096/0.3578, allocations: 0.6498 MB / 381.5 MB, free: 19.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3579, allocations: 7.75 kB / 381.5 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.358, allocations: 0 / 381.5 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008982/0.359, allocations: 371.5 kB / 381.8 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005334/0.3596, allocations: 89.8 kB / 381.9 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.3618, allocations: 1.391 MB / 383.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.3633, allocations: 106 kB / 383.4 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.3636, allocations: 18.59 kB / 383.4 MB, free: 18.32 MB / 314.7 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.000206/0.3639, allocations: 79.27 kB / 383.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/0.3642, allocations: 38.91 kB / 383.6 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003397/0.3677, allocations: 0.657 MB / 384.2 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.3678, allocations: 7.875 kB / 384.2 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.499e-06/0.3679, allocations: 0 / 384.2 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.368, allocations: 3.984 kB / 384.2 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006041/0.3741, allocations: 1.281 MB / 385.5 MB, free: 17.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.3743, allocations: 3.75 kB / 385.5 MB, free: 17.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.3755, allocations: 85.11 kB / 385.6 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001505/0.3771, allocations: 348.5 kB / 385.9 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/0.3773, allocations: 18.88 kB / 385.9 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002646/0.3801, allocations: 1.34 MB / 387.3 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/0.3802, allocations: 3.875 kB / 387.3 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003865/0.3842, allocations: 0.9698 MB / 388.3 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004702/0.3848, allocations: 158.5 kB / 388.4 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/0.3851, allocations: 18.27 kB / 388.4 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.3864, allocations: 81.84 kB / 388.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004292/0.387, allocations: 115 kB / 388.6 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/0.3872, allocations: 26.47 kB / 388.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000293/0.3876, allocations: 162 kB / 388.8 MB, free: 15.49 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001199/0.3889, allocations: 114.4 kB / 388.9 MB, free: 15.49 MB / 314.7 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002199/0.3892, allocations: 92.73 kB / 389 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002103/0.3914, allocations: 0.5458 MB / 389.6 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.937e-06/0.3915, allocations: 0 / 389.6 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.3929, allocations: 286.2 kB / 389.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.3942, allocations: 53.47 kB / 389.9 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/0.3984, allocations: 0.9176 MB / 390.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006547/0.3992, allocations: 0.8669 MB / 391.7 MB, free: 13.9 MB / 314.7 MB Notification: Performance of SimCode: time 2.514e-06/0.3993, allocations: 4 kB / 391.7 MB, free: 13.9 MB / 314.7 MB Notification: Performance of Templates: time 0.05623/0.4556, allocations: 8.606 MB / 400.3 MB, free: 9.488 MB / 314.7 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Friction.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_Friction -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.Rotational.Examples.Friction.o Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Friction.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Friction.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Friction_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Friction__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Friction_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Friction__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Friction.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.Friction.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Friction_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Friction.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.Friction.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Friction_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Friction.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.Friction.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Friction_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.Friction.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Friction_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Friction.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.Friction.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Friction_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Friction.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.Friction.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Friction_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.Friction.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Friction_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Friction.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.Friction.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Friction_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Friction.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_Friction_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.Friction.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Friction_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Friction.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Friction_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Friction.c:306:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Friction_eqFunction_95(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Friction.c:306:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Friction_eqFunction_95(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Friction.c:307:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Friction_eqFunction_96(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Friction.c:307:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Friction_eqFunction_96(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Friction.c:308:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_Friction_eqFunction_97(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.Rotational.Examples.Friction.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.Friction.o] Error 1