Notification: Performance of loadModel(Modelica): time 1.583/1.583, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.013e-05/1.02e-05, allocations: 1.031 kB / 247.5 MB, free: 4.57 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06446/0.06455, allocations: 44.36 MB / 291.8 MB, free: 9.141 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2409/0.3055, allocations: 85.91 MB / 377.8 MB, free: 5.348 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.3059, allocations: 89.81 kB / 377.8 MB, free: 5.332 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2241/0.53, allocations: 55.76 MB / 433.6 MB, free: 0.6055 MB / 328.6 MB Notification: Performance of Transformations before backend: time 0.0001214/0.5303, allocations: 44 kB / 433.6 MB, free: 0.5625 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.008406/0.5387, allocations: 2.579 MB / 436.2 MB, free: 13.93 MB / 344.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.5389, allocations: 8.031 kB / 436.2 MB, free: 13.93 MB / 344.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/0.5505, allocations: 1.607 MB / 437.8 MB, free: 12.31 MB / 344.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/0.5618, allocations: 3.433 MB / 441.3 MB, free: 8.859 MB / 344.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.5621, allocations: 83.91 kB / 441.4 MB, free: 8.777 MB / 344.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001166/0.5633, allocations: 144 kB / 441.5 MB, free: 8.637 MB / 344.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008857/0.5722, allocations: 4.178 MB / 445.7 MB, free: 4.453 MB / 344.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01317/0.5855, allocations: 6.267 MB / 451.9 MB, free: 13.49 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001232/0.5857, allocations: 43.53 kB / 452 MB, free: 13.45 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009424/0.5867, allocations: 20 kB / 452 MB, free: 13.43 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001147/0.588, allocations: 0.7649 MB / 452.8 MB, free: 12.67 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03764/0.6257, allocations: 30.65 MB / 483.4 MB, free: 13.16 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/0.629, allocations: 2.169 MB / 485.6 MB, free: 10.84 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/0.6309, allocations: 1.158 MB / 486.7 MB, free: 9.676 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/0.6321, allocations: 367.4 kB / 487.1 MB, free: 9.266 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.6322, allocations: 46.88 kB / 487.1 MB, free: 9.211 MB / 392.6 MB Notification: Performance of pre-optimization done (n=106): time 7.193e-06/0.6322, allocations: 0 / 487.1 MB, free: 9.211 MB / 392.6 MB Notification: Performance of matching and sorting (n=114): time 0.1424/0.7747, allocations: 9.555 MB / 496.7 MB, free: 141.2 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.7748, allocations: 141 kB / 496.8 MB, free: 141 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003677/0.7785, allocations: 2.082 MB / 498.9 MB, free: 140.8 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002256/0.7789, allocations: 25.7 kB / 498.9 MB, free: 140.8 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.7802, allocations: 1.969 MB / 0.4892 GB, free: 140.1 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005205/0.7808, allocations: 456 kB / 0.4896 GB, free: 139.9 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003089/0.7811, allocations: 0 / 0.4896 GB, free: 139.9 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0003551/0.7815, allocations: 0.5368 MB / 0.4901 GB, free: 139.6 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002726/0.7843, allocations: 1.423 MB / 0.4915 GB, free: 139.6 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003825/0.7882, allocations: 4.089 MB / 0.4955 GB, free: 136.1 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005276/0.7936, allocations: 2.537 MB / 0.498 GB, free: 136.1 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.738e-05/0.7938, allocations: 29.88 kB / 0.498 GB, free: 136.1 MB / 392.6 MB Notification: Performance of matching and sorting (n=556) (initialization): time 0.01471/0.8085, allocations: 5.623 MB / 0.5035 GB, free: 135.7 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.8087, allocations: 9.656 kB / 0.5035 GB, free: 135.7 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001095/0.8088, allocations: 103.3 kB / 0.5036 GB, free: 135.7 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003175/0.8121, allocations: 0.7903 MB / 0.5044 GB, free: 135.7 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004283/0.8164, allocations: 0.967 MB / 0.5053 GB, free: 135.6 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007212/0.8237, allocations: 4.206 MB / 0.5094 GB, free: 134.3 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005026/0.8289, allocations: 179.5 kB / 0.5096 GB, free: 134.3 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008878/0.8299, allocations: 271.5 kB / 0.5099 GB, free: 134.3 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.8301, allocations: 75.28 kB / 0.5099 GB, free: 134.2 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005593/0.8307, allocations: 214.8 kB / 0.5102 GB, free: 134.1 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007046/0.8378, allocations: 2.189 MB / 0.5123 GB, free: 134 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.991e-05/0.838, allocations: 14.09 kB / 0.5123 GB, free: 134 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.8381, allocations: 5.438 kB / 0.5123 GB, free: 134 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/0.8381, allocations: 7.25 kB / 0.5123 GB, free: 134 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/0.8515, allocations: 5.105 MB / 0.5173 GB, free: 133.4 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.8516, allocations: 4.594 kB / 0.5173 GB, free: 133.4 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.8527, allocations: 153.8 kB / 0.5175 GB, free: 133.4 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00289/0.8557, allocations: 0.6294 MB / 0.5181 GB, free: 133.4 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002152/0.856, allocations: 9.219 kB / 0.5181 GB, free: 133.4 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006304/0.8624, allocations: 3.682 MB / 0.5217 GB, free: 131.8 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.219e-06/0.8625, allocations: 7.625 kB / 0.5217 GB, free: 131.8 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009953/0.8725, allocations: 4.391 MB / 0.526 GB, free: 130.1 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/0.8738, allocations: 446.7 kB / 0.5264 GB, free: 129.8 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004728/0.8743, allocations: 3.906 kB / 0.5264 GB, free: 129.8 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/0.8762, allocations: 47.7 kB / 0.5264 GB, free: 129.8 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/0.8765, allocations: 59.2 kB / 0.5265 GB, free: 129.8 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/0.8767, allocations: 30.69 kB / 0.5265 GB, free: 129.8 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002534/0.8793, allocations: 1.395 MB / 0.5279 GB, free: 129.3 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.004905/0.8843, allocations: 0.5813 MB / 0.5285 GB, free: 129.3 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000341/0.8847, allocations: 133.5 kB / 0.5286 GB, free: 129.2 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.006254/0.8911, allocations: 3.403 MB / 0.5319 GB, free: 128.1 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 5.937e-06/0.8912, allocations: 0 / 0.5319 GB, free: 128.1 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001769/0.893, allocations: 1.054 MB / 0.5329 GB, free: 127.7 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.8946, allocations: 192.8 kB / 0.5331 GB, free: 127.6 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.9058, allocations: 4.679 MB / 0.5377 GB, free: 125.9 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003458/0.9094, allocations: 2.466 MB / 0.5401 GB, free: 124 MB / 392.6 MB Notification: Performance of SimCode: time 2.235e-06/0.9095, allocations: 0 / 0.5401 GB, free: 124 MB / 392.6 MB Notification: Performance of Templates: time 0.09394/1.003, allocations: 23.73 MB / 0.5633 GB, free: 106.6 MB / 392.6 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