[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlaplus] CostModel lookup failed

On 11.02.21 14:09, Isaac DeFrain wrote:
I've been encountering this message while checking models with temporal properties using the command-line version of TLC:

CostModel lookup failed for expression <line #, col # to line #, col # of module B>. Reporting costs into <line #, col # to line #, col # of module A> instead (Safety and Liveness checking is unaffected. Please report a bug.)

Note: I've substituted #'s for the reported line and col numbers.

Since I'm not sure what is meant by "CostModel lookup", I'm not sure what details are essential to report here. If it makes any difference, module A EXTENDS module B.

My questions:
   1. What is this CostModel lookup?
   2. Is this really a bug that I should report?
   3. Has anyone else encountered this message?

Hi Isaac,

please consider adding your spec and model to the relevant Github issue [1]. The warning is "mostly harmless", saying that coverage/profiling information will be off for the locations mentioned in the warning.

If you don't care about coverage/profiling [2], run TLC without the "-coverage" parameter.


[1] https://github.com/tlaplus/tlaplus/issues/415
[2] https://tla.msr-inria.inria.fr/tlatoolbox/doc/model/profiling.html

You received this message because you are subscribed to the Google Groups "tlaplus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+unsubscribe@xxxxxxxxxxxxxxxx.
To view this discussion on the web visit https://groups.google.com/d/msgid/tlaplus/a392de58-4547-04bc-8aef-faf9be8ce31a%40lemmster.de.