Notification: Performance of loadModel(Modelica): time 1.546/1.546, allocations: 194.5 MB / 200.7 MB, free: 7.695 MB / 171.1 MB Notification: Performance of FrontEnd - loaded program: time 1.124e-05/1.131e-05, allocations: 2.688 kB / 247.5 MB, free: 5.578 MB / 203.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06022/0.0603, allocations: 44.36 MB / 291.8 MB, free: 12 MB / 251.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2377/0.2981, allocations: 85.91 MB / 377.7 MB, free: 6.93 MB / 299.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.2984, allocations: 92.5 kB / 377.8 MB, free: 6.91 MB / 299.1 MB Notification: Performance of FrontEnd: time 0.2232/0.5216, allocations: 55.77 MB / 433.6 MB, free: 4.262 MB / 331.1 MB Notification: Performance of Transformations before backend: time 0.0001145/0.5219, allocations: 44 kB / 433.7 MB, free: 4.219 MB / 331.1 MB Notification: Performance of Generate backend data structure: time 0.006766/0.5287, allocations: 2.575 MB / 436.2 MB, free: 1.59 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5288, allocations: 12.03 kB / 436.2 MB, free: 1.578 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/0.5407, allocations: 1.599 MB / 437.8 MB, free: 15.97 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0116/0.5524, allocations: 3.443 MB / 441.3 MB, free: 12.51 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.5526, allocations: 79.91 kB / 441.4 MB, free: 12.43 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001017/0.5537, allocations: 144 kB / 441.5 MB, free: 12.29 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008576/0.5624, allocations: 4.171 MB / 445.7 MB, free: 8.117 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01216/0.5746, allocations: 6.271 MB / 451.9 MB, free: 1.156 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.5748, allocations: 43.59 kB / 452 MB, free: 1.113 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005843/0.5755, allocations: 24 kB / 452 MB, free: 1.09 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00121/0.5768, allocations: 0.7537 MB / 452.8 MB, free: 344 kB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03765/0.6145, allocations: 30.66 MB / 483.4 MB, free: 0.8242 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003442/0.618, allocations: 2.165 MB / 485.6 MB, free: 14.51 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/0.62, allocations: 1.166 MB / 486.7 MB, free: 13.33 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008556/0.621, allocations: 358.8 kB / 487.1 MB, free: 12.93 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.6211, allocations: 50.94 kB / 487.1 MB, free: 12.87 MB / 395.1 MB Notification: Performance of pre-optimization done (n=106): time 6.705e-06/0.6211, allocations: 3.938 kB / 487.2 MB, free: 12.87 MB / 395.1 MB Notification: Performance of matching and sorting (n=114): time 0.02783/0.649, allocations: 9.559 MB / 496.7 MB, free: 3.191 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.6492, allocations: 140.9 kB / 496.8 MB, free: 3.023 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003981/0.6532, allocations: 2.085 MB / 498.9 MB, free: 0.9102 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002354/0.6535, allocations: 25.7 kB / 499 MB, free: 0.8789 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1166/0.7702, allocations: 1.958 MB / 0.4892 GB, free: 140.3 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005685/0.7709, allocations: 451.3 kB / 0.4896 GB, free: 140.1 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003987/0.7714, allocations: 0 / 0.4896 GB, free: 140.1 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0003772/0.7718, allocations: 0.5416 MB / 0.4901 GB, free: 139.8 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002809/0.7747, allocations: 1.427 MB / 0.4915 GB, free: 139.8 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004004/0.7788, allocations: 4.096 MB / 0.4955 GB, free: 136.3 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005265/0.7842, allocations: 2.533 MB / 0.498 GB, free: 136.3 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.145e-05/0.7844, allocations: 26.28 kB / 0.498 GB, free: 136.3 MB / 395.1 MB Notification: Performance of matching and sorting (n=556) (initialization): time 0.01505/0.7995, allocations: 5.628 MB / 0.5035 GB, free: 135.9 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.7996, allocations: 10.33 kB / 0.5035 GB, free: 135.9 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001151/0.7998, allocations: 94.5 kB / 0.5036 GB, free: 135.9 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003379/0.8032, allocations: 0.7956 MB / 0.5044 GB, free: 135.9 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004335/0.8077, allocations: 0.9701 MB / 0.5053 GB, free: 135.8 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007039/0.8148, allocations: 4.202 MB / 0.5095 GB, free: 134.4 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004899/0.8198, allocations: 188 kB / 0.5096 GB, free: 134.4 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009289/0.8209, allocations: 270.7 kB / 0.5099 GB, free: 134.4 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.8211, allocations: 79.16 kB / 0.51 GB, free: 134.3 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005317/0.8217, allocations: 209.9 kB / 0.5102 GB, free: 134.2 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006639/0.8284, allocations: 2.192 MB / 0.5123 GB, free: 134.1 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.97e-05/0.8286, allocations: 7.688 kB / 0.5123 GB, free: 134.1 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.8287, allocations: 9.969 kB / 0.5123 GB, free: 134.1 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.8287, allocations: 7.078 kB / 0.5123 GB, free: 134.1 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/0.8425, allocations: 5.109 MB / 0.5173 GB, free: 133.6 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/0.8426, allocations: 3.719 kB / 0.5173 GB, free: 133.6 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.8438, allocations: 152.8 kB / 0.5175 GB, free: 133.6 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002978/0.8469, allocations: 0.6207 MB / 0.5181 GB, free: 133.6 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002252/0.8472, allocations: 11.77 kB / 0.5181 GB, free: 133.6 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006501/0.8538, allocations: 3.683 MB / 0.5217 GB, free: 132.3 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/0.8539, allocations: 7.516 kB / 0.5217 GB, free: 132.3 MB / 395.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009826/0.8638, allocations: 4.4 MB / 0.526 GB, free: 130.9 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/0.8651, allocations: 439.2 kB / 0.5264 GB, free: 130.6 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005737/0.8657, allocations: 7.938 kB / 0.5264 GB, free: 130.6 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001938/0.8677, allocations: 43.53 kB / 0.5265 GB, free: 130.6 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002807/0.8681, allocations: 52.39 kB / 0.5265 GB, free: 130.6 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.8683, allocations: 47.98 kB / 0.5266 GB, free: 130.6 MB / 395.1 MB Notification: Performance of sort global known variables: time 0.002694/0.8711, allocations: 1.387 MB / 0.5279 GB, free: 130.1 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.004727/0.8759, allocations: 0.58 MB / 0.5285 GB, free: 130.1 MB / 395.1 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003331/0.8764, allocations: 133.5 kB / 0.5286 GB, free: 130 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.006171/0.8826, allocations: 3.414 MB / 0.5319 GB, free: 128.9 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.937e-06/0.8827, allocations: 0 / 0.5319 GB, free: 128.9 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0018/0.8846, allocations: 1.043 MB / 0.533 GB, free: 128.5 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.8862, allocations: 198.4 kB / 0.5331 GB, free: 128.4 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.8973, allocations: 4.68 MB / 0.5377 GB, free: 126.8 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004575/0.902, allocations: 2.459 MB / 0.5401 GB, free: 125.7 MB / 395.1 MB Notification: Performance of SimCode: time 2.375e-06/0.9021, allocations: 0 / 0.5401 GB, free: 125.7 MB / 395.1 MB Notification: Performance of Templates: time 0.0994/1.002, allocations: 23.74 MB / 0.5633 GB, free: 112.3 MB / 395.1 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