Cambridge Dictionary gives this definition about "complain"
to say that something is wrong or not satisfactory
and this definition about "complaint"
a statement that something is wrong or not satisfactory
I guess both of them means the same thing. However, Google Ngram shows that the former is much more commonly used that the latter
Are those two expressions interchangeable?