Notification: Performance of loadModel(Modelica): time 1.479/1.479, allocations: 194.5 MB / 200.7 MB, free: 5.152 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.987e-06/1.006e-05, allocations: 1.969 kB / 247.3 MB, free: 4.715 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06146/0.06155, allocations: 44.36 MB / 291.7 MB, free: 9.285 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2255/0.2871, allocations: 75.46 MB / 367.2 MB, free: 7.012 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.2875, allocations: 75.55 kB / 367.2 MB, free: 7.008 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.05662/0.3442, allocations: 13.52 MB / 380.8 MB, free: 3.199 MB / 296.6 MB Notification: Performance of Transformations before backend: time 3.897e-05/0.3443, allocations: 11.78 kB / 380.8 MB, free: 3.199 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.003517/0.3479, allocations: 1.14 MB / 381.9 MB, free: 2.461 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.348, allocations: 11.78 kB / 381.9 MB, free: 2.457 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003639/0.3485, allocations: 77.81 kB / 382 MB, free: 2.418 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009549/0.3495, allocations: 497.6 kB / 382.5 MB, free: 2.098 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/0.3496, allocations: 11.53 kB / 382.5 MB, free: 2.098 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.3498, allocations: 23.38 kB / 382.5 MB, free: 2.098 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002253/0.3521, allocations: 1.076 MB / 383.6 MB, free: 1.934 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.3539, allocations: 0.8568 MB / 384.5 MB, free: 1.664 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.354, allocations: 7.688 kB / 384.5 MB, free: 1.66 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.3542, allocations: 10.69 kB / 384.5 MB, free: 1.652 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.3543, allocations: 11.61 kB / 384.5 MB, free: 1.648 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007428/0.3618, allocations: 2.428 MB / 386.9 MB, free: 0.6055 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.3632, allocations: 0.6005 MB / 387.5 MB, free: 0.5117 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.3644, allocations: 0.5148 MB / 388 MB, free: 460 kB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 9.352e-05/0.3646, allocations: 16.89 kB / 388 MB, free: 452 kB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001489/0.3661, allocations: 0.7506 MB / 388.8 MB, free: 204 kB / 296.6 MB Notification: Performance of pre-optimization done (n=49): time 6.844e-06/0.3662, allocations: 1.219 kB / 388.8 MB, free: 204 kB / 296.6 MB Notification: Performance of matching and sorting (n=51): time 0.009182/0.3755, allocations: 3.428 MB / 392.2 MB, free: 15.1 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001893/0.3758, allocations: 93.38 kB / 392.3 MB, free: 15 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007908/0.3766, allocations: 0.4916 MB / 392.8 MB, free: 14.83 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002579/0.3769, allocations: 43.38 kB / 392.8 MB, free: 14.79 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.3771, allocations: 201.9 kB / 393 MB, free: 14.64 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.3774, allocations: 165.1 kB / 393.2 MB, free: 14.53 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.3776, allocations: 3.984 kB / 393.2 MB, free: 14.53 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3777, allocations: 378.2 kB / 393.6 MB, free: 14.2 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.379, allocations: 0.5262 MB / 394.1 MB, free: 14.15 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.3803, allocations: 0.6199 MB / 394.7 MB, free: 14 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.3815, allocations: 467.1 kB / 395.2 MB, free: 13.93 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.168e-06/0.3816, allocations: 1.188 kB / 395.2 MB, free: 13.93 MB / 312.6 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.004732/0.3864, allocations: 1.716 MB / 396.9 MB, free: 13.61 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.3865, allocations: 5.25 kB / 396.9 MB, free: 13.61 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.846e-05/0.3867, allocations: 9.562 kB / 396.9 MB, free: 13.61 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006653/0.3934, allocations: 3.963 MB / 400.9 MB, free: 11.06 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007713/0.3942, allocations: 131 kB / 401 MB, free: 10.93 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009551/0.4039, allocations: 5.582 MB / 406.6 MB, free: 5.855 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/0.4061, allocations: 331.2 kB / 406.9 MB, free: 5.535 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002914/0.4065, allocations: 103 kB / 407 MB, free: 5.438 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.0002414/0.4068, allocations: 81.91 kB / 407.1 MB, free: 5.359 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/0.4071, allocations: 67.16 kB / 407.2 MB, free: 5.293 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004396/0.4116, allocations: 1.621 MB / 408.8 MB, free: 3.977 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.4117, allocations: 11.98 kB / 408.8 MB, free: 3.965 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.797e-06/0.4118, allocations: 0 / 408.8 MB, free: 3.965 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.4118, allocations: 0 / 408.8 MB, free: 3.965 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006272/0.4182, allocations: 2.541 MB / 411.3 MB, free: 1.875 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.94e-06/0.4183, allocations: 3.938 kB / 411.3 MB, free: 1.871 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007653/0.4191, allocations: 95.97 kB / 411.4 MB, free: 1.777 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006246/0.4254, allocations: 3.996 MB / 415.4 MB, free: 14.11 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003481/0.4259, allocations: 39.17 kB / 415.5 MB, free: 14.08 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00845/0.4344, allocations: 5.238 MB / 420.7 MB, free: 9.297 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/0.4345, allocations: 3.906 kB / 420.7 MB, free: 9.293 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005567/0.4401, allocations: 2.328 MB / 423 MB, free: 7.219 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000737/0.441, allocations: 312.1 kB / 423.3 MB, free: 6.895 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000277/0.4413, allocations: 12 kB / 423.3 MB, free: 6.883 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002224/0.4436, allocations: 339.7 kB / 423.7 MB, free: 6.551 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006008/0.4443, allocations: 215.5 kB / 423.9 MB, free: 6.34 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/0.4445, allocations: 95.95 kB / 424 MB, free: 6.246 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0008175/0.4454, allocations: 491.1 kB / 424.5 MB, free: 5.77 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.001243/0.4467, allocations: 219.9 kB / 424.7 MB, free: 5.555 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001682/0.447, allocations: 92.81 kB / 424.8 MB, free: 5.465 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.002703/0.4497, allocations: 1.341 MB / 426.1 MB, free: 4.098 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 0.0001707/0.45, allocations: 4 kB / 426.1 MB, free: 4.094 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001759/0.4518, allocations: 0.7842 MB / 426.9 MB, free: 3.289 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007532/0.4526, allocations: 55.5 kB / 426.9 MB, free: 3.238 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005213/0.4579, allocations: 1.561 MB / 428.5 MB, free: 1.629 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006561/0.4587, allocations: 0.9607 MB / 429.5 MB, free: 0.6445 MB / 328.6 MB Notification: Performance of SimCode: time 2.234e-06/0.4588, allocations: 0 / 429.5 MB, free: 0.6445 MB / 328.6 MB Notification: Performance of Templates: time 0.08431/0.5431, allocations: 18.76 MB / 448.2 MB, free: 13.8 MB / 360.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.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_Translational_Examples_Friction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Friction.o Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Friction.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Friction.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Friction_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Friction__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Friction_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Friction__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.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.Translational.Examples.Friction.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Friction_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.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.Translational.Examples.Friction.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Friction_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.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.Translational.Examples.Friction.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_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.Translational.Examples.Friction.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Friction_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.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.Translational.Examples.Friction.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Friction_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.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.Translational.Examples.Friction.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_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.Translational.Examples.Friction.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Friction_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.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.Translational.Examples.Friction.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Friction_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.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_Translational_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.Translational.Examples.Friction.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Friction_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Friction.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Friction_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Friction.c:209:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Friction_eqFunction_98(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Friction.c:209:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Friction_eqFunction_98(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Friction.c:210:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Friction_eqFunction_99(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Friction.c:210:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Friction_eqFunction_99(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Friction.c:211:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_Friction_eqFunction_100(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.Friction.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.Friction.o] Error 1