There seems to be an issue concerning attributes of CompiledSubDomain objects in Fenics 2018.1. I created a new post describing this general problem: