Pep Guardiola's tenure at Bayern Munich has been braded "a failure" by former striker Ivica Olic, after they exited the Champions League at the semi-final stage for a third successive season.