Notification: Performance of loadModel(Modelica): time 1.511/1.511, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.429e-06/9.638e-06, allocations: 1.375 kB / 247.3 MB, free: 4.746 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06257/0.06265, allocations: 44.37 MB / 291.7 MB, free: 9.305 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2462/0.3089, allocations: 75.21 MB / 366.9 MB, free: 6.855 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.3093, allocations: 75.41 kB / 367 MB, free: 6.852 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03034/0.3397, allocations: 7.242 MB / 374.2 MB, free: 5.578 MB / 296.6 MB Notification: Performance of Transformations before backend: time 3.122e-05/0.3398, allocations: 7.719 kB / 374.2 MB, free: 5.578 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001394/0.3412, allocations: 0.7063 MB / 374.9 MB, free: 5.035 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.3414, allocations: 11.88 kB / 375 MB, free: 5.031 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.3416, allocations: 50.78 kB / 375 MB, free: 5.004 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.342, allocations: 298.3 kB / 375.3 MB, free: 4.742 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.3421, allocations: 15.12 kB / 375.3 MB, free: 4.742 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.547e-05/0.3423, allocations: 31.2 kB / 375.3 MB, free: 4.734 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008697/0.3432, allocations: 379.2 kB / 375.7 MB, free: 4.695 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008157/0.3441, allocations: 373.7 kB / 376.1 MB, free: 4.582 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/0.3442, allocations: 10.62 kB / 376.1 MB, free: 4.578 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.104e-05/0.3443, allocations: 0 / 376.1 MB, free: 4.578 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.3444, allocations: 11.81 kB / 376.1 MB, free: 4.574 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002926/0.3474, allocations: 1.079 MB / 377.2 MB, free: 4 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/0.3481, allocations: 271.6 kB / 377.4 MB, free: 3.965 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.3487, allocations: 230.1 kB / 377.7 MB, free: 3.941 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.153e-05/0.3488, allocations: 4.219 kB / 377.7 MB, free: 3.941 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.3489, allocations: 46.08 kB / 377.7 MB, free: 3.895 MB / 296.6 MB Notification: Performance of pre-optimization done (n=52): time 4.051e-06/0.349, allocations: 0 / 377.7 MB, free: 3.895 MB / 296.6 MB Notification: Performance of matching and sorting (n=58): time 0.004639/0.3536, allocations: 1.56 MB / 379.3 MB, free: 3.16 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.3538, allocations: 55.88 kB / 379.3 MB, free: 3.098 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.3541, allocations: 210.7 kB / 379.5 MB, free: 2.98 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 7.627e-05/0.3542, allocations: 33.36 kB / 379.6 MB, free: 2.949 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.3543, allocations: 156.4 kB / 379.7 MB, free: 2.82 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.3546, allocations: 190.5 kB / 379.9 MB, free: 2.684 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.3547, allocations: 3.984 kB / 379.9 MB, free: 2.68 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.3548, allocations: 344.5 kB / 380.2 MB, free: 18.36 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004348/0.3553, allocations: 192.9 kB / 380.4 MB, free: 18.34 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/0.3559, allocations: 236.1 kB / 380.7 MB, free: 18.3 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006242/0.3565, allocations: 162.9 kB / 380.8 MB, free: 18.28 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.26e-06/0.3566, allocations: 0 / 380.8 MB, free: 18.28 MB / 312.6 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002135/0.3588, allocations: 0.6442 MB / 381.5 MB, free: 18.12 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3589, allocations: 6.688 kB / 381.5 MB, free: 18.12 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/0.359, allocations: 3.875 kB / 381.5 MB, free: 18.12 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009169/0.36, allocations: 373.5 kB / 381.8 MB, free: 18.03 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/0.3606, allocations: 96.69 kB / 381.9 MB, free: 18 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/0.3626, allocations: 1.38 MB / 383.3 MB, free: 16.91 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008053/0.3635, allocations: 103.9 kB / 383.4 MB, free: 16.88 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-05/0.3636, allocations: 27.08 kB / 383.4 MB, free: 16.88 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.0001398/0.3638, allocations: 75.28 kB / 383.5 MB, free: 16.8 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.364, allocations: 38.91 kB / 383.6 MB, free: 16.78 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/0.3661, allocations: 0.6475 MB / 384.2 MB, free: 16.59 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.917e-06/0.3662, allocations: 11.88 kB / 384.2 MB, free: 16.59 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.3662, allocations: 4 kB / 384.2 MB, free: 16.58 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.3663, allocations: 3.984 kB / 384.2 MB, free: 16.58 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003393/0.3697, allocations: 1.272 MB / 385.5 MB, free: 15.98 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.3698, allocations: 3.875 kB / 385.5 MB, free: 15.98 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005672/0.3705, allocations: 89.42 kB / 385.6 MB, free: 15.96 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000834/0.3714, allocations: 354.8 kB / 385.9 MB, free: 15.86 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.614e-05/0.3715, allocations: 19.09 kB / 386 MB, free: 15.86 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.373, allocations: 1.346 MB / 387.3 MB, free: 14.76 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.914e-06/0.3731, allocations: 3.938 kB / 387.3 MB, free: 14.75 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00216/0.3753, allocations: 0.9598 MB / 388.3 MB, free: 14.37 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004466/0.3758, allocations: 166.5 kB / 388.4 MB, free: 14.23 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.376, allocations: 10.53 kB / 388.4 MB, free: 14.23 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006591/0.3768, allocations: 77.56 kB / 388.5 MB, free: 14.21 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002505/0.3771, allocations: 118.7 kB / 388.6 MB, free: 14.14 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.201e-05/0.3772, allocations: 29.53 kB / 388.7 MB, free: 14.13 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001802/0.3774, allocations: 167.5 kB / 388.8 MB, free: 14.04 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0006364/0.3781, allocations: 110.7 kB / 388.9 MB, free: 14.03 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001447/0.3783, allocations: 95.77 kB / 389 MB, free: 13.96 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.3796, allocations: 0.54 MB / 389.6 MB, free: 13.86 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.702e-06/0.3797, allocations: 0 / 389.6 MB, free: 13.86 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0007222/0.3805, allocations: 289.3 kB / 389.8 MB, free: 13.83 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006286/0.3812, allocations: 51.77 kB / 389.9 MB, free: 13.81 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.3836, allocations: 0.9187 MB / 390.8 MB, free: 13.23 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004507/0.3841, allocations: 0.8634 MB / 391.7 MB, free: 12.45 MB / 312.6 MB Notification: Performance of SimCode: time 2.375e-06/0.3842, allocations: 0 / 391.7 MB, free: 12.45 MB / 312.6 MB Notification: Performance of Templates: time 0.04693/0.4312, allocations: 8.615 MB / 400.3 MB, free: 8.043 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Friction.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_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_-O1_Modelica.Mechanics.Rotational.Examples.Friction.o Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Friction.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Friction.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Friction_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Friction__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Friction_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Friction__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.Friction.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Friction_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.Friction.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Friction_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.Friction.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.Friction.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Friction_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.Friction.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Friction_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.Friction.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.Friction.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Friction_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.Friction.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Friction_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.Friction.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Friction_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Friction.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Friction_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Friction.c:306:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Friction_eqFunction_95(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Friction.c:306:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Friction_eqFunction_95(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Friction.c:307:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Friction_eqFunction_96(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Friction.c:307:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_Friction_eqFunction_96(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Friction.c:308:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.Friction.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.Friction.o] Error 1