Persisting RuntimeMeasurementModel in PcmPartitionManager causes runtime error when trying to delete model resource
PcmPartitionManager currently persists the RuntimeMeasurement model during initialization once it was created. BUT: The RuntimeMeasurment model does only exist during simulation as in-memory model and thus should not be persisted. Instead it only contains temp. URIs
During cleanUp phase the PcmPartitionManager tries to delete the RuntimeMeasurement model resource. This causes a runtime error, because the model’s ‘temp’ URI can not be resolved.
Fix: PcmPartitionManager should only create the RuntimeMeasurement model and add it to the MonitorRepository. It should not additionally persist the according RuntimeMeasurement model’s resource.