In this sentence, "it" is functioning as a dummy subject, so the correct option is 2: "it" is the subject, not referring to anything, functioning as a dummy subject.
The sentence is structured as a conditional sentence, where "it" is used as a placeholder subject to introduce the condition. The real subject of the sentence is "here" or "this place," which is the location being referred to in the sentence.
So, the meaning of the sentence can be paraphrased as "If I opened the window, this place would be too cold."