It should raise NonElementaryIntegralException in this case.