When I generate a pcell, it includes a marker error.
If I look up the explanation, it says:
location: ("testLib" "pcTest" "layout")reason: Generating Pcell for 'pcTest layout'.
Any idea what this means? If this is'nt enough, I can always post the PCell code.
My guess (I can't run your code because it is not complete) is that this is caused by the call to icsMatchedCrossQuadUnit() in your code. I'm guessing that this function also generates a pcell - and so it will output a message telling you that it is building a new pcell - and that output (because it's on stdout) will appear as a marker.
In general I really would not create a new pcell within a pcell evaluation. Fine to instantiate another pcell, but building it doesn't make so much sense to me. It's not obvious why you would want to do that, rather than creating the pcell up front (outside of the pcDefinePCell).