On the global linearization on nonhomogeneous bilinear systems