Hey!
Seems like there is bug in xschem (or ngspice) using sky130 pdk: If doing a noise simulation (.noise) within placed a nfet_01v8 in xschem and saving data in ngspice using write noiseSim.raw (for example), ngspice crashes and writes an error: "vector @m.xm1.msky130_fd_pr___nfet_01v8[ib] is not available or has zero length. free(): invalid pointer ...".
It seems that only nfet01v[id] has data and ngspice can't handle that. A temporary solution would be (for example) instead of write noiseSim.raw:
setplot noise1
write noiseSim.raw @m.xm1.msky130_fd_pr__nfet_01v8[id] @r1[i] inoise_spectrum onoise_spectrum
set appendwrite
setplot noise2
write noiseSim.raw @m.xm1.msky130_fd_pr__nfet_01v8[id] @r1[i] inoise_total onoise_total