People trying to get warm.
People are trying to warm up.
Trying to warm up means people are trying to get warm.
Warm up is a rephrase of trying to get warm.
People trying to get warm are trying to warm up.