Without type information, I suppose we couldn't apply this quick fix:
diff --git a/OMCompiler/Compiler/Util/ClockIndexes.mo b/OMCompiler/Compiler/Util/ClockIndexes.mo
index 7e23cf950d..eeb158f35c 100644
--- a/OMCompiler/Compiler/Util/ClockIndexes.mo
+++ b/OMCompiler/Compiler/Util/ClockIndexes.mo
@@ -74,27 +74,27 @@ function toString
output String str;
algorithm
str := match clockIndex
- case RT_NO_CLOCK then "NON";
- case RT_CLOCK_SIMULATE_TOTAL then "STO";
- case RT_CLOCK_SIMULATE_SIMULATION then "SSI";
- case RT_CLOCK_BUILD_MODEL then "BLD";
- case RT_CLOCK_EXECSTAT then "EXS";
- case RT_CLOCK_FRONTEND then "FRT";
- case RT_CLOCK_BACKEND then "BCK";
- case RT_CLOCK_SIMCODE then "SCD";
- case RT_CLOCK_LINEARIZE then "LIN";
- case RT_CLOCK_TEMPLATES then "TMP";
- case RT_CLOCK_UNCERTAINTIES then "UNC";
- case RT_PROFILER0 then "PR0";
- case RT_PROFILER1 then "PR1";
- case RT_PROFILER2 then "PR2";
- case RT_CLOCK_EXECSTAT_JACOBIANS then "JAC";
- case RT_CLOCK_USER_RESERVED then "RES";
- case RT_CLOCK_EXECSTAT_HPCOM_MODULES then "HPC";
- case RT_CLOCK_SHOW_STATEMENT then "STM";
- case RT_CLOCK_FINST then "FIN";
- case RT_CLOCK_NEW_BACKEND_MODULE then "SIM";
- case RT_CLOCK_NEW_BACKEND_INITIALIZATION then "INI";
+ case _ then "NON";
+ case _ then "STO";
+ case _ then "SSI";
+ case _ then "BLD";
+ case _ then "EXS";
+ case _ then "FRT";
+ case _ then "BCK";
+ case _ then "SCD";
+ case _ then "LIN";
+ case _ then "TMP";
+ case _ then "UNC";
+ case _ then "PR0";
+ case _ then "PR1";
+ case _ then "PR2";
+ case _ then "JAC";
+ case _ then "RES";
+ case _ then "HPC";
+ case _ then "STM";
+ case _ then "FIN";
+ case _ then "SIM";
+ case _ then "INI";
else "ERR";
end match;
end toString;
Without type information, I suppose we couldn't apply this quick fix: