Notification: Performance of loadModel(Modelica): time 1.545/1.545, allocations: 194.5 MB / 200.7 MB, free: 5.156 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.848e-06/9.917e-06, allocations: 1.125 kB / 247.3 MB, free: 4.715 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06065/0.06073, allocations: 44.35 MB / 291.7 MB, free: 9.293 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2666/0.3275, allocations: 75.22 MB / 366.9 MB, free: 7.113 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/0.328, allocations: 77.19 kB / 367 MB, free: 7.109 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.04913/0.3772, allocations: 7.236 MB / 374.2 MB, free: 5.859 MB / 296.6 MB Notification: Performance of Transformations before backend: time 3.562e-05/0.3774, allocations: 7.812 kB / 374.2 MB, free: 5.859 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.00254/0.38, allocations: 0.7138 MB / 374.9 MB, free: 5.309 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/0.3802, allocations: 11.59 kB / 375 MB, free: 5.309 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003463/0.3807, allocations: 50.84 kB / 375 MB, free: 5.281 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008296/0.3816, allocations: 302.2 kB / 375.3 MB, free: 5.016 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/0.3817, allocations: 11.66 kB / 375.3 MB, free: 5.016 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.382, allocations: 27.19 kB / 375.3 MB, free: 5.012 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001578/0.3836, allocations: 382.2 kB / 375.7 MB, free: 4.973 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.3852, allocations: 376.1 kB / 376.1 MB, free: 4.859 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.77e-05/0.3854, allocations: 3.906 kB / 376.1 MB, free: 4.855 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.3856, allocations: 0 / 376.1 MB, free: 4.855 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.3857, allocations: 15.62 kB / 376.1 MB, free: 4.852 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005087/0.3909, allocations: 1.087 MB / 377.2 MB, free: 4.273 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.3922, allocations: 264.6 kB / 377.4 MB, free: 4.238 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008595/0.3932, allocations: 233 kB / 377.7 MB, free: 4.215 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 9.093e-05/0.3934, allocations: 8.188 kB / 377.7 MB, free: 4.215 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.3935, allocations: 33.94 kB / 377.7 MB, free: 4.176 MB / 296.6 MB Notification: Performance of pre-optimization done (n=52): time 7.054e-06/0.3936, allocations: 0 / 377.7 MB, free: 4.176 MB / 296.6 MB Notification: Performance of matching and sorting (n=58): time 0.008243/0.4019, allocations: 1.561 MB / 379.3 MB, free: 3.438 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.4021, allocations: 59.69 kB / 379.3 MB, free: 3.375 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.4026, allocations: 203.7 kB / 379.5 MB, free: 3.262 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 0.000153/0.4028, allocations: 33.11 kB / 379.6 MB, free: 3.23 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.403, allocations: 162.7 kB / 379.7 MB, free: 3.098 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/0.4034, allocations: 189.9 kB / 379.9 MB, free: 2.961 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.4035, allocations: 0 / 379.9 MB, free: 2.961 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.4038, allocations: 352.5 kB / 380.3 MB, free: 18.63 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007701/0.4047, allocations: 186.3 kB / 380.4 MB, free: 18.62 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008676/0.4057, allocations: 233.4 kB / 380.7 MB, free: 18.59 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.407, allocations: 164.6 kB / 380.8 MB, free: 18.56 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.565e-06/0.4071, allocations: 0 / 380.8 MB, free: 18.56 MB / 312.6 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003954/0.4112, allocations: 0.6408 MB / 381.5 MB, free: 18.41 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.4114, allocations: 7.781 kB / 381.5 MB, free: 18.41 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-05/0.4115, allocations: 3.984 kB / 381.5 MB, free: 18.41 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001694/0.4133, allocations: 372.5 kB / 381.8 MB, free: 18.32 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009512/0.4144, allocations: 93.86 kB / 381.9 MB, free: 18.29 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/0.4178, allocations: 1.387 MB / 383.3 MB, free: 17.2 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.4194, allocations: 101.4 kB / 383.4 MB, free: 17.16 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/0.4198, allocations: 27.14 kB / 383.4 MB, free: 17.16 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.0002091/0.4201, allocations: 75.28 kB / 383.5 MB, free: 17.09 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.4204, allocations: 38.84 kB / 383.6 MB, free: 17.07 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/0.424, allocations: 0.6502 MB / 384.2 MB, free: 16.87 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/0.4242, allocations: 11.66 kB / 384.2 MB, free: 16.86 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.4243, allocations: 3.906 kB / 384.2 MB, free: 16.86 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.4244, allocations: 3.984 kB / 384.2 MB, free: 16.86 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006206/0.4307, allocations: 1.273 MB / 385.5 MB, free: 16.26 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.4309, allocations: 3.875 kB / 385.5 MB, free: 16.26 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.432, allocations: 93.2 kB / 385.6 MB, free: 16.23 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001557/0.4337, allocations: 352.9 kB / 385.9 MB, free: 16.14 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/0.434, allocations: 19.53 kB / 386 MB, free: 16.14 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002593/0.4366, allocations: 1.344 MB / 387.3 MB, free: 15.04 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/0.4368, allocations: 0 / 387.3 MB, free: 15.04 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004043/0.441, allocations: 0.9602 MB / 388.3 MB, free: 14.66 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005132/0.4417, allocations: 167.9 kB / 388.4 MB, free: 14.52 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/0.442, allocations: 9.5 kB / 388.4 MB, free: 14.52 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.4434, allocations: 81.08 kB / 388.5 MB, free: 14.49 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000443/0.4439, allocations: 116.5 kB / 388.6 MB, free: 14.43 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/0.4442, allocations: 22.86 kB / 388.6 MB, free: 14.42 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0003354/0.4446, allocations: 164.5 kB / 388.8 MB, free: 14.33 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.001272/0.4459, allocations: 119.2 kB / 388.9 MB, free: 14.32 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002303/0.4463, allocations: 99.91 kB / 389 MB, free: 14.25 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.4486, allocations: 0.5356 MB / 389.6 MB, free: 14.14 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 8.45e-06/0.4488, allocations: 3.875 kB / 389.6 MB, free: 14.14 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.4503, allocations: 281.1 kB / 389.8 MB, free: 14.11 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.4516, allocations: 54.88 kB / 389.9 MB, free: 14.09 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004752/0.4565, allocations: 0.9185 MB / 390.8 MB, free: 13.5 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007226/0.4574, allocations: 0.8674 MB / 391.7 MB, free: 12.72 MB / 312.6 MB Notification: Performance of SimCode: time 2.724e-06/0.4575, allocations: 5.188 kB / 391.7 MB, free: 12.72 MB / 312.6 MB Notification: Performance of Templates: time 0.05743/0.515, allocations: 8.607 MB / 400.3 MB, free: 8.32 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