Bug Summary

File:OMCompiler/Compiler/boot/build/InstExtends.c
Warning:line 389, column 3
Value stored to '_outA' is never read

Annotated Source Code

[?] Use j/k keys for keyboard navigation

</
1#ifdef OMC_BASE_FILE
2 #define OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c" OMC_BASE_FILE
3#else
4 #define OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c" "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "InstExtends.h"
8#define _OMC_LIT0_data"failtrace" "failtrace"
9static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT0,9,_OMC_LIT0_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT0
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "failtrace"
}
;
10#define _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT0)((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3))
11#define _OMC_LIT1_data"Sets whether to print a failtrace or not." "Sets whether to print a failtrace or not."
12static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT1,41,_OMC_LIT1_data)struct { mmc_uint_t header; const char data[(41)+1]; } _OMC_LIT_STRUCT1
= { ((((mmc_uint_t)41)<<(3))+((1<<(3+3))+5)), "Sets whether to print a failtrace or not."
}
;
13#define _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT1)((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))
14static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT2,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT2
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))}};
15#define _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT2)((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))
16static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT3,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT3
= { (((5) << 10) + (((3) & 255) << 2)),
{&Flags_DebugFlag_DEBUG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),_OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))}};
17#define _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT3)((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3))
18#define _OMC_LIT4_data"InstExtends.fixModifications failed: " "InstExtends.fixModifications failed: "
19static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT4,37,_OMC_LIT4_data)struct { mmc_uint_t header; const char data[(37)+1]; } _OMC_LIT_STRUCT4
= { ((((mmc_uint_t)37)<<(3))+((1<<(3+3))+5)), "InstExtends.fixModifications failed: "
}
;
20#define _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT4)((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))
21static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT5,10,3)struct { mmc_uint_t header; const void *data[10]; } _OMC_LIT_STRUCT5
= { (((10) << 10) + (((3) & 255) << 2)),
{&SCodeDump_SCodeDumpOptions_OPTIONS__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
22#define _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT5)((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))
23static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT6,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT6
= { (((1) << 10) + (((3) & 255) << 2)),
{&SCode_Encapsulated_ENCAPSULATED__desc,}};
24#define _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT6)((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))
25#define _OMC_LIT7_data"InstExtends.lookupVarNoErrorMessage" "InstExtends.lookupVarNoErrorMessage"
26static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT7,35,_OMC_LIT7_data)struct { mmc_uint_t header; const char data[(35)+1]; } _OMC_LIT_STRUCT7
= { ((((mmc_uint_t)35)<<(3))+((1<<(3+3))+5)), "InstExtends.lookupVarNoErrorMessage"
}
;
27#define _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT7)((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))
28#define _OMC_LIT8_data"InstExtends.fixStatement failed: " "InstExtends.fixStatement failed: "
29static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT8,33,_OMC_LIT8_data)struct { mmc_uint_t header; const char data[(33)+1]; } _OMC_LIT_STRUCT8
= { ((((mmc_uint_t)33)<<(3))+((1<<(3+3))+5)), "InstExtends.fixStatement failed: "
}
;
30#define _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT8)((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))
31#define _OMC_LIT9_data"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo" "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
32static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT9,97,_OMC_LIT9_data)struct { mmc_uint_t header; const char data[(97)+1]; } _OMC_LIT_STRUCT9
= { ((((mmc_uint_t)97)<<(3))+((1<<(3+3))+5)), "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
}
;
33#define _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT9)((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))
34static const MMC_DEFREALLIT(_OMC_LIT_STRUCT10_6,1580577680.0)struct mmc_real_lit _OMC_LIT_STRUCT10_6 = {0,(((8/8) <<
10) + 9),1580577680.0}
;
35#define _OMC_LIT10_6((void*)((char*)(&(_OMC_LIT_STRUCT10_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT10_6)((void*)((char*)(&(_OMC_LIT_STRUCT10_6).header) + 3))
36static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT10,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT10
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1390))((void*)(((((mmc_uint_t) (1390)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(9))((void*)(((((mmc_uint_t) (9)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1391))((void*)(((((mmc_uint_t) (1391)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(94))((void*)(((((mmc_uint_t) (94)) << 1)+0))),_OMC_LIT10_6((void*)((char*)(&(_OMC_LIT_STRUCT10_6).header) + 3))}};
37#define _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT10)((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))
38#define _OMC_LIT11_data"- Inst.fixEquation failed: " "- Inst.fixEquation failed: "
39static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT11,27,_OMC_LIT11_data)struct { mmc_uint_t header; const char data[(27)+1]; } _OMC_LIT_STRUCT11
= { ((((mmc_uint_t)27)<<(3))+((1<<(3+3))+5)), "- Inst.fixEquation failed: "
}
;
40#define _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT11)((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))
41#define _OMC_LIT12_data"InstExtends.fixClassDef failed: " "InstExtends.fixClassDef failed: "
42static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT12,32,_OMC_LIT12_data)struct { mmc_uint_t header; const char data[(32)+1]; } _OMC_LIT_STRUCT12
= { ((((mmc_uint_t)32)<<(3))+((1<<(3+3))+5)), "InstExtends.fixClassDef failed: "
}
;
43#define _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT12)((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))
44static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT13,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT13
= { (((1) << 10) + (((4) & 255) << 2)),
{&SCode_Encapsulated_NOT__ENCAPSULATED__desc,}};
45#define _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT13)((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))
46#define _OMC_LIT14_data"InstExtends.fixElement failed: " "InstExtends.fixElement failed: "
47static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT14,31,_OMC_LIT14_data)struct { mmc_uint_t header; const char data[(31)+1]; } _OMC_LIT_STRUCT14
= { ((((mmc_uint_t)31)<<(3))+((1<<(3+3))+5)), "InstExtends.fixElement failed: "
}
;
48#define _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT14)((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))
49static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT15,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT15
= { (((1) << 10) + (((5) & 255) << 2)),
{&DAE_Mod_NOMOD__desc,}};
50#define _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT15)((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))
51#define _OMC_LIT16_data"- InstExtends.updateComponentsAndClassdefs2 failed on:\nenv = " "- InstExtends.updateComponentsAndClassdefs2 failed on:\nenv = "
52static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT16,61,_OMC_LIT16_data)struct { mmc_uint_t header; const char data[(61)+1]; } _OMC_LIT_STRUCT16
= { ((((mmc_uint_t)61)<<(3))+((1<<(3+3))+5)), "- InstExtends.updateComponentsAndClassdefs2 failed on:\nenv = "
}
;
53#define _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT16)((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))
54#define _OMC_LIT17_data"\nmod = " "\nmod = "
55static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT17,7,_OMC_LIT17_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT17
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "\nmod = "
}
;
56#define _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT17)((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))
57#define _OMC_LIT18_data"\ncmod = " "\ncmod = "
58static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT18,8,_OMC_LIT18_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT18
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "\ncmod = "
}
;
59#define _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT18)((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))
60#define _OMC_LIT19_data"\nbool = " "\nbool = "
61static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT19,8,_OMC_LIT19_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT19
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "\nbool = "
}
;
62#define _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT19)((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))
63#define _OMC_LIT20_data"true" "true"
64static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT20,4,_OMC_LIT20_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT20
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "true"
}
;
65#define _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT20)((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))
66#define _OMC_LIT21_data"false" "false"
67static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT21,5,_OMC_LIT21_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT21
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "false"
}
;
68#define _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT21)((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))
69#define _OMC_LIT22_data"\n" "\n"
70static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT22,1,_OMC_LIT22_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT22
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "\n"
}
;
71#define _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT22)((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))
72static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT23,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT23
= { (((1) << 10) + (((5) & 255) << 2)),
{&ErrorTypes_MessageType_TRANSLATION__desc,}};
73#define _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT23)((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))
74static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT24,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT24
= { (((1) << 10) + (((5) & 255) << 2)),
{&ErrorTypes_Severity_WARNING__desc,}};
75#define _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT24)((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))
76#define _OMC_LIT25_data"Ignoring external declaration of the extended class: %s." "Ignoring external declaration of the extended class: %s."
77static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT25,56,_OMC_LIT25_data)struct { mmc_uint_t header; const char data[(56)+1]; } _OMC_LIT_STRUCT25
= { ((((mmc_uint_t)56)<<(3))+((1<<(3+3))+5)), "Ignoring external declaration of the extended class: %s."
}
;
78#define _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT25)((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))
79static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT26,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT26
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))}};
80#define _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT26)((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))
81static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT27,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT27
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(160))((void*)(((((mmc_uint_t) (160)) << 1)+0))),_OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)),_OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)),_OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))}};
82#define _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT27)((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))
83#define _OMC_LIT28_data"" ""
84static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT28,0,_OMC_LIT28_data)struct { mmc_uint_t header; const char data[(0)+1]; } _OMC_LIT_STRUCT28
= { ((((mmc_uint_t)0)<<(3))+((1<<(3+3))+5)), "" }
;
85#define _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT28)((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))
86static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT29,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT29
= { (((1) << 10) + (((4) & 255) << 2)),
{&ErrorTypes_Severity_ERROR__desc,}};
87#define _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT29)((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3))
88#define _OMC_LIT30_data"The maximum recursion depth of was reached when instantiating a derived class. Current class %s in scope %s." "The maximum recursion depth of was reached when instantiating a derived class. Current class %s in scope %s."
89static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT30,108,_OMC_LIT30_data)struct { mmc_uint_t header; const char data[(108)+1]; } _OMC_LIT_STRUCT30
= { ((((mmc_uint_t)108)<<(3))+((1<<(3+3))+5)), "The maximum recursion depth of was reached when instantiating a derived class. Current class %s in scope %s."
}
;
90#define _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT30)((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))
91static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT31,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT31
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))}};
92#define _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT31)((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))
93static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT32,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT32
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(534))((void*)(((((mmc_uint_t) (534)) << 1)+0))),_OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)),_OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)),_OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))}};
94#define _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT32)((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))
95#define _OMC_LIT33_data"- Inst.instDerivedClasses failed\n" "- Inst.instDerivedClasses failed\n"
96static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT33,33,_OMC_LIT33_data)struct { mmc_uint_t header; const char data[(33)+1]; } _OMC_LIT_STRUCT33
= { ((((mmc_uint_t)33)<<(3))+((1<<(3+3))+5)), "- Inst.instDerivedClasses failed\n"
}
;
97#define _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT33)((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))
98#define _OMC_LIT34_data"." "."
99static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT34,1,_OMC_LIT34_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT34
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "."
}
;
100#define _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT34)((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))
101#define _OMC_LIT35_data"TODO: Make a proper Error message here - Inst.instClassExtendsList2 couldn't find the class to extend" "TODO: Make a proper Error message here - Inst.instClassExtendsList2 couldn't find the class to extend"
102static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT35,101,_OMC_LIT35_data)struct { mmc_uint_t header; const char data[(101)+1]; } _OMC_LIT_STRUCT35
= { ((((mmc_uint_t)101)<<(3))+((1<<(3+3))+5)), "TODO: Make a proper Error message here - Inst.instClassExtendsList2 couldn't find the class to extend"
}
;
103#define _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT35)((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3))
104#define _OMC_LIT36_data"$parent." "$parent."
105static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT36,8,_OMC_LIT36_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT36
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "$parent."
}
;
106#define _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT36)((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))
107#define _OMC_LIT37_data".$env." ".$env."
108static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT37,6,_OMC_LIT37_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT37
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), ".$env."
}
;
109#define _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT37)((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3))
110#define _OMC_LIT38_data"- Inst.instClassExtendsList failed " "- Inst.instClassExtendsList failed "
111static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT38,35,_OMC_LIT38_data)struct { mmc_uint_t header; const char data[(35)+1]; } _OMC_LIT_STRUCT38
= { ((((mmc_uint_t)35)<<(3))+((1<<(3+3))+5)), "- Inst.instClassExtendsList failed "
}
;
112#define _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT38)((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))
113#define _OMC_LIT39_data" Candidate classes: " " Candidate classes: "
114static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT39,21,_OMC_LIT39_data)struct { mmc_uint_t header; const char data[(21)+1]; } _OMC_LIT_STRUCT39
= { ((((mmc_uint_t)21)<<(3))+((1<<(3+3))+5)), " Candidate classes: "
}
;
115#define _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT39)((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))
116#define _OMC_LIT40_data"," ","
117static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT40,1,_OMC_LIT40_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT40
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), ","
}
;
118#define _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT40)((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))
119#define _OMC_LIT41_data"Duplicate elements:\n %s." "Duplicate elements:\n %s."
120static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT41,24,_OMC_LIT41_data)struct { mmc_uint_t header; const char data[(24)+1]; } _OMC_LIT_STRUCT41
= { ((((mmc_uint_t)24)<<(3))+((1<<(3+3))+5)), "Duplicate elements:\n %s."
}
;
121#define _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT41)((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))
122static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT42,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT42
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))}};
123#define _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT42)((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))
124static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT43,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT43
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(7025))((void*)(((((mmc_uint_t) (7025)) << 1)+0))),_OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)),_OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)),_OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))}};
125#define _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT43)((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))
126#define _OMC_LIT44_data"Base class %s not found in scope %s." "Base class %s not found in scope %s."
127static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT44,36,_OMC_LIT44_data)struct { mmc_uint_t header; const char data[(36)+1]; } _OMC_LIT_STRUCT44
= { ((((mmc_uint_t)36)<<(3))+((1<<(3+3))+5)), "Base class %s not found in scope %s."
}
;
128#define _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT44)((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))
129static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT45,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT45
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))}};
130#define _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT45)((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))
131static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT46,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT46
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(39))((void*)(((((mmc_uint_t) (39)) << 1)+0))),_OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)),_OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)),_OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))}};
132#define _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT46)((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))
133#define _OMC_LIT47_data"permissive" "permissive"
134static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT47,10,_OMC_LIT47_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT47
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "permissive"
}
;
135#define _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT47)((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))
136static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT48,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT48
= { (((1) << 10) + (((3) & 255) << 2)),
{&Flags_FlagVisibility_INTERNAL__desc,}};
137#define _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT48)((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))
138static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT49,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT49
= { (((2) << 10) + (((4) & 255) << 2)),
{&Flags_FlagData_BOOL__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
139#define _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT49)((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))
140#define _OMC_LIT50_data"Disables some error checks to allow erroneous models to compile." "Disables some error checks to allow erroneous models to compile."
141static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT50,64,_OMC_LIT50_data)struct { mmc_uint_t header; const char data[(64)+1]; } _OMC_LIT_STRUCT50
= { ((((mmc_uint_t)64)<<(3))+((1<<(3+3))+5)), "Disables some error checks to allow erroneous models to compile."
}
;
142#define _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT50)((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))
143static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT51,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT51
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))}};
144#define _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT51)((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))
145static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT52,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT52
= { (((8) << 10) + (((3) & 255) << 2)),
{&Flags_ConfigFlag_CONFIG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(87))((void*)(((((mmc_uint_t) (87)) << 1)+0))),_OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),_OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)),_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),_OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))}};
146#define _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT52)((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))
147#define _OMC_LIT53_data"- Inst.instExtendsList failed on:\n className: " "- Inst.instExtendsList failed on:\n className: "
148static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT53,46,_OMC_LIT53_data)struct { mmc_uint_t header; const char data[(46)+1]; } _OMC_LIT_STRUCT53
= { ((((mmc_uint_t)46)<<(3))+((1<<(3+3))+5)), "- Inst.instExtendsList failed on:\n className: "
}
;
149#define _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT53)((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))
150#define _OMC_LIT54_data"\n " "\n "
151static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT54,2,_OMC_LIT54_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT54
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "\n "
}
;
152#define _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT54)((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))
153#define _OMC_LIT55_data"env: " "env: "
154static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT55,11,_OMC_LIT55_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT55
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "env: "
}
;
155#define _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT55)((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))
156#define _OMC_LIT56_data"mods: " "mods: "
157static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT56,11,_OMC_LIT56_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT56
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "mods: "
}
;
158#define _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT56)((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3))
159#define _OMC_LIT57_data"elem: " "elem: "
160static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT57,11,_OMC_LIT57_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT57
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "elem: "
}
;
161#define _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT57)((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3))
162#include "util/modelica.h"
163
164#include "InstExtends_includes.h"
165
166
167/* default, do not make protected functions static */
168#if !defined(PROTECTED_FUNCTION_STATIC)
169#define PROTECTED_FUNCTION_STATIC
170#endif
171PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixTuple2(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _D_24in_tpl, modelica_metatype _tree, modelica_fnptr _fixA, modelica_fnptr _fixB);
172static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixTuple2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixTuple2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixTuple2omc_InstExtends_fixTuple2,0}};
173#define boxvar_InstExtends_fixTuple2((void*)((char*)(&(boxvar_lit_InstExtends_fixTuple2).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixTuple2)((void*)((char*)(&(boxvar_lit_InstExtends_fixTuple2).header
) + 3))
174PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixListTuple2(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inRest, modelica_metatype _tree, modelica_fnptr _fixA, modelica_fnptr _fixB);
175static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixListTuple2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixListTuple2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixListTuple2omc_InstExtends_fixListTuple2,0}};
176#define boxvar_InstExtends_fixListTuple2((void*)((char*)(&(boxvar_lit_InstExtends_fixListTuple2).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixListTuple2)((void*)((char*)(&(boxvar_lit_InstExtends_fixListTuple2).
header) + 3))
177PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixListList(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inA, modelica_metatype _tree, modelica_fnptr _fixA);
178static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixListList,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixListList
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixListListomc_InstExtends_fixListList,0}};
179#define boxvar_InstExtends_fixListList((void*)((char*)(&(boxvar_lit_InstExtends_fixListList).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixListList)((void*)((char*)(&(boxvar_lit_InstExtends_fixListList).header
) + 3))
180PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixList(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inA, modelica_metatype _tree, modelica_fnptr _fixA);
181static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixList,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixList
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixListomc_InstExtends_fixList,0}};
182#define boxvar_InstExtends_fixList((void*)((char*)(&(boxvar_lit_InstExtends_fixList).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixList)((void*)((char*)(&(boxvar_lit_InstExtends_fixList).header
) + 3))
183PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixOption(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inA, modelica_metatype _tree, modelica_fnptr _fixA);
184static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixOption,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixOption
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixOptionomc_InstExtends_fixOption,0}};
185#define boxvar_InstExtends_fixOption((void*)((char*)(&(boxvar_lit_InstExtends_fixOption).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixOption)((void*)((char*)(&(boxvar_lit_InstExtends_fixOption).header
) + 3))
186PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixExpTraverse(threadData_t *threadData, modelica_metatype _D_24in_exp, modelica_metatype _D_24in_tpl, modelica_metatype *out_tpl);
187static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixExpTraverse,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixExpTraverse
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixExpTraverseomc_InstExtends_fixExpTraverse,0}};
188#define boxvar_InstExtends_fixExpTraverse((void*)((char*)(&(boxvar_lit_InstExtends_fixExpTraverse)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixExpTraverse)((void*)((char*)(&(boxvar_lit_InstExtends_fixExpTraverse)
.header) + 3))
189PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixExp(threadData_t *threadData, modelica_metatype _cache, modelica_metatype _inEnv, modelica_metatype _inExp, modelica_metatype _tree);
190static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixExpomc_InstExtends_fixExp,0}};
191#define boxvar_InstExtends_fixExp((void*)((char*)(&(boxvar_lit_InstExtends_fixExp).header)
+ 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixExp)((void*)((char*)(&(boxvar_lit_InstExtends_fixExp).header)
+ 3))
192PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixSubMod(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _D_24in_subMod, modelica_metatype _tree);
193static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixSubMod,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixSubMod
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixSubModomc_InstExtends_fixSubMod,0}};
194#define boxvar_InstExtends_fixSubMod((void*)((char*)(&(boxvar_lit_InstExtends_fixSubMod).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixSubMod)((void*)((char*)(&(boxvar_lit_InstExtends_fixSubMod).header
) + 3))
195PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixModifications(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inMod, modelica_metatype _tree);
196static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixModifications,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixModifications
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixModificationsomc_InstExtends_fixModifications,0}};
197#define boxvar_InstExtends_fixModifications((void*)((char*)(&(boxvar_lit_InstExtends_fixModifications
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixModifications)((void*)((char*)(&(boxvar_lit_InstExtends_fixModifications
).header) + 3))
198PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixCref(threadData_t *threadData, modelica_metatype _cache, modelica_metatype _inEnv, modelica_metatype _inCref, modelica_metatype _tree);
199static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixCref,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixCref
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixCrefomc_InstExtends_fixCref,0}};
200#define boxvar_InstExtends_fixCref((void*)((char*)(&(boxvar_lit_InstExtends_fixCref).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixCref)((void*)((char*)(&(boxvar_lit_InstExtends_fixCref).header
) + 3))
201PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_lookupVarNoErrorMessage(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_string _ident, modelica_string *out_id);
202static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_lookupVarNoErrorMessage,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_lookupVarNoErrorMessage
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_lookupVarNoErrorMessageomc_InstExtends_lookupVarNoErrorMessage,0}};
203#define boxvar_InstExtends_lookupVarNoErrorMessage((void*)((char*)(&(boxvar_lit_InstExtends_lookupVarNoErrorMessage
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_lookupVarNoErrorMessage)((void*)((char*)(&(boxvar_lit_InstExtends_lookupVarNoErrorMessage
).header) + 3))
204PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixPath(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inPath, modelica_metatype _tree);
205static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixPath,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixPath
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixPathomc_InstExtends_fixPath,0}};
206#define boxvar_InstExtends_fixPath((void*)((char*)(&(boxvar_lit_InstExtends_fixPath).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixPath)((void*)((char*)(&(boxvar_lit_InstExtends_fixPath).header
) + 3))
207PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixTypeSpec(threadData_t *threadData, modelica_metatype _cache, modelica_metatype _inEnv, modelica_metatype _inTs, modelica_metatype _tree);
208static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixTypeSpec,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixTypeSpec
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixTypeSpecomc_InstExtends_fixTypeSpec,0}};
209#define boxvar_InstExtends_fixTypeSpec((void*)((char*)(&(boxvar_lit_InstExtends_fixTypeSpec).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixTypeSpec)((void*)((char*)(&(boxvar_lit_InstExtends_fixTypeSpec).header
) + 3))
210PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixSubscript(threadData_t *threadData, modelica_metatype _cache, modelica_metatype _inEnv, modelica_metatype _inSub, modelica_metatype _tree);
211static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixSubscript,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixSubscript
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixSubscriptomc_InstExtends_fixSubscript,0}};
212#define boxvar_InstExtends_fixSubscript((void*)((char*)(&(boxvar_lit_InstExtends_fixSubscript).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixSubscript)((void*)((char*)(&(boxvar_lit_InstExtends_fixSubscript).header
) + 3))
213PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixArrayDim(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _D_24in_ads, modelica_metatype _tree);
214static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixArrayDim,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixArrayDim
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixArrayDimomc_InstExtends_fixArrayDim,0}};
215#define boxvar_InstExtends_fixArrayDim((void*)((char*)(&(boxvar_lit_InstExtends_fixArrayDim).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixArrayDim)((void*)((char*)(&(boxvar_lit_InstExtends_fixArrayDim).header
) + 3))
216PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixStatement(threadData_t *threadData, modelica_metatype _cache, modelica_metatype _inEnv, modelica_metatype _inStmt, modelica_metatype _tree);
217static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixStatement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixStatement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixStatementomc_InstExtends_fixStatement,0}};
218#define boxvar_InstExtends_fixStatement((void*)((char*)(&(boxvar_lit_InstExtends_fixStatement).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixStatement)((void*)((char*)(&(boxvar_lit_InstExtends_fixStatement).header
) + 3))
219PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixListAlgorithmItem(threadData_t *threadData, modelica_metatype _cache, modelica_metatype _env, modelica_metatype _alg, modelica_metatype _tree);
220static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixListAlgorithmItem,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixListAlgorithmItem
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixListAlgorithmItemomc_InstExtends_fixListAlgorithmItem,0}};
221#define boxvar_InstExtends_fixListAlgorithmItem((void*)((char*)(&(boxvar_lit_InstExtends_fixListAlgorithmItem
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixListAlgorithmItem)((void*)((char*)(&(boxvar_lit_InstExtends_fixListAlgorithmItem
).header) + 3))
222PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixConstraint(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inConstrs, modelica_metatype _tree);
223static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixConstraint,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixConstraint
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixConstraintomc_InstExtends_fixConstraint,0}};
224#define boxvar_InstExtends_fixConstraint((void*)((char*)(&(boxvar_lit_InstExtends_fixConstraint).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixConstraint)((void*)((char*)(&(boxvar_lit_InstExtends_fixConstraint).
header) + 3))
225PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixAlgorithm(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inAlg, modelica_metatype _tree);
226static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixAlgorithm,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixAlgorithm
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixAlgorithmomc_InstExtends_fixAlgorithm,0}};
227#define boxvar_InstExtends_fixAlgorithm((void*)((char*)(&(boxvar_lit_InstExtends_fixAlgorithm).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixAlgorithm)((void*)((char*)(&(boxvar_lit_InstExtends_fixAlgorithm).header
) + 3))
228PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixListEEquation(threadData_t *threadData, modelica_metatype _cache, modelica_metatype _env, modelica_metatype _eeq, modelica_metatype _tree);
229static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixListEEquation,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixListEEquation
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixListEEquationomc_InstExtends_fixListEEquation,0}};
230#define boxvar_InstExtends_fixListEEquation((void*)((char*)(&(boxvar_lit_InstExtends_fixListEEquation
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixListEEquation)((void*)((char*)(&(boxvar_lit_InstExtends_fixListEEquation
).header) + 3))
231PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixEEquation(threadData_t *threadData, modelica_metatype _cache, modelica_metatype _inEnv, modelica_metatype _inEeq, modelica_metatype _tree);
232static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixEEquation,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixEEquation
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixEEquationomc_InstExtends_fixEEquation,0}};
233#define boxvar_InstExtends_fixEEquation((void*)((char*)(&(boxvar_lit_InstExtends_fixEEquation).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixEEquation)((void*)((char*)(&(boxvar_lit_InstExtends_fixEEquation).header
) + 3))
234PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixEquation(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inEq, modelica_metatype _tree);
235static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixEquation,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixEquation
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixEquationomc_InstExtends_fixEquation,0}};
236#define boxvar_InstExtends_fixEquation((void*)((char*)(&(boxvar_lit_InstExtends_fixEquation).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixEquation)((void*)((char*)(&(boxvar_lit_InstExtends_fixEquation).header
) + 3))
237PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixClassdef(threadData_t *threadData, modelica_metatype _cache, modelica_metatype _inEnv, modelica_metatype _inCd, modelica_metatype _inTree);
238static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixClassdef,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixClassdef
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixClassdefomc_InstExtends_fixClassdef,0}};
239#define boxvar_InstExtends_fixClassdef((void*)((char*)(&(boxvar_lit_InstExtends_fixClassdef).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixClassdef)((void*)((char*)(&(boxvar_lit_InstExtends_fixClassdef).header
) + 3))
240PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixElement(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inElt, modelica_metatype _tree);
241static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixElement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixElement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixElementomc_InstExtends_fixElement,0}};
242#define boxvar_InstExtends_fixElement((void*)((char*)(&(boxvar_lit_InstExtends_fixElement).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixElement)((void*)((char*)(&(boxvar_lit_InstExtends_fixElement).header
) + 3))
243PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixLocalIdent(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _D_24in_elt, modelica_metatype _tree);
244static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_fixLocalIdent,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_fixLocalIdent
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_fixLocalIdentomc_InstExtends_fixLocalIdent,0}};
245#define boxvar_InstExtends_fixLocalIdent((void*)((char*)(&(boxvar_lit_InstExtends_fixLocalIdent).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_fixLocalIdent)((void*)((char*)(&(boxvar_lit_InstExtends_fixLocalIdent).
header) + 3))
246PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_getLocalIdentElement(threadData_t *threadData, modelica_metatype _elt, modelica_metatype _D_24in_tree);
247static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_getLocalIdentElement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_getLocalIdentElement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_getLocalIdentElementomc_InstExtends_getLocalIdentElement,0}};
248#define boxvar_InstExtends_getLocalIdentElement((void*)((char*)(&(boxvar_lit_InstExtends_getLocalIdentElement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_getLocalIdentElement)((void*)((char*)(&(boxvar_lit_InstExtends_getLocalIdentElement
).header) + 3))
249PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_getLocalIdentElementTpl(threadData_t *threadData, modelica_metatype _eltTpl, modelica_metatype _D_24in_tree);
250static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_getLocalIdentElementTpl,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_getLocalIdentElementTpl
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_getLocalIdentElementTplomc_InstExtends_getLocalIdentElementTpl,0}};
251#define boxvar_InstExtends_getLocalIdentElementTpl((void*)((char*)(&(boxvar_lit_InstExtends_getLocalIdentElementTpl
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_getLocalIdentElementTpl)((void*)((char*)(&(boxvar_lit_InstExtends_getLocalIdentElementTpl
).header) + 3))
252PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_getLocalIdentList(threadData_t *threadData, modelica_metatype _ielts, modelica_metatype _D_24in_tree, modelica_fnptr _getIdent);
253static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_getLocalIdentList,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_getLocalIdentList
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_getLocalIdentListomc_InstExtends_getLocalIdentList,0}};
254#define boxvar_InstExtends_getLocalIdentList((void*)((char*)(&(boxvar_lit_InstExtends_getLocalIdentList
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_getLocalIdentList)((void*)((char*)(&(boxvar_lit_InstExtends_getLocalIdentList
).header) + 3))
255PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_updateComponentsAndClassdefs2(threadData_t *threadData, modelica_metatype _inComponent, modelica_metatype _inEnv, modelica_metatype _inMod, modelica_metatype *out_outRestMod);
256static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_updateComponentsAndClassdefs2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_updateComponentsAndClassdefs2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_updateComponentsAndClassdefs2omc_InstExtends_updateComponentsAndClassdefs2,0}};
257#define boxvar_InstExtends_updateComponentsAndClassdefs2((void*)((char*)(&(boxvar_lit_InstExtends_updateComponentsAndClassdefs2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_updateComponentsAndClassdefs2)((void*)((char*)(&(boxvar_lit_InstExtends_updateComponentsAndClassdefs2
).header) + 3))
258PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_updateComponentsAndClassdefs(threadData_t *threadData, modelica_metatype _inComponents, modelica_metatype _inMod, modelica_metatype _inEnv, modelica_metatype *out_outRestMod);
259static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_updateComponentsAndClassdefs,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_updateComponentsAndClassdefs
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_updateComponentsAndClassdefsomc_InstExtends_updateComponentsAndClassdefs,0}};
260#define boxvar_InstExtends_updateComponentsAndClassdefs((void*)((char*)(&(boxvar_lit_InstExtends_updateComponentsAndClassdefs
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_updateComponentsAndClassdefs)((void*)((char*)(&(boxvar_lit_InstExtends_updateComponentsAndClassdefs
).header) + 3))
261PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_noImportElements(threadData_t *threadData, modelica_metatype _inElements);
262static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_noImportElements,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_noImportElements
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_noImportElementsomc_InstExtends_noImportElements,0}};
263#define boxvar_InstExtends_noImportElements((void*)((char*)(&(boxvar_lit_InstExtends_noImportElements
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_noImportElements)((void*)((char*)(&(boxvar_lit_InstExtends_noImportElements
).header) + 3))
264PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_instDerivedClassesWork(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inClass, modelica_boolean _inBoolean, modelica_metatype _inInfo, modelica_boolean _overflow, modelica_integer _numIter, modelica_metatype *out_outEnv1, modelica_metatype *out_outIH, modelica_metatype *out_outSCodeElementLst2, modelica_metatype *out_outSCodeEquationLst3, modelica_metatype *out_outSCodeEquationLst4, modelica_metatype *out_outSCodeAlgorithmLst5, modelica_metatype *out_outSCodeAlgorithmLst6, modelica_metatype *out_outMod, modelica_metatype *out_outComments);
265PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstExtends_instDerivedClassesWork(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inClass, modelica_metatype _inBoolean, modelica_metatype _inInfo, modelica_metatype _overflow, modelica_metatype _numIter, modelica_metatype *out_outEnv1, modelica_metatype *out_outIH, modelica_metatype *out_outSCodeElementLst2, modelica_metatype *out_outSCodeEquationLst3, modelica_metatype *out_outSCodeEquationLst4, modelica_metatype *out_outSCodeAlgorithmLst5, modelica_metatype *out_outSCodeAlgorithmLst6, modelica_metatype *out_outMod, modelica_metatype *out_outComments);
266static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_instDerivedClassesWork,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_instDerivedClassesWork
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_instDerivedClassesWork,0}};
267#define boxvar_InstExtends_instDerivedClassesWork((void*)((char*)(&(boxvar_lit_InstExtends_instDerivedClassesWork
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_instDerivedClassesWork)((void*)((char*)(&(boxvar_lit_InstExtends_instDerivedClassesWork
).header) + 3))
268PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_instClassExtendsList2(threadData_t *threadData, modelica_metatype _inEnv, modelica_metatype _inMod, modelica_string _inName, modelica_metatype _inClassExtendsElt, modelica_metatype _inElements, modelica_metatype *out_outElements);
269static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_instClassExtendsList2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_instClassExtendsList2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_instClassExtendsList2omc_InstExtends_instClassExtendsList2,0}};
270#define boxvar_InstExtends_instClassExtendsList2((void*)((char*)(&(boxvar_lit_InstExtends_instClassExtendsList2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_instClassExtendsList2)((void*)((char*)(&(boxvar_lit_InstExtends_instClassExtendsList2
).header) + 3))
271PROTECTED_FUNCTION_STATIC modelica_string omc_InstExtends_buildClassExtendsName(threadData_t *threadData, modelica_string _inEnvPath, modelica_string _inClassName);
272static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_buildClassExtendsName,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_buildClassExtendsName
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_buildClassExtendsNameomc_InstExtends_buildClassExtendsName,0}};
273#define boxvar_InstExtends_buildClassExtendsName((void*)((char*)(&(boxvar_lit_InstExtends_buildClassExtendsName
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_buildClassExtendsName)((void*)((char*)(&(boxvar_lit_InstExtends_buildClassExtendsName
).header) + 3))
274PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_instClassExtendsList(threadData_t *threadData, modelica_metatype _inEnv, modelica_metatype _inMod, modelica_metatype _inClassExtendsList, modelica_metatype _inElements, modelica_metatype *out_outElements);
275static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_instClassExtendsList,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_instClassExtendsList
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_instClassExtendsListomc_InstExtends_instClassExtendsList,0}};
276#define boxvar_InstExtends_instClassExtendsList((void*)((char*)(&(boxvar_lit_InstExtends_instClassExtendsList
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_instClassExtendsList)((void*)((char*)(&(boxvar_lit_InstExtends_instClassExtendsList
).header) + 3))
277PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_instExtendsAndClassExtendsList2(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inExtendsElementLst, modelica_metatype _inClassExtendsElementLst, modelica_metatype _inElementsFromExtendsScope, modelica_metatype _inState, modelica_string _inClassName, modelica_boolean _inImpl, modelica_boolean _isPartialInst, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outMod, modelica_metatype *out_outElements, modelica_metatype *out_outNormalEqs, modelica_metatype *out_outInitialEqs, modelica_metatype *out_outNormalAlgs, modelica_metatype *out_outInitialAlgs, modelica_metatype *out_comments);
278PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstExtends_instExtendsAndClassExtendsList2(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inExtendsElementLst, modelica_metatype _inClassExtendsElementLst, modelica_metatype _inElementsFromExtendsScope, modelica_metatype _inState, modelica_metatype _inClassName, modelica_metatype _inImpl, modelica_metatype _isPartialInst, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outMod, modelica_metatype *out_outElements, modelica_metatype *out_outNormalEqs, modelica_metatype *out_outInitialEqs, modelica_metatype *out_outNormalAlgs, modelica_metatype *out_outInitialAlgs, modelica_metatype *out_comments);
279static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_instExtendsAndClassExtendsList2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_instExtendsAndClassExtendsList2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_instExtendsAndClassExtendsList2,0}};
280#define boxvar_InstExtends_instExtendsAndClassExtendsList2((void*)((char*)(&(boxvar_lit_InstExtends_instExtendsAndClassExtendsList2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_instExtendsAndClassExtendsList2)((void*)((char*)(&(boxvar_lit_InstExtends_instExtendsAndClassExtendsList2
).header) + 3))
281PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_updateElementListVisibility(threadData_t *threadData, modelica_metatype _inElements, modelica_metatype _inVisibility);
282static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_updateElementListVisibility,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_updateElementListVisibility
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_updateElementListVisibilityomc_InstExtends_updateElementListVisibility,0}};
283#define boxvar_InstExtends_updateElementListVisibility((void*)((char*)(&(boxvar_lit_InstExtends_updateElementListVisibility
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_updateElementListVisibility)((void*)((char*)(&(boxvar_lit_InstExtends_updateElementListVisibility
).header) + 3))
284PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_lookupBaseClass(threadData_t *threadData, modelica_metatype _inPath, modelica_boolean _inSelfReference, modelica_string _inClassName, modelica_metatype _inEnv, modelica_metatype _inCache, modelica_metatype *out_outElement, modelica_metatype *out_outEnv);
285PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstExtends_lookupBaseClass(threadData_t *threadData, modelica_metatype _inPath, modelica_metatype _inSelfReference, modelica_metatype _inClassName, modelica_metatype _inEnv, modelica_metatype _inCache, modelica_metatype *out_outElement, modelica_metatype *out_outEnv);
286static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_lookupBaseClass,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_lookupBaseClass
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_lookupBaseClass,0}};
287#define boxvar_InstExtends_lookupBaseClass((void*)((char*)(&(boxvar_lit_InstExtends_lookupBaseClass
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_lookupBaseClass)((void*)((char*)(&(boxvar_lit_InstExtends_lookupBaseClass
).header) + 3))
288PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_instExtendsList(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inLocalElements, modelica_metatype _inElementsFromExtendsScope, modelica_metatype _inState, modelica_string _inClassName, modelica_boolean _inImpl, modelica_boolean _inPartialInst, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outMod, modelica_metatype *out_outElements, modelica_metatype *out_outNormalEqs, modelica_metatype *out_outInitialEqs, modelica_metatype *out_outNormalAlgs, modelica_metatype *out_outInitialAlgs, modelica_metatype *out_outComments);
289PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstExtends_instExtendsList(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inLocalElements, modelica_metatype _inElementsFromExtendsScope, modelica_metatype _inState, modelica_metatype _inClassName, modelica_metatype _inImpl, modelica_metatype _inPartialInst, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outMod, modelica_metatype *out_outElements, modelica_metatype *out_outNormalEqs, modelica_metatype *out_outInitialEqs, modelica_metatype *out_outNormalAlgs, modelica_metatype *out_outInitialAlgs, modelica_metatype *out_outComments);
290static const MMC_DEFSTRUCTLIT(boxvar_lit_InstExtends_instExtendsList,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstExtends_instExtendsList
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstExtends_instExtendsList,0}};
291#define boxvar_InstExtends_instExtendsList((void*)((char*)(&(boxvar_lit_InstExtends_instExtendsList
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstExtends_instExtendsList)((void*)((char*)(&(boxvar_lit_InstExtends_instExtendsList
).header) + 3))
292
293PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixTuple2(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _D_24in_tpl, modelica_metatype _tree, modelica_fnptr _fixA, modelica_fnptr _fixB)
294{
295 modelica_metatype _tpl = NULL((void*)0);
296 modelica_metatype _a1 = NULL((void*)0);
297 modelica_metatype _a2 = NULL((void*)0);
298 modelica_metatype _b1 = NULL((void*)0);
299 modelica_metatype _b2 = NULL((void*)0);
300 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
301 MMC_SO()mmc_check_stackoverflow(threadData);
302 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
303 _tpl = _D_24in_tpl;
304 // _a1 has no default value.
305 // _a2 has no default value.
306 // _b1 has no default value.
307 // _b2 has no default value.
308#line 1876 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
309 /* Pattern-matching assignment */
310#line 1876 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
311 tmpMeta[0] = _tpl;
312#line 1876 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
313 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
314#line 1876 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
315 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
316#line 1876 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
317 _a1 = tmpMeta[1];
318#line 1876 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
319 _b1 = tmpMeta[2];
320#line 320 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
321
322#line 1877 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
323 _a2 = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fixA), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_fixA) - 3))) +
(2)))))
) ? ((modelica_metatype(*)(threadData_t*, modelica_metatype, modelica_metatype, modelica_metatype, modelica_metatype, modelica_metatype)) (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fixA), 1))(*(void**)(((void*)((void**)(((void*)((char*)(_fixA) - 3))) +
(1)))))
)) (threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fixA), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_fixA) - 3))) +
(2)))))
), _inCache, _inEnv, _a1, _tree) : ((modelica_metatype(*)(threadData_t*, modelica_metatype, modelica_metatype, modelica_metatype, modelica_metatype)) (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fixA), 1))(*(void**)(((void*)((void**)(((void*)((char*)(_fixA) - 3))) +
(1)))))
)) (threadData, _inCache, _inEnv, _a1, _tree);
324#line 324 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
325
326#line 1878 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
327 _b2 = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fixB), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_fixB) - 3))) +
(2)))))
) ? ((modelica_metatype(*)(threadData_t*, modelica_metatype, modelica_metatype, modelica_metatype, modelica_metatype, modelica_metatype)) (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fixB), 1))(*(void**)(((void*)((void**)(((void*)((char*)(_fixB) - 3))) +
(1)))))
)) (threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fixB), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_fixB) - 3))) +
(2)))))
), _inCache, _inEnv, _b1, _tree) : ((modelica_metatype(*)(threadData_t*, modelica_metatype, modelica_metatype, modelica_metatype, modelica_metatype)) (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fixB), 1))(*(void**)(((void*)((void**)(((void*)((char*)(_fixB) - 3))) +
(1)))))
)) (threadData, _inCache, _inEnv, _b1, _tree);
328#line 328 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
329
330#line 1879 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
331 if((!(referenceEq(_a1, _a2)((_a1) == (_a2)) && referenceEq(_b1, _b2)((_b1) == (_b2)))))
332#line 1879 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
333 {
334#line 1880 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
335 tmpMeta[0] = mmc_mk_box2(0, _a2, _b2);
336#line 1880 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
337 _tpl = tmpMeta[0];
338#line 338 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
339 }
340 _return: OMC_LABEL_UNUSED__attribute__((unused))
341 return _tpl;
342}
343
344static modelica_metatype closure0_InstExtends_fixTuple2(threadData_t *thData, modelica_metatype closure, modelica_metatype inCache, modelica_metatype inEnv, modelica_metatype $in_tpl, modelica_metatype tree)
345{
346 modelica_fnptr fixA = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
347 modelica_fnptr fixB = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),2))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (2)))))
;
348 return boxptr_InstExtends_fixTuple2omc_InstExtends_fixTuple2(thData, inCache, inEnv, $in_tpl, tree, fixA, fixB);
349}
350PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixListTuple2(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inRest, modelica_metatype _tree, modelica_fnptr _fixA, modelica_fnptr _fixB)
351{
352 modelica_metatype _outA = NULL((void*)0);
353 modelica_metatype _a1 = NULL((void*)0);
354 modelica_metatype _a2 = NULL((void*)0);
355 modelica_metatype _b1 = NULL((void*)0);
356 modelica_metatype _b2 = NULL((void*)0);
357 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
358 MMC_SO()mmc_check_stackoverflow(threadData);
359 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
360 // _outA has no default value.
361 // _a1 has no default value.
362 // _a2 has no default value.
363 // _b1 has no default value.
364 // _b2 has no default value.
365#line 1846 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
366 tmpMeta[0] = mmc_mk_box2(0, ((modelica_fnptr) _fixA), ((modelica_fnptr) _fixB));
367#line 1846 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
368 _outA = omc_InstExtends_fixList(threadData, _inCache, _inEnv, _inRest, _tree, (modelica_fnptr) mmc_mk_box2(0,closure0_InstExtends_fixTuple2,tmpMeta[0]));
369#line 369 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
370 _return: OMC_LABEL_UNUSED__attribute__((unused))
371 return _outA;
372}
373
374static modelica_metatype closure1_InstExtends_fixList(threadData_t *thData, modelica_metatype closure, modelica_metatype inA)
375{
376 modelica_metatype inCache = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
377 modelica_metatype inEnv = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),2))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (2)))))
;
378 modelica_metatype tree = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),3))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (3)))))
;
379 modelica_fnptr fixA = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),4))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (4)))))
;
380 return boxptr_InstExtends_fixListomc_InstExtends_fixList(thData, inCache, inEnv, inA, tree, fixA);
381}
382PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixListList(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inA, modelica_metatype _tree, modelica_fnptr _fixA)
383{
384 modelica_metatype _outA = NULL((void*)0);
385 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
386 MMC_SO()mmc_check_stackoverflow(threadData);
387 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
388 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
389 _outA = tmpMeta[0];
Value stored to '_outA' is never read
390#line 1810 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
391 if(listEmpty(_inA)((*(mmc_uint_t*)((void*)((char*)(_inA) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
)
392#line 1810 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
393 {
394#line 1811 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
395 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
396#line 1811 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
397 _outA = tmpMeta[1];
398#line 398 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
399
400#line 1812 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
401 goto _return;
402#line 402 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
403 }
404
405#line 1815 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
406 tmpMeta[1] = mmc_mk_box4(0, _inCache, _inEnv, _tree, ((modelica_fnptr) _fixA));
407#line 1815 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
408 _outA = omc_List_mapCheckReferenceEq(threadData, _inA, (modelica_fnptr) mmc_mk_box2(0,closure1_InstExtends_fixList,tmpMeta[1]));
409#line 409 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
410 _return: OMC_LABEL_UNUSED__attribute__((unused))
411 return _outA;
412}
413
414static modelica_metatype closure2_fixA(threadData_t *thData, modelica_metatype closure, modelica_metatype inA)
415{
416 modelica_metatype inCache = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
417 modelica_metatype inEnv = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),2))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (2)))))
;
418 modelica_metatype tree = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),3))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (3)))))
;
419 modelica_fnptr _fixA = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),4))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (4)))))
;
420 if (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fixA),2))(*(void**)(((void*)((void**)(((void*)((char*)(_fixA) - 3))) +
(2)))))
) {
421 return ((modelica_metatype(*)(threadData_t*, modelica_metatype, modelica_metatype, modelica_metatype, modelica_metatype, modelica_metatype)) (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fixA), 1))(*(void**)(((void*)((void**)(((void*)((char*)(_fixA) - 3))) +
(1)))))
)) (thData, MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fixA),2))(*(void**)(((void*)((void**)(((void*)((char*)(_fixA) - 3))) +
(2)))))
, inCache, inEnv, inA, tree);
422 } else { /* No closure in the called variable */
423 return ((modelica_metatype(*)(threadData_t*, modelica_metatype, modelica_metatype, modelica_metatype, modelica_metatype)) (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fixA), 1))(*(void**)(((void*)((void**)(((void*)((char*)(_fixA) - 3))) +
(1)))))
)) (thData, inCache, inEnv, inA, tree);
424 }
425}
426PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixList(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inA, modelica_metatype _tree, modelica_fnptr _fixA)
427{
428 modelica_metatype _outA = NULL((void*)0);
429 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
430 MMC_SO()mmc_check_stackoverflow(threadData);
431 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
432 // _outA has no default value.
433#line 1786 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
434 if(listEmpty(_inA)((*(mmc_uint_t*)((void*)((char*)(_inA) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
)
435#line 1786 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
436 {
437#line 1787 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
438 _outA = _inA;
439#line 439 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
440
441#line 1788 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
442 goto _return;
443#line 443 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
444 }
445
446#line 1790 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
447 tmpMeta[0] = mmc_mk_box4(0, _inCache, _inEnv, _tree, _fixA);
448#line 1790 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
449 _outA = omc_List_mapCheckReferenceEq(threadData, _inA, (modelica_fnptr) mmc_mk_box2(0,closure2_fixA,tmpMeta[0]));
450#line 450 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
451 _return: OMC_LABEL_UNUSED__attribute__((unused))
452 return _outA;
453}
454
455PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixOption(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inA, modelica_metatype _tree, modelica_fnptr _fixA)
456{
457 modelica_metatype _outA = NULL((void*)0);
458 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
459 MMC_SO()mmc_check_stackoverflow(threadData);
460 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
461 // _outA has no default value.
462#line 462 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
463 { /* match expression */
464 modelica_metatype tmp3_1;
465 tmp3_1 = _inA;
466 {
467 modelica_metatype _A1 = NULL((void*)0);
468 modelica_metatype _A2 = NULL((void*)0);
469 volatile mmc_switch_type tmp3;
470 int tmp4;
471 // _A1 has no default value.
472 // _A2 has no default value.
473 tmp3 = 0;
474 for (; tmp3 < 2; tmp3++) {
475 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
476 case 0: {
477 if (!optionNone(tmp3_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
478 /* Pattern matching succeeded */
479#line 1761 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
480 tmpMeta[0] = _inA;
481#line 481 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
482 goto tmp2_done;
483 }
484 case 1: {
485 if (optionNone(tmp3_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
486 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
487 _A1 = tmpMeta[1];
488 /* Pattern matching succeeded */
489#line 1764 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
490 _A2 = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fixA), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_fixA) - 3))) +
(2)))))
) ? ((modelica_metatype(*)(threadData_t*, modelica_metatype, modelica_metatype, modelica_metatype, modelica_metatype, modelica_metatype)) (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fixA), 1))(*(void**)(((void*)((void**)(((void*)((char*)(_fixA) - 3))) +
(1)))))
)) (threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fixA), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_fixA) - 3))) +
(2)))))
), _inCache, _inEnv, _A1, _tree) : ((modelica_metatype(*)(threadData_t*, modelica_metatype, modelica_metatype, modelica_metatype, modelica_metatype)) (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fixA), 1))(*(void**)(((void*)((void**)(((void*)((char*)(_fixA) - 3))) +
(1)))))
)) (threadData, _inCache, _inEnv, _A1, _tree);
491#line 491 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
492#line 1765 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
493 tmpMeta[0] = (referenceEq(_A1, _A2)((_A1) == (_A2))?_inA:mmc_mk_some(_A2));
494#line 494 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
495 goto tmp2_done;
496 }
497 }
498 goto tmp2_end;
499 tmp2_end: ;
500 }
501 goto goto_1;
502 goto_1:;
503 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
504 goto tmp2_done;
505 tmp2_done:;
506 }
507 }
508 _outA = tmpMeta[0];
509 _return: OMC_LABEL_UNUSED__attribute__((unused))
510 return _outA;
511}
512
513PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixExpTraverse(threadData_t *threadData, modelica_metatype _D_24in_exp, modelica_metatype _D_24in_tpl, modelica_metatype *out_tpl)
514{
515 modelica_metatype _exp = NULL((void*)0);
516 modelica_metatype _tpl = NULL((void*)0);
517 modelica_metatype _inExp = NULL((void*)0);
518 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
519 MMC_SO()mmc_check_stackoverflow(threadData);
520 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
521 _exp = _D_24in_exp;
522 _tpl = _D_24in_tpl;
523 _inExp = _exp;
524#line 524 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
525 { /* match expression */
526 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
527 tmp3_1 = _exp;
528 tmp3_2 = _tpl;
529 {
530 modelica_metatype _fargs = NULL((void*)0);
531 modelica_metatype _cref = NULL((void*)0);
532 modelica_metatype _cref1 = NULL((void*)0);
533 modelica_metatype _cache = NULL((void*)0);
534 modelica_metatype _env = NULL((void*)0);
535 modelica_metatype _tree = NULL((void*)0);
536 volatile mmc_switch_type tmp3;
537 int tmp4;
538 // _fargs has no default value.
539 // _cref has no default value.
540 // _cref1 has no default value.
541 // _cache has no default value.
542 // _env has no default value.
543 // _tree has no default value.
544 tmp3 = 0;
545 for (; tmp3 < 4; tmp3++) {
546 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
547 case 0: {
548 modelica_boolean tmp5;
549 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,2,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
550 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
551 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
552 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
553 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
554 _cref = tmpMeta[1];
555 _cache = tmpMeta[2];
556 _env = tmpMeta[3];
557 _tree = tmpMeta[4];
558 /* Pattern matching succeeded */
559#line 1721 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
560 _cref1 = omc_InstExtends_fixCref(threadData, _cache, _env, _cref, _tree);
561#line 561 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
562#line 1722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
563 tmp5 = (modelica_boolean)referenceEq(_cref, _cref1)((_cref) == (_cref1));
564#line 1722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
565 if(tmp5)
566#line 1722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
567 {
568#line 1722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
569 tmpMeta[2] = _exp;
570#line 1722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
571 }
572#line 1722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
573 else
574#line 1722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
575 {
576#line 1722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
577 tmpMeta[1] = mmc_mk_box2(5, &Absyn_Exp_CREF__desc, _cref1);
578#line 1722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
579 tmpMeta[2] = tmpMeta[1];
580#line 1722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
581 }
582#line 1722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
583 tmpMeta[0] = tmpMeta[2];
584#line 584 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
585 goto tmp2_done;
586 }
587 case 1: {
588 modelica_boolean tmp6;
589 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,11,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((11 +3) & 255) << 2)))
== 0) goto tmp2_end;
590 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
591 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
592 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
593 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
594 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
595 _cref = tmpMeta[1];
596 _fargs = tmpMeta[2];
597 _cache = tmpMeta[3];
598 _env = tmpMeta[4];
599 _tree = tmpMeta[5];
600 /* Pattern matching succeeded */
601#line 1727 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
602 _cref1 = omc_InstExtends_fixCref(threadData, _cache, _env, _cref, _tree);
603#line 603 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
604#line 1729 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
605 tmp6 = (modelica_boolean)referenceEq(_cref, _cref1)((_cref) == (_cref1));
606#line 1729 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
607 if(tmp6)
608#line 1729 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
609 {
610#line 1729 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
611 tmpMeta[2] = _exp;
612#line 1729 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
613 }
614#line 1729 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
615 else
616#line 1729 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
617 {
618#line 1729 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
619 tmpMeta[1] = mmc_mk_box3(14, &Absyn_Exp_CALL__desc, _cref1, _fargs);
620#line 1729 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
621 tmpMeta[2] = tmpMeta[1];
622#line 1729 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
623 }
624#line 1729 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
625 tmpMeta[0] = tmpMeta[2];
626#line 626 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
627 goto tmp2_done;
628 }
629 case 2: {
630 modelica_boolean tmp7;
631 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,12,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((12 +3) & 255) << 2)))
== 0) goto tmp2_end;
632 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
633 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
634 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
635 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
636 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
637 _cref = tmpMeta[1];
638 _fargs = tmpMeta[2];
639 _cache = tmpMeta[3];
640 _env = tmpMeta[4];
641 _tree = tmpMeta[5];
642 /* Pattern matching succeeded */
643#line 1733 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
644 _cref1 = omc_InstExtends_fixCref(threadData, _cache, _env, _cref, _tree);
645#line 645 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
646#line 1734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
647 tmp7 = (modelica_boolean)referenceEq(_cref, _cref1)((_cref) == (_cref1));
648#line 1734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
649 if(tmp7)
650#line 1734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
651 {
652#line 1734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
653 tmpMeta[2] = _exp;
654#line 1734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
655 }
656#line 1734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
657 else
658#line 1734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
659 {
660#line 1734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
661 tmpMeta[1] = mmc_mk_box3(15, &Absyn_Exp_PARTEVALFUNCTION__desc, _cref1, _fargs);
662#line 1734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
663 tmpMeta[2] = tmpMeta[1];
664#line 1734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
665 }
666#line 1734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
667 tmpMeta[0] = tmpMeta[2];
668#line 668 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
669 goto tmp2_done;
670 }
671 case 3: {
672
673 /* Pattern matching succeeded */
674#line 1736 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
675 tmpMeta[0] = _exp;
676#line 676 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
677 goto tmp2_done;
678 }
679 }
680 goto tmp2_end;
681 tmp2_end: ;
682 }
683 goto goto_1;
684 goto_1:;
685 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
686 goto tmp2_done;
687 tmp2_done:;
688 }
689 }
690 _exp = tmpMeta[0];
691 _return: OMC_LABEL_UNUSED__attribute__((unused))
692 if (out_tpl) { *out_tpl = _tpl; }
693 return _exp;
694}
695
696PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixExp(threadData_t *threadData, modelica_metatype _cache, modelica_metatype _inEnv, modelica_metatype _inExp, modelica_metatype _tree)
697{
698 modelica_metatype _outExp = NULL((void*)0);
699 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
700 MMC_SO()mmc_check_stackoverflow(threadData);
701 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
702 // _outExp has no default value.
703#line 1697 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
704 tmpMeta[0] = mmc_mk_box3(0, _cache, _inEnv, _tree);
705#line 1697 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
706 _outExp = omc_AbsynUtil_traverseExp(threadData, _inExp, boxvar_InstExtends_fixExpTraverse((void*)((char*)(&(boxvar_lit_InstExtends_fixExpTraverse)
.header) + 3))
, tmpMeta[0], NULL((void*)0));
707#line 707 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
708 _return: OMC_LABEL_UNUSED__attribute__((unused))
709 return _outExp;
710}
711
712PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixSubMod(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _D_24in_subMod, modelica_metatype _tree)
713{
714 modelica_metatype _subMod = NULL((void*)0);
715 modelica_string _ident = NULL((void*)0);
716 modelica_metatype _mod1 = NULL((void*)0);
717 modelica_metatype _mod2 = NULL((void*)0);
718 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
719 MMC_SO()mmc_check_stackoverflow(threadData);
720 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
721 _subMod = _D_24in_subMod;
722 // _ident has no default value.
723 // _mod1 has no default value.
724 // _mod2 has no default value.
725#line 1679 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
726 /* Pattern-matching assignment */
727#line 1679 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
728 tmpMeta[0] = _subMod;
729#line 1679 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
730 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
731#line 1679 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
732 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
733#line 1679 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
734 _ident = tmpMeta[1];
735#line 1679 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
736 _mod1 = tmpMeta[2];
737#line 737 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
738
739#line 1680 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
740 _mod2 = omc_InstExtends_fixModifications(threadData, _inCache, _inEnv, _mod1, _tree);
741#line 741 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
742
743#line 1681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
744 if((!referenceEq(_mod1, _mod2)((_mod1) == (_mod2))))
745#line 1681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
746 {
747#line 1682 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
748 tmpMeta[0] = mmc_mk_box3(3, &SCode_SubMod_NAMEMOD__desc, _ident, _mod2);
749#line 1682 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
750 _subMod = tmpMeta[0];
751#line 751 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
752 }
753 _return: OMC_LABEL_UNUSED__attribute__((unused))
754 return _subMod;
755}
756
757PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixModifications(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inMod, modelica_metatype _tree)
758{
759 modelica_metatype _outMod = NULL((void*)0);
760 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
761 MMC_SO()mmc_check_stackoverflow(threadData);
762 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
763 _outMod = _inMod;
764#line 764 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
765 { /* matchcontinue expression */
766 volatile modelica_metatype tmp3_1;
767 tmp3_1 = _outMod;
768 {
769 modelica_metatype _subModLst = NULL((void*)0);
770 modelica_metatype _exp = NULL((void*)0);
771 modelica_metatype _e = NULL((void*)0);
772 modelica_metatype _cdef = NULL((void*)0);
773 volatile mmc_switch_type tmp3;
774 int tmp4;
775 // _subModLst has no default value.
776 // _exp has no default value.
777 // _e has no default value.
778 // _cdef has no default value.
779 tmp3 = 0;
780 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
781 tmp2_top:
782 threadData->mmc_jumper = &new_mmc_jumper;
783 for (; tmp3 < 5; tmp3++) {
784 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
785 case 0: {
786 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,2,0)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((0 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
787 tmp3 += 3; /* Pattern matching succeeded; we may skip some cases if we fail */
788#line 1625 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
789 tmpMeta[0] = _inMod;
790#line 790 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
791 goto tmp2_done;
792 }
793 case 1: {
794 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((5 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
795
796 tmp3 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
797#line 1629 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
798 _subModLst = omc_InstExtends_fixList(threadData, _inCache, _inEnv, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_outMod), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_outMod) - 3)))
+ (4)))))
), _tree, boxvar_InstExtends_fixSubMod((void*)((char*)(&(boxvar_lit_InstExtends_fixSubMod).header
) + 3))
);
799#line 799 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
800
801#line 1630 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
802 if((!referenceEq((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_outMod), 4))), _subModLst)((((*(void**)(((void*)((void**)(((void*)((char*)(_outMod) - 3
))) + (4))))))) == (_subModLst))
))
803#line 1630 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
804 {
805#line 1631 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
806 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
807#line 1631 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
808 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_outMod)((void*)((char*)(_outMod) - 3)), 7*sizeof(modelica_metatype));
809#line 1631 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
810 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[4] = _subModLst;
811#line 1631 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
812 _outMod = tmpMeta[1];
813#line 813 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
814 }
815
816#line 1634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
817 _exp = omc_InstExtends_fixOption(threadData, _inCache, _inEnv, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_outMod), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_outMod) - 3)))
+ (5)))))
), _tree, boxvar_InstExtends_fixExp((void*)((char*)(&(boxvar_lit_InstExtends_fixExp).header)
+ 3))
);
818#line 818 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
819
820#line 1635 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
821 if((!referenceEq(_exp, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_outMod), 5))))((_exp) == (((*(void**)(((void*)((void**)(((void*)((char*)(_outMod
) - 3))) + (5))))))))
))
822#line 1635 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
823 {
824#line 1636 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
825 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
826#line 1636 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
827 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_outMod)((void*)((char*)(_outMod) - 3)), 7*sizeof(modelica_metatype));
828#line 1636 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
829 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[5] = _exp;
830#line 1636 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
831 _outMod = tmpMeta[1];
832#line 832 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
833 }
834#line 1638 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
835 tmpMeta[0] = _outMod;
836#line 836 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
837 goto tmp2_done;
838 }
839 case 2: {
840 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
841 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
842 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],3,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((8 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
843
844 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
845#line 1642 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
846 _e = omc_InstExtends_fixElement(threadData, _inCache, _inEnv, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_outMod), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_outMod) - 3)))
+ (4)))))
), _tree);
847#line 847 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
848
849#line 1643 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
850 if((!referenceEq(_e, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_outMod), 4))))((_e) == (((*(void**)(((void*)((void**)(((void*)((char*)(_outMod
) - 3))) + (4))))))))
))
851#line 1643 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
852 {
853#line 1644 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
854 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(5))((void*)((char*)(mmc_alloc_words(5)) + 3));
855#line 1644 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
856 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_outMod)((void*)((char*)(_outMod) - 3)), 5*sizeof(modelica_metatype));
857#line 1644 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
858 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[4] = _e;
859#line 1644 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
860 _outMod = tmpMeta[1];
861#line 861 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
862 }
863#line 1646 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
864 tmpMeta[0] = _outMod;
865#line 865 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
866 goto tmp2_done;
867 }
868 case 3: {
869 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
870 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
871 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
872 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (7)))))
;
873
874 _e = tmpMeta[1];
875 _cdef = tmpMeta[2];
876 /* Pattern matching succeeded */
877#line 1650 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
878 _cdef = omc_InstExtends_fixClassdef(threadData, _inCache, _inEnv, _cdef, _tree);
879#line 879 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
880
881#line 1651 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
882 if((!referenceEq(_cdef, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_e), 7))))((_cdef) == (((*(void**)(((void*)((void**)(((void*)((char*)(_e
) - 3))) + (7))))))))
))
883#line 1651 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
884 {
885#line 1652 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
886 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(10))((void*)((char*)(mmc_alloc_words(10)) + 3));
887#line 1652 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
888 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_e)((void*)((char*)(_e) - 3)), 10*sizeof(modelica_metatype));
889#line 1652 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
890 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[7] = _cdef;
891#line 1652 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
892 _e = tmpMeta[1];
893#line 893 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
894
895#line 1653 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
896 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(5))((void*)((char*)(mmc_alloc_words(5)) + 3));
897#line 1653 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
898 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_outMod)((void*)((char*)(_outMod) - 3)), 5*sizeof(modelica_metatype));
899#line 1653 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
900 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[4] = _e;
901#line 1653 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
902 _outMod = tmpMeta[1];
903#line 903 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
904 }
905#line 1655 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
906 tmpMeta[0] = _outMod;
907#line 907 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
908 goto tmp2_done;
909 }
910 case 4: {
911 modelica_boolean tmp5;
912
913 /* Pattern matching succeeded */
914#line 1659 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
915 /* Pattern-matching assignment */
916#line 1659 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
917 tmp5 = omc_Flags_isSet(threadData, _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
918#line 1659 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
919 if (1 != tmp5) goto goto_1;
920#line 920 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
921
922#line 1660 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
923 tmpMeta[1] = stringAppend(_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),omc_SCodeDump_printModStr(threadData, _inMod, _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))));
924#line 1660 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
925 omc_Debug_traceln(threadData, tmpMeta[1]);
926#line 926 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
927#line 1661 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
928 goto goto_1;
929#line 929 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
930 goto tmp2_done;
931 }
932 }
933 goto tmp2_end;
934 tmp2_end: ;
935 }
936 goto goto_1;
937 tmp2_done:
938 (void)tmp3;
939 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
940 goto tmp2_done2;
941 goto_1:;
942 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
943 if (++tmp3 < 5) {
944 goto tmp2_top;
945 }
946 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
947 tmp2_done2:;
948 }
949 }
950 _outMod = tmpMeta[0];
951 _return: OMC_LABEL_UNUSED__attribute__((unused))
952 return _outMod;
953}
954
955PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixCref(threadData_t *threadData, modelica_metatype _cache, modelica_metatype _inEnv, modelica_metatype _inCref, modelica_metatype _tree)
956{
957 modelica_metatype _outCref = NULL((void*)0);
958 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
959 MMC_SO()mmc_check_stackoverflow(threadData);
960 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
961 // _outCref has no default value.
962#line 962 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
963 { /* matchcontinue expression */
964 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;
965 tmp3_1 = _inEnv;
966 tmp3_2 = _inCref;
967 {
968 modelica_string _id = NULL((void*)0);
969 modelica_metatype _env = NULL((void*)0);
970 modelica_metatype _denv = NULL((void*)0);
971 modelica_metatype _cref = NULL((void*)0);
972 modelica_metatype _c = NULL((void*)0);
973 volatile mmc_switch_type tmp3;
974 int tmp4;
975 // _id has no default value.
976 // _env has no default value.
977 // _denv has no default value.
978 // _cref has no default value.
979 // _c has no default value.
980 tmp3 = 0;
981 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
982 tmp2_top:
983 threadData->mmc_jumper = &new_mmc_jumper;
984 for (; tmp3 < 5; tmp3++) {
985 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
986 case 0: {
987 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,0,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((1 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
988
989 _env = tmp3_1;
990 /* Pattern matching succeeded */
991#line 1557 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
992 _env = omc_FGraph_topScope(threadData, _inEnv);
993#line 993 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
994#line 1558 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
995 tmpMeta[0] = omc_InstExtends_fixCref(threadData, _cache, _env, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inCref), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_inCref) - 3)))
+ (2)))))
), _tree);
996#line 996 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
997 goto tmp2_done;
998 }
999 case 1: {
1000 modelica_boolean tmp5;
1001
1002 _env = tmp3_1;
1003 _cref = tmp3_2;
1004 /* Pattern matching succeeded */
1005#line 1563 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1006 _id = omc_AbsynUtil_crefFirstIdent(threadData, _cref);
1007#line 1007 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1008
1009#line 1564 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1010 /* Pattern-matching assignment */
1011#line 1564 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1012 tmp5 = omc_AvlSetString_hasKey(threadData, _tree, _id);
1013#line 1564 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1014 if (1 != tmp5) goto goto_1;
1015#line 1015 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1016
1017#line 1565 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1018 _cref = omc_FGraph_crefStripGraphScopePrefix(threadData, _cref, _env, 0);
1019#line 1019 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1020#line 1566 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1021 tmpMeta[0] = (omc_AbsynUtil_crefEqual(threadData, _cref, _inCref)?_inCref:_cref);
1022#line 1022 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1023 goto tmp2_done;
1024 }
1025 case 2: {
1026
1027 _env = tmp3_1;
1028 _cref = tmp3_2;
1029 /* Pattern matching succeeded */
1030#line 1572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1031 _id = omc_AbsynUtil_crefFirstIdent(threadData, _cref);
1032#line 1032 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1033
1034#line 1574 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1035 _denv = omc_InstExtends_lookupVarNoErrorMessage(threadData, arrayGet(_cache, ((modelica_integer) 1))nobox_arrayGet(threadData,_cache,((modelica_integer) 1)), _env, _id ,&_id);
1036#line 1036 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1037
1038#line 1577 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1039 _denv = omc_FGraph_openScope(threadData, _denv, _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)), _id, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
1040#line 1040 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1041
1042#line 1578 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1043 _cref = omc_AbsynUtil_crefReplaceFirstIdent(threadData, _cref, omc_FGraph_getGraphName(threadData, _denv));
1044#line 1044 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1045
1046#line 1580 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1047 _cref = omc_FGraph_crefStripGraphScopePrefix(threadData, _cref, _env, 0);
1048#line 1048 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1049#line 1582 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1050 tmpMeta[0] = (omc_AbsynUtil_crefEqual(threadData, _cref, _inCref)?_inCref:_cref);
1051#line 1051 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1052 goto tmp2_done;
1053 }
1054 case 3: {
1055
1056 _env = tmp3_1;
1057 _cref = tmp3_2;
1058 /* Pattern matching succeeded */
1059#line 1587 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1060 _id = omc_AbsynUtil_crefFirstIdent(threadData, _cref);
1061#line 1061 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1062
1063#line 1589 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1064 omc_Lookup_lookupClassIdent(threadData, arrayGet(_cache, ((modelica_integer) 1))nobox_arrayGet(threadData,_cache,((modelica_integer) 1)), _env, _id, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)) ,&_c ,&_denv);
1065#line 1065 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1066
1067#line 1592 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1068 _id = omc_SCodeUtil_getElementName(threadData, _c);
1069#line 1069 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1070
1071#line 1594 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1072 _denv = omc_FGraph_openScope(threadData, _denv, _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)), _id, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
1073#line 1073 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1074
1075#line 1595 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1076 _cref = omc_AbsynUtil_crefReplaceFirstIdent(threadData, _cref, omc_FGraph_getGraphName(threadData, _denv));
1077#line 1077 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1078
1079#line 1597 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1080 _cref = omc_FGraph_crefStripGraphScopePrefix(threadData, _cref, _env, 0);
1081#line 1081 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1082#line 1599 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1083 tmpMeta[0] = (omc_AbsynUtil_crefEqual(threadData, _cref, _inCref)?_inCref:_cref);
1084#line 1084 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1085 goto tmp2_done;
1086 }
1087 case 4: {
1088
1089 /* Pattern matching succeeded */
1090#line 1602 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1091 tmpMeta[0] = _inCref;
1092#line 1092 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1093 goto tmp2_done;
1094 }
1095 }
1096 goto tmp2_end;
1097 tmp2_end: ;
1098 }
1099 goto goto_1;
1100 tmp2_done:
1101 (void)tmp3;
1102 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1103 goto tmp2_done2;
1104 goto_1:;
1105 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1106 if (++tmp3 < 5) {
1107 goto tmp2_top;
1108 }
1109 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1110 tmp2_done2:;
1111 }
1112 }
1113 _outCref = tmpMeta[0];
1114 _return: OMC_LABEL_UNUSED__attribute__((unused))
1115 return _outCref;
1116}
1117
1118PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_lookupVarNoErrorMessage(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_string _ident, modelica_string *out_id)
1119{
1120 modelica_metatype _outEnv = NULL((void*)0);
1121 modelica_string _id = NULL((void*)0);
1122 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
1123 MMC_SO()mmc_check_stackoverflow(threadData);
1124 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1125 // _outEnv has no default value.
1126 // _id has no default value.
1127#line 1127 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1128 { /* matchcontinue expression */
1129 {
1130 volatile mmc_switch_type tmp3;
1131 int tmp4;
1132 tmp3 = 0;
1133 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
1134 tmp2_top:
1135 threadData->mmc_jumper = &new_mmc_jumper;
1136 for (; tmp3 < 2; tmp3++) {
1137 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1138 case 0: {
1139 /* Pattern matching succeeded */
1140#line 1526 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1141 omc_ErrorExt_setCheckpoint(threadData, _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)));
1142#line 1142 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1143
1144#line 1527 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1145 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1146#line 1527 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1147 omc_Lookup_lookupVarIdent(threadData, _inCache, _inEnv, _ident, tmpMeta[0] ,NULL((void*)0) ,NULL((void*)0) ,NULL((void*)0) ,NULL((void*)0) ,NULL((void*)0) ,&_outEnv ,NULL((void*)0) ,&_id);
1148#line 1148 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1149
1150#line 1528 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1151 omc_ErrorExt_rollBack(threadData, _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)));
1152#line 1152 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1153#line 1153 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1154 goto tmp2_done;
1155 }
1156 case 1: {
1157 /* Pattern matching succeeded */
1158#line 1530 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1159 omc_ErrorExt_rollBack(threadData, _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)));
1160#line 1160 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1161
1162#line 1531 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1163 goto goto_1;
1164#line 1164 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1165#line 1165 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1166 goto tmp2_done;
1167 }
1168 }
1169 goto tmp2_end;
1170 tmp2_end: ;
1171 }
1172 goto goto_1;
1173 tmp2_done:
1174 (void)tmp3;
1175 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1176 goto tmp2_done2;
1177 goto_1:;
1178 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1179 if (++tmp3 < 2) {
1180 goto tmp2_top;
1181 }
1182 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1183 tmp2_done2:;
1184 }
1185 }
1186 ;
1187 _return: OMC_LABEL_UNUSED__attribute__((unused))
1188 if (out_id) { *out_id = _id; }
1189 return _outEnv;
1190}
1191
1192PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixPath(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inPath, modelica_metatype _tree)
1193{
1194 modelica_metatype _outPath = NULL((void*)0);
1195 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
1196 MMC_SO()mmc_check_stackoverflow(threadData);
1197 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1198 // _outPath has no default value.
1199#line 1199 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1200 { /* matchcontinue expression */
1201 volatile modelica_metatype tmp3_1;
1202 tmp3_1 = _inPath;
1203 {
1204 modelica_string _id = NULL((void*)0);
1205 modelica_metatype _path = NULL((void*)0);
1206 modelica_metatype _cache = NULL((void*)0);
1207 volatile mmc_switch_type tmp3;
1208 int tmp4;
1209 // _id has no default value.
1210 // _path has no default value.
1211 // _cache has no default value.
1212 tmp3 = 0;
1213 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
1214 tmp2_top:
1215 threadData->mmc_jumper = &new_mmc_jumper;
1216 for (; tmp3 < 5; tmp3++) {
1217 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1218 case 0: {
1219 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,2,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
1220
1221 /* Pattern matching succeeded */
1222#line 1480 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1223 tmpMeta[0] = _inPath;
1224#line 1224 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1225 goto tmp2_done;
1226 }
1227 case 1: {
1228 modelica_boolean tmp5;
1229
1230 /* Pattern matching succeeded */
1231#line 1484 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1232 _id = omc_AbsynUtil_pathFirstIdent(threadData, _inPath);
1233#line 1233 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1234
1235#line 1485 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1236 /* Pattern-matching assignment */
1237#line 1485 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1238 tmp5 = omc_AvlSetString_hasKey(threadData, _tree, _id);
1239#line 1485 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1240 if (1 != tmp5) goto goto_1;
1241#line 1241 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1242#line 1486 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1243 tmpMeta[0] = omc_FGraph_pathStripGraphScopePrefix(threadData, _inPath, _inEnv, 0);
1244#line 1244 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1245 goto tmp2_done;
1246 }
1247 case 2: {
1248
1249 /* Pattern matching succeeded */
1250#line 1493 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1251 omc_Lookup_lookupClassLocal(threadData, _inEnv, omc_AbsynUtil_pathFirstIdent(threadData, _inPath), NULL((void*)0));
1252#line 1252 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1253#line 1494 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1254 tmpMeta[0] = omc_FGraph_pathStripGraphScopePrefix(threadData, _inPath, _inEnv, 0);
1255#line 1255 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1256 goto tmp2_done;
1257 }
1258 case 3: {
1259
1260 /* Pattern matching succeeded */
1261#line 1502 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1262 _cache = omc_Inst_makeFullyQualified(threadData, arrayGet(_inCache, ((modelica_integer) 1))nobox_arrayGet(threadData,_inCache,((modelica_integer) 1)), _inEnv, _inPath ,&_path);
1263#line 1263 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1264
1265#line 1504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1266 _path = omc_FGraph_pathStripGraphScopePrefix(threadData, _path, _inEnv, 0);
1267#line 1267 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1268
1269#line 1506 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1270 arrayUpdate(_inCache, ((modelica_integer) 1), _cache)boxptr_arrayUpdate(threadData,_inCache,mmc_mk_icon(((modelica_integer
) 1)),_cache)
;
1271#line 1271 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1272#line 1507 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1273 tmpMeta[0] = _path;
1274#line 1274 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1275 goto tmp2_done;
1276 }
1277 case 4: {
1278
1279 /* Pattern matching succeeded */
1280#line 1511 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1281 tmpMeta[0] = omc_FGraph_pathStripGraphScopePrefix(threadData, _inPath, _inEnv, 0);
1282#line 1282 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1283 goto tmp2_done;
1284 }
1285 }
1286 goto tmp2_end;
1287 tmp2_end: ;
1288 }
1289 goto goto_1;
1290 tmp2_done:
1291 (void)tmp3;
1292 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1293 goto tmp2_done2;
1294 goto_1:;
1295 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1296 if (++tmp3 < 5) {
1297 goto tmp2_top;
1298 }
1299 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1300 tmp2_done2:;
1301 }
1302 }
1303 _outPath = tmpMeta[0];
1304 _return: OMC_LABEL_UNUSED__attribute__((unused))
1305 return _outPath;
1306}
1307
1308PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixTypeSpec(threadData_t *threadData, modelica_metatype _cache, modelica_metatype _inEnv, modelica_metatype _inTs, modelica_metatype _tree)
1309{
1310 modelica_metatype _outTs = NULL((void*)0);
1311 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1312 MMC_SO()mmc_check_stackoverflow(threadData);
1313 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1314 // _outTs has no default value.
1315#line 1315 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1316 { /* match expression */
1317 modelica_metatype tmp3_1;
1318 tmp3_1 = _inTs;
1319 {
1320 modelica_metatype _path1 = NULL((void*)0);
1321 modelica_metatype _path2 = NULL((void*)0);
1322 modelica_metatype _arrayDim1 = NULL((void*)0);
1323 modelica_metatype _arrayDim2 = NULL((void*)0);
1324 modelica_metatype _typeSpecs1 = NULL((void*)0);
1325 modelica_metatype _typeSpecs2 = NULL((void*)0);
1326 volatile mmc_switch_type tmp3;
1327 int tmp4;
1328 // _path1 has no default value.
1329 // _path2 has no default value.
1330 // _arrayDim1 has no default value.
1331 // _arrayDim2 has no default value.
1332 // _typeSpecs1 has no default value.
1333 // _typeSpecs2 has no default value.
1334 tmp3 = 0;
1335 for (; tmp3 < 2; tmp3++) {
1336 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1337 case 0: {
1338 modelica_boolean tmp5;
1339 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1340 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1341 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1342 _path1 = tmpMeta[1];
1343 _arrayDim1 = tmpMeta[2];
1344 /* Pattern matching succeeded */
1345#line 1451 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1346 _arrayDim2 = omc_InstExtends_fixOption(threadData, _cache, _inEnv, _arrayDim1, _tree, boxvar_InstExtends_fixArrayDim((void*)((char*)(&(boxvar_lit_InstExtends_fixArrayDim).header
) + 3))
);
1347#line 1347 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1348
1349#line 1452 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1350 _path2 = omc_InstExtends_fixPath(threadData, _cache, _inEnv, _path1, _tree);
1351#line 1351 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1352#line 1453 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1353 tmp5 = (modelica_boolean)(referenceEq(_arrayDim2, _arrayDim1)((_arrayDim2) == (_arrayDim1)) && referenceEq(_path1, _path2)((_path1) == (_path2)));
1354#line 1453 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1355 if(tmp5)
1356#line 1453 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1357 {
1358#line 1453 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1359 tmpMeta[2] = _inTs;
1360#line 1453 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1361 }
1362#line 1453 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1363 else
1364#line 1453 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1365 {
1366#line 1453 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1367 tmpMeta[1] = mmc_mk_box3(3, &Absyn_TypeSpec_TPATH__desc, _path2, _arrayDim2);
1368#line 1453 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1369 tmpMeta[2] = tmpMeta[1];
1370#line 1453 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1371 }
1372#line 1453 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1373 tmpMeta[0] = tmpMeta[2];
1374#line 1374 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1375 goto tmp2_done;
1376 }
1377 case 1: {
1378 modelica_boolean tmp6;
1379 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1380 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1381 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1382 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1383 _path1 = tmpMeta[1];
1384 _typeSpecs1 = tmpMeta[2];
1385 _arrayDim1 = tmpMeta[3];
1386 /* Pattern matching succeeded */
1387#line 1456 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1388 _arrayDim2 = omc_InstExtends_fixOption(threadData, _cache, _inEnv, _arrayDim1, _tree, boxvar_InstExtends_fixArrayDim((void*)((char*)(&(boxvar_lit_InstExtends_fixArrayDim).header
) + 3))
);
1389#line 1389 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1390
1391#line 1457 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1392 _path2 = omc_InstExtends_fixPath(threadData, _cache, _inEnv, _path1, _tree);
1393#line 1393 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1394
1395#line 1458 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1396 _typeSpecs2 = omc_InstExtends_fixList(threadData, _cache, _inEnv, _typeSpecs1, _tree, boxvar_InstExtends_fixTypeSpec((void*)((char*)(&(boxvar_lit_InstExtends_fixTypeSpec).header
) + 3))
);
1397#line 1397 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1398#line 1459 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1399 tmp6 = (modelica_boolean)((referenceEq(_arrayDim2, _arrayDim1)((_arrayDim2) == (_arrayDim1)) && referenceEq(_path1, _path2)((_path1) == (_path2))) && referenceEq(_typeSpecs1, _typeSpecs2)((_typeSpecs1) == (_typeSpecs2)));
1400#line 1459 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1401 if(tmp6)
1402#line 1459 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1403 {
1404#line 1459 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1405 tmpMeta[2] = _inTs;
1406#line 1459 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1407 }
1408#line 1459 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1409 else
1410#line 1459 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1411 {
1412#line 1459 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1413 tmpMeta[1] = mmc_mk_box4(4, &Absyn_TypeSpec_TCOMPLEX__desc, _path2, _typeSpecs2, _arrayDim2);
1414#line 1459 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1415 tmpMeta[2] = tmpMeta[1];
1416#line 1459 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1417 }
1418#line 1459 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1419 tmpMeta[0] = tmpMeta[2];
1420#line 1420 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1421 goto tmp2_done;
1422 }
1423 }
1424 goto tmp2_end;
1425 tmp2_end: ;
1426 }
1427 goto goto_1;
1428 goto_1:;
1429 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1430 goto tmp2_done;
1431 tmp2_done:;
1432 }
1433 }
1434 _outTs = tmpMeta[0];
1435 _return: OMC_LABEL_UNUSED__attribute__((unused))
1436 return _outTs;
1437}
1438
1439PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixSubscript(threadData_t *threadData, modelica_metatype _cache, modelica_metatype _inEnv, modelica_metatype _inSub, modelica_metatype _tree)
1440{
1441 modelica_metatype _outSub = NULL((void*)0);
1442 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1443 MMC_SO()mmc_check_stackoverflow(threadData);
1444 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1445 // _outSub has no default value.
1446#line 1446 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1447 { /* match expression */
1448 modelica_metatype tmp3_1;
1449 tmp3_1 = _inSub;
1450 {
1451 modelica_metatype _exp1 = NULL((void*)0);
1452 modelica_metatype _exp2 = NULL((void*)0);
1453 volatile mmc_switch_type tmp3;
1454 int tmp4;
1455 // _exp1 has no default value.
1456 // _exp2 has no default value.
1457 tmp3 = 0;
1458 for (; tmp3 < 2; tmp3++) {
1459 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1460 case 0: {
1461 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,0)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((0 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1462 /* Pattern matching succeeded */
1463#line 1424 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1464 tmpMeta[0] = _inSub;
1465#line 1465 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1466 goto tmp2_done;
1467 }
1468 case 1: {
1469 modelica_boolean tmp5;
1470 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1471 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1472 _exp1 = tmpMeta[1];
1473 /* Pattern matching succeeded */
1474#line 1427 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1475 _exp2 = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp1, _tree);
1476#line 1476 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1477#line 1428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1478 tmp5 = (modelica_boolean)referenceEq(_exp1, _exp2)((_exp1) == (_exp2));
1479#line 1428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1480 if(tmp5)
1481#line 1428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1482 {
1483#line 1428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1484 tmpMeta[2] = _inSub;
1485#line 1428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1486 }
1487#line 1428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1488 else
1489#line 1428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1490 {
1491#line 1428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1492 tmpMeta[1] = mmc_mk_box2(4, &Absyn_Subscript_SUBSCRIPT__desc, _exp2);
1493#line 1428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1494 tmpMeta[2] = tmpMeta[1];
1495#line 1428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1496 }
1497#line 1428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1498 tmpMeta[0] = tmpMeta[2];
1499#line 1499 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1500 goto tmp2_done;
1501 }
1502 }
1503 goto tmp2_end;
1504 tmp2_end: ;
1505 }
1506 goto goto_1;
1507 goto_1:;
1508 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1509 goto tmp2_done;
1510 tmp2_done:;
1511 }
1512 }
1513 _outSub = tmpMeta[0];
1514 _return: OMC_LABEL_UNUSED__attribute__((unused))
1515 return _outSub;
1516}
1517
1518PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixArrayDim(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _D_24in_ads, modelica_metatype _tree)
1519{
1520 modelica_metatype _ads = NULL((void*)0);
1521 MMC_SO()mmc_check_stackoverflow(threadData);
1522 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1523 _ads = _D_24in_ads;
1524#line 1406 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1525 _ads = omc_InstExtends_fixList(threadData, _inCache, _inEnv, _ads, _tree, boxvar_InstExtends_fixSubscript((void*)((char*)(&(boxvar_lit_InstExtends_fixSubscript).header
) + 3))
);
1526#line 1526 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1527 _return: OMC_LABEL_UNUSED__attribute__((unused))
1528 return _ads;
1529}
1530
1531PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixStatement(threadData_t *threadData, modelica_metatype _cache, modelica_metatype _inEnv, modelica_metatype _inStmt, modelica_metatype _tree)
1532{
1533 modelica_metatype _outStmt = NULL((void*)0);
1534 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
1535 MMC_SO()mmc_check_stackoverflow(threadData);
1536 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1537 // _outStmt has no default value.
1538#line 1538 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1539 { /* matchcontinue expression */
1540 volatile modelica_metatype tmp3_1;
1541 tmp3_1 = _inStmt;
1542 {
1543 modelica_metatype _exp = NULL((void*)0);
1544 modelica_metatype _exp_1 = NULL((void*)0);
1545 modelica_metatype _exp1 = NULL((void*)0);
1546 modelica_metatype _exp2 = NULL((void*)0);
1547 modelica_metatype _exp1_1 = NULL((void*)0);
1548 modelica_metatype _exp2_1 = NULL((void*)0);
1549 modelica_metatype _optExp1 = NULL((void*)0);
1550 modelica_metatype _optExp2 = NULL((void*)0);
1551 modelica_string _iter = NULL((void*)0);
1552 modelica_metatype _elseifbranch1 = NULL((void*)0);
1553 modelica_metatype _elseifbranch2 = NULL((void*)0);
1554 modelica_metatype _whenlst = NULL((void*)0);
1555 modelica_metatype _truebranch1 = NULL((void*)0);
1556 modelica_metatype _truebranch2 = NULL((void*)0);
1557 modelica_metatype _elsebranch1 = NULL((void*)0);
1558 modelica_metatype _elsebranch2 = NULL((void*)0);
1559 modelica_metatype _body1 = NULL((void*)0);
1560 modelica_metatype _body2 = NULL((void*)0);
1561 modelica_metatype _comment = NULL((void*)0);
1562 modelica_metatype _info = NULL((void*)0);
1563 volatile mmc_switch_type tmp3;
1564 int tmp4;
1565 // _exp has no default value.
1566 // _exp_1 has no default value.
1567 // _exp1 has no default value.
1568 // _exp2 has no default value.
1569 // _exp1_1 has no default value.
1570 // _exp2_1 has no default value.
1571 // _optExp1 has no default value.
1572 // _optExp2 has no default value.
1573 // _iter has no default value.
1574 // _elseifbranch1 has no default value.
1575 // _elseifbranch2 has no default value.
1576 // _whenlst has no default value.
1577 // _truebranch1 has no default value.
1578 // _truebranch2 has no default value.
1579 // _elsebranch1 has no default value.
1580 // _elsebranch2 has no default value.
1581 // _body1 has no default value.
1582 // _body2 has no default value.
1583 // _comment has no default value.
1584 // _info has no default value.
1585 tmp3 = 0;
1586 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
1587 tmp2_top:
1588 threadData->mmc_jumper = &new_mmc_jumper;
1589 for (; tmp3 < 16; tmp3++) {
1590 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1591 case 0: {
1592 modelica_boolean tmp5;
1593 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1594 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1595 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1596 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1597 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
1598 _exp1 = tmpMeta[1];
1599 _exp2 = tmpMeta[2];
1600 _comment = tmpMeta[3];
1601 _info = tmpMeta[4];
1602 tmp3 += 14; /* Pattern matching succeeded; we may skip some cases if we fail */
1603#line 1311 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1604 _exp1_1 = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp1, _tree);
1605#line 1605 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1606
1607#line 1312 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1608 _exp2_1 = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp2, _tree);
1609#line 1609 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1610#line 1313 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1611 tmp5 = (modelica_boolean)(referenceEq(_exp1, _exp1_1)((_exp1) == (_exp1_1)) && referenceEq(_exp2, _exp2_1)((_exp2) == (_exp2_1)));
1612#line 1313 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1613 if(tmp5)
1614#line 1313 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1615 {
1616#line 1313 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1617 tmpMeta[2] = _inStmt;
1618#line 1313 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1619 }
1620#line 1313 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1621 else
1622#line 1313 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1623 {
1624#line 1313 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1625 tmpMeta[1] = mmc_mk_box5(3, &SCode_Statement_ALG__ASSIGN__desc, _exp1_1, _exp2_1, _comment, _info);
1626#line 1313 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1627 tmpMeta[2] = tmpMeta[1];
1628#line 1313 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1629 }
1630#line 1313 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1631 tmpMeta[0] = tmpMeta[2];
1632#line 1632 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1633 goto tmp2_done;
1634 }
1635 case 1: {
1636 modelica_boolean tmp6;
1637 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,6)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((6 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1638 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1639 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1640 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1641 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
1642 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
1643 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
1644 _exp1 = tmpMeta[1];
1645 _truebranch1 = tmpMeta[2];
1646 _elseifbranch1 = tmpMeta[3];
1647 _elsebranch1 = tmpMeta[4];
1648 _comment = tmpMeta[5];
1649 _info = tmpMeta[6];
1650 tmp3 += 13; /* Pattern matching succeeded; we may skip some cases if we fail */
1651#line 1317 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1652 _exp2 = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp1, _tree);
1653#line 1653 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1654
1655#line 1318 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1656 _truebranch2 = omc_InstExtends_fixList(threadData, _cache, _inEnv, _truebranch1, _tree, boxvar_InstExtends_fixStatement((void*)((char*)(&(boxvar_lit_InstExtends_fixStatement).header
) + 3))
);
1657#line 1657 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1658
1659#line 1319 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1660 _elseifbranch2 = omc_InstExtends_fixListTuple2(threadData, _cache, _inEnv, _elseifbranch1, _tree, boxvar_InstExtends_fixExp((void*)((char*)(&(boxvar_lit_InstExtends_fixExp).header)
+ 3))
, boxvar_InstExtends_fixListAlgorithmItem((void*)((char*)(&(boxvar_lit_InstExtends_fixListAlgorithmItem
).header) + 3))
);
1661#line 1661 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1662
1663#line 1320 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1664 _elsebranch2 = omc_InstExtends_fixList(threadData, _cache, _inEnv, _elsebranch1, _tree, boxvar_InstExtends_fixStatement((void*)((char*)(&(boxvar_lit_InstExtends_fixStatement).header
) + 3))
);
1665#line 1665 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1666#line 1321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1667 tmp6 = (modelica_boolean)(((referenceEq(_exp1, _exp2)((_exp1) == (_exp2)) && referenceEq(_truebranch1, _truebranch2)((_truebranch1) == (_truebranch2))) && referenceEq(_elseifbranch1, _elseifbranch2)((_elseifbranch1) == (_elseifbranch2))) && referenceEq(_elsebranch1, _elsebranch2)((_elsebranch1) == (_elsebranch2)));
1668#line 1321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1669 if(tmp6)
1670#line 1321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1671 {
1672#line 1321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1673 tmpMeta[2] = _inStmt;
1674#line 1321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1675 }
1676#line 1321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1677 else
1678#line 1321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1679 {
1680#line 1321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1681 tmpMeta[1] = mmc_mk_box7(4, &SCode_Statement_ALG__IF__desc, _exp2, _truebranch2, _elseifbranch2, _elsebranch2, _comment, _info);
1682#line 1321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1683 tmpMeta[2] = tmpMeta[1];
1684#line 1321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1685 }
1686#line 1321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1687 tmpMeta[0] = tmpMeta[2];
1688#line 1688 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1689 goto tmp2_done;
1690 }
1691 case 2: {
1692 modelica_boolean tmp7;
1693 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,2,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((5 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
1694 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1695 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1696 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1697 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
1698 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
1699 _iter = tmpMeta[1];
1700 _optExp1 = tmpMeta[2];
1701 _body1 = tmpMeta[3];
1702 _comment = tmpMeta[4];
1703 _info = tmpMeta[5];
1704 tmp3 += 12; /* Pattern matching succeeded; we may skip some cases if we fail */
1705#line 1325 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1706 _optExp2 = omc_InstExtends_fixOption(threadData, _cache, _inEnv, _optExp1, _tree, boxvar_InstExtends_fixExp((void*)((char*)(&(boxvar_lit_InstExtends_fixExp).header)
+ 3))
);
1707#line 1707 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1708
1709#line 1326 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1710 _body2 = omc_InstExtends_fixList(threadData, _cache, _inEnv, _body1, _tree, boxvar_InstExtends_fixStatement((void*)((char*)(&(boxvar_lit_InstExtends_fixStatement).header
) + 3))
);
1711#line 1711 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1712#line 1327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1713 tmp7 = (modelica_boolean)(referenceEq(_optExp1, _optExp2)((_optExp1) == (_optExp2)) && referenceEq(_body1, _body2)((_body1) == (_body2)));
1714#line 1327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1715 if(tmp7)
1716#line 1327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1717 {
1718#line 1327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1719 tmpMeta[2] = _inStmt;
1720#line 1327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1721 }
1722#line 1327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1723 else
1724#line 1327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1725 {
1726#line 1327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1727 tmpMeta[1] = mmc_mk_box6(5, &SCode_Statement_ALG__FOR__desc, _iter, _optExp2, _body2, _comment, _info);
1728#line 1327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1729 tmpMeta[2] = tmpMeta[1];
1730#line 1327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1731 }
1732#line 1327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1733 tmpMeta[0] = tmpMeta[2];
1734#line 1734 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1735 goto tmp2_done;
1736 }
1737 case 3: {
1738 modelica_boolean tmp8;
1739 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,3,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((5 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
1740 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1741 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1742 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1743 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
1744 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
1745 _iter = tmpMeta[1];
1746 _optExp1 = tmpMeta[2];
1747 _body1 = tmpMeta[3];
1748 _comment = tmpMeta[4];
1749 _info = tmpMeta[5];
1750 tmp3 += 11; /* Pattern matching succeeded; we may skip some cases if we fail */
1751#line 1331 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1752 _optExp2 = omc_InstExtends_fixOption(threadData, _cache, _inEnv, _optExp1, _tree, boxvar_InstExtends_fixExp((void*)((char*)(&(boxvar_lit_InstExtends_fixExp).header)
+ 3))
);
1753#line 1753 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1754
1755#line 1332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1756 _body2 = omc_InstExtends_fixList(threadData, _cache, _inEnv, _body1, _tree, boxvar_InstExtends_fixStatement((void*)((char*)(&(boxvar_lit_InstExtends_fixStatement).header
) + 3))
);
1757#line 1757 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1758#line 1333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1759 tmp8 = (modelica_boolean)(referenceEq(_optExp1, _optExp2)((_optExp1) == (_optExp2)) && referenceEq(_body1, _body2)((_body1) == (_body2)));
1760#line 1333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1761 if(tmp8)
1762#line 1333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1763 {
1764#line 1333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1765 tmpMeta[2] = _inStmt;
1766#line 1333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1767 }
1768#line 1333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1769 else
1770#line 1333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1771 {
1772#line 1333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1773 tmpMeta[1] = mmc_mk_box6(6, &SCode_Statement_ALG__PARFOR__desc, _iter, _optExp2, _body2, _comment, _info);
1774#line 1333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1775 tmpMeta[2] = tmpMeta[1];
1776#line 1333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1777 }
1778#line 1333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1779 tmpMeta[0] = tmpMeta[2];
1780#line 1780 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1781 goto tmp2_done;
1782 }
1783 case 4: {
1784 modelica_boolean tmp9;
1785 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,4,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((4 +3) & 255) << 2)))
== 0) goto tmp2_end;
1786 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1787 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1788 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1789 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
1790 _exp1 = tmpMeta[1];
1791 _body1 = tmpMeta[2];
1792 _comment = tmpMeta[3];
1793 _info = tmpMeta[4];
1794 tmp3 += 10; /* Pattern matching succeeded; we may skip some cases if we fail */
1795#line 1337 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1796 _exp2 = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp1, _tree);
1797#line 1797 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1798
1799#line 1338 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1800 _body2 = omc_InstExtends_fixList(threadData, _cache, _inEnv, _body1, _tree, boxvar_InstExtends_fixStatement((void*)((char*)(&(boxvar_lit_InstExtends_fixStatement).header
) + 3))
);
1801#line 1801 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1802#line 1339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1803 tmp9 = (modelica_boolean)(referenceEq(_exp1, _exp2)((_exp1) == (_exp2)) && referenceEq(_body1, _body2)((_body1) == (_body2)));
1804#line 1339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1805 if(tmp9)
1806#line 1339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1807 {
1808#line 1339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1809 tmpMeta[2] = _inStmt;
1810#line 1339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1811 }
1812#line 1339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1813 else
1814#line 1339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1815 {
1816#line 1339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1817 tmpMeta[1] = mmc_mk_box5(7, &SCode_Statement_ALG__WHILE__desc, _exp2, _body2, _comment, _info);
1818#line 1339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1819 tmpMeta[2] = tmpMeta[1];
1820#line 1339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1821 }
1822#line 1339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1823 tmpMeta[0] = tmpMeta[2];
1824#line 1824 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1825 goto tmp2_done;
1826 }
1827 case 5: {
1828 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
1829 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1830 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1831 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1832 _whenlst = tmpMeta[1];
1833 _comment = tmpMeta[2];
1834 _info = tmpMeta[3];
1835 tmp3 += 9; /* Pattern matching succeeded; we may skip some cases if we fail */
1836#line 1343 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1837 _whenlst = omc_InstExtends_fixListTuple2(threadData, _cache, _inEnv, _whenlst, _tree, boxvar_InstExtends_fixExp((void*)((char*)(&(boxvar_lit_InstExtends_fixExp).header)
+ 3))
, boxvar_InstExtends_fixListAlgorithmItem((void*)((char*)(&(boxvar_lit_InstExtends_fixListAlgorithmItem
).header) + 3))
);
1838#line 1838 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1839#line 1344 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1840 tmpMeta[1] = mmc_mk_box4(8, &SCode_Statement_ALG__WHEN__A__desc, _whenlst, _comment, _info);
1841#line 1344 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1842 tmpMeta[0] = tmpMeta[1];
1843#line 1843 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1844 goto tmp2_done;
1845 }
1846 case 6: {
1847 modelica_boolean tmp10;
1848 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,6,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((5 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
1849 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1850 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1851 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1852 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
1853 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
1854 _exp = tmpMeta[1];
1855 _exp1 = tmpMeta[2];
1856 _exp2 = tmpMeta[3];
1857 _comment = tmpMeta[4];
1858 _info = tmpMeta[5];
1859 tmp3 += 8; /* Pattern matching succeeded; we may skip some cases if we fail */
1860#line 1348 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1861 _exp_1 = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp, _tree);
1862#line 1862 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1863
1864#line 1349 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1865 _exp1_1 = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp1, _tree);
1866#line 1866 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1867
1868#line 1350 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1869 _exp2_1 = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp2, _tree);
1870#line 1870 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1871#line 1351 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1872 tmp10 = (modelica_boolean)((referenceEq(_exp, _exp_1)((_exp) == (_exp_1)) && referenceEq(_exp1, _exp1_1)((_exp1) == (_exp1_1))) && referenceEq(_exp2, _exp2_1)((_exp2) == (_exp2_1)));
1873#line 1351 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1874 if(tmp10)
1875#line 1351 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1876 {
1877#line 1351 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1878 tmpMeta[2] = _inStmt;
1879#line 1351 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1880 }
1881#line 1351 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1882 else
1883#line 1351 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1884 {
1885#line 1351 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1886 tmpMeta[1] = mmc_mk_box6(9, &SCode_Statement_ALG__ASSERT__desc, _exp_1, _exp1_1, _exp2_1, _comment, _info);
1887#line 1351 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1888 tmpMeta[2] = tmpMeta[1];
1889#line 1351 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1890 }
1891#line 1351 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1892 tmpMeta[0] = tmpMeta[2];
1893#line 1893 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1894 goto tmp2_done;
1895 }
1896 case 7: {
1897 modelica_boolean tmp11;
1898 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,7,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((7 +3) & 255) << 2)))
== 0) goto tmp2_end;
1899 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1900 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1901 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1902 _exp1 = tmpMeta[1];
1903 _comment = tmpMeta[2];
1904 _info = tmpMeta[3];
1905 tmp3 += 7; /* Pattern matching succeeded; we may skip some cases if we fail */
1906#line 1355 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1907 _exp2 = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp1, _tree);
1908#line 1908 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1909#line 1356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1910 tmp11 = (modelica_boolean)referenceEq(_exp1, _exp2)((_exp1) == (_exp2));
1911#line 1356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1912 if(tmp11)
1913#line 1356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1914 {
1915#line 1356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1916 tmpMeta[2] = _inStmt;
1917#line 1356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1918 }
1919#line 1356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1920 else
1921#line 1356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1922 {
1923#line 1356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1924 tmpMeta[1] = mmc_mk_box4(10, &SCode_Statement_ALG__TERMINATE__desc, _exp2, _comment, _info);
1925#line 1356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1926 tmpMeta[2] = tmpMeta[1];
1927#line 1356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1928 }
1929#line 1356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1930 tmpMeta[0] = tmpMeta[2];
1931#line 1931 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1932 goto tmp2_done;
1933 }
1934 case 8: {
1935 modelica_boolean tmp12;
1936 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,8,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((8 +3) & 255) << 2)))
== 0) goto tmp2_end;
1937 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1938 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1939 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1940 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
1941 _exp1 = tmpMeta[1];
1942 _exp2 = tmpMeta[2];
1943 _comment = tmpMeta[3];
1944 _info = tmpMeta[4];
1945 tmp3 += 6; /* Pattern matching succeeded; we may skip some cases if we fail */
1946#line 1360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1947 _exp1_1 = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp1, _tree);
1948#line 1948 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1949
1950#line 1361 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1951 _exp2_1 = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp2, _tree);
1952#line 1952 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1953#line 1362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1954 tmp12 = (modelica_boolean)(referenceEq(_exp1, _exp1_1)((_exp1) == (_exp1_1)) && referenceEq(_exp2, _exp2_1)((_exp2) == (_exp2_1)));
1955#line 1362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1956 if(tmp12)
1957#line 1362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1958 {
1959#line 1362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1960 tmpMeta[2] = _inStmt;
1961#line 1362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1962 }
1963#line 1362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1964 else
1965#line 1362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1966 {
1967#line 1362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1968 tmpMeta[1] = mmc_mk_box5(11, &SCode_Statement_ALG__REINIT__desc, _exp1_1, _exp2_1, _comment, _info);
1969#line 1362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1970 tmpMeta[2] = tmpMeta[1];
1971#line 1362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1972 }
1973#line 1362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1974 tmpMeta[0] = tmpMeta[2];
1975#line 1975 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1976 goto tmp2_done;
1977 }
1978 case 9: {
1979 modelica_boolean tmp13;
1980 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,9,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((9 +3) & 255) << 2)))
== 0) goto tmp2_end;
1981 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1982 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1983 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1984 _exp1 = tmpMeta[1];
1985 _comment = tmpMeta[2];
1986 _info = tmpMeta[3];
1987 tmp3 += 5; /* Pattern matching succeeded; we may skip some cases if we fail */
1988#line 1366 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1989 _exp2 = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp1, _tree);
1990#line 1990 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
1991#line 1367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1992 tmp13 = (modelica_boolean)referenceEq(_exp1, _exp2)((_exp1) == (_exp2));
1993#line 1367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1994 if(tmp13)
1995#line 1367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1996 {
1997#line 1367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
1998 tmpMeta[2] = _inStmt;
1999#line 1367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2000 }
2001#line 1367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2002 else
2003#line 1367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2004 {
2005#line 1367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2006 tmpMeta[1] = mmc_mk_box4(12, &SCode_Statement_ALG__NORETCALL__desc, _exp2, _comment, _info);
2007#line 1367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2008 tmpMeta[2] = tmpMeta[1];
2009#line 1367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2010 }
2011#line 1367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2012 tmpMeta[0] = tmpMeta[2];
2013#line 2013 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2014 goto tmp2_done;
2015 }
2016 case 10: {
2017 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,10,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((10 +3) & 255) << 2)))
== 0) goto tmp2_end;
2018
2019 tmp3 += 4; /* Pattern matching succeeded; we may skip some cases if we fail */
2020#line 1369 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2021 tmpMeta[0] = _inStmt;
2022#line 2022 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2023 goto tmp2_done;
2024 }
2025 case 11: {
2026 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,11,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((11 +3) & 255) << 2)))
== 0) goto tmp2_end;
2027
2028 tmp3 += 3; /* Pattern matching succeeded; we may skip some cases if we fail */
2029#line 1370 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2030 tmpMeta[0] = _inStmt;
2031#line 2031 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2032 goto tmp2_done;
2033 }
2034 case 12: {
2035 modelica_boolean tmp14;
2036 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,12,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((12 +3) & 255) << 2)))
== 0) goto tmp2_end;
2037 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2038 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2039 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
2040 _body1 = tmpMeta[1];
2041 _comment = tmpMeta[2];
2042 _info = tmpMeta[3];
2043 tmp3 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
2044#line 1374 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2045 _body2 = omc_InstExtends_fixList(threadData, _cache, _inEnv, _body1, _tree, boxvar_InstExtends_fixStatement((void*)((char*)(&(boxvar_lit_InstExtends_fixStatement).header
) + 3))
);
2046#line 2046 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2047#line 1375 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2048 tmp14 = (modelica_boolean)referenceEq(_body1, _body2)((_body1) == (_body2));
2049#line 1375 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2050 if(tmp14)
2051#line 1375 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2052 {
2053#line 1375 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2054 tmpMeta[2] = _inStmt;
2055#line 1375 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2056 }
2057#line 1375 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2058 else
2059#line 1375 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2060 {
2061#line 1375 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2062 tmpMeta[1] = mmc_mk_box4(15, &SCode_Statement_ALG__FAILURE__desc, _body2, _comment, _info);
2063#line 1375 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2064 tmpMeta[2] = tmpMeta[1];
2065#line 1375 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2066 }
2067#line 1375 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2068 tmpMeta[0] = tmpMeta[2];
2069#line 2069 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2070 goto tmp2_done;
2071 }
2072 case 13: {
2073 modelica_boolean tmp15;
2074 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,13,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp2_end;
2075 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2076 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2077 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
2078 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
2079 _truebranch1 = tmpMeta[1];
2080 _elsebranch1 = tmpMeta[2];
2081 _comment = tmpMeta[3];
2082 _info = tmpMeta[4];
2083 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
2084#line 1380 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2085 _truebranch2 = omc_InstExtends_fixList(threadData, _cache, _inEnv, _truebranch1, _tree, boxvar_InstExtends_fixStatement((void*)((char*)(&(boxvar_lit_InstExtends_fixStatement).header
) + 3))
);
2086#line 2086 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2087
2088#line 1381 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2089 _elsebranch2 = omc_InstExtends_fixList(threadData, _cache, _inEnv, _elsebranch1, _tree, boxvar_InstExtends_fixStatement((void*)((char*)(&(boxvar_lit_InstExtends_fixStatement).header
) + 3))
);
2090#line 2090 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2091#line 1382 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2092 tmp15 = (modelica_boolean)(referenceEq(_truebranch1, _truebranch2)((_truebranch1) == (_truebranch2)) && referenceEq(_elsebranch1, _elsebranch2)((_elsebranch1) == (_elsebranch2)));
2093#line 1382 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2094 if(tmp15)
2095#line 1382 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2096 {
2097#line 1382 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2098 tmpMeta[2] = _inStmt;
2099#line 1382 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2100 }
2101#line 1382 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2102 else
2103#line 1382 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2104 {
2105#line 1382 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2106 tmpMeta[1] = mmc_mk_box5(16, &SCode_Statement_ALG__TRY__desc, _truebranch2, _elsebranch2, _comment, _info);
2107#line 1382 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2108 tmpMeta[2] = tmpMeta[1];
2109#line 1382 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2110 }
2111#line 1382 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2112 tmpMeta[0] = tmpMeta[2];
2113#line 2113 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2114 goto tmp2_done;
2115 }
2116 case 14: {
2117 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,14,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((14 +3) & 255) << 2)))
== 0) goto tmp2_end;
2118
2119 /* Pattern matching succeeded */
2120#line 1386 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2121 tmpMeta[0] = _inStmt;
2122#line 2122 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2123 goto tmp2_done;
2124 }
2125 case 15: {
2126
2127 /* Pattern matching succeeded */
2128#line 1390 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2129 tmpMeta[1] = stringAppend(_OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)),omc_Dump_unparseAlgorithmStr(threadData, omc_SCodeUtil_statementToAlgorithmItem(threadData, _inStmt)));
2130#line 1390 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2131 omc_Error_addInternalError(threadData, tmpMeta[1], _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)));
2132#line 2132 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2133#line 1392 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2134 goto goto_1;
2135#line 2135 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2136 goto tmp2_done;
2137 }
2138 }
2139 goto tmp2_end;
2140 tmp2_end: ;
2141 }
2142 goto goto_1;
2143 tmp2_done:
2144 (void)tmp3;
2145 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2146 goto tmp2_done2;
2147 goto_1:;
2148 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2149 if (++tmp3 < 16) {
2150 goto tmp2_top;
2151 }
2152 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2153 tmp2_done2:;
2154 }
2155 }
2156 _outStmt = tmpMeta[0];
2157 _return: OMC_LABEL_UNUSED__attribute__((unused))
2158 return _outStmt;
2159}
2160
2161PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixListAlgorithmItem(threadData_t *threadData, modelica_metatype _cache, modelica_metatype _env, modelica_metatype _alg, modelica_metatype _tree)
2162{
2163 modelica_metatype _outAlg = NULL((void*)0);
2164 MMC_SO()mmc_check_stackoverflow(threadData);
2165 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2166 // _outAlg has no default value.
2167#line 1283 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2168 _outAlg = omc_InstExtends_fixList(threadData, _cache, _env, _alg, _tree, boxvar_InstExtends_fixStatement((void*)((char*)(&(boxvar_lit_InstExtends_fixStatement).header
) + 3))
);
2169#line 2169 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2170 _return: OMC_LABEL_UNUSED__attribute__((unused))
2171 return _outAlg;
2172}
2173
2174PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixConstraint(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inConstrs, modelica_metatype _tree)
2175{
2176 modelica_metatype _outConstrs = NULL((void*)0);
2177 modelica_metatype _exps = NULL((void*)0);
2178 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2179 MMC_SO()mmc_check_stackoverflow(threadData);
2180 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2181 // _outConstrs has no default value.
2182 // _exps has no default value.
2183#line 1267 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2184 /* Pattern-matching assignment */
2185#line 1267 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2186 tmpMeta[0] = _inConstrs;
2187#line 1267 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2188 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2189#line 1267 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2190 _exps = tmpMeta[1];
2191#line 2191 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2192
2193#line 1268 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2194 _exps = omc_InstExtends_fixList(threadData, _inCache, _inEnv, _exps, _tree, boxvar_InstExtends_fixExp((void*)((char*)(&(boxvar_lit_InstExtends_fixExp).header)
+ 3))
);
2195#line 2195 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2196
2197#line 1269 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2198 tmpMeta[0] = mmc_mk_box2(3, &SCode_ConstraintSection_CONSTRAINTS__desc, _exps);
2199#line 1269 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2200 _outConstrs = tmpMeta[0];
2201#line 2201 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2202 _return: OMC_LABEL_UNUSED__attribute__((unused))
2203 return _outConstrs;
2204}
2205
2206PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixAlgorithm(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inAlg, modelica_metatype _tree)
2207{
2208 modelica_metatype _outAlg = NULL((void*)0);
2209 modelica_metatype _stmts1 = NULL((void*)0);
2210 modelica_metatype _stmts2 = NULL((void*)0);
2211 modelica_boolean tmp1;
2212 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2213 MMC_SO()mmc_check_stackoverflow(threadData);
2214 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2215 // _outAlg has no default value.
2216 // _stmts1 has no default value.
2217 // _stmts2 has no default value.
2218#line 1249 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2219 /* Pattern-matching assignment */
2220#line 1249 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2221 tmpMeta[0] = _inAlg;
2222#line 1249 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2223 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2224#line 1249 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2225 _stmts1 = tmpMeta[1];
2226#line 2226 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2227
2228#line 1250 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2229 _stmts2 = omc_InstExtends_fixList(threadData, _inCache, _inEnv, _stmts1, _tree, boxvar_InstExtends_fixStatement((void*)((char*)(&(boxvar_lit_InstExtends_fixStatement).header
) + 3))
);
2230#line 2230 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2231
2232#line 1251 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2233 tmp1 = (modelica_boolean)referenceEq(_stmts1, _stmts2)((_stmts1) == (_stmts2));
2234#line 1251 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2235 if(tmp1)
2236#line 1251 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2237 {
2238#line 1251 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2239 tmpMeta[1] = _inAlg;
2240#line 1251 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2241 }
2242#line 1251 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2243 else
2244#line 1251 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2245 {
2246#line 1251 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2247 tmpMeta[0] = mmc_mk_box2(3, &SCode_AlgorithmSection_ALGORITHM__desc, _stmts2);
2248#line 1251 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2249 tmpMeta[1] = tmpMeta[0];
2250#line 1251 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2251 }
2252#line 1251 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2253 _outAlg = tmpMeta[1];
2254#line 2254 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2255 _return: OMC_LABEL_UNUSED__attribute__((unused))
2256 return _outAlg;
2257}
2258
2259PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixListEEquation(threadData_t *threadData, modelica_metatype _cache, modelica_metatype _env, modelica_metatype _eeq, modelica_metatype _tree)
2260{
2261 modelica_metatype _outEeq = NULL((void*)0);
2262 MMC_SO()mmc_check_stackoverflow(threadData);
2263 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2264 // _outEeq has no default value.
2265#line 1233 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2266 _outEeq = omc_InstExtends_fixList(threadData, _cache, _env, _eeq, _tree, boxvar_InstExtends_fixEEquation((void*)((char*)(&(boxvar_lit_InstExtends_fixEEquation).header
) + 3))
);
2267#line 2267 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2268 _return: OMC_LABEL_UNUSED__attribute__((unused))
2269 return _outEeq;
2270}
2271
2272PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixEEquation(threadData_t *threadData, modelica_metatype _cache, modelica_metatype _inEnv, modelica_metatype _inEeq, modelica_metatype _tree)
2273{
2274 modelica_metatype _outEeq = NULL((void*)0);
2275 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
2276 MMC_SO()mmc_check_stackoverflow(threadData);
2277 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2278 // _outEeq has no default value.
2279#line 2279 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2280 { /* match expression */
2281 modelica_metatype tmp3_1;
2282 tmp3_1 = _inEeq;
2283 {
2284 modelica_string _id = NULL((void*)0);
2285 modelica_metatype _cref = NULL((void*)0);
2286 modelica_metatype _cref1 = NULL((void*)0);
2287 modelica_metatype _cref2 = NULL((void*)0);
2288 modelica_metatype _exp = NULL((void*)0);
2289 modelica_metatype _exp1 = NULL((void*)0);
2290 modelica_metatype _exp2 = NULL((void*)0);
2291 modelica_metatype _exp3 = NULL((void*)0);
2292 modelica_metatype _expl = NULL((void*)0);
2293 modelica_metatype _eql = NULL((void*)0);
2294 modelica_metatype _eqll = NULL((void*)0);
2295 modelica_metatype _whenlst = NULL((void*)0);
2296 modelica_metatype _comment = NULL((void*)0);
2297 modelica_metatype _optExp = NULL((void*)0);
2298 modelica_metatype _info = NULL((void*)0);
2299 int tmp3;
2300 // _id has no default value.
2301 // _cref has no default value.
2302 // _cref1 has no default value.
2303 // _cref2 has no default value.
2304 // _exp has no default value.
2305 // _exp1 has no default value.
2306 // _exp2 has no default value.
2307 // _exp3 has no default value.
2308 // _expl has no default value.
2309 // _eql has no default value.
2310 // _eqll has no default value.
2311 // _whenlst has no default value.
2312 // _comment has no default value.
2313 // _optExp has no default value.
2314 // _info has no default value.
2315 {
2316 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> 2
) & 255))
) {
2317 case 3: {
2318 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((5 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
2319 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2320 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2321 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
2322 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
2323 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
2324 _expl = tmpMeta[1];
2325 _eqll = tmpMeta[2];
2326 _eql = tmpMeta[3];
2327 _comment = tmpMeta[4];
2328 _info = tmpMeta[5];
2329 /* Pattern matching succeeded */
2330#line 1169 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2331 _expl = omc_InstExtends_fixList(threadData, _cache, _inEnv, _expl, _tree, boxvar_InstExtends_fixExp((void*)((char*)(&(boxvar_lit_InstExtends_fixExp).header)
+ 3))
);
2332#line 2332 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2333
2334#line 1170 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2335 _eqll = omc_InstExtends_fixListList(threadData, _cache, _inEnv, _eqll, _tree, boxvar_InstExtends_fixEEquation((void*)((char*)(&(boxvar_lit_InstExtends_fixEEquation).header
) + 3))
);
2336#line 2336 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2337
2338#line 1171 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2339 _eql = omc_InstExtends_fixList(threadData, _cache, _inEnv, _eql, _tree, boxvar_InstExtends_fixEEquation((void*)((char*)(&(boxvar_lit_InstExtends_fixEEquation).header
) + 3))
);
2340#line 2340 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2341#line 1172 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2342 tmpMeta[1] = mmc_mk_box6(3, &SCode_EEquation_EQ__IF__desc, _expl, _eqll, _eql, _comment, _info);
2343#line 1172 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2344 tmpMeta[0] = tmpMeta[1];
2345#line 2345 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2346 goto tmp2_done;
2347 }
2348 case 4: {
2349 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
2350 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2351 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2352 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
2353 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
2354 _exp1 = tmpMeta[1];
2355 _exp2 = tmpMeta[2];
2356 _comment = tmpMeta[3];
2357 _info = tmpMeta[4];
2358 /* Pattern matching succeeded */
2359#line 1175 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2360 _exp1 = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp1, _tree);
2361#line 2361 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2362
2363#line 1176 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2364 _exp2 = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp2, _tree);
2365#line 2365 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2366#line 1177 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2367 tmpMeta[1] = mmc_mk_box5(4, &SCode_EEquation_EQ__EQUALS__desc, _exp1, _exp2, _comment, _info);
2368#line 1177 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2369 tmpMeta[0] = tmpMeta[1];
2370#line 2370 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2371 goto tmp2_done;
2372 }
2373 case 5: {
2374 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,2,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((5 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
2375 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2376 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2377 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
2378 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
2379 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
2380 _exp1 = tmpMeta[1];
2381 _exp2 = tmpMeta[2];
2382 _cref = tmpMeta[3];
2383 _comment = tmpMeta[4];
2384 _info = tmpMeta[5];
2385 /* Pattern matching succeeded */
2386#line 1180 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2387 _exp1 = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp1, _tree);
2388#line 2388 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2389
2390#line 1181 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2391 _exp2 = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp2, _tree);
2392#line 2392 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2393
2394#line 1182 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2395 _cref = omc_InstExtends_fixCref(threadData, _cache, _inEnv, _cref, _tree);
2396#line 2396 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2397#line 1183 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2398 tmpMeta[1] = mmc_mk_box6(5, &SCode_EEquation_EQ__PDE__desc, _exp1, _exp2, _cref, _comment, _info);
2399#line 1183 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2400 tmpMeta[0] = tmpMeta[1];
2401#line 2401 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2402 goto tmp2_done;
2403 }
2404 case 6: {
2405 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,3,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
2406 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2407 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2408 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
2409 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
2410 _cref1 = tmpMeta[1];
2411 _cref2 = tmpMeta[2];
2412 _comment = tmpMeta[3];
2413 _info = tmpMeta[4];
2414 /* Pattern matching succeeded */
2415#line 1186 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2416 _cref1 = omc_InstExtends_fixCref(threadData, _cache, _inEnv, _cref1, _tree);
2417#line 2417 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2418
2419#line 1187 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2420 _cref2 = omc_InstExtends_fixCref(threadData, _cache, _inEnv, _cref2, _tree);
2421#line 2421 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2422#line 1188 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2423 tmpMeta[1] = mmc_mk_box5(6, &SCode_EEquation_EQ__CONNECT__desc, _cref1, _cref2, _comment, _info);
2424#line 1188 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2425 tmpMeta[0] = tmpMeta[1];
2426#line 2426 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2427 goto tmp2_done;
2428 }
2429 case 7: {
2430 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,4,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((5 +1) <<
10) + (((4 +3) & 255) << 2)))
== 0) goto tmp2_end;
2431 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2432 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2433 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
2434 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
2435 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
2436 _id = tmpMeta[1];
2437 _optExp = tmpMeta[2];
2438 _eql = tmpMeta[3];
2439 _comment = tmpMeta[4];
2440 _info = tmpMeta[5];
2441 /* Pattern matching succeeded */
2442#line 1191 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2443 _optExp = omc_InstExtends_fixOption(threadData, _cache, _inEnv, _optExp, _tree, boxvar_InstExtends_fixExp((void*)((char*)(&(boxvar_lit_InstExtends_fixExp).header)
+ 3))
);
2444#line 2444 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2445
2446#line 1192 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2447 _eql = omc_InstExtends_fixList(threadData, _cache, _inEnv, _eql, _tree, boxvar_InstExtends_fixEEquation((void*)((char*)(&(boxvar_lit_InstExtends_fixEEquation).header
) + 3))
);
2448#line 2448 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2449#line 1193 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2450 tmpMeta[1] = mmc_mk_box6(7, &SCode_EEquation_EQ__FOR__desc, _id, _optExp, _eql, _comment, _info);
2451#line 1193 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2452 tmpMeta[0] = tmpMeta[1];
2453#line 2453 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2454 goto tmp2_done;
2455 }
2456 case 8: {
2457 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((5 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
2458 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2459 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2460 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
2461 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
2462 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
2463 _exp = tmpMeta[1];
2464 _eql = tmpMeta[2];
2465 _whenlst = tmpMeta[3];
2466 _comment = tmpMeta[4];
2467 _info = tmpMeta[5];
2468 /* Pattern matching succeeded */
2469#line 1196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2470 _exp = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp, _tree);
2471#line 2471 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2472
2473#line 1197 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2474 _eql = omc_InstExtends_fixList(threadData, _cache, _inEnv, _eql, _tree, boxvar_InstExtends_fixEEquation((void*)((char*)(&(boxvar_lit_InstExtends_fixEEquation).header
) + 3))
);
2475#line 2475 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2476
2477#line 1198 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2478 _whenlst = omc_InstExtends_fixListTuple2(threadData, _cache, _inEnv, _whenlst, _tree, boxvar_InstExtends_fixExp((void*)((char*)(&(boxvar_lit_InstExtends_fixExp).header)
+ 3))
, boxvar_InstExtends_fixListEEquation((void*)((char*)(&(boxvar_lit_InstExtends_fixListEEquation
).header) + 3))
);
2479#line 2479 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2480#line 1199 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2481 tmpMeta[1] = mmc_mk_box6(8, &SCode_EEquation_EQ__WHEN__desc, _exp, _eql, _whenlst, _comment, _info);
2482#line 1199 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2483 tmpMeta[0] = tmpMeta[1];
2484#line 2484 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2485 goto tmp2_done;
2486 }
2487 case 9: {
2488 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,6,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((5 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
2489 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2490 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2491 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
2492 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
2493 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
2494 _exp1 = tmpMeta[1];
2495 _exp2 = tmpMeta[2];
2496 _exp3 = tmpMeta[3];
2497 _comment = tmpMeta[4];
2498 _info = tmpMeta[5];
2499 /* Pattern matching succeeded */
2500#line 1202 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2501 _exp1 = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp1, _tree);
2502#line 2502 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2503
2504#line 1203 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2505 _exp2 = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp2, _tree);
2506#line 2506 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2507
2508#line 1204 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2509 _exp3 = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp3, _tree);
2510#line 2510 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2511#line 1205 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2512 tmpMeta[1] = mmc_mk_box6(9, &SCode_EEquation_EQ__ASSERT__desc, _exp1, _exp2, _exp3, _comment, _info);
2513#line 1205 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2514 tmpMeta[0] = tmpMeta[1];
2515#line 2515 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2516 goto tmp2_done;
2517 }
2518 case 10: {
2519 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,7,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((7 +3) & 255) << 2)))
== 0) goto tmp2_end;
2520 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2521 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2522 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
2523 _exp = tmpMeta[1];
2524 _comment = tmpMeta[2];
2525 _info = tmpMeta[3];
2526 /* Pattern matching succeeded */
2527#line 1208 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2528 _exp = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp, _tree);
2529#line 2529 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2530#line 1209 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2531 tmpMeta[1] = mmc_mk_box4(10, &SCode_EEquation_EQ__TERMINATE__desc, _exp, _comment, _info);
2532#line 1209 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2533 tmpMeta[0] = tmpMeta[1];
2534#line 2534 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2535 goto tmp2_done;
2536 }
2537 case 11: {
2538 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,8,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((8 +3) & 255) << 2)))
== 0) goto tmp2_end;
2539 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2540 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2541 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
2542 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
2543 _exp1 = tmpMeta[1];
2544 _exp = tmpMeta[2];
2545 _comment = tmpMeta[3];
2546 _info = tmpMeta[4];
2547 /* Pattern matching succeeded */
2548#line 1212 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2549 _exp1 = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp1, _tree);
2550#line 2550 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2551
2552#line 1213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2553 _exp = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp, _tree);
2554#line 2554 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2555#line 1214 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2556 tmpMeta[1] = mmc_mk_box5(11, &SCode_EEquation_EQ__REINIT__desc, _exp1, _exp, _comment, _info);
2557#line 1214 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2558 tmpMeta[0] = tmpMeta[1];
2559#line 2559 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2560 goto tmp2_done;
2561 }
2562 case 12: {
2563 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,9,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((9 +3) & 255) << 2)))
== 0) goto tmp2_end;
2564 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2565 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2566 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
2567 _exp = tmpMeta[1];
2568 _comment = tmpMeta[2];
2569 _info = tmpMeta[3];
2570 /* Pattern matching succeeded */
2571#line 1217 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2572 _exp = omc_InstExtends_fixExp(threadData, _cache, _inEnv, _exp, _tree);
2573#line 2573 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2574#line 1218 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2575 tmpMeta[1] = mmc_mk_box4(12, &SCode_EEquation_EQ__NORETCALL__desc, _exp, _comment, _info);
2576#line 1218 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2577 tmpMeta[0] = tmpMeta[1];
2578#line 2578 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2579 goto tmp2_done;
2580 }
2581 }
2582 goto tmp2_end;
2583 tmp2_end: ;
2584 }
2585 goto goto_1;
2586 goto_1:;
2587 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2588 goto tmp2_done;
2589 tmp2_done:;
2590 }
2591 }
2592 _outEeq = tmpMeta[0];
2593 _return: OMC_LABEL_UNUSED__attribute__((unused))
2594 return _outEeq;
2595}
2596
2597PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixEquation(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inEq, modelica_metatype _tree)
2598{
2599 modelica_metatype _outEq = NULL((void*)0);
2600 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
2601 MMC_SO()mmc_check_stackoverflow(threadData);
2602 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2603 // _outEq has no default value.
2604#line 2604 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2605 { /* match expression */
2606 modelica_metatype tmp3_1;
2607 tmp3_1 = _inEq;
2608 {
2609 modelica_metatype _eeq1 = NULL((void*)0);
2610 modelica_metatype _eeq2 = NULL((void*)0);
2611 volatile mmc_switch_type tmp3;
2612 int tmp4;
2613 // _eeq1 has no default value.
2614 // _eeq2 has no default value.
2615 tmp3 = 0;
2616 for (; tmp3 < 2; tmp3++) {
2617 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2618 case 0: {
2619 modelica_boolean tmp5;
2620 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2621 _eeq1 = tmpMeta[1];
2622 /* Pattern matching succeeded */
2623#line 1132 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2624 _eeq2 = omc_InstExtends_fixEEquation(threadData, _inCache, _inEnv, _eeq1, _tree);
2625#line 2625 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2626#line 1133 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2627 tmp5 = (modelica_boolean)referenceEq(_eeq1, _eeq2)((_eeq1) == (_eeq2));
2628#line 1133 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2629 if(tmp5)
2630#line 1133 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2631 {
2632#line 1133 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2633 tmpMeta[2] = _inEq;
2634#line 1133 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2635 }
2636#line 1133 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2637 else
2638#line 1133 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2639 {
2640#line 1133 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2641 tmpMeta[1] = mmc_mk_box2(3, &SCode_Equation_EQUATION__desc, _eeq2);
2642#line 1133 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2643 tmpMeta[2] = tmpMeta[1];
2644#line 1133 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2645 }
2646#line 1133 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2647 tmpMeta[0] = tmpMeta[2];
2648#line 2648 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2649 goto tmp2_done;
2650 }
2651 case 1: {
2652 modelica_boolean tmp6;
2653 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2654 _eeq1 = tmpMeta[1];
2655 /* Pattern matching succeeded */
2656#line 1137 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2657 /* Pattern-matching assignment */
2658#line 1137 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2659 tmp6 = omc_Flags_isSet(threadData, _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
2660#line 1137 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2661 if (1 != tmp6) goto goto_1;
2662#line 2662 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2663
2664#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2665 tmpMeta[1] = stringAppend(_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)),omc_SCodeDump_equationStr(threadData, _eeq1, _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))));
2666#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2667 omc_Debug_traceln(threadData, tmpMeta[1]);
2668#line 2668 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2669#line 1139 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2670 goto goto_1;
2671#line 2671 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2672 goto tmp2_done;
2673 }
2674 }
2675 goto tmp2_end;
2676 tmp2_end: ;
2677 }
2678 goto goto_1;
2679 goto_1:;
2680 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2681 goto tmp2_done;
2682 tmp2_done:;
2683 }
2684 }
2685 _outEq = tmpMeta[0];
2686 _return: OMC_LABEL_UNUSED__attribute__((unused))
2687 return _outEq;
2688}
2689
2690PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixClassdef(threadData_t *threadData, modelica_metatype _cache, modelica_metatype _inEnv, modelica_metatype _inCd, modelica_metatype _inTree)
2691{
2692 modelica_metatype _outCd = NULL((void*)0);
2693 modelica_metatype _tree = NULL((void*)0);
2694 modelica_metatype tmpMeta[11] __attribute__((unused)) = {0};
2695 MMC_SO()mmc_check_stackoverflow(threadData);
2696 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2697 // _outCd has no default value.
2698 _tree = _inTree;
2699#line 2699 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2700 { /* matchcontinue expression */
2701 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;
2702 tmp3_1 = _inEnv;
2703 tmp3_2 = _inCd;
2704 {
2705 modelica_metatype _elts = NULL((void*)0);
2706 modelica_metatype _elts_1 = NULL((void*)0);
2707 modelica_metatype _ne = NULL((void*)0);
2708 modelica_metatype _ne_1 = NULL((void*)0);
2709 modelica_metatype _ie = NULL((void*)0);
2710 modelica_metatype _ie_1 = NULL((void*)0);
2711 modelica_metatype _na = NULL((void*)0);
2712 modelica_metatype _na_1 = NULL((void*)0);
2713 modelica_metatype _ia = NULL((void*)0);
2714 modelica_metatype _ia_1 = NULL((void*)0);
2715 modelica_metatype _nc = NULL((void*)0);
2716 modelica_metatype _nc_1 = NULL((void*)0);
2717 modelica_metatype _clats = NULL((void*)0);
2718 modelica_metatype _ed = NULL((void*)0);
2719 modelica_metatype _ts = NULL((void*)0);
2720 modelica_metatype _ts_1 = NULL((void*)0);
2721 modelica_metatype _attr = NULL((void*)0);
2722 modelica_metatype _mod = NULL((void*)0);
2723 modelica_metatype _mod_1 = NULL((void*)0);
2724 modelica_metatype _env = NULL((void*)0);
2725 modelica_metatype _cd = NULL((void*)0);
2726 modelica_metatype _cd_1 = NULL((void*)0);
2727 volatile mmc_switch_type tmp3;
2728 int tmp4;
2729 // _elts has no default value.
2730 // _elts_1 has no default value.
2731 // _ne has no default value.
2732 // _ne_1 has no default value.
2733 // _ie has no default value.
2734 // _ie_1 has no default value.
2735 // _na has no default value.
2736 // _na_1 has no default value.
2737 // _ia has no default value.
2738 // _ia_1 has no default value.
2739 // _nc has no default value.
2740 // _nc_1 has no default value.
2741 // _clats has no default value.
2742 // _ed has no default value.
2743 // _ts has no default value.
2744 // _ts_1 has no default value.
2745 // _attr has no default value.
2746 // _mod has no default value.
2747 // _mod_1 has no default value.
2748 // _env has no default value.
2749 // _cd has no default value.
2750 // _cd_1 has no default value.
2751 tmp3 = 0;
2752 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
2753 tmp2_top:
2754 threadData->mmc_jumper = &new_mmc_jumper;
2755 for (; tmp3 < 7; tmp3++) {
2756 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2757 case 0: {
2758 modelica_boolean tmp5;
2759 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,0,8)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((8 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
2760 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
2761 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
2762 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
2763 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(5)))))
;
2764 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(6)))))
;
2765 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(7)))))
;
2766 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(8)))))
;
2767 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(9)))))
;
2768
2769 _elts = tmpMeta[1];
2770 _ne = tmpMeta[2];
2771 _ie = tmpMeta[3];
2772 _na = tmpMeta[4];
2773 _ia = tmpMeta[5];
2774 _nc = tmpMeta[6];
2775 _clats = tmpMeta[7];
2776 _ed = tmpMeta[8];
2777 _env = tmp3_1;
2778 tmp3 += 5; /* Pattern matching succeeded; we may skip some cases if we fail */
2779#line 1071 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2780 _tree = omc_InstExtends_getLocalIdentList(threadData, _elts, _tree, boxvar_InstExtends_getLocalIdentElement((void*)((char*)(&(boxvar_lit_InstExtends_getLocalIdentElement
).header) + 3))
);
2781#line 2781 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2782
2783#line 1072 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2784 _elts_1 = omc_InstExtends_fixList(threadData, _cache, _env, _elts, _tree, boxvar_InstExtends_fixElement((void*)((char*)(&(boxvar_lit_InstExtends_fixElement).header
) + 3))
);
2785#line 2785 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2786
2787#line 1073 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2788 _ne_1 = omc_InstExtends_fixList(threadData, _cache, _env, _ne, _tree, boxvar_InstExtends_fixEquation((void*)((char*)(&(boxvar_lit_InstExtends_fixEquation).header
) + 3))
);
2789#line 2789 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2790
2791#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2792 _ie_1 = omc_InstExtends_fixList(threadData, _cache, _env, _ie, _tree, boxvar_InstExtends_fixEquation((void*)((char*)(&(boxvar_lit_InstExtends_fixEquation).header
) + 3))
);
2793#line 2793 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2794
2795#line 1075 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2796 _na_1 = omc_InstExtends_fixList(threadData, _cache, _env, _na, _tree, boxvar_InstExtends_fixAlgorithm((void*)((char*)(&(boxvar_lit_InstExtends_fixAlgorithm).header
) + 3))
);
2797#line 2797 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2798
2799#line 1076 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2800 _ia_1 = omc_InstExtends_fixList(threadData, _cache, _env, _ia, _tree, boxvar_InstExtends_fixAlgorithm((void*)((char*)(&(boxvar_lit_InstExtends_fixAlgorithm).header
) + 3))
);
2801#line 2801 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2802
2803#line 1077 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2804 _nc_1 = omc_InstExtends_fixList(threadData, _cache, _env, _nc, _tree, boxvar_InstExtends_fixConstraint((void*)((char*)(&(boxvar_lit_InstExtends_fixConstraint).
header) + 3))
);
2805#line 2805 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2806#line 1078 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2807 tmp5 = (modelica_boolean)(((((referenceEq(_elts, _elts_1)((_elts) == (_elts_1)) && referenceEq(_ne, _ne_1)((_ne) == (_ne_1))) && referenceEq(_ie, _ie_1)((_ie) == (_ie_1))) && referenceEq(_na, _na_1)((_na) == (_na_1))) && referenceEq(_ia, _ia_1)((_ia) == (_ia_1))) && referenceEq(_nc, _nc_1)((_nc) == (_nc_1)));
2808#line 1078 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2809 if(tmp5)
2810#line 1078 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2811 {
2812#line 1078 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2813 tmpMeta[2] = _inCd;
2814#line 1078 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2815 }
2816#line 1078 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2817 else
2818#line 1078 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2819 {
2820#line 1078 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2821 tmpMeta[1] = mmc_mk_box9(3, &SCode_ClassDef_PARTS__desc, _elts_1, _ne_1, _ie_1, _na_1, _ia_1, _nc_1, _clats, _ed);
2822#line 1078 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2823 tmpMeta[2] = tmpMeta[1];
2824#line 1078 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2825 }
2826#line 1078 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2827 tmpMeta[0] = tmpMeta[2];
2828#line 2828 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2829 goto tmp2_done;
2830 }
2831 case 1: {
2832 modelica_boolean tmp6;
2833 modelica_boolean tmp7;
2834 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,1,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((2 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
2835 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
2836 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
2837 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((8 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
2838 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2839 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
2840 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
2841 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (5)))))
;
2842 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (6)))))
;
2843 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (7)))))
;
2844 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (8)))))
;
2845 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (9)))))
;
2846
2847 _mod = tmpMeta[1];
2848 _cd = tmpMeta[2];
2849 _elts = tmpMeta[3];
2850 _ne = tmpMeta[4];
2851 _ie = tmpMeta[5];
2852 _na = tmpMeta[6];
2853 _ia = tmpMeta[7];
2854 _nc = tmpMeta[8];
2855 _clats = tmpMeta[9];
2856 _ed = tmpMeta[10];
2857 _env = tmp3_1;
2858 tmp3 += 4; /* Pattern matching succeeded; we may skip some cases if we fail */
2859#line 1083 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2860 _mod_1 = omc_InstExtends_fixModifications(threadData, _cache, _env, _mod, _inTree);
2861#line 2861 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2862
2863#line 1084 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2864 _elts_1 = omc_InstExtends_fixList(threadData, _cache, _env, _elts, _tree, boxvar_InstExtends_fixElement((void*)((char*)(&(boxvar_lit_InstExtends_fixElement).header
) + 3))
);
2865#line 2865 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2866
2867#line 1085 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2868 _ne_1 = omc_InstExtends_fixList(threadData, _cache, _env, _ne, _tree, boxvar_InstExtends_fixEquation((void*)((char*)(&(boxvar_lit_InstExtends_fixEquation).header
) + 3))
);
2869#line 2869 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2870
2871#line 1086 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2872 _ie_1 = omc_InstExtends_fixList(threadData, _cache, _env, _ie, _tree, boxvar_InstExtends_fixEquation((void*)((char*)(&(boxvar_lit_InstExtends_fixEquation).header
) + 3))
);
2873#line 2873 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2874
2875#line 1087 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2876 _na_1 = omc_InstExtends_fixList(threadData, _cache, _env, _na, _tree, boxvar_InstExtends_fixAlgorithm((void*)((char*)(&(boxvar_lit_InstExtends_fixAlgorithm).header
) + 3))
);
2877#line 2877 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2878
2879#line 1088 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2880 _ia_1 = omc_InstExtends_fixList(threadData, _cache, _env, _ia, _tree, boxvar_InstExtends_fixAlgorithm((void*)((char*)(&(boxvar_lit_InstExtends_fixAlgorithm).header
) + 3))
);
2881#line 2881 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2882
2883#line 1089 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2884 _nc_1 = omc_InstExtends_fixList(threadData, _cache, _env, _nc, _tree, boxvar_InstExtends_fixConstraint((void*)((char*)(&(boxvar_lit_InstExtends_fixConstraint).
header) + 3))
);
2885#line 2885 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2886
2887#line 1090 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2888 tmp6 = (modelica_boolean)(((((referenceEq(_elts, _elts_1)((_elts) == (_elts_1)) && referenceEq(_ne, _ne_1)((_ne) == (_ne_1))) && referenceEq(_ie, _ie_1)((_ie) == (_ie_1))) && referenceEq(_na, _na_1)((_na) == (_na_1))) && referenceEq(_ia, _ia_1)((_ia) == (_ia_1))) && referenceEq(_nc, _nc_1)((_nc) == (_nc_1)));
2889#line 1090 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2890 if(tmp6)
2891#line 1090 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2892 {
2893#line 1090 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2894 tmpMeta[2] = _cd;
2895#line 1090 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2896 }
2897#line 1090 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2898 else
2899#line 1090 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2900 {
2901#line 1090 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2902 tmpMeta[1] = mmc_mk_box9(3, &SCode_ClassDef_PARTS__desc, _elts_1, _ne_1, _ie_1, _na_1, _ia_1, _nc_1, _clats, _ed);
2903#line 1090 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2904 tmpMeta[2] = tmpMeta[1];
2905#line 1090 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2906 }
2907#line 1090 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2908 _cd_1 = tmpMeta[2];
2909#line 2909 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2910#line 1092 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2911 tmp7 = (modelica_boolean)(referenceEq(_cd, _cd_1)((_cd) == (_cd_1)) && referenceEq(_mod, _mod_1)((_mod) == (_mod_1)));
2912#line 1092 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2913 if(tmp7)
2914#line 1092 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2915 {
2916#line 1092 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2917 tmpMeta[2] = _inCd;
2918#line 1092 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2919 }
2920#line 1092 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2921 else
2922#line 1092 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2923 {
2924#line 1092 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2925 tmpMeta[1] = mmc_mk_box3(4, &SCode_ClassDef_CLASS__EXTENDS__desc, _mod_1, _cd_1);
2926#line 1092 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2927 tmpMeta[2] = tmpMeta[1];
2928#line 1092 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2929 }
2930#line 1092 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2931 tmpMeta[0] = tmpMeta[2];
2932#line 2932 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2933 goto tmp2_done;
2934 }
2935 case 2: {
2936 modelica_boolean tmp8;
2937 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,2,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((3 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
2938 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
2939 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
2940 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
2941
2942 _ts = tmpMeta[1];
2943 _mod = tmpMeta[2];
2944 _attr = tmpMeta[3];
2945 _env = tmp3_1;
2946 tmp3 += 3; /* Pattern matching succeeded; we may skip some cases if we fail */
2947#line 1097 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2948 _ts_1 = omc_InstExtends_fixTypeSpec(threadData, _cache, _env, _ts, _tree);
2949#line 2949 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2950
2951#line 1098 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2952 _mod_1 = omc_InstExtends_fixModifications(threadData, _cache, _env, _mod, _tree);
2953#line 2953 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2954#line 1099 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2955 tmp8 = (modelica_boolean)(referenceEq(_ts, _ts_1)((_ts) == (_ts_1)) && referenceEq(_mod, _mod_1)((_mod) == (_mod_1)));
2956#line 1099 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2957 if(tmp8)
2958#line 1099 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2959 {
2960#line 1099 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2961 tmpMeta[2] = _inCd;
2962#line 1099 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2963 }
2964#line 1099 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2965 else
2966#line 1099 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2967 {
2968#line 1099 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2969 tmpMeta[1] = mmc_mk_box4(5, &SCode_ClassDef_DERIVED__desc, _ts_1, _mod_1, _attr);
2970#line 1099 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2971 tmpMeta[2] = tmpMeta[1];
2972#line 1099 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2973 }
2974#line 1099 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2975 tmpMeta[0] = tmpMeta[2];
2976#line 2976 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2977 goto tmp2_done;
2978 }
2979 case 3: {
2980 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,3,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((1 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
2981
2982 _cd = tmp3_2;
2983 tmp3 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
2984#line 1101 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2985 tmpMeta[0] = _cd;
2986#line 2986 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2987 goto tmp2_done;
2988 }
2989 case 4: {
2990 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,4,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((1 +1) <<
10) + (((4 +3) & 255) << 2)))
== 0) goto tmp2_end;
2991
2992 _cd = tmp3_2;
2993 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
2994#line 1102 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
2995 tmpMeta[0] = _cd;
2996#line 2996 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
2997 goto tmp2_done;
2998 }
2999 case 5: {
3000 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,5,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((2 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
3001
3002 _cd = tmp3_2;
3003 /* Pattern matching succeeded */
3004#line 1103 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3005 tmpMeta[0] = _cd;
3006#line 3006 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3007 goto tmp2_done;
3008 }
3009 case 6: {
3010 modelica_boolean tmp9;
3011
3012 _cd = tmp3_2;
3013 /* Pattern matching succeeded */
3014#line 1107 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3015 /* Pattern-matching assignment */
3016#line 1107 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3017 tmp9 = omc_Flags_isSet(threadData, _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
3018#line 1107 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3019 if (1 != tmp9) goto goto_1;
3020#line 3020 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3021
3022#line 1108 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3023 tmpMeta[1] = stringAppend(_OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)),omc_SCodeDump_classDefStr(threadData, _cd, _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))));
3024#line 1108 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3025 omc_Debug_traceln(threadData, tmpMeta[1]);
3026#line 3026 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3027#line 1109 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3028 goto goto_1;
3029#line 3029 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3030 goto tmp2_done;
3031 }
3032 }
3033 goto tmp2_end;
3034 tmp2_end: ;
3035 }
3036 goto goto_1;
3037 tmp2_done:
3038 (void)tmp3;
3039 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3040 goto tmp2_done2;
3041 goto_1:;
3042 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3043 if (++tmp3 < 7) {
3044 goto tmp2_top;
3045 }
3046 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3047 tmp2_done2:;
3048 }
3049 }
3050 _outCd = tmpMeta[0];
3051 _return: OMC_LABEL_UNUSED__attribute__((unused))
3052 return _outCd;
3053}
3054
3055PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixElement(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inElt, modelica_metatype _tree)
3056{
3057 modelica_metatype _outElts = NULL((void*)0);
3058 modelica_metatype tmpMeta[11] __attribute__((unused)) = {0};
3059 MMC_SO()mmc_check_stackoverflow(threadData);
3060 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3061 // _outElts has no default value.
3062#line 3062 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3063 { /* matchcontinue expression */
3064 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;
3065 tmp3_1 = _inEnv;
3066 tmp3_2 = _inElt;
3067 {
3068 modelica_string _name = NULL((void*)0);
3069 modelica_metatype _prefixes = NULL((void*)0);
3070 modelica_metatype _partialPrefix = NULL((void*)0);
3071 modelica_metatype _typeSpec1 = NULL((void*)0);
3072 modelica_metatype _typeSpec2 = NULL((void*)0);
3073 modelica_metatype _modifications1 = NULL((void*)0);
3074 modelica_metatype _modifications2 = NULL((void*)0);
3075 modelica_metatype _comment = NULL((void*)0);
3076 modelica_metatype _condition = NULL((void*)0);
3077 modelica_metatype _info = NULL((void*)0);
3078 modelica_metatype _classDef1 = NULL((void*)0);
3079 modelica_metatype _classDef2 = NULL((void*)0);
3080 modelica_metatype _restriction = NULL((void*)0);
3081 modelica_metatype _optAnnotation = NULL((void*)0);
3082 modelica_metatype _extendsPath1 = NULL((void*)0);
3083 modelica_metatype _extendsPath2 = NULL((void*)0);
3084 modelica_metatype _vis = NULL((void*)0);
3085 modelica_metatype _ad = NULL((void*)0);
3086 modelica_metatype _env = NULL((void*)0);
3087 modelica_metatype _elt = NULL((void*)0);
3088 modelica_metatype _elt2 = NULL((void*)0);
3089 modelica_metatype _attr = NULL((void*)0);
3090 volatile mmc_switch_type tmp3;
3091 int tmp4;
3092 // _name has no default value.
3093 // _prefixes has no default value.
3094 // _partialPrefix has no default value.
3095 // _typeSpec1 has no default value.
3096 // _typeSpec2 has no default value.
3097 // _modifications1 has no default value.
3098 // _modifications2 has no default value.
3099 // _comment has no default value.
3100 // _condition has no default value.
3101 // _info has no default value.
3102 // _classDef1 has no default value.
3103 // _classDef2 has no default value.
3104 // _restriction has no default value.
3105 // _optAnnotation has no default value.
3106 // _extendsPath1 has no default value.
3107 // _extendsPath2 has no default value.
3108 // _vis has no default value.
3109 // _ad has no default value.
3110 // _env has no default value.
3111 // _elt has no default value.
3112 // _elt2 has no default value.
3113 // _attr has no default value.
3114 tmp3 = 0;
3115 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
3116 tmp2_top:
3117 threadData->mmc_jumper = &new_mmc_jumper;
3118 for (; tmp3 < 9; tmp3++) {
3119 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3120 case 0: {
3121 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,3,8)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((8 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
3122 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
3123 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (6)))))
;
3124 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3125
3126 _elt = tmp3_2;
3127 _env = tmp3_1;
3128 /* Pattern matching succeeded */
3129#line 953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3130 /* Pattern-matching tuple assignment, wild first pattern */
3131#line 953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3132 omc_Lookup_lookupIdentLocal(threadData, arrayGet(_inCache, ((modelica_integer) 1))nobox_arrayGet(threadData,_inCache,((modelica_integer) 1)), _env, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_elt), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_elt) - 3))) + (
2)))))
), NULL((void*)0), &tmpMeta[1], NULL((void*)0), NULL((void*)0), &tmpMeta[10]);
3133#line 953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3134 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],3,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((8 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto goto_1;
3135#line 953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3136 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3137#line 953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3138 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
3139#line 953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3140 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
3141#line 953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3142 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (5)))))
;
3143#line 953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3144 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (6)))))
;
3145#line 953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3146 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (7)))))
;
3147#line 953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3148 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (8)))))
;
3149#line 953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3150 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (9)))))
;
3151#line 953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3152 _elt2 = tmpMeta[1];
3153#line 953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3154 _name = tmpMeta[2];
3155#line 953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3156 _prefixes = tmpMeta[3];
3157#line 953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3158 _attr = tmpMeta[4];
3159#line 953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3160 _typeSpec1 = tmpMeta[5];
3161#line 953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3162 _modifications1 = tmpMeta[6];
3163#line 953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3164 _comment = tmpMeta[7];
3165#line 953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3166 _condition = tmpMeta[8];
3167#line 953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3168 _info = tmpMeta[9];
3169#line 953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3170 _env = tmpMeta[10];
3171#line 3171 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3172
3173#line 955 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3174 _modifications2 = omc_InstExtends_fixModifications(threadData, _inCache, _env, _modifications1, _tree);
3175#line 3175 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3176
3177#line 956 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3178 _typeSpec2 = omc_InstExtends_fixTypeSpec(threadData, _inCache, _env, _typeSpec1, _tree);
3179#line 3179 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3180
3181#line 957 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3182 _ad = omc_InstExtends_fixArrayDim(threadData, _inCache, _env, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_attr), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_attr) - 3))) +
(2)))))
), _tree);
3183#line 3183 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3184
3185#line 958 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3186 if((!referenceEq(_ad, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_attr), 2))))((_ad) == (((*(void**)(((void*)((void**)(((void*)((char*)(_attr
) - 3))) + (2))))))))
))
3187#line 958 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3188 {
3189#line 959 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3190 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(8))((void*)((char*)(mmc_alloc_words(8)) + 3));
3191#line 959 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3192 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_attr)((void*)((char*)(_attr) - 3)), 8*sizeof(modelica_metatype));
3193#line 959 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3194 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[2] = _ad;
3195#line 959 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3196 _attr = tmpMeta[1];
3197#line 3197 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3198 }
3199
3200#line 961 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3201 if((!((referenceEq(_ad, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_attr), 2))))((_ad) == (((*(void**)(((void*)((void**)(((void*)((char*)(_attr
) - 3))) + (2))))))))
&& referenceEq(_typeSpec1, _typeSpec2)((_typeSpec1) == (_typeSpec2))) && referenceEq(_modifications1, _modifications2)((_modifications1) == (_modifications2)))))
3202#line 961 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3203 {
3204#line 962 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3205 tmpMeta[1] = mmc_mk_box9(6, &SCode_Element_COMPONENT__desc, _name, _prefixes, _attr, _typeSpec2, _modifications2, _comment, _condition, _info);
3206#line 962 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3207 _elt2 = tmpMeta[1];
3208#line 3208 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3209 }
3210#line 964 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3211 tmpMeta[0] = _elt2;
3212#line 3212 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3213 goto tmp2_done;
3214 }
3215 case 1: {
3216 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,3,8)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((8 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
3217 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
3218
3219 _elt = tmp3_2;
3220 _attr = tmpMeta[1];
3221 _env = tmp3_1;
3222 tmp3 += 6; /* Pattern matching succeeded; we may skip some cases if we fail */
3223#line 968 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3224 _modifications2 = omc_InstExtends_fixModifications(threadData, _inCache, _env, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_elt), 6))(*(void**)(((void*)((void**)(((void*)((char*)(_elt) - 3))) + (
6)))))
), _tree);
3225#line 3225 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3226
3227#line 969 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3228 _typeSpec2 = omc_InstExtends_fixTypeSpec(threadData, _inCache, _env, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_elt), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_elt) - 3))) + (
5)))))
), _tree);
3229#line 3229 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3230
3231#line 970 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3232 _ad = omc_InstExtends_fixArrayDim(threadData, _inCache, _env, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_attr), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_attr) - 3))) +
(2)))))
), _tree);
3233#line 3233 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3234
3235#line 971 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3236 if((!referenceEq(_ad, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_attr), 2))))((_ad) == (((*(void**)(((void*)((void**)(((void*)((char*)(_attr
) - 3))) + (2))))))))
))
3237#line 971 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3238 {
3239#line 972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3240 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(8))((void*)((char*)(mmc_alloc_words(8)) + 3));
3241#line 972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3242 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_attr)((void*)((char*)(_attr) - 3)), 8*sizeof(modelica_metatype));
3243#line 972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3244 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[2] = _ad;
3245#line 972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3246 _attr = tmpMeta[1];
3247#line 3247 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3248 }
3249
3250#line 974 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3251 if((!((referenceEq(_ad, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_attr), 2))))((_ad) == (((*(void**)(((void*)((void**)(((void*)((char*)(_attr
) - 3))) + (2))))))))
&& referenceEq((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_elt), 5))), _typeSpec2)((((*(void**)(((void*)((void**)(((void*)((char*)(_elt) - 3)))
+ (5))))))) == (_typeSpec2))
) && referenceEq((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_elt), 6))), _modifications2)((((*(void**)(((void*)((void**)(((void*)((char*)(_elt) - 3)))
+ (6))))))) == (_modifications2))
)))
3252#line 974 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3253 {
3254#line 975 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3255 tmpMeta[1] = mmc_mk_box9(6, &SCode_Element_COMPONENT__desc, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_elt), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_elt) - 3))) + (
2)))))
), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_elt), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_elt) - 3))) + (
3)))))
), _attr, _typeSpec2, _modifications2, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_elt), 7))(*(void**)(((void*)((void**)(((void*)((char*)(_elt) - 3))) + (
7)))))
), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_elt), 8))(*(void**)(((void*)((void**)(((void*)((char*)(_elt) - 3))) + (
8)))))
), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_elt), 9))(*(void**)(((void*)((void**)(((void*)((char*)(_elt) - 3))) + (
9)))))
));
3256#line 975 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3257 _elt = tmpMeta[1];
3258#line 3258 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3259 }
3260#line 977 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3261 tmpMeta[0] = _elt;
3262#line 3262 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3263 goto tmp2_done;
3264 }
3265 case 2: {
3266 modelica_boolean tmp5;
3267 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
3268 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
3269 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
3270 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (6)))))
;
3271 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3272 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
3273 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],0,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((0 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3274 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(5)))))
;
3275 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(6)))))
;
3276 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(8)))))
;
3277 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(9)))))
;
3278
3279 _name = tmpMeta[1];
3280 _prefixes = tmpMeta[2];
3281 _partialPrefix = tmpMeta[5];
3282 _restriction = tmpMeta[6];
3283 _comment = tmpMeta[7];
3284 _info = tmpMeta[8];
3285 _env = tmp3_1;
3286 /* Pattern matching succeeded */
3287#line 984 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3288 /* Pattern-matching tuple assignment */
3289#line 984 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3290 tmpMeta[2] = omc_Lookup_lookupClassLocal(threadData, _env, _name, &tmpMeta[1]);
3291#line 984 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3292 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto goto_1;
3293#line 984 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3294 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
3295#line 984 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3296 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (5)))))
;
3297#line 984 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3298 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (6)))))
;
3299#line 984 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3300 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (7)))))
;
3301#line 984 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3302 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (8)))))
;
3303#line 984 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3304 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (9)))))
;
3305#line 984 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3306 _prefixes = tmpMeta[3];
3307#line 984 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3308 _partialPrefix = tmpMeta[4];
3309#line 984 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3310 _restriction = tmpMeta[5];
3311#line 984 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3312 _classDef1 = tmpMeta[6];
3313#line 984 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3314 _comment = tmpMeta[7];
3315#line 984 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3316 _info = tmpMeta[8];
3317#line 984 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3318 _env = tmpMeta[1];
3319#line 3319 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3320
3321#line 986 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3322 _env = omc_FGraph_openScope(threadData, _env, _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)), _name, omc_FGraph_restrictionToScopeType(threadData, _restriction));
3323#line 3323 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3324
3325#line 987 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3326 _classDef2 = omc_InstExtends_fixClassdef(threadData, _inCache, _env, _classDef1, _tree);
3327#line 3327 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3328#line 988 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3329 tmp5 = (modelica_boolean)referenceEq(_classDef1, _classDef2)((_classDef1) == (_classDef2));
3330#line 988 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3331 if(tmp5)
3332#line 988 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3333 {
3334#line 988 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3335 tmpMeta[2] = _inElt;
3336#line 988 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3337 }
3338#line 988 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3339 else
3340#line 988 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3341 {
3342#line 988 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3343 tmpMeta[1] = mmc_mk_box9(5, &SCode_Element_CLASS__desc, _name, _prefixes, _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)), _partialPrefix, _restriction, _classDef2, _comment, _info);
3344#line 988 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3345 tmpMeta[2] = tmpMeta[1];
3346#line 988 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3347 }
3348#line 988 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3349 tmpMeta[0] = tmpMeta[2];
3350#line 3350 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3351 goto tmp2_done;
3352 }
3353 case 3: {
3354 modelica_boolean tmp6;
3355 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
3356 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
3357 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
3358 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
3359 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],0,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((0 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3360 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(5)))))
;
3361 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(6)))))
;
3362 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(7)))))
;
3363 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(8)))))
;
3364 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(9)))))
;
3365
3366 _name = tmpMeta[1];
3367 _prefixes = tmpMeta[2];
3368 _partialPrefix = tmpMeta[4];
3369 _restriction = tmpMeta[5];
3370 _classDef1 = tmpMeta[6];
3371 _comment = tmpMeta[7];
3372 _info = tmpMeta[8];
3373 _env = tmp3_1;
3374 tmp3 += 4; /* Pattern matching succeeded; we may skip some cases if we fail */
3375#line 995 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3376 _env = omc_FGraph_openScope(threadData, _env, _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)), _name, omc_FGraph_restrictionToScopeType(threadData, _restriction));
3377#line 3377 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3378
3379#line 996 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3380 _classDef2 = omc_InstExtends_fixClassdef(threadData, _inCache, _env, _classDef1, _tree);
3381#line 3381 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3382#line 997 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3383 tmp6 = (modelica_boolean)referenceEq(_classDef1, _classDef2)((_classDef1) == (_classDef2));
3384#line 997 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3385 if(tmp6)
3386#line 997 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3387 {
3388#line 997 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3389 tmpMeta[2] = _inElt;
3390#line 997 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3391 }
3392#line 997 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3393 else
3394#line 997 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3395 {
3396#line 997 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3397 tmpMeta[1] = mmc_mk_box9(5, &SCode_Element_CLASS__desc, _name, _prefixes, _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)), _partialPrefix, _restriction, _classDef2, _comment, _info);
3398#line 997 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3399 tmpMeta[2] = tmpMeta[1];
3400#line 997 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3401 }
3402#line 997 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3403 tmpMeta[0] = tmpMeta[2];
3404#line 3404 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3405 goto tmp2_done;
3406 }
3407 case 4: {
3408 modelica_boolean tmp7;
3409 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
3410 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
3411 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
3412 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (6)))))
;
3413 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3414 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
3415 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],1,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((0 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
3416 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(5)))))
;
3417 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(6)))))
;
3418 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(8)))))
;
3419 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(9)))))
;
3420
3421 _name = tmpMeta[1];
3422 _prefixes = tmpMeta[2];
3423 _partialPrefix = tmpMeta[5];
3424 _restriction = tmpMeta[6];
3425 _comment = tmpMeta[7];
3426 _info = tmpMeta[8];
3427 _env = tmp3_1;
3428 /* Pattern matching succeeded */
3429#line 1005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3430 /* Pattern-matching tuple assignment */
3431#line 1005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3432 tmpMeta[2] = omc_Lookup_lookupClassLocal(threadData, _env, _name, &tmpMeta[1]);
3433#line 1005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3434 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto goto_1;
3435#line 1005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3436 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
3437#line 1005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3438 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (5)))))
;
3439#line 1005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3440 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (6)))))
;
3441#line 1005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3442 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (7)))))
;
3443#line 1005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3444 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (8)))))
;
3445#line 1005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3446 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (9)))))
;
3447#line 1005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3448 _prefixes = tmpMeta[3];
3449#line 1005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3450 _partialPrefix = tmpMeta[4];
3451#line 1005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3452 _restriction = tmpMeta[5];
3453#line 1005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3454 _classDef1 = tmpMeta[6];
3455#line 1005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3456 _comment = tmpMeta[7];
3457#line 1005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3458 _info = tmpMeta[8];
3459#line 1005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3460 _env = tmpMeta[1];
3461#line 3461 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3462
3463#line 1008 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3464 _env = omc_FGraph_openScope(threadData, _env, _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)), _name, omc_FGraph_restrictionToScopeType(threadData, _restriction));
3465#line 3465 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3466
3467#line 1009 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3468 _classDef2 = omc_InstExtends_fixClassdef(threadData, _inCache, _env, _classDef1, _tree);
3469#line 3469 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3470#line 1010 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3471 tmp7 = (modelica_boolean)referenceEq(_classDef1, _classDef2)((_classDef1) == (_classDef2));
3472#line 1010 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3473 if(tmp7)
3474#line 1010 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3475 {
3476#line 1010 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3477 tmpMeta[2] = _inElt;
3478#line 1010 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3479 }
3480#line 1010 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3481 else
3482#line 1010 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3483 {
3484#line 1010 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3485 tmpMeta[1] = mmc_mk_box9(5, &SCode_Element_CLASS__desc, _name, _prefixes, _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)), _partialPrefix, _restriction, _classDef2, _comment, _info);
3486#line 1010 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3487 tmpMeta[2] = tmpMeta[1];
3488#line 1010 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3489 }
3490#line 1010 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3491 tmpMeta[0] = tmpMeta[2];
3492#line 3492 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3493 goto tmp2_done;
3494 }
3495 case 5: {
3496 modelica_boolean tmp8;
3497 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
3498 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
3499 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
3500 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
3501 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],1,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((0 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
3502 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(5)))))
;
3503 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(6)))))
;
3504 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(7)))))
;
3505 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(8)))))
;
3506 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(9)))))
;
3507
3508 _name = tmpMeta[1];
3509 _prefixes = tmpMeta[2];
3510 _partialPrefix = tmpMeta[4];
3511 _restriction = tmpMeta[5];
3512 _classDef1 = tmpMeta[6];
3513 _comment = tmpMeta[7];
3514 _info = tmpMeta[8];
3515 _env = tmp3_1;
3516 tmp3 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
3517#line 1017 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3518 _env = omc_FGraph_openScope(threadData, _env, _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)), _name, omc_FGraph_restrictionToScopeType(threadData, _restriction));
3519#line 3519 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3520
3521#line 1018 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3522 _classDef2 = omc_InstExtends_fixClassdef(threadData, _inCache, _env, _classDef1, _tree);
3523#line 3523 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3524#line 1019 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3525 tmp8 = (modelica_boolean)referenceEq(_classDef1, _classDef2)((_classDef1) == (_classDef2));
3526#line 1019 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3527 if(tmp8)
3528#line 1019 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3529 {
3530#line 1019 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3531 tmpMeta[2] = _inElt;
3532#line 1019 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3533 }
3534#line 1019 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3535 else
3536#line 1019 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3537 {
3538#line 1019 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3539 tmpMeta[1] = mmc_mk_box9(5, &SCode_Element_CLASS__desc, _name, _prefixes, _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)), _partialPrefix, _restriction, _classDef2, _comment, _info);
3540#line 1019 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3541 tmpMeta[2] = tmpMeta[1];
3542#line 1019 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3543 }
3544#line 1019 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3545 tmpMeta[0] = tmpMeta[2];
3546#line 3546 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3547 goto tmp2_done;
3548 }
3549 case 6: {
3550 modelica_boolean tmp9;
3551 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,1,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((5 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
3552 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
3553 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
3554 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
3555 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(5)))))
;
3556 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(6)))))
;
3557
3558 _extendsPath1 = tmpMeta[1];
3559 _vis = tmpMeta[2];
3560 _modifications1 = tmpMeta[3];
3561 _optAnnotation = tmpMeta[4];
3562 _info = tmpMeta[5];
3563 _env = tmp3_1;
3564 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
3565#line 1025 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3566 _extendsPath2 = omc_InstExtends_fixPath(threadData, _inCache, _env, _extendsPath1, _tree);
3567#line 3567 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3568
3569#line 1026 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3570 _modifications2 = omc_InstExtends_fixModifications(threadData, _inCache, _env, _modifications1, _tree);
3571#line 3571 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3572#line 1027 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3573 tmp9 = (modelica_boolean)(referenceEq(_extendsPath1, _extendsPath2)((_extendsPath1) == (_extendsPath2)) && referenceEq(_modifications1, _modifications2)((_modifications1) == (_modifications2)));
3574#line 1027 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3575 if(tmp9)
3576#line 1027 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3577 {
3578#line 1027 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3579 tmpMeta[2] = _inElt;
3580#line 1027 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3581 }
3582#line 1027 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3583 else
3584#line 1027 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3585 {
3586#line 1027 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3587 tmpMeta[1] = mmc_mk_box6(4, &SCode_Element_EXTENDS__desc, _extendsPath2, _vis, _modifications2, _optAnnotation, _info);
3588#line 1027 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3589 tmpMeta[2] = tmpMeta[1];
3590#line 1027 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3591 }
3592#line 1027 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3593 tmpMeta[0] = tmpMeta[2];
3594#line 3594 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3595 goto tmp2_done;
3596 }
3597 case 7: {
3598 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,0,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((3 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3599
3600 /* Pattern matching succeeded */
3601#line 1030 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3602 tmpMeta[0] = _inElt;
3603#line 3603 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3604 goto tmp2_done;
3605 }
3606 case 8: {
3607 modelica_boolean tmp10;
3608
3609 _elt = tmp3_2;
3610 /* Pattern matching succeeded */
3611#line 1034 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3612 /* Pattern-matching assignment */
3613#line 1034 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3614 tmp10 = omc_Flags_isSet(threadData, _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
3615#line 1034 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3616 if (1 != tmp10) goto goto_1;
3617#line 3617 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3618
3619#line 1035 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3620 tmpMeta[1] = stringAppend(_OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)),omc_SCodeDump_unparseElementStr(threadData, _elt, _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))));
3621#line 1035 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3622 omc_Debug_traceln(threadData, tmpMeta[1]);
3623#line 3623 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3624#line 1036 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3625 goto goto_1;
3626#line 3626 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3627 goto tmp2_done;
3628 }
3629 }
3630 goto tmp2_end;
3631 tmp2_end: ;
3632 }
3633 goto goto_1;
3634 tmp2_done:
3635 (void)tmp3;
3636 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3637 goto tmp2_done2;
3638 goto_1:;
3639 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3640 if (++tmp3 < 9) {
3641 goto tmp2_top;
3642 }
3643 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3644 tmp2_done2:;
3645 }
3646 }
3647 _outElts = tmpMeta[0];
3648 _return: OMC_LABEL_UNUSED__attribute__((unused))
3649 return _outElts;
3650}
3651
3652PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_fixLocalIdent(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _D_24in_elt, modelica_metatype _tree)
3653{
3654 modelica_metatype _elt = NULL((void*)0);
3655 modelica_metatype _elt1 = NULL((void*)0);
3656 modelica_metatype _elt2 = NULL((void*)0);
3657 modelica_metatype _mod = NULL((void*)0);
3658 modelica_boolean _b;
3659 modelica_integer tmp1;
3660 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
3661 MMC_SO()mmc_check_stackoverflow(threadData);
3662 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3663 _elt = _D_24in_elt;
3664 // _elt1 has no default value.
3665 // _elt2 has no default value.
3666 // _mod has no default value.
3667 // _b has no default value.
3668#line 905 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3669 /* Pattern-matching assignment */
3670#line 905 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3671 tmpMeta[0] = _elt;
3672#line 905 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3673 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
3674#line 905 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3675 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3676#line 905 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3677 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
3678#line 905 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3679 tmp1 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
3680#line 905 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3681 _elt1 = tmpMeta[1];
3682#line 905 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3683 _mod = tmpMeta[2];
3684#line 905 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3685 _b = tmp1 /* pattern as ty=Boolean */;
3686#line 3686 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3687
3688#line 906 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3689 _elt2 = omc_InstExtends_fixElement(threadData, _inCache, _inEnv, _elt1, _tree);
3690#line 3690 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3691
3692#line 907 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3693 if(((!referenceEq(_elt1, _elt2)((_elt1) == (_elt2))) || (!_b)))
3694#line 907 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3695 {
3696#line 908 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3697 tmpMeta[0] = mmc_mk_box3(0, _elt2, _mod, mmc_mk_boolean(1)((1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
3698#line 908 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3699 _elt = tmpMeta[0];
3700#line 3700 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3701 }
3702 _return: OMC_LABEL_UNUSED__attribute__((unused))
3703 return _elt;
3704}
3705
3706PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_getLocalIdentElement(threadData_t *threadData, modelica_metatype _elt, modelica_metatype _D_24in_tree)
3707{
3708 modelica_metatype _tree = NULL((void*)0);
3709 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3710 MMC_SO()mmc_check_stackoverflow(threadData);
3711 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3712 _tree = _D_24in_tree;
3713#line 3713 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3714 { /* match expression */
3715 modelica_metatype tmp3_1;
3716 tmp3_1 = _elt;
3717 {
3718 modelica_string _id = NULL((void*)0);
3719 int tmp3;
3720 // _id has no default value.
3721 {
3722 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> 2
) & 255))
) {
3723 case 6: {
3724 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,3,8)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((8 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
3725 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3726
3727 _id = tmpMeta[1];
3728 /* Pattern matching succeeded */
3729#line 883 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3730 tmpMeta[0] = omc_AvlSetString_add(threadData, _tree, _id);
3731#line 3731 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3732 goto tmp2_done;
3733 }
3734 case 5: {
3735 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
3736 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3737
3738 _id = tmpMeta[1];
3739 /* Pattern matching succeeded */
3740#line 886 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3741 tmpMeta[0] = omc_AvlSetString_add(threadData, _tree, _id);
3742#line 3742 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3743 goto tmp2_done;
3744 }
3745 default:
3746 tmp2_default: OMC_LABEL_UNUSED__attribute__((unused)); {
3747
3748 /* Pattern matching succeeded */
3749#line 888 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3750 tmpMeta[0] = _tree;
3751#line 3751 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3752 goto tmp2_done;
3753 }
3754 }
3755 goto tmp2_end;
3756 tmp2_end: ;
3757 }
3758 goto goto_1;
3759 goto_1:;
3760 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3761 goto tmp2_done;
3762 tmp2_done:;
3763 }
3764 }
3765 _tree = tmpMeta[0];
3766 _return: OMC_LABEL_UNUSED__attribute__((unused))
3767 return _tree;
3768}
3769
3770PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_getLocalIdentElementTpl(threadData_t *threadData, modelica_metatype _eltTpl, modelica_metatype _D_24in_tree)
3771{
3772 modelica_metatype _tree = NULL((void*)0);
3773 modelica_metatype _elt = NULL((void*)0);
3774 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3775 MMC_SO()mmc_check_stackoverflow(threadData);
3776 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3777 _tree = _D_24in_tree;
3778 // _elt has no default value.
3779#line 868 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3780 /* Pattern-matching assignment */
3781#line 868 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3782 tmpMeta[0] = _eltTpl;
3783#line 868 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3784 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
3785#line 868 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3786 _elt = tmpMeta[1];
3787#line 3787 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3788
3789#line 869 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3790 _tree = omc_InstExtends_getLocalIdentElement(threadData, _elt, _tree);
3791#line 3791 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3792 _return: OMC_LABEL_UNUSED__attribute__((unused))
3793 return _tree;
3794}
3795
3796PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_getLocalIdentList(threadData_t *threadData, modelica_metatype _ielts, modelica_metatype _D_24in_tree, modelica_fnptr _getIdent)
3797{
3798 modelica_metatype _tree = NULL((void*)0);
3799 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3800 MMC_SO()mmc_check_stackoverflow(threadData);
3801 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3802 _tree = _D_24in_tree;
3803#line 854 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3804 {
3805#line 854 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3806 modelica_metatype _elt;
3807#line 854 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3808 for (tmpMeta[0] = _ielts; !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
3809#line 854 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3810 {
3811#line 854 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3812 _elt = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
3813#line 855 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3814 _tree = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_getIdent), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_getIdent) - 3)
)) + (2)))))
) ? ((modelica_metatype(*)(threadData_t*, modelica_metatype, modelica_metatype, modelica_metatype)) (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_getIdent), 1))(*(void**)(((void*)((void**)(((void*)((char*)(_getIdent) - 3)
)) + (1)))))
)) (threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_getIdent), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_getIdent) - 3)
)) + (2)))))
), _elt, _tree) : ((modelica_metatype(*)(threadData_t*, modelica_metatype, modelica_metatype)) (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_getIdent), 1))(*(void**)(((void*)((void**)(((void*)((char*)(_getIdent) - 3)
)) + (1)))))
)) (threadData, _elt, _tree);
3815#line 3815 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3816 }
3817 }
3818 _return: OMC_LABEL_UNUSED__attribute__((unused))
3819 return _tree;
3820}
3821
3822PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_updateComponentsAndClassdefs2(threadData_t *threadData, modelica_metatype _inComponent, modelica_metatype _inEnv, modelica_metatype _inMod, modelica_metatype *out_outRestMod)
3823{
3824 modelica_metatype _outComponent = NULL((void*)0);
3825 modelica_metatype _outRestMod = NULL((void*)0);
3826 modelica_metatype _el = NULL((void*)0);
3827 modelica_metatype _mod = NULL((void*)0);
3828 modelica_boolean _b;
3829 modelica_integer tmp1;
3830 modelica_metatype tmpMeta[11] __attribute__((unused)) = {0};
3831 MMC_SO()mmc_check_stackoverflow(threadData);
3832 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3833 // _outComponent has no default value.
3834 // _outRestMod has no default value.
3835 // _el has no default value.
3836 // _mod has no default value.
3837 // _b has no default value.
3838#line 768 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3839 /* Pattern-matching assignment */
3840#line 768 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3841 tmpMeta[0] = _inComponent;
3842#line 768 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3843 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
3844#line 768 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3845 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3846#line 768 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3847 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
3848#line 768 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3849 tmp1 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
3850#line 768 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3851 _el = tmpMeta[1];
3852#line 768 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3853 _mod = tmpMeta[2];
3854#line 768 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3855 _b = tmp1 /* pattern as ty=Boolean */;
3856#line 3856 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3857
3858#line 770 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3859
3860#line 770 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3861
3862#line 3862 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3863 { /* matchcontinue expression */
3864 volatile modelica_metatype tmp5_1;
3865 tmp5_1 = _el;
3866 {
3867 modelica_metatype _comp = NULL((void*)0);
3868 modelica_metatype _cmod = NULL((void*)0);
3869 modelica_metatype _mod_rest = NULL((void*)0);
3870 volatile mmc_switch_type tmp5;
3871 int tmp6;
3872 // _comp has no default value.
3873 // _cmod has no default value.
3874 // _mod_rest has no default value.
3875 tmp5 = 0;
3876 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
3877 tmp4_top:
3878 threadData->mmc_jumper = &new_mmc_jumper;
3879 for (; tmp5 < 6; tmp5++) {
3880 switch (MMC_SWITCH_CAST(tmp5)(tmp5)) {
3881 case 0: {
3882 if (mmc__uniontype__metarecord__typedef__equal(tmp5_1,3,8)((*(mmc_uint_t*)((void*)((char*)(tmp5_1) - 3)))==(((8 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp4_end;
3883
3884 tmp5 += 4; /* Pattern matching succeeded; we may skip some cases if we fail */
3885#line 780 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3886 _cmod = omc_Mod_lookupCompModificationFromEqu(threadData, _inMod, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_el), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_el) - 3))) + (
2)))))
));
3887#line 3887 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3888
3889#line 782 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3890 _cmod = omc_Mod_merge(threadData, _cmod, _mod, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_el), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_el) - 3))) + (
2)))))
), 0);
3891#line 3891 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3892
3893#line 783 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3894 _mod_rest = _inMod;
3895#line 3895 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3896#line 784 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3897 tmpMeta[2] = mmc_mk_box3(0, _el, _cmod, mmc_mk_boolean(_b)((_b) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
3898#line 784 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3899 tmpMeta[0+0] = tmpMeta[2];
3900#line 784 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3901 tmpMeta[0+1] = _mod_rest;
3902#line 3902 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3903 goto tmp4_done;
3904 }
3905 case 1: {
3906 if (mmc__uniontype__metarecord__typedef__equal(tmp5_1,1,5)((*(mmc_uint_t*)((void*)((char*)(tmp5_1) - 3)))==(((5 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp4_end;
3907
3908 tmp5 += 3; /* Pattern matching succeeded; we may skip some cases if we fail */
3909#line 788 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3910 tmpMeta[0+0] = _inComponent;
3911#line 788 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3912 tmpMeta[0+1] = _inMod;
3913#line 3913 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3914 goto tmp4_done;
3915 }
3916 case 2: {
3917 if (mmc__uniontype__metarecord__typedef__equal(tmp5_1,0,3)((*(mmc_uint_t*)((void*)((char*)(tmp5_1) - 3)))==(((3 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp4_end;
3918
3919 tmp5 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
3920#line 791 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3921 tmpMeta[2] = mmc_mk_box3(0, _el, _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)), mmc_mk_boolean(_b)((_b) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
3922#line 791 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3923 tmpMeta[0+0] = tmpMeta[2];
3924#line 791 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3925 tmpMeta[0+1] = _inMod;
3926#line 3926 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3927 goto tmp4_done;
3928 }
3929 case 3: {
3930 if (mmc__uniontype__metarecord__typedef__equal(tmp5_1,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp5_1) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp4_end;
3931 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp5_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp5_1) - 3))) +
(3)))))
;
3932 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (6)))))
;
3933 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp4_end;
3934
3935 /* Pattern matching succeeded */
3936#line 795 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3937 /* Pattern-matching assignment */
3938#line 795 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3939 tmpMeta[2] = omc_Mod_lookupCompModification(threadData, _inMod, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_el), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_el) - 3))) + (
2)))))
));
3940#line 795 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3941 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((4 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto goto_3;
3942#line 795 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3943 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
3944#line 795 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3945 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (5)))))
;
3946#line 795 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3947 _comp = tmpMeta[3];
3948#line 795 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3949 _cmod = tmpMeta[4];
3950#line 3950 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3951
3952#line 796 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3953 _mod_rest = _inMod;
3954#line 3954 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3955
3956#line 797 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3957 _cmod = omc_Mod_merge(threadData, _cmod, _mod, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_el), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_el) - 3))) + (
2)))))
), 0);
3958#line 3958 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3959
3960#line 798 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3961 _comp = omc_SCodeUtil_mergeWithOriginal(threadData, _comp, _el);
3962#line 3962 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3963#line 800 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3964 tmpMeta[2] = mmc_mk_box3(0, _comp, _cmod, mmc_mk_boolean(_b)((_b) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
3965#line 800 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3966 tmpMeta[0+0] = tmpMeta[2];
3967#line 800 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3968 tmpMeta[0+1] = _mod_rest;
3969#line 3969 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3970 goto tmp4_done;
3971 }
3972 case 4: {
3973 modelica_boolean tmp7;
3974 if (mmc__uniontype__metarecord__typedef__equal(tmp5_1,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp5_1) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp4_end;
3975
3976 /* Pattern matching succeeded */
3977#line 819 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3978 _cmod = omc_Mod_lookupCompModification(threadData, _inMod, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_el), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_el) - 3))) + (
2)))))
));
3979#line 3979 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
3980
3981#line 820 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3982 tmp7 = (modelica_boolean)valueEq(_cmod, _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)));
3983#line 820 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3984 if(tmp7)
3985#line 820 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3986 {
3987#line 820 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3988 tmpMeta[3] = _inComponent;
3989#line 820 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3990 }
3991#line 820 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3992 else
3993#line 820 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3994 {
3995#line 820 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3996 tmpMeta[2] = mmc_mk_box3(0, _el, _cmod, mmc_mk_boolean(_b)((_b) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
3997#line 820 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
3998 tmpMeta[3] = tmpMeta[2];
3999#line 820 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4000 }
4001#line 820 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4002 _outComponent = tmpMeta[3];
4003#line 4003 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4004#line 821 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4005 tmpMeta[0+0] = _outComponent;
4006#line 821 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4007 tmpMeta[0+1] = _inMod;
4008#line 4008 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4009 goto tmp4_done;
4010 }
4011 case 5: {
4012 modelica_boolean tmp8;
4013
4014 /* Pattern matching succeeded */
4015#line 826 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4016 /* Pattern-matching assignment */
4017#line 826 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4018 tmp8 = omc_Flags_isSet(threadData, _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
4019#line 826 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4020 if (1 != tmp8) goto goto_3;
4021#line 4021 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4022
4023#line 827 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4024 tmpMeta[2] = stringAppend(_OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)),omc_FGraph_printGraphPathStr(threadData, _inEnv));
4025#line 827 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4026 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)));
4027#line 827 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4028 tmpMeta[4] = stringAppend(tmpMeta[3],omc_Mod_printModStr(threadData, _inMod));
4029#line 827 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4030 tmpMeta[5] = stringAppend(tmpMeta[4],_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
4031#line 827 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4032 tmpMeta[6] = stringAppend(tmpMeta[5],omc_Mod_printModStr(threadData, _mod));
4033#line 827 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4034 tmpMeta[7] = stringAppend(tmpMeta[6],_OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
4035#line 827 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4036 tmpMeta[8] = stringAppend(tmpMeta[7],(_b?_OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)):_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))));
4037#line 827 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4038 tmpMeta[9] = stringAppend(tmpMeta[8],_OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)));
4039#line 827 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4040 tmpMeta[10] = stringAppend(tmpMeta[9],omc_SCodeDump_unparseElementStr(threadData, _el, _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))));
4041#line 827 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4042 omc_Debug_traceln(threadData, tmpMeta[10]);
4043#line 4043 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4044#line 835 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4045 goto goto_3;
4046#line 4046 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4047 goto tmp4_done;
4048 }
4049 }
4050 goto tmp4_end;
4051 tmp4_end: ;
4052 }
4053 goto goto_3;
4054 tmp4_done:
4055 (void)tmp5;
4056 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4057 goto tmp4_done2;
4058 goto_3:;
4059 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4060 if (++tmp5 < 6) {
4061 goto tmp4_top;
4062 }
4063 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4064 tmp4_done2:;
4065 }
4066 }
4067 _outComponent = tmpMeta[0+0];
4068 _outRestMod = tmpMeta[0+1];
4069 _return: OMC_LABEL_UNUSED__attribute__((unused))
4070 if (out_outRestMod) { *out_outRestMod = _outRestMod; }
4071 return _outComponent;
4072}
4073
4074PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_updateComponentsAndClassdefs(threadData_t *threadData, modelica_metatype _inComponents, modelica_metatype _inMod, modelica_metatype _inEnv, modelica_metatype *out_outRestMod)
4075{
4076 modelica_metatype _outComponents = NULL((void*)0);
4077 modelica_metatype _outRestMod = NULL((void*)0);
4078 MMC_SO()mmc_check_stackoverflow(threadData);
4079 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4080 // _outComponents has no default value.
4081 // _outRestMod has no default value.
4082#line 753 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4083 _outComponents = omc_List_map1Fold(threadData, _inComponents, boxvar_InstExtends_updateComponentsAndClassdefs2((void*)((char*)(&(boxvar_lit_InstExtends_updateComponentsAndClassdefs2
).header) + 3))
, _inEnv, _inMod ,&_outRestMod);
4084#line 4084 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4085 _return: OMC_LABEL_UNUSED__attribute__((unused))
4086 if (out_outRestMod) { *out_outRestMod = _outRestMod; }
4087 return _outComponents;
4088}
4089
4090PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_noImportElements(threadData_t *threadData, modelica_metatype _inElements)
4091{
4092 modelica_metatype _outElements = NULL((void*)0);
4093 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
4094 MMC_SO()mmc_check_stackoverflow(threadData);
4095 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4096 // _outElements has no default value.
4097#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4098 {
4099#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4100 modelica_metatype _D_24tmpVar1;
4101#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4102 modelica_metatype* tmp1;
4103#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4104 modelica_metatype _D_24tmpVar0;
4105#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4106 int tmp2;
4107#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4108 modelica_metatype _e_loopVar = 0;
4109#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4110 modelica_metatype _e;
4111#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4112 _e_loopVar = _inElements;
4113#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4114 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4115#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4116 _D_24tmpVar1 = tmpMeta[1]; /* defaultValue */
4117#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4118 tmp1 = &_D_24tmpVar1;
4119#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4120 while(1) {
4121#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4122 tmp2 = 1;
4123#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4124 while (!listEmpty(_e_loopVar)((*(mmc_uint_t*)((void*)((char*)(_e_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
4125#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4126 _e = MMC_CAR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (1)))))
;
4127#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4128 _e_loopVar = MMC_CDR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (2)))))
;
4129#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4130 if ((!omc_SCodeUtil_elementIsImport(threadData, _e))) {
4131#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4132 tmp2--;
4133#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4134 break;
4135#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4136 }
4137#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4138 }
4139#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4140 if (tmp2 == 0) {
4141#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4142 _D_24tmpVar0 = _e;
4143#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4144 *tmp1 = mmc_mk_cons(_D_24tmpVar0,0);
4145#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4146 tmp1 = &MMC_CDR(*tmp1)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp1) - 3))) +
(2)))))
;
4147#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4148 } else if (tmp2 == 1) {
4149#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4150 break;
4151#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4152 } else {
4153#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4154 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4155#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4156 }
4157#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4158 }
4159#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4160 *tmp1 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
4161#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4162 tmpMeta[0] = _D_24tmpVar1;
4163#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4164 }
4165#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4166 _outElements = tmpMeta[0];
4167#line 4167 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4168 _return: OMC_LABEL_UNUSED__attribute__((unused))
4169 return _outElements;
4170}
4171
4172PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_instDerivedClassesWork(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inClass, modelica_boolean _inBoolean, modelica_metatype _inInfo, modelica_boolean _overflow, modelica_integer _numIter, modelica_metatype *out_outEnv1, modelica_metatype *out_outIH, modelica_metatype *out_outSCodeElementLst2, modelica_metatype *out_outSCodeEquationLst3, modelica_metatype *out_outSCodeEquationLst4, modelica_metatype *out_outSCodeAlgorithmLst5, modelica_metatype *out_outSCodeAlgorithmLst6, modelica_metatype *out_outMod, modelica_metatype *out_outComments)
4173{
4174 modelica_metatype _outCache = NULL((void*)0);
4175 modelica_metatype _outEnv1 = NULL((void*)0);
4176 modelica_metatype _outIH = NULL((void*)0);
4177 modelica_metatype _outSCodeElementLst2 = NULL((void*)0);
4178 modelica_metatype _outSCodeEquationLst3 = NULL((void*)0);
4179 modelica_metatype _outSCodeEquationLst4 = NULL((void*)0);
4180 modelica_metatype _outSCodeAlgorithmLst5 = NULL((void*)0);
4181 modelica_metatype _outSCodeAlgorithmLst6 = NULL((void*)0);
4182 modelica_metatype _outMod = NULL((void*)0);
4183 modelica_metatype _outComments = NULL((void*)0);
4184 modelica_metatype tmpMeta[18] __attribute__((unused)) = {0};
4185 MMC_SO()mmc_check_stackoverflow(threadData);
4186 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4187 // _outCache has no default value.
4188 // _outEnv1 has no default value.
4189 // _outIH has no default value.
4190 // _outSCodeElementLst2 has no default value.
4191 // _outSCodeEquationLst3 has no default value.
4192 // _outSCodeEquationLst4 has no default value.
4193 // _outSCodeAlgorithmLst5 has no default value.
4194 // _outSCodeAlgorithmLst6 has no default value.
4195 // _outMod has no default value.
4196 // _outComments has no default value.
4197#line 649 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4198
4199#line 649 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4200
4201#line 649 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4202
4203#line 649 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4204
4205#line 649 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4206
4207#line 649 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4208
4209#line 649 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4210
4211#line 649 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4212
4213#line 649 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4214
4215#line 649 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4216
4217#line 4217 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4218 { /* matchcontinue expression */
4219 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;volatile modelica_metatype tmp4_3;volatile modelica_metatype tmp4_4;volatile modelica_metatype tmp4_5;volatile modelica_metatype tmp4_6;volatile modelica_boolean tmp4_7;volatile modelica_metatype tmp4_8;volatile modelica_boolean tmp4_9;
4220 tmp4_1 = _inCache;
4221 tmp4_2 = _inEnv;
4222 tmp4_3 = _inIH;
4223 tmp4_4 = _inMod;
4224 tmp4_5 = _inPrefix;
4225 tmp4_6 = _inClass;
4226 tmp4_7 = _inBoolean;
4227 tmp4_8 = _inInfo;
4228 tmp4_9 = _overflow;
4229 {
4230 modelica_metatype _elt = NULL((void*)0);
4231 modelica_metatype _env = NULL((void*)0);
4232 modelica_metatype _cenv = NULL((void*)0);
4233 modelica_metatype _mod = NULL((void*)0);
4234 modelica_metatype _daeDMOD = NULL((void*)0);
4235 modelica_metatype _eq = NULL((void*)0);
4236 modelica_metatype _ieq = NULL((void*)0);
4237 modelica_metatype _alg = NULL((void*)0);
4238 modelica_metatype _ialg = NULL((void*)0);
4239 modelica_metatype _c = NULL((void*)0);
4240 modelica_metatype _tp = NULL((void*)0);
4241 modelica_metatype _dmod = NULL((void*)0);
4242 modelica_boolean _impl;
4243 modelica_metatype _cache = NULL((void*)0);
4244 modelica_metatype _ih = NULL((void*)0);
4245 modelica_metatype _cmt = NULL((void*)0);
4246 modelica_metatype _enumLst = NULL((void*)0);
4247 modelica_string _n = NULL((void*)0);
4248 modelica_string _name = NULL((void*)0);
4249 modelica_string _str1 = NULL((void*)0);
4250 modelica_string _str2 = NULL((void*)0);
4251 modelica_metatype _extdecl = NULL((void*)0);
4252 modelica_metatype _pre = NULL((void*)0);
4253 modelica_metatype _info = NULL((void*)0);
4254 modelica_metatype _prefixes = NULL((void*)0);
4255 volatile mmc_switch_type tmp4;
4256 int tmp5;
4257 // _elt has no default value.
4258 // _env has no default value.
4259 // _cenv has no default value.
4260 // _mod has no default value.
4261 // _daeDMOD has no default value.
4262 // _eq has no default value.
4263 // _ieq has no default value.
4264 // _alg has no default value.
4265 // _ialg has no default value.
4266 // _c has no default value.
4267 // _tp has no default value.
4268 // _dmod has no default value.
4269 // _impl has no default value.
4270 // _cache has no default value.
4271 // _ih has no default value.
4272 // _cmt has no default value.
4273 // _enumLst has no default value.
4274 // _n has no default value.
4275 // _name has no default value.
4276 // _str1 has no default value.
4277 // _str2 has no default value.
4278 // _extdecl has no default value.
4279 // _pre has no default value.
4280 // _info has no default value.
4281 // _prefixes has no default value.
4282 tmp4 = 0;
4283 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
4284 tmp3_top:
4285 threadData->mmc_jumper = &new_mmc_jumper;
4286 for (; tmp4 < 6; tmp4++) {
4287 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4288 case 0: {
4289 modelica_boolean tmp6;
4290 if (mmc__uniontype__metarecord__typedef__equal(tmp4_6,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_6) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
4291 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(2)))))
;
4292
4293 _name = tmpMeta[10];
4294 _cache = tmp4_1;
4295 _env = tmp4_2;
4296 _ih = tmp4_3;
4297 /* Pattern matching succeeded */
4298#line 674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4299 /* Pattern-matching assignment */
4300#line 674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4301 tmp6 = omc_InstUtil_isBuiltInClass(threadData, _name);
4302#line 674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4303 if (1 != tmp6) goto goto_2;
4304#line 4304 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4305#line 675 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4306 tmpMeta[10] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4307#line 675 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4308 tmpMeta[11] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4309#line 675 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4310 tmpMeta[12] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4311#line 675 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4312 tmpMeta[13] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4313#line 675 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4314 tmpMeta[14] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4315#line 675 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4316 tmpMeta[15] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4317#line 675 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4318 tmpMeta[0+0] = _cache;
4319#line 675 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4320 tmpMeta[0+1] = _env;
4321#line 675 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4322 tmpMeta[0+2] = _ih;
4323#line 675 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4324 tmpMeta[0+3] = tmpMeta[10];
4325#line 675 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4326 tmpMeta[0+4] = tmpMeta[11];
4327#line 675 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4328 tmpMeta[0+5] = tmpMeta[12];
4329#line 675 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4330 tmpMeta[0+6] = tmpMeta[13];
4331#line 675 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4332 tmpMeta[0+7] = tmpMeta[14];
4333#line 675 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4334 tmpMeta[0+8] = _inMod;
4335#line 675 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4336 tmpMeta[0+9] = tmpMeta[15];
4337#line 4337 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4338 goto tmp3_done;
4339 }
4340 case 1: {
4341 if (mmc__uniontype__metarecord__typedef__equal(tmp4_6,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_6) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
4342 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(2)))))
;
4343 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(7)))))
;
4344 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[11],0,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[11]) - 3)))==(((8 +1
) << 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
4345 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[11]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[11]) - 3
))) + (2)))))
;
4346 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[11]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[11]) - 3
))) + (3)))))
;
4347 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[11]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[11]) - 3
))) + (4)))))
;
4348 tmpMeta[15] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[11]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[11]) - 3
))) + (5)))))
;
4349 tmpMeta[16] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[11]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[11]) - 3
))) + (6)))))
;
4350 tmpMeta[17] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[11]), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[11]) - 3
))) + (9)))))
;
4351
4352 _name = tmpMeta[10];
4353 _elt = tmpMeta[12];
4354 _eq = tmpMeta[13];
4355 _ieq = tmpMeta[14];
4356 _alg = tmpMeta[15];
4357 _ialg = tmpMeta[16];
4358 _extdecl = tmpMeta[17];
4359 _cache = tmp4_1;
4360 _env = tmp4_2;
4361 _ih = tmp4_3;
4362 _info = tmp4_8;
4363 tmp4 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
4364#line 685 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4365 tmpMeta[10] = mmc_mk_cons(_name, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
4366#line 685 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4367 omc_Error_assertionOrAddSourceMessage(threadData, isNone(_extdecl)(0==((((((*(mmc_uint_t*)((void*)((char*)(_extdecl) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(_extdecl) -
3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(_extdecl
) - 3)))) >> 10)) ? 1 : 0)
, _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)), tmpMeta[10], _info);
4368#line 4368 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4369#line 686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4370 tmpMeta[10] = mmc_mk_cons((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inClass), 8))(*(void**)(((void*)((void**)(((void*)((char*)(_inClass) - 3))
) + (8)))))
), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
4371#line 686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4372 tmpMeta[0+0] = _cache;
4373#line 686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4374 tmpMeta[0+1] = _env;
4375#line 686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4376 tmpMeta[0+2] = _ih;
4377#line 686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4378 tmpMeta[0+3] = _elt;
4379#line 686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4380 tmpMeta[0+4] = _eq;
4381#line 686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4382 tmpMeta[0+5] = _ieq;
4383#line 686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4384 tmpMeta[0+6] = _alg;
4385#line 686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4386 tmpMeta[0+7] = _ialg;
4387#line 686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4388 tmpMeta[0+8] = _inMod;
4389#line 686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4390 tmpMeta[0+9] = tmpMeta[10];
4391#line 4391 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4392 goto tmp3_done;
4393 }
4394 case 2: {
4395 if (0 != tmp4_9) goto tmp3_end;
4396 if (mmc__uniontype__metarecord__typedef__equal(tmp4_6,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_6) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
4397 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(7)))))
;
4398 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[10],2,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[10]) - 3)))==(((3 +1
) << 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
4399 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[10]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[10]) - 3
))) + (2)))))
;
4400 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[11],0,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[11]) - 3)))==(((2 +1
) << 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
4401 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[11]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[11]) - 3
))) + (2)))))
;
4402 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[10]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[10]) - 3
))) + (3)))))
;
4403 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(9)))))
;
4404
4405 _tp = tmpMeta[12];
4406 _dmod = tmpMeta[13];
4407 _info = tmpMeta[14];
4408 _cache = tmp4_1;
4409 _env = tmp4_2;
4410 _ih = tmp4_3;
4411 _mod = tmp4_4;
4412 _pre = tmp4_5;
4413 _impl = tmp4_7;
4414 tmp4 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
4415#line 692 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4416 _cache = omc_Lookup_lookupClass(threadData, _cache, _env, _tp, mmc_mk_some(_info) ,&_c ,&_cenv);
4417#line 4417 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4418
4419#line 693 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4420 _dmod = omc_InstUtil_chainRedeclares(threadData, _mod, _dmod);
4421#line 4421 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4422
4423#line 697 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4424 tmpMeta[10] = mmc_mk_box2(5, &Mod_ModScope_DERIVED__desc, _tp);
4425#line 697 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4426 _cache = omc_Mod_elabMod(threadData, _cache, _env, _ih, _pre, _dmod, _impl, tmpMeta[10], _info ,&_daeDMOD);
4427#line 4427 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4428
4429#line 698 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4430 _mod = omc_Mod_merge(threadData, _mod, _daeDMOD, _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)), 1);
4431#line 4431 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4432
4433#line 700 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4434 _cache = omc_InstExtends_instDerivedClassesWork(threadData, _cache, _cenv, _ih, _mod, _pre, _c, _impl, _info, (_numIter >= ((modelica_integer) 256)), ((modelica_integer) 1) + _numIter ,&_env ,&_ih ,&_elt ,&_eq ,&_ieq ,&_alg ,&_ialg ,&_mod ,&_outComments);
4435#line 4435 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4436#line 702 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4437 tmpMeta[10] = mmc_mk_cons((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inClass), 8))(*(void**)(((void*)((void**)(((void*)((char*)(_inClass) - 3))
) + (8)))))
), _outComments);
4438#line 702 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4439 tmpMeta[0+0] = _cache;
4440#line 702 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4441 tmpMeta[0+1] = _env;
4442#line 702 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4443 tmpMeta[0+2] = _ih;
4444#line 702 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4445 tmpMeta[0+3] = _elt;
4446#line 702 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4447 tmpMeta[0+4] = _eq;
4448#line 702 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4449 tmpMeta[0+5] = _ieq;
4450#line 702 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4451 tmpMeta[0+6] = _alg;
4452#line 702 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4453 tmpMeta[0+7] = _ialg;
4454#line 702 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4455 tmpMeta[0+8] = _mod;
4456#line 702 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4457 tmpMeta[0+9] = tmpMeta[10];
4458#line 4458 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4459 goto tmp3_done;
4460 }
4461 case 3: {
4462 if (0 != tmp4_9) goto tmp3_end;
4463 if (mmc__uniontype__metarecord__typedef__equal(tmp4_6,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_6) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
4464 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(2)))))
;
4465 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(3)))))
;
4466 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(7)))))
;
4467 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[12],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[12]) - 3)))==(((1 +1
) << 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
4468 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[12]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[12]) - 3
))) + (2)))))
;
4469 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(8)))))
;
4470 tmpMeta[15] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(9)))))
;
4471
4472 _n = tmpMeta[10];
4473 _prefixes = tmpMeta[11];
4474 _enumLst = tmpMeta[13];
4475 _cmt = tmpMeta[14];
4476 _info = tmpMeta[15];
4477 _cache = tmp4_1;
4478 _env = tmp4_2;
4479 _ih = tmp4_3;
4480 _mod = tmp4_4;
4481 _pre = tmp4_5;
4482 _impl = tmp4_7;
4483 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
4484#line 707 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4485 _c = omc_SCodeInstUtil_expandEnumeration(threadData, _n, _enumLst, _prefixes, _cmt, _info);
4486#line 4486 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4487#line 708 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4488 tmpMeta[0+0] = omc_InstExtends_instDerivedClassesWork(threadData, _cache, _env, _ih, _mod, _pre, _c, _impl, _info, (_numIter >= ((modelica_integer) 256)), ((modelica_integer) 1) + _numIter, &tmpMeta[0+1], &tmpMeta[0+2], &tmpMeta[0+3], &tmpMeta[0+4], &tmpMeta[0+5], &tmpMeta[0+6], &tmpMeta[0+7], &tmpMeta[0+8], &tmpMeta[0+9]);
4489#line 4489 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4490 goto tmp3_done;
4491 }
4492 case 4: {
4493 if (1 != tmp4_9) goto tmp3_end;
4494
4495 /* Pattern matching succeeded */
4496#line 714 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4497 _str1 = omc_SCodeDump_unparseElementStr(threadData, _inClass, _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)));
4498#line 4498 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4499
4500#line 715 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4501 _str2 = omc_FGraph_printGraphPathStr(threadData, _inEnv);
4502#line 4502 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4503
4504#line 717 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4505 tmpMeta[10] = mmc_mk_cons(_str1, mmc_mk_cons(_str2, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))));
4506#line 717 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4507 omc_Error_addSourceMessage(threadData, _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)), tmpMeta[10], _inInfo);
4508#line 4508 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4509#line 718 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4510 goto goto_2;
4511#line 4511 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4512 goto tmp3_done;
4513 }
4514 case 5: {
4515 modelica_boolean tmp7;
4516
4517 /* Pattern matching succeeded */
4518#line 722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4519 /* Pattern-matching assignment */
4520#line 722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4521 tmp7 = omc_Flags_isSet(threadData, _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
4522#line 722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4523 if (1 != tmp7) goto goto_2;
4524#line 4524 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4525
4526#line 723 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4527 omc_Debug_trace(threadData, _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)));
4528#line 4528 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4529#line 724 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4530 goto goto_2;
4531#line 4531 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4532 goto tmp3_done;
4533 }
4534 }
4535 goto tmp3_end;
4536 tmp3_end: ;
4537 }
4538 goto goto_2;
4539 tmp3_done:
4540 (void)tmp4;
4541 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4542 goto tmp3_done2;
4543 goto_2:;
4544 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4545 if (++tmp4 < 6) {
4546 goto tmp3_top;
4547 }
4548 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4549 tmp3_done2:;
4550 }
4551 }
4552 _outCache = tmpMeta[0+0];
4553 _outEnv1 = tmpMeta[0+1];
4554 _outIH = tmpMeta[0+2];
4555 _outSCodeElementLst2 = tmpMeta[0+3];
4556 _outSCodeEquationLst3 = tmpMeta[0+4];
4557 _outSCodeEquationLst4 = tmpMeta[0+5];
4558 _outSCodeAlgorithmLst5 = tmpMeta[0+6];
4559 _outSCodeAlgorithmLst6 = tmpMeta[0+7];
4560 _outMod = tmpMeta[0+8];
4561 _outComments = tmpMeta[0+9];
4562 _return: OMC_LABEL_UNUSED__attribute__((unused))
4563 if (out_outEnv1) { *out_outEnv1 = _outEnv1; }
4564 if (out_outIH) { *out_outIH = _outIH; }
4565 if (out_outSCodeElementLst2) { *out_outSCodeElementLst2 = _outSCodeElementLst2; }
4566 if (out_outSCodeEquationLst3) { *out_outSCodeEquationLst3 = _outSCodeEquationLst3; }
4567 if (out_outSCodeEquationLst4) { *out_outSCodeEquationLst4 = _outSCodeEquationLst4; }
4568 if (out_outSCodeAlgorithmLst5) { *out_outSCodeAlgorithmLst5 = _outSCodeAlgorithmLst5; }
4569 if (out_outSCodeAlgorithmLst6) { *out_outSCodeAlgorithmLst6 = _outSCodeAlgorithmLst6; }
4570 if (out_outMod) { *out_outMod = _outMod; }
4571 if (out_outComments) { *out_outComments = _outComments; }
4572 return _outCache;
4573}
4574PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstExtends_instDerivedClassesWork(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inClass, modelica_metatype _inBoolean, modelica_metatype _inInfo, modelica_metatype _overflow, modelica_metatype _numIter, modelica_metatype *out_outEnv1, modelica_metatype *out_outIH, modelica_metatype *out_outSCodeElementLst2, modelica_metatype *out_outSCodeEquationLst3, modelica_metatype *out_outSCodeEquationLst4, modelica_metatype *out_outSCodeAlgorithmLst5, modelica_metatype *out_outSCodeAlgorithmLst6, modelica_metatype *out_outMod, modelica_metatype *out_outComments)
4575{
4576 modelica_integer tmp1;
4577 modelica_integer tmp2;
4578 modelica_integer tmp3;
4579 modelica_metatype _outCache = NULL((void*)0);
4580 tmp1 = mmc_unbox_integer(_inBoolean)(((mmc_sint_t) (_inBoolean)) >> 1);
4581 tmp2 = mmc_unbox_integer(_overflow)(((mmc_sint_t) (_overflow)) >> 1);
4582 tmp3 = mmc_unbox_integer(_numIter)(((mmc_sint_t) (_numIter)) >> 1);
4583 _outCache = omc_InstExtends_instDerivedClassesWork(threadData, _inCache, _inEnv, _inIH, _inMod, _inPrefix, _inClass, tmp1, _inInfo, tmp2, tmp3, out_outEnv1, out_outIH, out_outSCodeElementLst2, out_outSCodeEquationLst3, out_outSCodeEquationLst4, out_outSCodeAlgorithmLst5, out_outSCodeAlgorithmLst6, out_outMod, out_outComments);
4584 /* skip box _outCache; FCore.Cache */
4585 /* skip box _outEnv1; FCore.Graph */
4586 /* skip box _outIH; list<InnerOuter.TopInstance> */
4587 /* skip box _outSCodeElementLst2; list<SCode.Element> */
4588 /* skip box _outSCodeEquationLst3; list<SCode.Equation> */
4589 /* skip box _outSCodeEquationLst4; list<SCode.Equation> */
4590 /* skip box _outSCodeAlgorithmLst5; list<SCode.AlgorithmSection> */
4591 /* skip box _outSCodeAlgorithmLst6; list<SCode.AlgorithmSection> */
4592 /* skip box _outMod; DAE.Mod */
4593 /* skip box _outComments; list<SCode.Comment> */
4594 return _outCache;
4595}
4596
4597DLLExport
4598modelica_metatype omc_InstExtends_instDerivedClasses(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inClass, modelica_boolean _inBoolean, modelica_metatype _inInfo, modelica_metatype *out_outEnv1, modelica_metatype *out_outIH, modelica_metatype *out_outSCodeElementLst2, modelica_metatype *out_outSCodeEquationLst3, modelica_metatype *out_outSCodeEquationLst4, modelica_metatype *out_outSCodeAlgorithmLst5, modelica_metatype *out_outSCodeAlgorithmLst6, modelica_metatype *out_outMod, modelica_metatype *out_outComments)
4599{
4600 modelica_metatype _outCache = NULL((void*)0);
4601 modelica_metatype _outEnv1 = NULL((void*)0);
4602 modelica_metatype _outIH = NULL((void*)0);
4603 modelica_metatype _outSCodeElementLst2 = NULL((void*)0);
4604 modelica_metatype _outSCodeEquationLst3 = NULL((void*)0);
4605 modelica_metatype _outSCodeEquationLst4 = NULL((void*)0);
4606 modelica_metatype _outSCodeAlgorithmLst5 = NULL((void*)0);
4607 modelica_metatype _outSCodeAlgorithmLst6 = NULL((void*)0);
4608 modelica_metatype _outMod = NULL((void*)0);
4609 modelica_metatype _outComments = NULL((void*)0);
4610 MMC_SO()mmc_check_stackoverflow(threadData);
4611 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4612 // _outCache has no default value.
4613 // _outEnv1 has no default value.
4614 // _outIH has no default value.
4615 // _outSCodeElementLst2 has no default value.
4616 // _outSCodeEquationLst3 has no default value.
4617 // _outSCodeEquationLst4 has no default value.
4618 // _outSCodeAlgorithmLst5 has no default value.
4619 // _outSCodeAlgorithmLst6 has no default value.
4620 // _outMod has no default value.
4621 // _outComments has no default value.
4622#line 618 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4623 _outCache = omc_InstExtends_instDerivedClassesWork(threadData, _inCache, _inEnv, _inIH, _inMod, _inPrefix, _inClass, _inBoolean, _inInfo, 0, ((modelica_integer) 0) ,&_outEnv1 ,&_outIH ,&_outSCodeElementLst2 ,&_outSCodeEquationLst3 ,&_outSCodeEquationLst4 ,&_outSCodeAlgorithmLst5 ,&_outSCodeAlgorithmLst6 ,&_outMod ,&_outComments);
4624#line 4624 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4625 _return: OMC_LABEL_UNUSED__attribute__((unused))
4626 if (out_outEnv1) { *out_outEnv1 = _outEnv1; }
4627 if (out_outIH) { *out_outIH = _outIH; }
4628 if (out_outSCodeElementLst2) { *out_outSCodeElementLst2 = _outSCodeElementLst2; }
4629 if (out_outSCodeEquationLst3) { *out_outSCodeEquationLst3 = _outSCodeEquationLst3; }
4630 if (out_outSCodeEquationLst4) { *out_outSCodeEquationLst4 = _outSCodeEquationLst4; }
4631 if (out_outSCodeAlgorithmLst5) { *out_outSCodeAlgorithmLst5 = _outSCodeAlgorithmLst5; }
4632 if (out_outSCodeAlgorithmLst6) { *out_outSCodeAlgorithmLst6 = _outSCodeAlgorithmLst6; }
4633 if (out_outMod) { *out_outMod = _outMod; }
4634 if (out_outComments) { *out_outComments = _outComments; }
4635 return _outCache;
4636}
4637modelica_metatype boxptr_InstExtends_instDerivedClasses(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inClass, modelica_metatype _inBoolean, modelica_metatype _inInfo, modelica_metatype *out_outEnv1, modelica_metatype *out_outIH, modelica_metatype *out_outSCodeElementLst2, modelica_metatype *out_outSCodeEquationLst3, modelica_metatype *out_outSCodeEquationLst4, modelica_metatype *out_outSCodeAlgorithmLst5, modelica_metatype *out_outSCodeAlgorithmLst6, modelica_metatype *out_outMod, modelica_metatype *out_outComments)
4638{
4639 modelica_integer tmp1;
4640 modelica_metatype _outCache = NULL((void*)0);
4641 tmp1 = mmc_unbox_integer(_inBoolean)(((mmc_sint_t) (_inBoolean)) >> 1);
4642 _outCache = omc_InstExtends_instDerivedClasses(threadData, _inCache, _inEnv, _inIH, _inMod, _inPrefix, _inClass, tmp1, _inInfo, out_outEnv1, out_outIH, out_outSCodeElementLst2, out_outSCodeEquationLst3, out_outSCodeEquationLst4, out_outSCodeAlgorithmLst5, out_outSCodeAlgorithmLst6, out_outMod, out_outComments);
4643 /* skip box _outCache; FCore.Cache */
4644 /* skip box _outEnv1; FCore.Graph */
4645 /* skip box _outIH; list<InnerOuter.TopInstance> */
4646 /* skip box _outSCodeElementLst2; list<SCode.Element> */
4647 /* skip box _outSCodeEquationLst3; list<SCode.Equation> */
4648 /* skip box _outSCodeEquationLst4; list<SCode.Equation> */
4649 /* skip box _outSCodeAlgorithmLst5; list<SCode.AlgorithmSection> */
4650 /* skip box _outSCodeAlgorithmLst6; list<SCode.AlgorithmSection> */
4651 /* skip box _outMod; DAE.Mod */
4652 /* skip box _outComments; list<SCode.Comment> */
4653 return _outCache;
4654}
4655
4656PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_instClassExtendsList2(threadData_t *threadData, modelica_metatype _inEnv, modelica_metatype _inMod, modelica_string _inName, modelica_metatype _inClassExtendsElt, modelica_metatype _inElements, modelica_metatype *out_outElements)
4657{
4658 modelica_metatype _outMod = NULL((void*)0);
4659 modelica_metatype _outElements = NULL((void*)0);
4660 modelica_metatype tmpMeta[18] __attribute__((unused)) = {0};
4661 MMC_SO()mmc_check_stackoverflow(threadData);
4662 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4663 // _outMod has no default value.
4664 // _outElements has no default value.
4665#line 500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4666
4667#line 500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4668
4669#line 4669 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4670 { /* matchcontinue expression */
4671 volatile modelica_metatype tmp4_1;volatile modelica_string tmp4_2;volatile modelica_metatype tmp4_3;volatile modelica_metatype tmp4_4;
4672 tmp4_1 = _inMod;
4673 tmp4_2 = _inName;
4674 tmp4_3 = _inClassExtendsElt;
4675 tmp4_4 = _inElements;
4676 {
4677 modelica_metatype _elt = NULL((void*)0);
4678 modelica_metatype _compelt = NULL((void*)0);
4679 modelica_metatype _classExtendsElt = NULL((void*)0);
4680 modelica_metatype _cl = NULL((void*)0);
4681 modelica_metatype _classDef = NULL((void*)0);
4682 modelica_metatype _classExtendsCdef = NULL((void*)0);
4683 modelica_metatype _partialPrefix1 = NULL((void*)0);
4684 modelica_metatype _partialPrefix2 = NULL((void*)0);
4685 modelica_metatype _encapsulatedPrefix1 = NULL((void*)0);
4686 modelica_metatype _encapsulatedPrefix2 = NULL((void*)0);
4687 modelica_metatype _restriction1 = NULL((void*)0);
4688 modelica_metatype _restriction2 = NULL((void*)0);
4689 modelica_metatype _prefixes1 = NULL((void*)0);
4690 modelica_metatype _prefixes2 = NULL((void*)0);
4691 modelica_metatype _vis2 = NULL((void*)0);
4692 modelica_string _name1 = NULL((void*)0);
4693 modelica_string _name2 = NULL((void*)0);
4694 modelica_string _env_path = NULL((void*)0);
4695 modelica_metatype _externalDecl1 = NULL((void*)0);
4696 modelica_metatype _externalDecl2 = NULL((void*)0);
4697 modelica_metatype _comment1 = NULL((void*)0);
4698 modelica_metatype _comment2 = NULL((void*)0);
4699 modelica_metatype _els1 = NULL((void*)0);
4700 modelica_metatype _els2 = NULL((void*)0);
4701 modelica_metatype _nEqn1 = NULL((void*)0);
4702 modelica_metatype _nEqn2 = NULL((void*)0);
4703 modelica_metatype _inEqn1 = NULL((void*)0);
4704 modelica_metatype _inEqn2 = NULL((void*)0);
4705 modelica_metatype _nAlg1 = NULL((void*)0);
4706 modelica_metatype _nAlg2 = NULL((void*)0);
4707 modelica_metatype _inAlg1 = NULL((void*)0);
4708 modelica_metatype _inAlg2 = NULL((void*)0);
4709 modelica_metatype _inCons1 = NULL((void*)0);
4710 modelica_metatype _inCons2 = NULL((void*)0);
4711 modelica_metatype _clats = NULL((void*)0);
4712 modelica_metatype _rest = NULL((void*)0);
4713 modelica_metatype _first = NULL((void*)0);
4714 modelica_metatype _mods = NULL((void*)0);
4715 modelica_metatype _derivedMod = NULL((void*)0);
4716 modelica_metatype _mod1 = NULL((void*)0);
4717 modelica_metatype _emod = NULL((void*)0);
4718 modelica_metatype _info1 = NULL((void*)0);
4719 modelica_metatype _info2 = NULL((void*)0);
4720 modelica_boolean _b;
4721 modelica_metatype _attrs = NULL((void*)0);
4722 modelica_metatype _derivedTySpec = NULL((void*)0);
4723 volatile mmc_switch_type tmp4;
4724 int tmp5;
4725 // _elt has no default value.
4726 // _compelt has no default value.
4727 // _classExtendsElt has no default value.
4728 // _cl has no default value.
4729 // _classDef has no default value.
4730 // _classExtendsCdef has no default value.
4731 // _partialPrefix1 has no default value.
4732 // _partialPrefix2 has no default value.
4733 // _encapsulatedPrefix1 has no default value.
4734 // _encapsulatedPrefix2 has no default value.
4735 // _restriction1 has no default value.
4736 // _restriction2 has no default value.
4737 // _prefixes1 has no default value.
4738 // _prefixes2 has no default value.
4739 // _vis2 has no default value.
4740 // _name1 has no default value.
4741 // _name2 has no default value.
4742 // _env_path has no default value.
4743 // _externalDecl1 has no default value.
4744 // _externalDecl2 has no default value.
4745 // _comment1 has no default value.
4746 // _comment2 has no default value.
4747 // _els1 has no default value.
4748 // _els2 has no default value.
4749 // _nEqn1 has no default value.
4750 // _nEqn2 has no default value.
4751 // _inEqn1 has no default value.
4752 // _inEqn2 has no default value.
4753 // _nAlg1 has no default value.
4754 // _nAlg2 has no default value.
4755 // _inAlg1 has no default value.
4756 // _inAlg2 has no default value.
4757 // _inCons1 has no default value.
4758 // _inCons2 has no default value.
4759 // _clats has no default value.
4760 // _rest has no default value.
4761 // _first has no default value.
4762 // _mods has no default value.
4763 // _derivedMod has no default value.
4764 // _mod1 has no default value.
4765 // _emod has no default value.
4766 // _info1 has no default value.
4767 // _info2 has no default value.
4768 // _b has no default value.
4769 // _attrs has no default value.
4770 // _derivedTySpec has no default value.
4771 tmp4 = 0;
4772 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
4773 tmp3_top:
4774 threadData->mmc_jumper = &new_mmc_jumper;
4775 for (; tmp4 < 4; tmp4++) {
4776 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4777 case 0: {
4778 modelica_integer tmp6;
4779 modelica_boolean tmp7;
4780 if (listEmpty(tmp4_4)((*(mmc_uint_t*)((void*)((char*)(tmp4_4) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4781 tmpMeta[2] = MMC_CAR(tmp4_4)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(1)))))
;
4782 tmpMeta[3] = MMC_CDR(tmp4_4)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(2)))))
;
4783 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
4784 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
4785 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
4786 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (7)))))
;
4787 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[6],0,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3)))==(((8 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
4788 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
4789 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
4790 tmp6 = mmc_unbox_integer(tmpMeta[8])(((mmc_sint_t) (tmpMeta[8])) >> 1);
4791
4792 _cl = tmpMeta[4];
4793 _name2 = tmpMeta[5];
4794 _mod1 = tmpMeta[7];
4795 _b = tmp6 /* pattern as ty=Boolean */;
4796 _rest = tmpMeta[3];
4797 _emod = tmp4_1;
4798 _name1 = tmp4_2;
4799 _classExtendsElt = tmp4_3;
4800 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
4801#line 532 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4802 /* Pattern-matching assignment */
4803#line 532 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4804 tmp7 = (stringEqual(_name1, _name2)((((((*(mmc_uint_t*)((void*)((char*)(_name1) - 3)))) >>
(3)) - 8)) == (((((*(mmc_uint_t*)((void*)((char*)(_name2) - 3
)))) >> (3)) - 8)) && !mmc_stringCompare(_name1
,_name2))
);
4805#line 532 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4806 if (1 != tmp7) goto goto_2;
4807#line 4807 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4808
4809#line 534 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4810 _env_path = omc_AbsynUtil_pathString(threadData, omc_FGraph_getGraphName(threadData, _inEnv), _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)), 1, 0);
4811#line 4811 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4812
4813#line 535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4814 _name2 = omc_InstExtends_buildClassExtendsName(threadData, _env_path, _name2);
4815#line 4815 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4816
4817#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4818 /* Pattern-matching assignment */
4819#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4820 tmpMeta[2] = _cl;
4821#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4822 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto goto_2;
4823#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4824 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
4825#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4826 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
4827#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4828 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (5)))))
;
4829#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4830 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (6)))))
;
4831#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4832 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (7)))))
;
4833#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4834 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[7],0,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3)))==(((8 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto goto_2;
4835#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4836 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (2)))))
;
4837#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4838 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (3)))))
;
4839#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4840 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (4)))))
;
4841#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4842 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (5)))))
;
4843#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4844 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (6)))))
;
4845#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4846 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (7)))))
;
4847#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4848 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (8)))))
;
4849#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4850 tmpMeta[15] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (9)))))
;
4851#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4852 tmpMeta[16] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (8)))))
;
4853#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4854 tmpMeta[17] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (9)))))
;
4855#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4856 _prefixes2 = tmpMeta[3];
4857#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4858 _encapsulatedPrefix2 = tmpMeta[4];
4859#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4860 _partialPrefix2 = tmpMeta[5];
4861#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4862 _restriction2 = tmpMeta[6];
4863#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4864 _els2 = tmpMeta[8];
4865#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4866 _nEqn2 = tmpMeta[9];
4867#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4868 _inEqn2 = tmpMeta[10];
4869#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4870 _nAlg2 = tmpMeta[11];
4871#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4872 _inAlg2 = tmpMeta[12];
4873#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4874 _inCons2 = tmpMeta[13];
4875#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4876 _clats = tmpMeta[14];
4877#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4878 _externalDecl2 = tmpMeta[15];
4879#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4880 _comment2 = tmpMeta[16];
4881#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4882 _info2 = tmpMeta[17];
4883#line 4883 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4884
4885#line 538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4886 /* Pattern-matching assignment */
4887#line 538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4888 tmpMeta[2] = _classExtendsElt;
4889#line 538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4890 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto goto_2;
4891#line 538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4892 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
4893#line 538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4894 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
4895#line 538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4896 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (5)))))
;
4897#line 538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4898 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (6)))))
;
4899#line 538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4900 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (7)))))
;
4901#line 538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4902 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (8)))))
;
4903#line 538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4904 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (9)))))
;
4905#line 538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4906 _prefixes1 = tmpMeta[3];
4907#line 538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4908 _encapsulatedPrefix1 = tmpMeta[4];
4909#line 538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4910 _partialPrefix1 = tmpMeta[5];
4911#line 538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4912 _restriction1 = tmpMeta[6];
4913#line 538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4914 _classExtendsCdef = tmpMeta[7];
4915#line 538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4916 _comment1 = tmpMeta[8];
4917#line 538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4918 _info1 = tmpMeta[9];
4919#line 4919 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4920
4921#line 539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4922 /* Pattern-matching assignment */
4923#line 539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4924 tmpMeta[2] = _classExtendsCdef;
4925#line 539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4926 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((2 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto goto_2;
4927#line 539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4928 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
4929#line 539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4930 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
4931#line 539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4932 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],0,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((8 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto goto_2;
4933#line 539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4934 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
4935#line 539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4936 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (3)))))
;
4937#line 539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4938 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (4)))))
;
4939#line 539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4940 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (5)))))
;
4941#line 539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4942 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (6)))))
;
4943#line 539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4944 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (7)))))
;
4945#line 539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4946 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (9)))))
;
4947#line 539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4948 _mods = tmpMeta[3];
4949#line 539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4950 _els1 = tmpMeta[5];
4951#line 539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4952 _nEqn1 = tmpMeta[6];
4953#line 539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4954 _inEqn1 = tmpMeta[7];
4955#line 539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4956 _nAlg1 = tmpMeta[8];
4957#line 539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4958 _inAlg1 = tmpMeta[9];
4959#line 539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4960 _inCons1 = tmpMeta[10];
4961#line 539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4962 _externalDecl1 = tmpMeta[11];
4963#line 4963 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4964
4965#line 541 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4966 tmpMeta[2] = mmc_mk_box9(3, &SCode_ClassDef_PARTS__desc, _els2, _nEqn2, _inEqn2, _nAlg2, _inAlg2, _inCons2, _clats, _externalDecl2);
4967#line 541 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4968 _classDef = tmpMeta[2];
4969#line 4969 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4970
4971#line 542 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4972 tmpMeta[2] = mmc_mk_box9(5, &SCode_Element_CLASS__desc, _name2, _prefixes2, _encapsulatedPrefix2, _partialPrefix2, _restriction2, _classDef, _comment2, _info2);
4973#line 542 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4974 _compelt = tmpMeta[2];
4975#line 4975 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4976
4977#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4978 _vis2 = omc_SCodeUtil_prefixesVisibility(threadData, _prefixes2);
4979#line 4979 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4980
4981#line 544 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4982 tmpMeta[2] = mmc_mk_box2(4, &Absyn_Path_IDENT__desc, _name2);
4983#line 544 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4984 tmpMeta[3] = mmc_mk_box6(4, &SCode_Element_EXTENDS__desc, tmpMeta[2], _vis2, _mods, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _info1);
4985#line 544 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4986 _elt = tmpMeta[3];
4987#line 4987 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4988
4989#line 545 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4990 tmpMeta[2] = mmc_mk_cons(_elt, _els1);
4991#line 545 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4992 tmpMeta[3] = mmc_mk_box9(3, &SCode_ClassDef_PARTS__desc, tmpMeta[2], _nEqn1, _inEqn1, _nAlg1, _inAlg1, _inCons1, _clats, _externalDecl1);
4993#line 545 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4994 _classDef = tmpMeta[3];
4995#line 4995 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
4996
4997#line 546 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
4998 tmpMeta[2] = mmc_mk_box9(5, &SCode_Element_CLASS__desc, _name1, _prefixes1, _encapsulatedPrefix1, _partialPrefix1, _restriction1, _classDef, _comment1, _info1);
4999#line 546 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5000 _elt = tmpMeta[2];
5001#line 5001 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5002
5003#line 547 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5004 _emod = omc_Mod_renameTopLevelNamedSubMod(threadData, _emod, _name1, _name2);
5005#line 5005 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5006#line 549 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5007 tmpMeta[3] = mmc_mk_box3(0, _compelt, _mod1, mmc_mk_boolean(_b)((_b) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
5008#line 549 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5009 tmpMeta[5] = mmc_mk_box3(0, _elt, _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)), mmc_mk_boolean(1)((1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
5010#line 549 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5011 tmpMeta[4] = mmc_mk_cons(tmpMeta[5], _rest);
5012#line 549 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5013 tmpMeta[2] = mmc_mk_cons(tmpMeta[3], tmpMeta[4]);
5014#line 549 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5015 tmpMeta[0+0] = _emod;
5016#line 549 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5017 tmpMeta[0+1] = tmpMeta[2];
5018#line 5018 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5019 goto tmp3_done;
5020 }
5021 case 1: {
5022 modelica_integer tmp8;
5023 modelica_boolean tmp9;
5024 if (listEmpty(tmp4_4)((*(mmc_uint_t*)((void*)((char*)(tmp4_4) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
5025 tmpMeta[2] = MMC_CAR(tmp4_4)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(1)))))
;
5026 tmpMeta[3] = MMC_CDR(tmp4_4)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(2)))))
;
5027 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
5028 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
5029 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
5030 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (7)))))
;
5031 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[6],2,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3)))==(((3 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
5032 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
5033 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
5034 tmp8 = mmc_unbox_integer(tmpMeta[8])(((mmc_sint_t) (tmpMeta[8])) >> 1);
5035
5036 _cl = tmpMeta[4];
5037 _name2 = tmpMeta[5];
5038 _mod1 = tmpMeta[7];
5039 _b = tmp8 /* pattern as ty=Boolean */;
5040 _rest = tmpMeta[3];
5041 _emod = tmp4_1;
5042 _name1 = tmp4_2;
5043 _classExtendsElt = tmp4_3;
5044 /* Pattern matching succeeded */
5045#line 555 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5046 /* Pattern-matching assignment */
5047#line 555 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5048 tmp9 = (stringEqual(_name1, _name2)((((((*(mmc_uint_t*)((void*)((char*)(_name1) - 3)))) >>
(3)) - 8)) == (((((*(mmc_uint_t*)((void*)((char*)(_name2) - 3
)))) >> (3)) - 8)) && !mmc_stringCompare(_name1
,_name2))
);
5049#line 555 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5050 if (1 != tmp9) goto goto_2;
5051#line 5051 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5052
5053#line 557 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5054 _env_path = omc_AbsynUtil_pathString(threadData, omc_FGraph_getGraphName(threadData, _inEnv), _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)), 1, 0);
5055#line 5055 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5056
5057#line 558 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5058 _name2 = omc_InstExtends_buildClassExtendsName(threadData, _env_path, _name2);
5059#line 5059 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5060
5061#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5062 /* Pattern-matching assignment */
5063#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5064 tmpMeta[2] = _cl;
5065#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5066 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto goto_2;
5067#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5068 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
5069#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5070 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
5071#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5072 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (5)))))
;
5073#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5074 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (6)))))
;
5075#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5076 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (7)))))
;
5077#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5078 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[7],2,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3)))==(((3 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto goto_2;
5079#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5080 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (2)))))
;
5081#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5082 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (3)))))
;
5083#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5084 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (4)))))
;
5085#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5086 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (8)))))
;
5087#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5088 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (9)))))
;
5089#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5090 _prefixes2 = tmpMeta[3];
5091#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5092 _encapsulatedPrefix2 = tmpMeta[4];
5093#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5094 _partialPrefix2 = tmpMeta[5];
5095#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5096 _restriction2 = tmpMeta[6];
5097#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5098 _derivedTySpec = tmpMeta[8];
5099#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5100 _derivedMod = tmpMeta[9];
5101#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5102 _attrs = tmpMeta[10];
5103#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5104 _comment2 = tmpMeta[11];
5105#line 559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5106 _info2 = tmpMeta[12];
5107#line 5107 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5108
5109#line 561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5110 /* Pattern-matching assignment */
5111#line 561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5112 tmpMeta[2] = _classExtendsElt;
5113#line 561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5114 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto goto_2;
5115#line 561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5116 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
5117#line 561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5118 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
5119#line 561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5120 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (5)))))
;
5121#line 561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5122 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (6)))))
;
5123#line 561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5124 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (7)))))
;
5125#line 561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5126 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (8)))))
;
5127#line 561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5128 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (9)))))
;
5129#line 561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5130 _prefixes1 = tmpMeta[3];
5131#line 561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5132 _encapsulatedPrefix1 = tmpMeta[4];
5133#line 561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5134 _partialPrefix1 = tmpMeta[5];
5135#line 561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5136 _restriction1 = tmpMeta[6];
5137#line 561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5138 _classExtendsCdef = tmpMeta[7];
5139#line 561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5140 _comment1 = tmpMeta[8];
5141#line 561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5142 _info1 = tmpMeta[9];
5143#line 5143 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5144
5145#line 562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5146 /* Pattern-matching assignment */
5147#line 562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5148 tmpMeta[2] = _classExtendsCdef;
5149#line 562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5150 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((2 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto goto_2;
5151#line 562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5152 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
5153#line 562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5154 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
5155#line 562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5156 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],0,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((8 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto goto_2;
5157#line 562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5158 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
5159#line 562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5160 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (3)))))
;
5161#line 562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5162 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (4)))))
;
5163#line 562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5164 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (5)))))
;
5165#line 562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5166 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (6)))))
;
5167#line 562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5168 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (7)))))
;
5169#line 562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5170 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (9)))))
;
5171#line 562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5172 _mods = tmpMeta[3];
5173#line 562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5174 _els1 = tmpMeta[5];
5175#line 562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5176 _nEqn1 = tmpMeta[6];
5177#line 562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5178 _inEqn1 = tmpMeta[7];
5179#line 562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5180 _nAlg1 = tmpMeta[8];
5181#line 562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5182 _inAlg1 = tmpMeta[9];
5183#line 562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5184 _inCons1 = tmpMeta[10];
5185#line 562 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5186 _externalDecl1 = tmpMeta[11];
5187#line 5187 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5188
5189#line 564 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5190 tmpMeta[2] = mmc_mk_box4(5, &SCode_ClassDef_DERIVED__desc, _derivedTySpec, _derivedMod, _attrs);
5191#line 564 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5192 _classDef = tmpMeta[2];
5193#line 5193 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5194
5195#line 565 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5196 tmpMeta[2] = mmc_mk_box9(5, &SCode_Element_CLASS__desc, _name2, _prefixes2, _encapsulatedPrefix2, _partialPrefix2, _restriction2, _classDef, _comment2, _info2);
5197#line 565 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5198 _compelt = tmpMeta[2];
5199#line 5199 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5200
5201#line 566 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5202 _vis2 = omc_SCodeUtil_prefixesVisibility(threadData, _prefixes2);
5203#line 5203 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5204
5205#line 567 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5206 tmpMeta[2] = mmc_mk_box2(4, &Absyn_Path_IDENT__desc, _name2);
5207#line 567 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5208 tmpMeta[3] = mmc_mk_box6(4, &SCode_Element_EXTENDS__desc, tmpMeta[2], _vis2, _mods, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _info1);
5209#line 567 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5210 _elt = tmpMeta[3];
5211#line 5211 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5212
5213#line 568 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5214 tmpMeta[2] = mmc_mk_cons(_elt, _els1);
5215#line 568 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5216 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5217#line 568 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5218 tmpMeta[4] = mmc_mk_box9(3, &SCode_ClassDef_PARTS__desc, tmpMeta[2], _nEqn1, _inEqn1, _nAlg1, _inAlg1, _inCons1, tmpMeta[3], _externalDecl1);
5219#line 568 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5220 _classDef = tmpMeta[4];
5221#line 5221 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5222
5223#line 569 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5224 tmpMeta[2] = mmc_mk_box9(5, &SCode_Element_CLASS__desc, _name1, _prefixes1, _encapsulatedPrefix1, _partialPrefix1, _restriction1, _classDef, _comment1, _info1);
5225#line 569 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5226 _elt = tmpMeta[2];
5227#line 5227 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5228
5229#line 570 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5230 _emod = omc_Mod_renameTopLevelNamedSubMod(threadData, _emod, _name1, _name2);
5231#line 5231 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5232#line 572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5233 tmpMeta[3] = mmc_mk_box3(0, _compelt, _mod1, mmc_mk_boolean(_b)((_b) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
5234#line 572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5235 tmpMeta[5] = mmc_mk_box3(0, _elt, _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)), mmc_mk_boolean(1)((1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
5236#line 572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5237 tmpMeta[4] = mmc_mk_cons(tmpMeta[5], _rest);
5238#line 572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5239 tmpMeta[2] = mmc_mk_cons(tmpMeta[3], tmpMeta[4]);
5240#line 572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5241 tmpMeta[0+0] = _emod;
5242#line 572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5243 tmpMeta[0+1] = tmpMeta[2];
5244#line 5244 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5245 goto tmp3_done;
5246 }
5247 case 2: {
5248 if (listEmpty(tmp4_4)((*(mmc_uint_t*)((void*)((char*)(tmp4_4) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
5249 tmpMeta[2] = MMC_CAR(tmp4_4)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(1)))))
;
5250 tmpMeta[3] = MMC_CDR(tmp4_4)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(2)))))
;
5251
5252 _first = tmpMeta[2];
5253 _rest = tmpMeta[3];
5254 _emod = tmp4_1;
5255 _name1 = tmp4_2;
5256 _classExtendsElt = tmp4_3;
5257 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
5258#line 578 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5259 _emod = omc_InstExtends_instClassExtendsList2(threadData, _inEnv, _emod, _name1, _classExtendsElt, _rest ,&_rest);
5260#line 5260 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5261#line 579 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5262 tmpMeta[2] = mmc_mk_cons(_first, _rest);
5263#line 579 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5264 tmpMeta[0+0] = _emod;
5265#line 579 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5266 tmpMeta[0+1] = tmpMeta[2];
5267#line 5267 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5268 goto tmp3_done;
5269 }
5270 case 3: {
5271 if (!listEmpty(tmp4_4)((*(mmc_uint_t*)((void*)((char*)(tmp4_4) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
5272
5273 /* Pattern matching succeeded */
5274#line 586 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5275 omc_Debug_traceln(threadData, _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)));
5276#line 5276 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5277#line 587 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5278 goto goto_2;
5279#line 5279 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5280 goto tmp3_done;
5281 }
5282 }
5283 goto tmp3_end;
5284 tmp3_end: ;
5285 }
5286 goto goto_2;
5287 tmp3_done:
5288 (void)tmp4;
5289 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
5290 goto tmp3_done2;
5291 goto_2:;
5292 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
5293 if (++tmp4 < 4) {
5294 goto tmp3_top;
5295 }
5296 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5297 tmp3_done2:;
5298 }
5299 }
5300 _outMod = tmpMeta[0+0];
5301 _outElements = tmpMeta[0+1];
5302 _return: OMC_LABEL_UNUSED__attribute__((unused))
5303 if (out_outElements) { *out_outElements = _outElements; }
5304 return _outMod;
5305}
5306
5307PROTECTED_FUNCTION_STATIC modelica_string omc_InstExtends_buildClassExtendsName(threadData_t *threadData, modelica_string _inEnvPath, modelica_string _inClassName)
5308{
5309 modelica_string _outClassName = NULL((void*)0);
5310 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
5311 MMC_SO()mmc_check_stackoverflow(threadData);
5312 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5313 // _outClassName has no default value.
5314#line 488 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5315 tmpMeta[0] = stringAppend(_OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)),_inClassName);
5316#line 488 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5317 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)));
5318#line 488 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5319 tmpMeta[2] = stringAppend(tmpMeta[1],_inEnvPath);
5320#line 488 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5321 _outClassName = tmpMeta[2];
5322#line 5322 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5323 _return: OMC_LABEL_UNUSED__attribute__((unused))
5324 return _outClassName;
5325}
5326
5327PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_instClassExtendsList(threadData_t *threadData, modelica_metatype _inEnv, modelica_metatype _inMod, modelica_metatype _inClassExtendsList, modelica_metatype _inElements, modelica_metatype *out_outElements)
5328{
5329 modelica_metatype _outMod = NULL((void*)0);
5330 modelica_metatype _outElements = NULL((void*)0);
5331 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
5332 MMC_SO()mmc_check_stackoverflow(threadData);
5333 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5334 // _outMod has no default value.
5335 // _outElements has no default value.
5336#line 452 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5337
5338#line 452 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5339
5340#line 5340 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5341 { /* matchcontinue expression */
5342 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;volatile modelica_metatype tmp4_3;
5343 tmp4_1 = _inMod;
5344 tmp4_2 = _inClassExtendsList;
5345 tmp4_3 = _inElements;
5346 {
5347 modelica_metatype _first = NULL((void*)0);
5348 modelica_metatype _rest = NULL((void*)0);
5349 modelica_string _name = NULL((void*)0);
5350 modelica_metatype _els = NULL((void*)0);
5351 modelica_metatype _compelts = NULL((void*)0);
5352 modelica_metatype _emod = NULL((void*)0);
5353 modelica_metatype _names = NULL((void*)0);
5354 volatile mmc_switch_type tmp4;
5355 int tmp5;
5356 // _first has no default value.
5357 // _rest has no default value.
5358 // _name has no default value.
5359 // _els has no default value.
5360 // _compelts has no default value.
5361 // _emod has no default value.
5362 // _names has no default value.
5363 tmp4 = 0;
5364 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
5365 tmp3_top:
5366 threadData->mmc_jumper = &new_mmc_jumper;
5367 for (; tmp4 < 3; tmp4++) {
5368 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
5369 case 0: {
5370 if (!listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
5371
5372 _emod = tmp4_1;
5373 _compelts = tmp4_3;
5374 tmp4 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
5375#line 462 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5376 tmpMeta[0+0] = _emod;
5377#line 462 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5378 tmpMeta[0+1] = _compelts;
5379#line 5379 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5380 goto tmp3_done;
5381 }
5382 case 1: {
5383 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
5384 tmpMeta[2] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
5385 tmpMeta[3] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
5386 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
5387 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
5388
5389 _first = tmpMeta[2];
5390 _name = tmpMeta[4];
5391 _rest = tmpMeta[3];
5392 _emod = tmp4_1;
5393 _compelts = tmp4_3;
5394 /* Pattern matching succeeded */
5395#line 466 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5396 _emod = omc_InstExtends_instClassExtendsList2(threadData, _inEnv, _emod, _name, _first, _compelts ,&_compelts);
5397#line 5397 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5398#line 467 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5399 tmpMeta[0+0] = omc_InstExtends_instClassExtendsList(threadData, _inEnv, _emod, _rest, _compelts, &tmpMeta[0+1]);
5400#line 5400 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5401 goto tmp3_done;
5402 }
5403 case 2: {
5404 modelica_boolean tmp6;
5405 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
5406 tmpMeta[2] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
5407 tmpMeta[3] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
5408 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
5409 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
5410
5411 _name = tmpMeta[4];
5412 _compelts = tmp4_3;
5413 /* Pattern matching succeeded */
5414#line 472 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5415 /* Pattern-matching assignment */
5416#line 472 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5417 tmp6 = omc_Flags_isSet(threadData, _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
5418#line 472 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5419 if (1 != tmp6) goto goto_2;
5420#line 5420 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5421
5422#line 473 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5423 tmpMeta[2] = stringAppend(_OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)),_name);
5424#line 473 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5425 omc_Debug_traceln(threadData, tmpMeta[2]);
5426#line 5426 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5427
5428#line 474 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5429 omc_Debug_traceln(threadData, _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)));
5430#line 5430 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5431
5432#line 475 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5433 _els = omc_List_map(threadData, _compelts, boxvar_Util_tuple31((void*)((char*)(&(boxvar_lit_Util_tuple31).header) + 3)));
5434#line 5434 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5435
5436#line 476 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5437 _names = omc_List_map(threadData, _els, boxvar_SCodeUtil_elementName((void*)((char*)(&(boxvar_lit_SCodeUtil_elementName).header
) + 3))
);
5438#line 5438 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5439
5440#line 477 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5441 omc_Debug_traceln(threadData, stringDelimitList(_names, _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))));
5442#line 5442 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5443#line 478 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5444 goto goto_2;
5445#line 5445 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5446 goto tmp3_done;
5447 }
5448 }
5449 goto tmp3_end;
5450 tmp3_end: ;
5451 }
5452 goto goto_2;
5453 tmp3_done:
5454 (void)tmp4;
5455 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
5456 goto tmp3_done2;
5457 goto_2:;
5458 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
5459 if (++tmp4 < 3) {
5460 goto tmp3_top;
5461 }
5462 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5463 tmp3_done2:;
5464 }
5465 }
5466 _outMod = tmpMeta[0+0];
5467 _outElements = tmpMeta[0+1];
5468 _return: OMC_LABEL_UNUSED__attribute__((unused))
5469 if (out_outElements) { *out_outElements = _outElements; }
5470 return _outMod;
5471}
5472
5473PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstExtends_instExtendsAndClassExtendsList2(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inExtendsElementLst, modelica_metatype _inClassExtendsElementLst, modelica_metatype _inElementsFromExtendsScope, modelica_metatype _inState, modelica_string _inClassName, modelica_boolean _inImpl, modelica_boolean _isPartialInst, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outMod, modelica_metatype *out_outElements, modelica_metatype *out_outNormalEqs, modelica_metatype *out_outInitialEqs, modelica_metatype *out_outNormalAlgs, modelica_metatype *out_outInitialAlgs, modelica_metatype *out_comments)
5474{
5475 modelica_metatype _outCache = NULL((void*)0);
5476 modelica_metatype _outEnv = NULL((void*)0);
5477 modelica_metatype _outIH = NULL((void*)0);
5478 modelica_metatype _outMod = NULL((void*)0);
5479 modelica_metatype _outElements = NULL((void*)0);
5480 modelica_metatype _outNormalEqs = NULL((void*)0);
5481 modelica_metatype _outInitialEqs = NULL((void*)0);
5482 modelica_metatype _outNormalAlgs = NULL((void*)0);
5483 modelica_metatype _outInitialAlgs = NULL((void*)0);
5484 modelica_metatype _comments = NULL((void*)0);
5485 MMC_SO()mmc_check_stackoverflow(threadData);
5486 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5487 // _outCache has no default value.
5488 // _outEnv has no default value.
5489 // _outIH has no default value.
5490 // _outMod has no default value.
5491 // _outElements has no default value.
5492 // _outNormalEqs has no default value.
5493 // _outInitialEqs has no default value.
5494 // _outNormalAlgs has no default value.
5495 // _outInitialAlgs has no default value.
5496 // _comments has no default value.
5497#line 436 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5498 _outCache = omc_InstExtends_instExtendsList(threadData, _inCache, _inEnv, _inIH, _inMod, _inPrefix, _inExtendsElementLst, _inElementsFromExtendsScope, _inState, _inClassName, _inImpl, _isPartialInst ,&_outEnv ,&_outIH ,&_outMod ,&_outElements ,&_outNormalEqs ,&_outInitialEqs ,&_outNormalAlgs ,&_outInitialAlgs ,&_comments);
5499#line 5499 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5500
5501#line 438 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/InstExtends.mo"
5502 _outMod = omc_InstExtends_instClassExtendsList(threadData, _inEnv, _outMod, _inClassExtendsElementLst, _outElements ,&_outElements);
5503#line 5503 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/InstExtends.c"
5504 _return: OMC_LABEL_UNUSED__attribute__((unused))
5505 if (out_outEnv) { *out_outEnv = _outEnv; }
5506 if (out_outIH) { *out_outIH = _outIH; }
5507 if (out_outMod) { *out_outMod = _outMod; }
5508 if (out_outElements) { *out_outElements = _outElements; }
5509 if (out_outNormalEqs) { *out_outNormalEqs = _outNormalEqs; }
5510 if (out_outInitialEqs) { *out_outInitialEqs = _outInitialEqs; }
5511 if (out_outNormalAlgs) { *out_outNormalAlgs = _outNormalAlgs; }
5512 if (out_outInitialAlgs) { *out_outInitialAlgs = _outInitialAlgs; }
5513 if (out_comments) { *out_comments = _comments; }
5514 return _outCache;
5515}
5516PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstExtends_instExtendsAndClassExtendsList2(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inExtendsElementLst, modelica_metatype _inClassExtendsElementLst, modelica_metatype _inElementsFromExtendsScope, modelica_metatype _inState, modelica_metatype _inClassName, modelica_metatype _inImpl, modelica_metatype _isPartialInst, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outMod, modelica_metatype *out_outElements, modelica_metatype *out_outNormalEqs, modelica_metatype *out_outInitialEqs, modelica_metatype *out_outNormalAlgs, modelica_metatype *out_outInitialAlgs, modelica_metatype *out_comments)
5517{
5518 modelica_integer tmp1;
5519 modelica_integer tmp2;
5520 modelica_metatype _outCache = NULL((void*)0);
5521 tmp1 = mmc_unbox_integer(_inImpl)(((mmc_sint_t) (_inImpl)) >> 1);
5522 tmp2 = mmc_unbox_integer(_isPartialInst)(((mmc_sint_t) (_isPartialInst)) >> 1);
5523 _outCache = omc_InstExtends_instExtendsAndClassExtendsList2(threadData, _inCache, _inEnv, _inIH, _inMod, _inPrefix, _inExtendsElementLst, _inClassExtendsElementLst, _inElementsFromExtendsScope, _inState, _inClassName, tmp1, tmp2, out_outEnv, out_outIH, out_outMod, out_outElements, out_outNormalEqs, out_outInitialEqs, out_outNormalAlgs, out_outInitialAlgs, out_comments);
5524 /* skip box _outCache; FCore.Cache */
5525 /* skip box _outEnv; FCore.Graph */
5526 /* skip box _outIH; list<InnerOuter.TopInstance> */
5527 /* skip box _outMod; DAE.Mod */
5528 /* skip box _outElements; list<tuple<SCode.Element, DAE.Mod, #Boolean>> */
5529 /* skip box _outNormalEqs; list<SCode.Equation> */
5530 /* skip box _outInitialEqs; list<SCode.Equation> */
5531 /* skip box _outNormalAlgs; list<SCode.AlgorithmSection> */
5532 /* skip box _outInitialAlgs; list<SCode.AlgorithmSection> */
5533 /* skip box _comments; list<SCode.Comment> */
5534 return _outCache;
5535}
5536
5537DLLExport
5538modelica_metatype omc_InstExtends_instExtendsAndClassExtendsList(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inExtendsElementLst, modelica_metatype _inClassExtendsElementLst, modelica_metatype _inElementsFromExtendsScope, modelica_metatype _inState, modelica_string _inClassName, modelica_boolean _inImpl, modelica_boolean _isPartialInst, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outMod, modelica_metatype *out_outElements, modelica_metatype *out_outNormalEqs, modelica_metatype *out_outInitialEqs, modelica_metatype *out_outNormalAlgs, modelica_metatype *out_outInitialAlgs, modelica_metatype *out_outComments)
5539{
5540 modelica_metatype _outCache = NULL((void*)0);
5541 modelica_metatype _outEnv = NULL((void*)0);
5542 modelica_metatype _outIH = NULL((void*)0);
5543 modelica_metatype _outMod = NULL((void*)0);
5544 modelica_metatype _outElements = NULL((void*)0);
5545 modelica_metatype _outNormalEqs = NULL((void*)0);
5546 modelica_metatype _outInitialEqs = NULL((void*)0);
5547 modelica_metatype _outNormalAlgs = NULL((void*)0);
5548 modelica_metatype _outInitialAlgs = NULL((void*)0);
5549 modelica_metatype _outComments = NULL((void*)0);
5550 modelica_metatype _elts = NULL((void*)0);
5551 modelica_metatype _cdefelts = NULL((void*)0);
5552 modelica_metatype _tmpelts = NULL((void*)0);
5553 modelica_metatype _extendselts = NULL((void*)0);
5554 MMC_SO()mmc_check_stackoverflow(threadData);
5555 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5556 // _outCache has no default value.
5557 // _outEnv has no default value.
5558 // _outIH has no default value.
5559 // _outMod has no default value.