By "complex" i mean a piece of music which contains many changes, in chords, in melody, in volume, in time signature, in mood, in style. the more changes and contrast, the more complex.
Imo, a complex piece of music can get heavier than a plain metal song. Examples: Opeth of course, but also...