Unable to find delegate to evaluate the 'thinkTimeInClosedWorkloadNeedsToBeSpecified' constraint on 'edu.kit.ipd.descartes.mm.usageprofile.impl.ClosedWorkloadTypeImpl
When trying to run a Select Metrics query on my model, it fails with a Illegal State Exception. A little digging brought up that the problem happens when validating my usage profile model. This picture shows the state of the diagnostic when it fails:
https://www.dropbox.com/s/1q5bd1rc569zk0s/Screenshot4.PNG?dl=0
The full messages reads:
Unable to find delegate to evaluate the 'thinkTimeInClosedWorkloadNeedsToBeSpecified' constraint on 'edu.kit.ipd.descartes.mm.usageprofile.impl.ClosedWorkloadTypeImpl@2c7d7ccb{file:/C:/Users/Simon/git/dml-examples/MediaStore/default.usageprofile#//@usageScenarios.0/@workloadType}': http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot
and:
Unable to find delegate to evaluate the 'thinkTimeInClosedWorkloadNeedsToBeSpecified' constraint on 'edu.kit.ipd.descartes.mm.usageprofile.impl.ClosedWorkloadTypeImpl@2c7d7ccb{file:/C:/Users/Simon/git/dml-examples/MediaStore/default.usageprofile#//@usageScenarios.0/@workloadType}': http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot
After some googling it seems, that this message does not indicate that my model is wrong, but that it can't find the OCL delegate in the OCL registration:
https://wiki.eclipse.org/OCL/FAQ https://www.eclipse.org/forums/index.php/t/526868/
Is this indeed a bug, or is this a problem on my end?
This is a copy of my usage profile model:
https://www.dropbox.com/s/nxxsxwf977sjn27/default.usageprofile?dl=0