Simulation study of the inhomogeneous Olami-Feder-Christensen model of earthquakes