The ufl version you reported appears to be incorrect. I think the problem is that you’re trying to using latest ufl with legacy dolfin. ufl is no longer compatible with legacy dolfin. To continue running legacy dolfin scripts, you should update any references from ufl
to ufl_legacy
instead. See Announcement: ufl_legacy and legacy dolfin
2 Likes