There are some news and now I know why it doesn't work. ESI processor tries to fetch the URI in <esi:include src=""> like a regular request, but if there is a Smarty tag, ESI doesn't know what to do with Smarty tag. That means there is no way to use Smarty tags with ESI src attribute.
Instead...