Notification: Performance of loadModel(Modelica): time 1.511/1.511, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.498e-06/9.569e-06, allocations: 1.281 kB / 247.3 MB, free: 4.734 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06732/0.0674, allocations: 44.37 MB / 291.7 MB, free: 9.293 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2269/0.2944, allocations: 75.45 MB / 367.2 MB, free: 7.047 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.2947, allocations: 73.22 kB / 367.2 MB, free: 7.043 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.05753/0.3523, allocations: 13.51 MB / 380.7 MB, free: 3.254 MB / 296.6 MB Notification: Performance of Transformations before backend: time 3.827e-05/0.3525, allocations: 15.53 kB / 380.8 MB, free: 3.25 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.003472/0.356, allocations: 1.144 MB / 381.9 MB, free: 2.512 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3561, allocations: 7.75 kB / 381.9 MB, free: 2.512 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000348/0.3565, allocations: 78.03 kB / 382 MB, free: 2.473 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009173/0.3575, allocations: 491 kB / 382.5 MB, free: 2.148 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.3576, allocations: 14.59 kB / 382.5 MB, free: 2.148 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.3579, allocations: 23.45 kB / 382.5 MB, free: 2.145 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002362/0.3603, allocations: 1.074 MB / 383.6 MB, free: 1.992 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.3624, allocations: 0.853 MB / 384.4 MB, free: 1.727 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.3626, allocations: 15.22 kB / 384.4 MB, free: 1.715 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.3628, allocations: 0 / 384.4 MB, free: 1.715 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.3629, allocations: 11.41 kB / 384.5 MB, free: 1.715 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007358/0.3703, allocations: 2.431 MB / 386.9 MB, free: 0.6719 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.3717, allocations: 0.5972 MB / 387.5 MB, free: 0.582 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.373, allocations: 0.5156 MB / 388 MB, free: 0.5156 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.3732, allocations: 12.14 kB / 388 MB, free: 0.5117 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001674/0.3749, allocations: 0.7634 MB / 388.8 MB, free: 264 kB / 296.6 MB Notification: Performance of pre-optimization done (n=49): time 5.307e-06/0.375, allocations: 0 / 388.8 MB, free: 264 kB / 296.6 MB Notification: Performance of matching and sorting (n=51): time 0.009633/0.3847, allocations: 3.435 MB / 392.2 MB, free: 15.18 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.3849, allocations: 82.67 kB / 392.3 MB, free: 15.08 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008345/0.3858, allocations: 0.497 MB / 392.8 MB, free: 14.91 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002898/0.3861, allocations: 42.69 kB / 392.8 MB, free: 14.87 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.3865, allocations: 203.4 kB / 393 MB, free: 14.72 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.3868, allocations: 167.8 kB / 393.2 MB, free: 14.61 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.3869, allocations: 0 / 393.2 MB, free: 14.61 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3871, allocations: 376 kB / 393.6 MB, free: 14.27 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.3884, allocations: 0.528 MB / 394.1 MB, free: 14.23 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.3898, allocations: 0.6207 MB / 394.7 MB, free: 14.07 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.3911, allocations: 464.3 kB / 395.2 MB, free: 14 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.915e-06/0.3912, allocations: 1.062 kB / 395.2 MB, free: 14 MB / 312.6 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.004855/0.3961, allocations: 1.716 MB / 396.9 MB, free: 13.69 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.3962, allocations: 5.094 kB / 396.9 MB, free: 13.69 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.391e-05/0.3964, allocations: 9.656 kB / 396.9 MB, free: 13.69 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006451/0.4029, allocations: 3.964 MB / 400.9 MB, free: 11.08 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007898/0.4038, allocations: 131.6 kB / 401 MB, free: 10.96 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006896/0.4107, allocations: 4.887 MB / 405.9 MB, free: 6.512 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.413, allocations: 326.8 kB / 406.2 MB, free: 6.195 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002583/0.4134, allocations: 102.7 kB / 406.3 MB, free: 6.098 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.0002247/0.4136, allocations: 82.22 kB / 406.4 MB, free: 6.02 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.4139, allocations: 75.16 kB / 406.4 MB, free: 5.945 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004547/0.4185, allocations: 1.615 MB / 408.1 MB, free: 4.629 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.4187, allocations: 11.92 kB / 408.1 MB, free: 4.617 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.635e-06/0.4187, allocations: 0 / 408.1 MB, free: 4.617 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.4188, allocations: 7.984 kB / 408.1 MB, free: 4.609 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006405/0.4253, allocations: 2.54 MB / 410.6 MB, free: 2.523 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.4254, allocations: 0 / 410.6 MB, free: 2.523 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007694/0.4262, allocations: 107 kB / 410.7 MB, free: 2.422 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0063/0.4326, allocations: 3.99 MB / 414.7 MB, free: 14.76 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000184/0.4329, allocations: 26.41 kB / 414.7 MB, free: 14.74 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006646/0.4396, allocations: 4.813 MB / 419.6 MB, free: 10.32 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.705e-06/0.4397, allocations: 7.906 kB / 419.6 MB, free: 10.32 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005722/0.4455, allocations: 2.325 MB / 421.9 MB, free: 8.367 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007836/0.4463, allocations: 312.1 kB / 422.2 MB, free: 8.043 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.4467, allocations: 12 kB / 422.2 MB, free: 8.031 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002365/0.4491, allocations: 339.7 kB / 422.5 MB, free: 7.699 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006231/0.4498, allocations: 223.5 kB / 422.8 MB, free: 7.477 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/0.45, allocations: 87.97 kB / 422.8 MB, free: 7.391 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0006573/0.4508, allocations: 491.1 kB / 423.3 MB, free: 6.914 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.001059/0.4519, allocations: 211.9 kB / 423.5 MB, free: 6.707 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001516/0.4521, allocations: 89.53 kB / 423.6 MB, free: 6.617 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.002788/0.455, allocations: 1.337 MB / 425 MB, free: 5.254 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.455, allocations: 0 / 425 MB, free: 5.254 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001646/0.4567, allocations: 0.7688 MB / 425.7 MB, free: 4.465 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007382/0.4576, allocations: 55.5 kB / 425.8 MB, free: 4.414 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004866/0.4625, allocations: 1.569 MB / 427.3 MB, free: 2.797 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006407/0.4633, allocations: 0.9668 MB / 428.3 MB, free: 1.809 MB / 328.6 MB Notification: Performance of SimCode: time 2.235e-06/0.4633, allocations: 0 / 428.3 MB, free: 1.809 MB / 328.6 MB Notification: Performance of Templates: time 0.0717/0.5351, allocations: 18.09 MB / 446.4 MB, free: 15.64 MB / 360.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.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_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_-O2_Modelica.Mechanics.Translational.Examples.Friction.o Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Friction.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Friction.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Friction_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Friction__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Friction_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Friction__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.Translational.Examples.Friction.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Friction_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.Translational.Examples.Friction.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Friction_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.Translational.Examples.Friction.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.Translational.Examples.Friction.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Friction_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.Translational.Examples.Friction.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Friction_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.Translational.Examples.Friction.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.Translational.Examples.Friction.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Friction_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.Translational.Examples.Friction.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Friction_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Mechanics.Translational.Examples.Friction.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Friction_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Friction.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Friction_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Friction.c:209:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Friction_eqFunction_98(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Friction.c:209:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Friction_eqFunction_98(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Friction.c:210:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Friction_eqFunction_99(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Friction.c:210:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_Translational_Examples_Friction_eqFunction_99(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Friction.c:211:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.Translational.Examples.Friction.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.Translational.Examples.Friction.o] Error 1