Notification: Performance of loadModel(Modelica): time 1.54/1.54, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.02e-05/1.027e-05, allocations: 1.969 kB / 247.5 MB, free: 4.594 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06456/0.06464, allocations: 44.37 MB / 291.9 MB, free: 9.152 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2351/0.2998, allocations: 85.9 MB / 377.8 MB, free: 5.34 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.3001, allocations: 94.78 kB / 377.8 MB, free: 5.324 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2306/0.5308, allocations: 55.76 MB / 433.6 MB, free: 0.5703 MB / 328.6 MB Notification: Performance of Transformations before backend: time 8.933e-05/0.531, allocations: 44 kB / 433.6 MB, free: 0.5273 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.007318/0.5384, allocations: 2.59 MB / 436.2 MB, free: 13.89 MB / 344.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.5385, allocations: 8.031 kB / 436.2 MB, free: 13.88 MB / 344.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/0.5497, allocations: 1.599 MB / 437.8 MB, free: 12.27 MB / 344.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/0.561, allocations: 3.445 MB / 441.3 MB, free: 8.809 MB / 344.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.5613, allocations: 83.91 kB / 441.4 MB, free: 8.727 MB / 344.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009359/0.5623, allocations: 140 kB / 441.5 MB, free: 8.59 MB / 344.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007862/0.5702, allocations: 4.171 MB / 445.7 MB, free: 4.414 MB / 344.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01515/0.5854, allocations: 6.271 MB / 451.9 MB, free: 13.45 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001714/0.5858, allocations: 43.53 kB / 452 MB, free: 13.41 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008231/0.5867, allocations: 20 kB / 452 MB, free: 13.39 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002061/0.5888, allocations: 0.7615 MB / 452.8 MB, free: 12.63 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06328/0.6522, allocations: 30.64 MB / 483.4 MB, free: 13.12 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005655/0.658, allocations: 2.169 MB / 485.6 MB, free: 10.81 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002874/0.661, allocations: 1.158 MB / 486.7 MB, free: 9.641 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009176/0.6621, allocations: 370.2 kB / 487.1 MB, free: 9.23 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.6622, allocations: 46.88 kB / 487.2 MB, free: 9.176 MB / 392.6 MB Notification: Performance of pre-optimization done (n=106): time 6.774e-06/0.6622, allocations: 0 / 487.2 MB, free: 9.176 MB / 392.6 MB Notification: Performance of matching and sorting (n=114): time 0.1733/0.8356, allocations: 9.559 MB / 496.7 MB, free: 93.76 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.8357, allocations: 136 kB / 496.8 MB, free: 93.6 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003467/0.8393, allocations: 2.081 MB / 498.9 MB, free: 93.41 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002249/0.8396, allocations: 29.61 kB / 499 MB, free: 93.38 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.8407, allocations: 1.971 MB / 0.4892 GB, free: 92.69 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004438/0.8412, allocations: 456.5 kB / 0.4896 GB, free: 92.49 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.8415, allocations: 0 / 0.4896 GB, free: 92.49 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0003241/0.8419, allocations: 0.5351 MB / 0.4901 GB, free: 92.17 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002386/0.8443, allocations: 1.425 MB / 0.4915 GB, free: 92.16 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003528/0.8479, allocations: 4.092 MB / 0.4955 GB, free: 88.66 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005144/0.8532, allocations: 2.535 MB / 0.498 GB, free: 88.66 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.762e-05/0.8533, allocations: 25.75 kB / 0.498 GB, free: 88.66 MB / 392.6 MB Notification: Performance of matching and sorting (n=556) (initialization): time 0.01406/0.8675, allocations: 5.634 MB / 0.5035 GB, free: 88.3 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.8676, allocations: 3.5 kB / 0.5035 GB, free: 88.3 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/0.8677, allocations: 95.19 kB / 0.5036 GB, free: 88.3 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00347/0.8713, allocations: 0.7886 MB / 0.5044 GB, free: 88.29 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004391/0.8757, allocations: 0.9768 MB / 0.5053 GB, free: 88.2 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007251/0.8831, allocations: 4.195 MB / 0.5094 GB, free: 86.85 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004903/0.8881, allocations: 181.9 kB / 0.5096 GB, free: 86.84 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008187/0.889, allocations: 269.4 kB / 0.5099 GB, free: 86.84 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.8892, allocations: 75.28 kB / 0.5099 GB, free: 86.77 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004825/0.8898, allocations: 209.8 kB / 0.5101 GB, free: 86.65 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006887/0.8967, allocations: 2.196 MB / 0.5123 GB, free: 86.56 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.152e-05/0.8969, allocations: 12.75 kB / 0.5123 GB, free: 86.56 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.897, allocations: 3.875 kB / 0.5123 GB, free: 86.56 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/0.8971, allocations: 10.58 kB / 0.5123 GB, free: 86.56 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/0.9112, allocations: 5.109 MB / 0.5173 GB, free: 86 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.9113, allocations: 7.094 kB / 0.5173 GB, free: 86 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/0.9126, allocations: 154.2 kB / 0.5175 GB, free: 85.98 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003147/0.9158, allocations: 0.6222 MB / 0.5181 GB, free: 85.98 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002142/0.9161, allocations: 3.5 kB / 0.5181 GB, free: 85.98 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006281/0.9224, allocations: 3.687 MB / 0.5217 GB, free: 84.74 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.917e-06/0.9226, allocations: 96 / 0.5217 GB, free: 84.74 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01032/0.9329, allocations: 4.404 MB / 0.526 GB, free: 83.97 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/0.9343, allocations: 443.4 kB / 0.5264 GB, free: 83.77 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004221/0.9348, allocations: 3.5 kB / 0.5264 GB, free: 83.77 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/0.9364, allocations: 51.77 kB / 0.5264 GB, free: 83.76 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.9367, allocations: 51.81 kB / 0.5265 GB, free: 83.76 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/0.9369, allocations: 36.56 kB / 0.5265 GB, free: 83.76 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002907/0.9399, allocations: 1.386 MB / 0.5279 GB, free: 83.5 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.005166/0.9452, allocations: 0.5882 MB / 0.5285 GB, free: 83.5 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003537/0.9456, allocations: 133.4 kB / 0.5286 GB, free: 83.44 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.007071/0.9528, allocations: 3.394 MB / 0.5319 GB, free: 82.3 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 8.172e-06/0.9529, allocations: 2.406 kB / 0.5319 GB, free: 82.3 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002019/0.9549, allocations: 1.057 MB / 0.5329 GB, free: 81.88 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.9566, allocations: 189.1 kB / 0.5331 GB, free: 81.79 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.9671, allocations: 4.678 MB / 0.5377 GB, free: 77.75 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003501/0.9707, allocations: 2.468 MB / 0.5401 GB, free: 75.75 MB / 392.6 MB Notification: Performance of SimCode: time 2.445e-06/0.9708, allocations: 0 / 0.5401 GB, free: 75.75 MB / 392.6 MB Notification: Performance of Templates: time 0.143/1.114, allocations: 23.74 MB / 0.5633 GB, free: 59.23 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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_UserDefinedGravityField -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.UserDefinedGravityField.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.UserDefinedGravityField.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.UserDefinedGravityField.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_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.UserDefinedGravityField.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.UserDefinedGravityField.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.UserDefinedGravityField.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_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.UserDefinedGravityField.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.UserDefinedGravityField.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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_UserDefinedGravityField_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.UserDefinedGravityField.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:1302:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_eqFunction_586(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:1303:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_eqFunction_588(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:1304:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_eqFunction_590(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:1305:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_eqFunction_592(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:1306:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_eqFunction_595(DATA* data, threadData_t *threadData); ^ ; 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.UserDefinedGravityField.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.o] Error 1