Notification: Performance of loadModel(Modelica): time 1.465/1.465, allocations: 194.5 MB / 200.7 MB, free: 8.242 MB / 174.1 MB Notification: Performance of FrontEnd - loaded program: time 1.215e-05/1.257e-05, allocations: 4 kB / 247.5 MB, free: 9.18 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06362/0.06371, allocations: 44.35 MB / 291.8 MB, free: 12.73 MB / 254.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2409/0.3047, allocations: 85.91 MB / 377.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.305, allocations: 86.52 kB / 377.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.2206/0.5257, allocations: 55.76 MB / 433.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.841e-05/0.5259, allocations: 44 kB / 433.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of Generate backend data structure: time 0.007309/0.5333, allocations: 2.576 MB / 436.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.5334, allocations: 8.031 kB / 436.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01153/0.545, allocations: 1.603 MB / 437.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/0.5563, allocations: 3.44 MB / 441.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.5565, allocations: 83.91 kB / 441.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/0.5576, allocations: 140 kB / 441.5 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008671/0.5663, allocations: 4.178 MB / 445.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01193/0.5783, allocations: 6.275 MB / 451.9 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/0.5785, allocations: 43.53 kB / 452 MB, free: 8.676 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007332/0.5793, allocations: 20 kB / 452 MB, free: 8.656 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001076/0.5805, allocations: 0.7576 MB / 452.8 MB, free: 7.898 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03713/0.6177, allocations: 30.65 MB / 483.4 MB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003148/0.6209, allocations: 2.173 MB / 485.6 MB, free: 5.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/0.623, allocations: 1.148 MB / 486.7 MB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008992/0.624, allocations: 363.6 kB / 487.1 MB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.6241, allocations: 54.86 kB / 487.1 MB, free: 4.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=106): time 7.123e-06/0.6241, allocations: 0 / 487.1 MB, free: 4.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=114): time 0.1794/0.8036, allocations: 9.563 MB / 496.7 MB, free: 77.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.8037, allocations: 140.3 kB / 496.8 MB, free: 77.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003806/0.8076, allocations: 2.079 MB / 498.9 MB, free: 76.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002234/0.8079, allocations: 29.67 kB / 499 MB, free: 76.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.8093, allocations: 1.966 MB / 0.4892 GB, free: 75.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005147/0.8098, allocations: 460.5 kB / 0.4896 GB, free: 75.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003027/0.8102, allocations: 0 / 0.4896 GB, free: 75.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003472/0.8106, allocations: 0.5351 MB / 0.4901 GB, free: 75.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00268/0.8133, allocations: 1.43 MB / 0.4915 GB, free: 75.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004775/0.8182, allocations: 4.09 MB / 0.4955 GB, free: 71.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005447/0.8238, allocations: 2.535 MB / 0.498 GB, free: 71.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.367e-05/0.8239, allocations: 26.25 kB / 0.498 GB, free: 71.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=556) (initialization): time 0.01521/0.8392, allocations: 5.634 MB / 0.5035 GB, free: 71.26 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.8393, allocations: 6.625 kB / 0.5035 GB, free: 71.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001164/0.8395, allocations: 95.31 kB / 0.5036 GB, free: 71.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003473/0.843, allocations: 0.7926 MB / 0.5044 GB, free: 71.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004456/0.8476, allocations: 0.9647 MB / 0.5053 GB, free: 71.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007226/0.8549, allocations: 4.205 MB / 0.5095 GB, free: 69.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00466/0.8596, allocations: 182.8 kB / 0.5096 GB, free: 69.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/0.8608, allocations: 272.5 kB / 0.5099 GB, free: 69.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002412/0.8612, allocations: 78.56 kB / 0.51 GB, free: 69.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005036/0.8617, allocations: 209.5 kB / 0.5102 GB, free: 69.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007052/0.8689, allocations: 2.192 MB / 0.5123 GB, free: 69.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.3e-05/0.869, allocations: 11 kB / 0.5123 GB, free: 69.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.8691, allocations: 5.141 kB / 0.5123 GB, free: 69.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/0.8692, allocations: 6.656 kB / 0.5123 GB, free: 69.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/0.8826, allocations: 5.108 MB / 0.5173 GB, free: 68.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/0.8827, allocations: 3.938 kB / 0.5173 GB, free: 68.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.8838, allocations: 150.2 kB / 0.5175 GB, free: 68.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002974/0.8869, allocations: 0.6309 MB / 0.5181 GB, free: 68.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002062/0.8872, allocations: 11.14 kB / 0.5181 GB, free: 68.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006037/0.8933, allocations: 3.676 MB / 0.5217 GB, free: 67.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.822e-06/0.8934, allocations: 3.906 kB / 0.5217 GB, free: 67.67 MB / 398.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009013/0.9024, allocations: 4.4 MB / 0.526 GB, free: 66.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.9036, allocations: 448.2 kB / 0.5264 GB, free: 66.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004999/0.9042, allocations: 3.812 kB / 0.5264 GB, free: 66.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/0.9059, allocations: 47.28 kB / 0.5265 GB, free: 66.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/0.9062, allocations: 58.7 kB / 0.5265 GB, free: 66.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/0.9064, allocations: 33.27 kB / 0.5265 GB, free: 66.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 0.002372/0.9088, allocations: 1.389 MB / 0.5279 GB, free: 66.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004577/0.9134, allocations: 0.5871 MB / 0.5285 GB, free: 66.53 MB / 398.1 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003374/0.9139, allocations: 138.2 kB / 0.5286 GB, free: 66.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00615/0.9201, allocations: 3.403 MB / 0.5319 GB, free: 65.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.9202, allocations: 0 / 0.5319 GB, free: 65.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.922, allocations: 1.057 MB / 0.533 GB, free: 65.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.9237, allocations: 188.5 kB / 0.5331 GB, free: 65.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.9347, allocations: 4.677 MB / 0.5377 GB, free: 63.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004268/0.939, allocations: 2.46 MB / 0.5401 GB, free: 62.32 MB / 398.1 MB Notification: Performance of SimCode: time 2.375e-06/0.9391, allocations: 4 kB / 0.5401 GB, free: 62.31 MB / 398.1 MB Notification: Performance of Templates: time 0.1196/1.059, allocations: 23.74 MB / 0.5633 GB, free: 59.05 MB / 398.1 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:1302:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_eqFunction_586(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:1303:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_eqFunction_588(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:1304:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_eqFunction_590(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:1305:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_eqFunction_592(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.c:1306:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.o] Error 1