I think you need to include the CMOS library on your simulation. Your path name and library name might be different to mine but the procedure is the same. The first picture is with the same error as you, the second is with the directive statement above the IC and now it works.
Adam