Unusual scenario of the temperature evolution of magnetic state in novel carbon-based nanomaterials