Problem with Arduino Mega 2560 and Sim900D modem kit

In my understanding, the arduino GSM library and the examples are NOT for the SIM900 module.

You might use this as library: http://www.instructables.com/id/Arduino-GSM-shield/

HTH,
Cabbi