Build artefacts in build dir
Avoid deadlock in index exchange by more fine grained locking
Print model statistics