Notification: Performance of loadModel(Modelica): time 1.561/1.561, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.848e-06/9.987e-06, allocations: 1.062 kB / 247.3 MB, free: 4.691 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06012/0.06022, allocations: 44.36 MB / 291.7 MB, free: 9.293 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2259/0.2863, allocations: 75.45 MB / 367.2 MB, free: 6.945 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.2866, allocations: 73.83 kB / 367.2 MB, free: 6.941 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.05694/0.3436, allocations: 13.52 MB / 380.7 MB, free: 3.188 MB / 296.6 MB Notification: Performance of Transformations before backend: time 3.848e-05/0.3437, allocations: 11.38 kB / 380.8 MB, free: 3.188 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.00343/0.3472, allocations: 1.139 MB / 381.9 MB, free: 2.449 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3474, allocations: 11.56 kB / 381.9 MB, free: 2.449 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003675/0.3478, allocations: 74.22 kB / 382 MB, free: 2.41 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009803/0.3488, allocations: 494.8 kB / 382.5 MB, free: 2.09 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.603e-05/0.349, allocations: 15.59 kB / 382.5 MB, free: 2.086 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/0.3492, allocations: 23.31 kB / 382.5 MB, free: 2.086 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002371/0.3516, allocations: 1.073 MB / 383.6 MB, free: 1.922 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.3535, allocations: 0.8673 MB / 384.4 MB, free: 1.645 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.3536, allocations: 3.906 kB / 384.4 MB, free: 1.641 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.3538, allocations: 0 / 384.4 MB, free: 1.641 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.3539, allocations: 11.47 kB / 384.5 MB, free: 1.641 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007185/0.3611, allocations: 2.43 MB / 386.9 MB, free: 0.5977 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.3626, allocations: 0.603 MB / 387.5 MB, free: 0.5039 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.3639, allocations: 0.5166 MB / 388 MB, free: 448 kB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.3641, allocations: 8.938 kB / 388 MB, free: 444 kB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001642/0.3658, allocations: 0.7607 MB / 388.8 MB, free: 188 kB / 296.6 MB Notification: Performance of pre-optimization done (n=49): time 6.635e-06/0.3659, allocations: 3.984 kB / 388.8 MB, free: 184 kB / 296.6 MB Notification: Performance of matching and sorting (n=51): time 0.009483/0.3754, allocations: 3.43 MB / 392.2 MB, free: 15.08 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.3756, allocations: 86.86 kB / 392.3 MB, free: 14.98 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008016/0.3765, allocations: 0.4963 MB / 392.8 MB, free: 14.81 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002935/0.3768, allocations: 44.97 kB / 392.8 MB, free: 14.77 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.377, allocations: 198.2 kB / 393 MB, free: 14.63 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000281/0.3774, allocations: 170.2 kB / 393.2 MB, free: 14.51 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.3775, allocations: 1.094 kB / 393.2 MB, free: 14.51 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3777, allocations: 379.9 kB / 393.6 MB, free: 14.18 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.379, allocations: 0.5307 MB / 394.1 MB, free: 14.13 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.3803, allocations: 0.6182 MB / 394.7 MB, free: 13.98 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.3818, allocations: 463.4 kB / 395.2 MB, free: 13.91 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.311e-06/0.3819, allocations: 4.969 kB / 395.2 MB, free: 13.91 MB / 312.6 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.004983/0.3869, allocations: 1.708 MB / 396.9 MB, free: 13.59 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.3871, allocations: 5.219 kB / 396.9 MB, free: 13.59 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.377e-05/0.3872, allocations: 13.42 kB / 396.9 MB, free: 13.59 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006689/0.3939, allocations: 3.97 MB / 400.9 MB, free: 11.04 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007728/0.3948, allocations: 123.7 kB / 401 MB, free: 10.92 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006916/0.4018, allocations: 4.887 MB / 405.9 MB, free: 6.473 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/0.4041, allocations: 323.7 kB / 406.2 MB, free: 6.156 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002758/0.4045, allocations: 103.7 kB / 406.3 MB, free: 6.062 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.000252/0.4048, allocations: 83.28 kB / 406.4 MB, free: 5.98 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004108/0.4053, allocations: 67.16 kB / 406.4 MB, free: 5.914 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004306/0.4096, allocations: 1.62 MB / 408.1 MB, free: 4.59 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.4098, allocations: 11.98 kB / 408.1 MB, free: 4.578 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.937e-06/0.4098, allocations: 0 / 408.1 MB, free: 4.578 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.4099, allocations: 7.938 kB / 408.1 MB, free: 4.57 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006821/0.4168, allocations: 2.536 MB / 410.6 MB, free: 2.488 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.4169, allocations: 0 / 410.6 MB, free: 2.488 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007634/0.4177, allocations: 99.97 kB / 410.7 MB, free: 2.391 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006305/0.4241, allocations: 3.994 MB / 414.7 MB, free: 14.73 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002007/0.4244, allocations: 35.52 kB / 414.7 MB, free: 14.7 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00668/0.4312, allocations: 4.812 MB / 419.6 MB, free: 10.29 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.171e-06/0.4313, allocations: 3.906 kB / 419.6 MB, free: 10.28 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005774/0.4371, allocations: 2.328 MB / 421.9 MB, free: 8.363 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008051/0.438, allocations: 308.1 kB / 422.2 MB, free: 8.043 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002749/0.4384, allocations: 19.98 kB / 422.2 MB, free: 8.023 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/0.4408, allocations: 335.7 kB / 422.5 MB, free: 7.695 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007275/0.4416, allocations: 215.5 kB / 422.7 MB, free: 7.484 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000222/0.4419, allocations: 95.97 kB / 422.8 MB, free: 7.391 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.000712/0.4427, allocations: 487.1 kB / 423.3 MB, free: 6.918 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.001354/0.4441, allocations: 215.9 kB / 423.5 MB, free: 6.707 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001831/0.4444, allocations: 89.55 kB / 423.6 MB, free: 6.617 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.002882/0.4473, allocations: 1.337 MB / 424.9 MB, free: 5.254 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 8.59e-06/0.4474, allocations: 4 kB / 425 MB, free: 5.25 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002039/0.4495, allocations: 0.7694 MB / 425.7 MB, free: 4.461 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007725/0.4504, allocations: 62.69 kB / 425.8 MB, free: 4.406 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005103/0.4556, allocations: 1.558 MB / 427.3 MB, free: 2.797 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006143/0.4563, allocations: 0.9629 MB / 428.3 MB, free: 1.812 MB / 328.6 MB Notification: Performance of SimCode: time 2.305e-06/0.4564, allocations: 0 / 428.3 MB, free: 1.812 MB / 328.6 MB Notification: Performance of Templates: time 0.09358/0.55, allocations: 18.1 MB / 446.4 MB, free: 15.63 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