Does your code actually compile? problem_routines calls Elasticity_ControlLoopPostLoop...