Prediction of the mechanical behavior of nonlinear heterogeneous systems by multi-level finite element modeling