CV_Error_(Error::StsBadArg,("Layer with name='%s' already exists id=%d (to be linked with %d:%d)",outputName.c_str(),checkLayerId,layerId,outputPort));
}
#if 0 // TODO
if (outputPort == 0)
// make alias only, need to adopt getUnconnectedOutLayers() call