Notification: Performance of loadModel(Modelica): time 1.508/1.508, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.848e-06/1.013e-05, allocations: 1.312 kB / 247.3 MB, free: 4.758 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06367/0.06376, allocations: 44.37 MB / 291.7 MB, free: 9.293 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2446/0.3085, allocations: 75.22 MB / 366.9 MB, free: 6.898 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.3088, allocations: 70.86 kB / 367 MB, free: 6.895 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03144/0.3403, allocations: 7.241 MB / 374.2 MB, free: 5.641 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.731e-05/0.3404, allocations: 11.62 kB / 374.2 MB, free: 5.641 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001682/0.3422, allocations: 0.7099 MB / 374.9 MB, free: 5.09 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3423, allocations: 7.688 kB / 375 MB, free: 5.09 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.3426, allocations: 54.19 kB / 375 MB, free: 5.062 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.3431, allocations: 303.6 kB / 375.3 MB, free: 4.801 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.3432, allocations: 11.53 kB / 375.3 MB, free: 4.801 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.973e-05/0.3434, allocations: 27.22 kB / 375.3 MB, free: 4.797 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009249/0.3443, allocations: 377.6 kB / 375.7 MB, free: 4.758 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008938/0.3453, allocations: 371.9 kB / 376.1 MB, free: 4.648 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/0.3454, allocations: 11.81 kB / 376.1 MB, free: 4.641 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.195e-05/0.3455, allocations: 4 kB / 376.1 MB, free: 4.637 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.3456, allocations: 7.781 kB / 376.1 MB, free: 4.637 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003095/0.3487, allocations: 1.085 MB / 377.2 MB, free: 4.059 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007408/0.3496, allocations: 271.4 kB / 377.4 MB, free: 4.02 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004939/0.3502, allocations: 229.5 kB / 377.7 MB, free: 3.996 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.405e-05/0.3503, allocations: 11.86 kB / 377.7 MB, free: 3.996 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.3504, allocations: 34.75 kB / 377.7 MB, free: 3.957 MB / 296.6 MB Notification: Performance of pre-optimization done (n=52): time 5.867e-06/0.3505, allocations: 7.875 kB / 377.7 MB, free: 3.953 MB / 296.6 MB Notification: Performance of matching and sorting (n=58): time 0.004732/0.3553, allocations: 1.558 MB / 379.3 MB, free: 3.219 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.3554, allocations: 55.78 kB / 379.3 MB, free: 3.156 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.3557, allocations: 205.1 kB / 379.5 MB, free: 3.043 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 7.836e-05/0.3558, allocations: 33.45 kB / 379.6 MB, free: 3.012 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.356, allocations: 160.5 kB / 379.7 MB, free: 2.879 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.3562, allocations: 187.3 kB / 379.9 MB, free: 2.742 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.3563, allocations: 0 / 379.9 MB, free: 2.742 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3565, allocations: 354 kB / 380.3 MB, free: 18.41 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004348/0.357, allocations: 186.5 kB / 380.4 MB, free: 18.41 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004577/0.3575, allocations: 231.3 kB / 380.7 MB, free: 18.37 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006578/0.3582, allocations: 156.8 kB / 380.8 MB, free: 18.34 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3583, allocations: 3.969 kB / 380.8 MB, free: 18.34 MB / 312.6 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002162/0.3605, allocations: 0.6449 MB / 381.5 MB, free: 18.19 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.3606, allocations: 7.75 kB / 381.5 MB, free: 18.19 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/0.3607, allocations: 3.984 kB / 381.5 MB, free: 18.18 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009544/0.3617, allocations: 370.9 kB / 381.8 MB, free: 18.09 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005409/0.3623, allocations: 96.73 kB / 381.9 MB, free: 18.07 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/0.3643, allocations: 1.389 MB / 383.3 MB, free: 16.97 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007891/0.3652, allocations: 98 kB / 383.4 MB, free: 16.94 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.983e-05/0.3653, allocations: 27.02 kB / 383.4 MB, free: 16.93 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.0001523/0.3656, allocations: 83.19 kB / 383.5 MB, free: 16.86 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.3657, allocations: 34.97 kB / 383.6 MB, free: 16.84 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/0.3678, allocations: 0.6519 MB / 384.2 MB, free: 16.64 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.3679, allocations: 7.719 kB / 384.2 MB, free: 16.64 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.101e-06/0.3679, allocations: 0 / 384.2 MB, free: 16.64 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.368, allocations: 3.984 kB / 384.2 MB, free: 16.64 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003591/0.3716, allocations: 1.278 MB / 385.5 MB, free: 16.04 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.962e-06/0.3718, allocations: 0 / 385.5 MB, free: 16.04 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005594/0.3724, allocations: 96.86 kB / 385.6 MB, free: 16.02 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008612/0.3733, allocations: 354.1 kB / 385.9 MB, free: 15.92 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.459e-05/0.3734, allocations: 11.36 kB / 386 MB, free: 15.91 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/0.3752, allocations: 1.348 MB / 387.3 MB, free: 14.82 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.543e-06/0.3753, allocations: 3.875 kB / 387.3 MB, free: 14.82 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002419/0.3778, allocations: 0.9666 MB / 388.3 MB, free: 14.42 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/0.3782, allocations: 161.7 kB / 388.4 MB, free: 14.29 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.3784, allocations: 11.06 kB / 388.4 MB, free: 14.29 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006694/0.3791, allocations: 81.17 kB / 388.5 MB, free: 14.26 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/0.3794, allocations: 112.3 kB / 388.6 MB, free: 14.2 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.187e-05/0.3796, allocations: 22.8 kB / 388.7 MB, free: 14.19 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001809/0.3798, allocations: 166.6 kB / 388.8 MB, free: 14.1 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0006807/0.3806, allocations: 111.9 kB / 388.9 MB, free: 14.09 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001699/0.3808, allocations: 104.2 kB / 389 MB, free: 14.02 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.3821, allocations: 0.5328 MB / 389.6 MB, free: 13.92 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 4.47e-06/0.3822, allocations: 0 / 389.6 MB, free: 13.92 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0007542/0.383, allocations: 281.7 kB / 389.8 MB, free: 13.89 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000751/0.3838, allocations: 62.19 kB / 389.9 MB, free: 13.87 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.3864, allocations: 0.9154 MB / 390.8 MB, free: 13.29 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004711/0.387, allocations: 0.8665 MB / 391.7 MB, free: 12.51 MB / 312.6 MB Notification: Performance of SimCode: time 2.375e-06/0.3871, allocations: 1.188 kB / 391.7 MB, free: 12.51 MB / 312.6 MB Notification: Performance of Templates: time 0.0668/0.4539, allocations: 8.608 MB / 400.3 MB, free: 8.117 MB / 312.6 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