I'm so cheeky now and would give my answer here as a software developer to the error. ^^
In your error message you can see the Exception: InflateSkip: inflate returned buffer error was ejected.
You can read more about this here: (Frequently Asked Questions about zlib)
In addition I could see in the error message, which was not the newest compiler version of OpenMEEG used.
Maybe that is a reason too.
@Alexandre would it be better to install the latest OpenMEEG version form http://openmeeg.gforge.inria.fr/download/
that is the version 2.4.0 compiled at Jul 13 2018 16:05:27
and futher more i saw on GitHub the entry (error #-1073741819 · Issue #70 · openmeeg/openmeeg · GitHub).
where the are sugesting that you should not have beyond 10'000 Vertixes in Total. (you have 10'000*3)
So i would suggest degresing the vertices on the head mask and inner and outer skulls. Since these can trigger the inflate buffer error in my opinion if they are too big.