--- Application output -----------
valgrind: C++: command not found
Isn't it obvious that you have to install valgrind if the command is not found?
The previous post shows, that valgrind returns a version-number, so it seems to run.
It looks like it calls c++, which does not exist or is not in the path.
I don't see this behaviour on linux, even if I remove my c++-compiler, so this is only a guess.