Notification: Performance of loadModel(Modelica): time 1.499/1.499, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.173e-05/1.187e-05, allocations: 2.219 kB / 247.6 MB, free: 4.488 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0613/0.06139, allocations: 44.36 MB / 291.9 MB, free: 9.051 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2427/0.3042, allocations: 89.48 MB / 381.4 MB, free: 4.527 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.3046, allocations: 94.62 kB / 381.5 MB, free: 4.508 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.3414/0.6461, allocations: 88.55 MB / 470.1 MB, free: 12.62 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.0001835/0.6464, allocations: 91.94 kB / 470.1 MB, free: 12.54 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.01742/0.6639, allocations: 4.492 MB / 474.6 MB, free: 7.977 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.664, allocations: 8.031 kB / 474.6 MB, free: 7.969 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01581/0.6799, allocations: 2.205 MB / 476.9 MB, free: 5.754 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01727/0.6973, allocations: 5.602 MB / 482.5 MB, free: 84 kB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003119/0.6977, allocations: 152 kB / 482.6 MB, free: 15.93 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002073/0.6998, allocations: 271.9 kB / 482.9 MB, free: 15.66 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01479/0.7147, allocations: 6.96 MB / 489.8 MB, free: 8.699 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1438/0.8586, allocations: 10.4 MB / 0.4885 GB, free: 112.7 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002047/0.8589, allocations: 70.84 kB / 0.4886 GB, free: 112.7 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001487/0.8605, allocations: 33.16 kB / 0.4886 GB, free: 112.7 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002363/0.8629, allocations: 1.247 MB / 0.4898 GB, free: 112.7 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06481/0.9278, allocations: 52.83 MB / 0.5414 GB, free: 80.02 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004006/0.932, allocations: 2.561 MB / 0.5439 GB, free: 79.36 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002881/0.935, allocations: 1.679 MB / 0.5456 GB, free: 79.33 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0127/0.9478, allocations: 5.884 MB / 0.5513 GB, free: 77.41 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.9479, allocations: 58.69 kB / 0.5514 GB, free: 77.37 MB / 392.6 MB Notification: Performance of pre-optimization done (n=160): time 1.055e-05/0.948, allocations: 0 / 0.5514 GB, free: 77.37 MB / 392.6 MB Notification: Performance of matching and sorting (n=177): time 0.04152/0.9896, allocations: 12.11 MB / 0.5632 GB, free: 72.82 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.9897, allocations: 148.9 kB / 0.5633 GB, free: 72.66 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006946/0.9967, allocations: 3.234 MB / 0.5665 GB, free: 71.51 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003584/0.9972, allocations: 25.7 kB / 0.5665 GB, free: 71.48 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002188/0.9994, allocations: 3.231 MB / 0.5697 GB, free: 69 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009669/1.001, allocations: 0.6941 MB / 0.5703 GB, free: 68.5 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007118/1.001, allocations: 3.375 kB / 0.5703 GB, free: 68.5 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0006682/1.002, allocations: 0.5896 MB / 0.5709 GB, free: 68.07 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004411/1.007, allocations: 2.049 MB / 0.5729 GB, free: 67.4 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006362/1.013, allocations: 6.218 MB / 0.579 GB, free: 61.07 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006732/1.02, allocations: 3.543 MB / 0.5825 GB, free: 59.88 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000115/1.02, allocations: 42 kB / 0.5825 GB, free: 59.88 MB / 392.6 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02108/1.041, allocations: 7.953 MB / 0.5903 GB, free: 57.29 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/1.041, allocations: 3.5 kB / 0.5903 GB, free: 57.29 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007201/1.049, allocations: 2.584 MB / 0.5928 GB, free: 56.6 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004612/1.053, allocations: 1.028 MB / 0.5938 GB, free: 56.45 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007455/1.061, allocations: 1.579 MB / 0.5953 GB, free: 56.26 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005509/1.067, allocations: 4.159 MB / 0.5994 GB, free: 53.37 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008002/1.075, allocations: 321.1 kB / 0.5997 GB, free: 53.35 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001512/1.076, allocations: 425.3 kB / 0.6001 GB, free: 53.3 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003372/1.077, allocations: 79.19 kB / 0.6002 GB, free: 53.22 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000866/1.078, allocations: 337.8 kB / 0.6005 GB, free: 53.04 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007836/1.086, allocations: 2.903 MB / 0.6033 GB, free: 51.12 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006249/1.092, allocations: 2.421 MB / 0.6057 GB, free: 49.15 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.319e-05/1.092, allocations: 7.844 kB / 0.6057 GB, free: 49.15 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.883e-05/1.092, allocations: 7.125 kB / 0.6057 GB, free: 49.15 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02061/1.113, allocations: 8.719 MB / 0.6142 GB, free: 42.07 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.71e-05/1.113, allocations: 11.84 kB / 0.6142 GB, free: 42.07 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00239/1.115, allocations: 307.6 kB / 0.6145 GB, free: 41.81 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004576/1.12, allocations: 0.9082 MB / 0.6154 GB, free: 41.19 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003655/1.121, allocations: 35.45 kB / 0.6155 GB, free: 41.16 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006031/1.127, allocations: 4.359 MB / 0.6197 GB, free: 37.07 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009396/1.128, allocations: 1.382 MB / 0.6211 GB, free: 35.61 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0113/1.139, allocations: 6.506 MB / 0.6274 GB, free: 29.46 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001776/1.141, allocations: 0.6077 MB / 0.628 GB, free: 28.88 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009434/1.142, allocations: 26.83 kB / 0.628 GB, free: 28.86 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003077/1.145, allocations: 104.4 kB / 0.6281 GB, free: 28.79 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004644/1.146, allocations: 117.1 kB / 0.6283 GB, free: 28.71 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001981/1.146, allocations: 66.38 kB / 0.6283 GB, free: 28.65 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.004416/1.15, allocations: 2.142 MB / 0.6304 GB, free: 26.8 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.007583/1.158, allocations: 0.9702 MB / 0.6314 GB, free: 25.84 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002868/1.158, allocations: 116.1 kB / 0.6315 GB, free: 25.74 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.01095/1.169, allocations: 5.382 MB / 0.6367 GB, free: 20.71 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.17, allocations: 5.438 kB / 0.6367 GB, free: 20.7 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.004592/1.174, allocations: 1.961 MB / 0.6386 GB, free: 18.67 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/1.177, allocations: 341.9 kB / 0.639 GB, free: 18.35 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02007/1.197, allocations: 8.59 MB / 0.6474 GB, free: 9.609 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007678/1.205, allocations: 3.767 MB / 0.651 GB, free: 5.832 MB / 392.6 MB Notification: Performance of SimCode: time 2.096e-06/1.205, allocations: 0 / 0.651 GB, free: 5.832 MB / 392.6 MB Notification: Performance of Templates: time 0.3294/1.535, allocations: 36.62 MB / 0.6868 GB, free: 102.9 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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_MultiBody_Examples_Elementary_SpringDamperSystem -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.MultiBody.Examples.Elementary.SpringDamperSystem.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.MultiBody.Examples.Elementary.SpringDamperSystem.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.MultiBody.Examples.Elementary.SpringDamperSystem.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_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.MultiBody.Examples.Elementary.SpringDamperSystem.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.MultiBody.Examples.Elementary.SpringDamperSystem.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.MultiBody.Examples.Elementary.SpringDamperSystem.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_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.MultiBody.Examples.Elementary.SpringDamperSystem.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.MultiBody.Examples.Elementary.SpringDamperSystem.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_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.MultiBody.Examples.Elementary.SpringDamperSystem.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.c:924:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_eqFunction_929(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.c:924:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_eqFunction_929(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.c:925:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_eqFunction_928(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.c:925:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_eqFunction_928(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.c:926:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_eqFunction_927(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.MultiBody.Examples.Elementary.SpringDamperSystem.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.o] Error 1