Bug Summary

File:OMCompiler/Compiler/boot/build/InstVar.c
Warning:line 5320, column 11
Value stored to '_cache' 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/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c" OMC_BASE_FILE
3#else
4 #define OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c" "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "InstVar.h"
8static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT0,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT0
= { (((2) << 10) + (((3) & 255) << 2)),
{&DAE_DAElist_DAE__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
9#define _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT0)((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3))
10static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT1,1,11)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT1
= { (((1) << 10) + (((11) & 255) << 2)),
{&DAE_Type_T__UNKNOWN__desc,}};
11#define _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT1)((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))
12#define _OMC_LIT2_data"" ""
13static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT2,0,_OMC_LIT2_data)struct { mmc_uint_t header; const char data[(0)+1]; } _OMC_LIT_STRUCT2
= { ((((mmc_uint_t)0)<<(3))+((1<<(3+3))+5)), "" }
;
14#define _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT2)((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))
15static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT3,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT3
= { (((1) << 10) + (((4) & 255) << 2)),
{&InstTypes_CallingScope_INNER__CALL__desc,}};
16#define _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT3)((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3))
17static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT4,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT4
= { (((1) << 10) + (((5) & 255) << 2)),
{&DAE_Const_C__VAR__desc,}};
18#define _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT4)((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))
19static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT5,4,4)struct { mmc_uint_t header; const void *data[4]; } _OMC_LIT_STRUCT5
= { (((4) << 10) + (((4) & 255) << 2)),
{&DAE_ComponentRef_CREF__IDENT__desc,_OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)),_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
20#define _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT5)((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))
21static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT6,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT6
= { (((2) << 10) + (((0) & 255) << 2)),
{_OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)),_OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))}};
22#define _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT6)((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))
23static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT7,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT7
= { (((1) << 10) + (((4) & 255) << 2)),
{&SCode_Initial_NON__INITIAL__desc,}};
24#define _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT7)((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))
25#define _OMC_LIT8_data"instArray Real[0]" "instArray Real[0]"
26static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT8,17,_OMC_LIT8_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT8
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "instArray Real[0]"
}
;
27#define _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT8)((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))
28static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT9,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT9
= { (((2) << 10) + (((3) & 255) << 2)),
{&DAE_Exp_ICONST__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
29#define _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT9)((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))
30static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT10,2,6)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT10
= { (((2) << 10) + (((6) & 255) << 2)),
{&DAE_Exp_BCONST__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
31#define _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT10)((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))
32static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT11,2,6)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT11
= { (((2) << 10) + (((6) & 255) << 2)),
{&DAE_Exp_BCONST__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
33#define _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT11)((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))
34static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT12,2,5)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT12
= { (((2) << 10) + (((5) & 255) << 2)),
{&DAE_Subscript_INDEX__desc,_OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))}};
35#define _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT12)((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))
36static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT13,2,5)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT13
= { (((2) << 10) + (((5) & 255) << 2)),
{&DAE_Subscript_INDEX__desc,_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))}};
37#define _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT13)((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))
38static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT14,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT14
= { (((1) << 10) + (((3) & 255) << 2)),
{&SCode_Variability_VAR__desc,}};
39#define _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT14)((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))
40#define _OMC_LIT15_data"[" "["
41static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT15,1,_OMC_LIT15_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT15
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "["
}
;
42#define _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT15)((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))
43#define _OMC_LIT16_data", " ", "
44static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT16,2,_OMC_LIT16_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT16
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ", "
}
;
45#define _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT16)((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))
46#define _OMC_LIT17_data"]" "]"
47static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT17,1,_OMC_LIT17_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT17
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "]"
}
;
48#define _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT17)((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))
49#define _OMC_LIT18_data"(" "("
50static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT18,1,_OMC_LIT18_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT18
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "("
}
;
51#define _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT18)((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))
52#define _OMC_LIT19_data"=" "="
53static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT19,1,_OMC_LIT19_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT19
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "="
}
;
54#define _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT19)((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))
55#define _OMC_LIT20_data")" ")"
56static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT20,1,_OMC_LIT20_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT20
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), ")"
}
;
57#define _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT20)((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))
58static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT21,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT21
= { (((1) << 10) + (((5) & 255) << 2)),
{&ErrorTypes_MessageType_TRANSLATION__desc,}};
59#define _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT21)((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))
60static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT22,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT22
= { (((1) << 10) + (((4) & 255) << 2)),
{&ErrorTypes_Severity_ERROR__desc,}};
61#define _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT22)((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))
62#define _OMC_LIT23_data"Instantiation of array component: %s failed because index modification: %s is invalid.\n Array component: %s has more dimensions than binding %s." "Instantiation of array component: %s failed because index modification: %s is invalid.\n Array component: %s has more dimensions than binding %s."
63static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT23,144,_OMC_LIT23_data)struct { mmc_uint_t header; const char data[(144)+1]; } _OMC_LIT_STRUCT23
= { ((((mmc_uint_t)144)<<(3))+((1<<(3+3))+5)), "Instantiation of array component: %s failed because index modification: %s is invalid.\n Array component: %s has more dimensions than binding %s."
}
;
64#define _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT23)((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))
65static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT24,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT24
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))}};
66#define _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT24)((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))
67static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT25,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT25
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(140))((void*)(((((mmc_uint_t) (140)) << 1)+0))),_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)),_OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)),_OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))}};
68#define _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT25)((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))
69#define _OMC_LIT26_data"failtrace" "failtrace"
70static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT26,9,_OMC_LIT26_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT26
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "failtrace"
}
;
71#define _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT26)((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))
72#define _OMC_LIT27_data"Sets whether to print a failtrace or not." "Sets whether to print a failtrace or not."
73static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT27,41,_OMC_LIT27_data)struct { mmc_uint_t header; const char data[(41)+1]; } _OMC_LIT_STRUCT27
= { ((((mmc_uint_t)41)<<(3))+((1<<(3+3))+5)), "Sets whether to print a failtrace or not."
}
;
74#define _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT27)((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))
75static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT28,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT28
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))}};
76#define _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT28)((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))
77static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT29,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT29
= { (((5) << 10) + (((3) & 255) << 2)),
{&Flags_DebugFlag_DEBUG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),_OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))}};
78#define _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT29)((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3))
79#define _OMC_LIT30_data"- Inst.instArray failed: " "- Inst.instArray failed: "
80static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT30,25,_OMC_LIT30_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT30
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), "- Inst.instArray failed: "
}
;
81#define _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT30)((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))
82#define _OMC_LIT31_data"Array dimension mismatch, expression %s has type %s, expected array dimensions [%s]." "Array dimension mismatch, expression %s has type %s, expected array dimensions [%s]."
83static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT31,84,_OMC_LIT31_data)struct { mmc_uint_t header; const char data[(84)+1]; } _OMC_LIT_STRUCT31
= { ((((mmc_uint_t)84)<<(3))+((1<<(3+3))+5)), "Array dimension mismatch, expression %s has type %s, expected array dimensions [%s]."
}
;
84#define _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT31)((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))
85static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT32,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT32
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))}};
86#define _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT32)((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))
87static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT33,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT33
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(43))((void*)(((((mmc_uint_t) (43)) << 1)+0))),_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)),_OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)),_OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))}};
88#define _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT33)((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))
89#define _OMC_LIT34_data"." "."
90static 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)), "."
}
;
91#define _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT34)((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))
92#define _OMC_LIT35_data"quantity" "quantity"
93static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT35,8,_OMC_LIT35_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT35
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "quantity"
}
;
94#define _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT35)((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3))
95static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT36,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT36
= { (((2) << 10) + (((4) & 255) << 2)),
{&DAE_Type_T__REAL__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
96#define _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT36)((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))
97#define _OMC_LIT37_data"Negative dimension index (%s) for component %s." "Negative dimension index (%s) for component %s."
98static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT37,47,_OMC_LIT37_data)struct { mmc_uint_t header; const char data[(47)+1]; } _OMC_LIT_STRUCT37
= { ((((mmc_uint_t)47)<<(3))+((1<<(3+3))+5)), "Negative dimension index (%s) for component %s."
}
;
99#define _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT37)((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3))
100static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT38,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT38
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3))}};
101#define _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT38)((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))
102static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT39,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT39
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(265))((void*)(((((mmc_uint_t) (265)) << 1)+0))),_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)),_OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)),_OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))}};
103#define _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT39)((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))
104static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT40,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT40
= { (((1) << 10) + (((4) & 255) << 2)),
{&DAE_Connect_Face_OUTSIDE__desc,}};
105#define _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT40)((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))
106static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT41,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT41
= { (((1) << 10) + (((5) & 255) << 2)),
{&Absyn_Direction_BIDIR__desc,}};
107#define _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT41)((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))
108static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT42,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT42
= { (((1) << 10) + (((5) & 255) << 2)),
{&DAE_Mod_NOMOD__desc,}};
109#define _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT42)((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))
110#define _OMC_LIT43_data"useLocalDirection" "useLocalDirection"
111static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT43,17,_OMC_LIT43_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT43
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "useLocalDirection"
}
;
112#define _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT43)((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))
113static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT44,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT44
= { (((1) << 10) + (((4) & 255) << 2)),
{&Flags_FlagVisibility_EXTERNAL__desc,}};
114#define _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT44)((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))
115static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT45,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT45
= { (((2) << 10) + (((4) & 255) << 2)),
{&Flags_FlagData_BOOL__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
116#define _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT45)((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))
117#define _OMC_LIT46_data"Keeps the input/output prefix for all variables in the flat model, not only top-level ones." "Keeps the input/output prefix for all variables in the flat model, not only top-level ones."
118static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT46,91,_OMC_LIT46_data)struct { mmc_uint_t header; const char data[(91)+1]; } _OMC_LIT_STRUCT46
= { ((((mmc_uint_t)91)<<(3))+((1<<(3+3))+5)), "Keeps the input/output prefix for all variables in the flat model, not only top-level ones."
}
;
119#define _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT46)((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))
120static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT47,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT47
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))}};
121#define _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT47)((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))
122static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT48,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT48
= { (((8) << 10) + (((3) & 255) << 2)),
{&Flags_ConfigFlag_CONFIG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(79))((void*)(((((mmc_uint_t) (79)) << 1)+0))),_OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),_OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)),_OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),_OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))}};
123#define _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT48)((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))
124#define _OMC_LIT49_data"- Inst.instScalar failed on " "- Inst.instScalar failed on "
125static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT49,28,_OMC_LIT49_data)struct { mmc_uint_t header; const char data[(28)+1]; } _OMC_LIT_STRUCT49
= { ((((mmc_uint_t)28)<<(3))+((1<<(3+3))+5)), "- Inst.instScalar failed on "
}
;
126#define _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT49)((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))
127#define _OMC_LIT50_data" in scope " " in scope "
128static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT50,10,_OMC_LIT50_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT50
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), " in scope "
}
;
129#define _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT50)((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))
130#define _OMC_LIT51_data" env: " " env: "
131static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT51,6,_OMC_LIT51_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT51
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), " env: "
}
;
132#define _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT51)((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))
133#define _OMC_LIT52_data"\n" "\n"
134static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT52,1,_OMC_LIT52_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT52
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "\n"
}
;
135#define _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT52)((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))
136static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT53,7,3)struct { mmc_uint_t header; const void *data[7]; } _OMC_LIT_STRUCT53
= { (((7) << 10) + (((3) & 255) << 2)),
{&ConnectionGraph_ConnectionGraph_GRAPH__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
137#define _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT53)((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))
138#define _OMC_LIT54_data"Failed to deduce dimension %s of %s due to missing binding equation." "Failed to deduce dimension %s of %s due to missing binding equation."
139static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT54,68,_OMC_LIT54_data)struct { mmc_uint_t header; const char data[(68)+1]; } _OMC_LIT_STRUCT54
= { ((((mmc_uint_t)68)<<(3))+((1<<(3+3))+5)), "Failed to deduce dimension %s of %s due to missing binding equation."
}
;
140#define _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT54)((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))
141static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT55,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT55
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))}};
142#define _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT55)((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))
143static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT56,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT56
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(188))((void*)(((((mmc_uint_t) (188)) << 1)+0))),_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)),_OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)),_OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))}};
144#define _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT56)((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3))
145#define _OMC_LIT57_data"- InstVar.instVar2 failed: " "- InstVar.instVar2 failed: "
146static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT57,27,_OMC_LIT57_data)struct { mmc_uint_t header; const char data[(27)+1]; } _OMC_LIT_STRUCT57
= { ((((mmc_uint_t)27)<<(3))+((1<<(3+3))+5)), "- InstVar.instVar2 failed: "
}
;
147#define _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT57)((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3))
148#define _OMC_LIT58_data")\n Scope: " ")\n Scope: "
149static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT58,11,_OMC_LIT58_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT58
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), ")\n Scope: "
}
;
150#define _OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT58)((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))
151#define _OMC_LIT59_data"Identifier %s is reserved for the built-in element with the same name." "Identifier %s is reserved for the built-in element with the same name."
152static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT59,70,_OMC_LIT59_data)struct { mmc_uint_t header; const char data[(70)+1]; } _OMC_LIT_STRUCT59
= { ((((mmc_uint_t)70)<<(3))+((1<<(3+3))+5)), "Identifier %s is reserved for the built-in element with the same name."
}
;
153#define _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT59)((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3))
154static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT60,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT60
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3))}};
155#define _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT60)((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3))
156static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT61,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT61
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(278))((void*)(((((mmc_uint_t) (278)) << 1)+0))),_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)),_OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)),_OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3))}};
157#define _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT61)((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3))
158#define _OMC_LIT62_data"Integer" "Integer"
159static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT62,7,_OMC_LIT62_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT62
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "Integer"
}
;
160#define _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT62)((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3))
161#define _OMC_LIT63_data"Real" "Real"
162static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT63,4,_OMC_LIT63_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT63
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "Real"
}
;
163#define _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT63)((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3))
164#define _OMC_LIT64_data"Boolean" "Boolean"
165static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT64,7,_OMC_LIT64_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT64
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "Boolean"
}
;
166#define _OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT64)((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))
167#define _OMC_LIT65_data"String" "String"
168static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT65,6,_OMC_LIT65_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT65
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "String"
}
;
169#define _OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT65)((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3))
170#define _OMC_LIT66_data"time" "time"
171static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT66,4,_OMC_LIT66_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT66
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "time"
}
;
172#define _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT66)((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3))
173static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT67,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT67
= { (((2) << 10) + (((4) & 255) << 2)),
{&Absyn_Path_IDENT__desc,_OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))}};
174#define _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT67)((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3))
175#define _OMC_LIT68_data" " " "
176static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT68,1,_OMC_LIT68_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT68
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), " "
}
;
177#define _OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT68)((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3))
178static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT69,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT69
= { (((1) << 10) + (((5) & 255) << 2)),
{&ErrorTypes_Severity_WARNING__desc,}};
179#define _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT69)((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3))
180#define _OMC_LIT70_data"Ignoring the modification on outer element: %s." "Ignoring the modification on outer element: %s."
181static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT70,47,_OMC_LIT70_data)struct { mmc_uint_t header; const char data[(47)+1]; } _OMC_LIT_STRUCT70
= { ((((mmc_uint_t)47)<<(3))+((1<<(3+3))+5)), "Ignoring the modification on outer element: %s."
}
;
182#define _OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT70)((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3))
183static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT71,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT71
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3))}};
184#define _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT71)((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3))
185static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT72,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT72
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(512))((void*)(((((mmc_uint_t) (512)) << 1)+0))),_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)),_OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)),_OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3))}};
186#define _OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT72)((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3))
187#define _OMC_LIT73_data"No corresponding 'inner' declaration found for component %s declared as '%s'.\n The existing 'inner' components are:\n %s\n Check if you have not misspelled the 'outer' component name.\n Please declare an 'inner' component with the same name in the top scope.\n Continuing flattening by only considering the 'outer' component declaration." "No corresponding 'inner' declaration found for component %s declared as '%s'.\n The existing 'inner' components are:\n %s\n Check if you have not misspelled the 'outer' component name.\n Please declare an 'inner' component with the same name in the top scope.\n Continuing flattening by only considering the 'outer' component declaration."
188static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT73,340,_OMC_LIT73_data)struct { mmc_uint_t header; const char data[(340)+1]; } _OMC_LIT_STRUCT73
= { ((((mmc_uint_t)340)<<(3))+((1<<(3+3))+5)), "No corresponding 'inner' declaration found for component %s declared as '%s'.\n The existing 'inner' components are:\n %s\n Check if you have not misspelled the 'outer' component name.\n Please declare an 'inner' component with the same name in the top scope.\n Continuing flattening by only considering the 'outer' component declaration."
}
;
189#define _OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT73)((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3))
190static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT74,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT74
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3))}};
191#define _OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT74)((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3))
192static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT75,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT75
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(108))((void*)(((((mmc_uint_t) (108)) << 1)+0))),_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)),_OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)),_OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3))}};
193#define _OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT75)((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3))
194static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT76,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT76
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_Prefix_NOPRE__desc,}};
195#define _OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT76)((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3))
196static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT77,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT77
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
197#define _OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT77)((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3))
198static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT78,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT78
= { (((1) << 10) + (((4) & 255) << 2)),
{&Absyn_InnerOuter_OUTER__desc,}};
199#define _OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT78)((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3))
200#define _OMC_LIT79_data"- InstVar.instVar failed while instatiating variable: " "- InstVar.instVar failed while instatiating variable: "
201static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT79,54,_OMC_LIT79_data)struct { mmc_uint_t header; const char data[(54)+1]; } _OMC_LIT_STRUCT79
= { ((((mmc_uint_t)54)<<(3))+((1<<(3+3))+5)), "- InstVar.instVar failed while instatiating variable: "
}
;
202#define _OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT79)((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3))
203#define _OMC_LIT80_data"\nin scope: " "\nin scope: "
204static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT80,11,_OMC_LIT80_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT80
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "\nin scope: "
}
;
205#define _OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT80)((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3))
206#define _OMC_LIT81_data" class:\n" " class:\n"
207static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT81,8,_OMC_LIT81_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT81
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), " class:\n"
}
;
208#define _OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT81)((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3))
209static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT82,10,3)struct { mmc_uint_t header; const void *data[10]; } _OMC_LIT_STRUCT82
= { (((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)))}};
210#define _OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT82)((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3))
211#include "util/modelica.h"
212
213#include "InstVar_includes.h"
214
215
216/* default, do not make protected functions static */
217#if !defined(PROTECTED_FUNCTION_STATIC)
218#define PROTECTED_FUNCTION_STATIC
219#endif
220PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_instArrayDimEnum(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_string _inName, modelica_metatype _inClass, modelica_metatype _inAttributes, modelica_metatype _inPrefixes, modelica_metatype _inDimension, modelica_metatype _inRestDimensions, modelica_metatype _inSubscripts, modelica_metatype _inInstDims, modelica_boolean _inImpl, modelica_metatype _inComment, modelica_metatype _inInfo, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph);
221PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstVar_instArrayDimEnum(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inName, modelica_metatype _inClass, modelica_metatype _inAttributes, modelica_metatype _inPrefixes, modelica_metatype _inDimension, modelica_metatype _inRestDimensions, modelica_metatype _inSubscripts, modelica_metatype _inInstDims, modelica_metatype _inImpl, modelica_metatype _inComment, modelica_metatype _inInfo, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph);
222static const MMC_DEFSTRUCTLIT(boxvar_lit_InstVar_instArrayDimEnum,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstVar_instArrayDimEnum
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstVar_instArrayDimEnum,0}};
223#define boxvar_InstVar_instArrayDimEnum((void*)((char*)(&(boxvar_lit_InstVar_instArrayDimEnum).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstVar_instArrayDimEnum)((void*)((char*)(&(boxvar_lit_InstVar_instArrayDimEnum).header
) + 3))
224PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_instArrayDimInteger(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_string _inName, modelica_metatype _inElement, modelica_metatype _inPrefixes, modelica_integer _inDimensionSize, modelica_metatype _inRestDimensions, modelica_metatype _inSubscripts, modelica_metatype _inInstDims, modelica_boolean _inImpl, modelica_metatype _inComment, modelica_metatype _inInfo, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph);
225PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstVar_instArrayDimInteger(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inName, modelica_metatype _inElement, modelica_metatype _inPrefixes, modelica_metatype _inDimensionSize, modelica_metatype _inRestDimensions, modelica_metatype _inSubscripts, modelica_metatype _inInstDims, modelica_metatype _inImpl, modelica_metatype _inComment, modelica_metatype _inInfo, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph);
226static const MMC_DEFSTRUCTLIT(boxvar_lit_InstVar_instArrayDimInteger,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstVar_instArrayDimInteger
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstVar_instArrayDimInteger,0}};
227#define boxvar_InstVar_instArrayDimInteger((void*)((char*)(&(boxvar_lit_InstVar_instArrayDimInteger
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstVar_instArrayDimInteger)((void*)((char*)(&(boxvar_lit_InstVar_instArrayDimInteger
).header) + 3))
228PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_instArray(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_string _inIdent, modelica_metatype _inElement, modelica_metatype _inPrefixes, modelica_integer _inInteger, modelica_metatype _inDimension, modelica_metatype _inDimensionLst, modelica_metatype _inIntegerLst, modelica_metatype _inInstDims, modelica_boolean _inBoolean, modelica_metatype _inComment, modelica_metatype _info, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph);
229PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstVar_instArray(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inIdent, modelica_metatype _inElement, modelica_metatype _inPrefixes, modelica_metatype _inInteger, modelica_metatype _inDimension, modelica_metatype _inDimensionLst, modelica_metatype _inIntegerLst, modelica_metatype _inInstDims, modelica_metatype _inBoolean, modelica_metatype _inComment, modelica_metatype _info, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph);
230static const MMC_DEFSTRUCTLIT(boxvar_lit_InstVar_instArray,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstVar_instArray
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstVar_instArray,0}};
231#define boxvar_InstVar_instArray((void*)((char*)(&(boxvar_lit_InstVar_instArray).header) +
3))
MMC_REFSTRUCTLIT(boxvar_lit_InstVar_instArray)((void*)((char*)(&(boxvar_lit_InstVar_instArray).header) +
3))
232PROTECTED_FUNCTION_STATIC modelica_boolean omc_InstVar_checkArrayModBindingDimSize(threadData_t *threadData, modelica_metatype _inBinding, modelica_metatype _inDimension, modelica_metatype _inPrefix, modelica_string _inIdent, modelica_metatype _inInfo);
233PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstVar_checkArrayModBindingDimSize(threadData_t *threadData, modelica_metatype _inBinding, modelica_metatype _inDimension, modelica_metatype _inPrefix, modelica_metatype _inIdent, modelica_metatype _inInfo);
234static const MMC_DEFSTRUCTLIT(boxvar_lit_InstVar_checkArrayModBindingDimSize,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstVar_checkArrayModBindingDimSize
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstVar_checkArrayModBindingDimSize,0}};
235#define boxvar_InstVar_checkArrayModBindingDimSize((void*)((char*)(&(boxvar_lit_InstVar_checkArrayModBindingDimSize
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstVar_checkArrayModBindingDimSize)((void*)((char*)(&(boxvar_lit_InstVar_checkArrayModBindingDimSize
).header) + 3))
236PROTECTED_FUNCTION_STATIC void omc_InstVar_checkArraySubModDimSize(threadData_t *threadData, modelica_metatype _inSubMod, modelica_metatype _inDimension, modelica_metatype _inPrefix, modelica_string _inIdent, modelica_metatype _inInfo);
237static const MMC_DEFSTRUCTLIT(boxvar_lit_InstVar_checkArraySubModDimSize,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstVar_checkArraySubModDimSize
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstVar_checkArraySubModDimSizeomc_InstVar_checkArraySubModDimSize,0}};
238#define boxvar_InstVar_checkArraySubModDimSize((void*)((char*)(&(boxvar_lit_InstVar_checkArraySubModDimSize
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstVar_checkArraySubModDimSize)((void*)((char*)(&(boxvar_lit_InstVar_checkArraySubModDimSize
).header) + 3))
239PROTECTED_FUNCTION_STATIC void omc_InstVar_checkArrayModDimSize(threadData_t *threadData, modelica_metatype _mod, modelica_metatype _inDimension, modelica_metatype _inPrefix, modelica_string _inIdent, modelica_metatype _inInfo);
240static const MMC_DEFSTRUCTLIT(boxvar_lit_InstVar_checkArrayModDimSize,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstVar_checkArrayModDimSize
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstVar_checkArrayModDimSizeomc_InstVar_checkArrayModDimSize,0}};
241#define boxvar_InstVar_checkArrayModDimSize((void*)((char*)(&(boxvar_lit_InstVar_checkArrayModDimSize
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstVar_checkArrayModDimSize)((void*)((char*)(&(boxvar_lit_InstVar_checkArrayModDimSize
).header) + 3))
242PROTECTED_FUNCTION_STATIC void omc_InstVar_checkDimensionGreaterThanZero(threadData_t *threadData, modelica_metatype _inDim, modelica_metatype _inPrefix, modelica_string _inIdent, modelica_metatype _info);
243static const MMC_DEFSTRUCTLIT(boxvar_lit_InstVar_checkDimensionGreaterThanZero,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstVar_checkDimensionGreaterThanZero
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstVar_checkDimensionGreaterThanZeroomc_InstVar_checkDimensionGreaterThanZero,0}};
244#define boxvar_InstVar_checkDimensionGreaterThanZero((void*)((char*)(&(boxvar_lit_InstVar_checkDimensionGreaterThanZero
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstVar_checkDimensionGreaterThanZero)((void*)((char*)(&(boxvar_lit_InstVar_checkDimensionGreaterThanZero
).header) + 3))
245PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_stripRecordDefaultBindingsFromElement(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _inEqs, modelica_metatype *out_outEqs);
246static const MMC_DEFSTRUCTLIT(boxvar_lit_InstVar_stripRecordDefaultBindingsFromElement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstVar_stripRecordDefaultBindingsFromElement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstVar_stripRecordDefaultBindingsFromElementomc_InstVar_stripRecordDefaultBindingsFromElement,0}};
247#define boxvar_InstVar_stripRecordDefaultBindingsFromElement((void*)((char*)(&(boxvar_lit_InstVar_stripRecordDefaultBindingsFromElement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstVar_stripRecordDefaultBindingsFromElement)((void*)((char*)(&(boxvar_lit_InstVar_stripRecordDefaultBindingsFromElement
).header) + 3))
248PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_stripRecordDefaultBindingsFromDAE(threadData_t *threadData, modelica_metatype _inClassDAE, modelica_metatype _inType, modelica_metatype _inEqDAE);
249static const MMC_DEFSTRUCTLIT(boxvar_lit_InstVar_stripRecordDefaultBindingsFromDAE,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstVar_stripRecordDefaultBindingsFromDAE
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstVar_stripRecordDefaultBindingsFromDAEomc_InstVar_stripRecordDefaultBindingsFromDAE,0}};
250#define boxvar_InstVar_stripRecordDefaultBindingsFromDAE((void*)((char*)(&(boxvar_lit_InstVar_stripRecordDefaultBindingsFromDAE
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstVar_stripRecordDefaultBindingsFromDAE)((void*)((char*)(&(boxvar_lit_InstVar_stripRecordDefaultBindingsFromDAE
).header) + 3))
251PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_instScalar2(threadData_t *threadData, modelica_metatype _inCref, modelica_metatype _inType, modelica_metatype _inVariability, modelica_metatype _inMod, modelica_metatype _inDae, modelica_metatype _inClassDae, modelica_metatype _inSource, modelica_boolean _inImpl);
252PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstVar_instScalar2(threadData_t *threadData, modelica_metatype _inCref, modelica_metatype _inType, modelica_metatype _inVariability, modelica_metatype _inMod, modelica_metatype _inDae, modelica_metatype _inClassDae, modelica_metatype _inSource, modelica_metatype _inImpl);
253static const MMC_DEFSTRUCTLIT(boxvar_lit_InstVar_instScalar2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstVar_instScalar2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstVar_instScalar2,0}};
254#define boxvar_InstVar_instScalar2((void*)((char*)(&(boxvar_lit_InstVar_instScalar2).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstVar_instScalar2)((void*)((char*)(&(boxvar_lit_InstVar_instScalar2).header
) + 3))
255PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_stripVarAttrDirection(threadData_t *threadData, modelica_metatype _inCref, modelica_metatype _ih, modelica_metatype _inState, modelica_metatype _inPrefix, modelica_metatype _inAttributes);
256static const MMC_DEFSTRUCTLIT(boxvar_lit_InstVar_stripVarAttrDirection,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstVar_stripVarAttrDirection
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstVar_stripVarAttrDirectionomc_InstVar_stripVarAttrDirection,0}};
257#define boxvar_InstVar_stripVarAttrDirection((void*)((char*)(&(boxvar_lit_InstVar_stripVarAttrDirection
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstVar_stripVarAttrDirection)((void*)((char*)(&(boxvar_lit_InstVar_stripVarAttrDirection
).header) + 3))
258PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_instVar2(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_string _inName, modelica_metatype _inClass, modelica_metatype _inAttributes, modelica_metatype _inPrefixes, modelica_metatype _inDimensions, modelica_metatype _inSubscripts, modelica_metatype _inInstDims, modelica_boolean _inImpl, modelica_metatype _inComment, modelica_metatype _inInfo, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph);
259PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstVar_instVar2(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inName, modelica_metatype _inClass, modelica_metatype _inAttributes, modelica_metatype _inPrefixes, modelica_metatype _inDimensions, modelica_metatype _inSubscripts, modelica_metatype _inInstDims, modelica_metatype _inImpl, modelica_metatype _inComment, modelica_metatype _inInfo, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph);
260static const MMC_DEFSTRUCTLIT(boxvar_lit_InstVar_instVar2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstVar_instVar2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstVar_instVar2,0}};
261#define boxvar_InstVar_instVar2((void*)((char*)(&(boxvar_lit_InstVar_instVar2).header) +
3))
MMC_REFSTRUCTLIT(boxvar_lit_InstVar_instVar2)((void*)((char*)(&(boxvar_lit_InstVar_instVar2).header) +
3))
262PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_addArrayVarEquation(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inState, modelica_metatype _inDae, modelica_metatype _inType, modelica_metatype _mod, modelica_metatype _const, modelica_metatype _pre, modelica_string _n, modelica_metatype _source, modelica_metatype *out_outDae);
263static const MMC_DEFSTRUCTLIT(boxvar_lit_InstVar_addArrayVarEquation,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstVar_addArrayVarEquation
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstVar_addArrayVarEquationomc_InstVar_addArrayVarEquation,0}};
264#define boxvar_InstVar_addArrayVarEquation((void*)((char*)(&(boxvar_lit_InstVar_addArrayVarEquation
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstVar_addArrayVarEquation)((void*)((char*)(&(boxvar_lit_InstVar_addArrayVarEquation
).header) + 3))
265PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_liftUserTypeEqMod(threadData_t *threadData, modelica_metatype _inEqMod, modelica_metatype _inDims);
266static const MMC_DEFSTRUCTLIT(boxvar_lit_InstVar_liftUserTypeEqMod,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstVar_liftUserTypeEqMod
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstVar_liftUserTypeEqModomc_InstVar_liftUserTypeEqMod,0}};
267#define boxvar_InstVar_liftUserTypeEqMod((void*)((char*)(&(boxvar_lit_InstVar_liftUserTypeEqMod).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstVar_liftUserTypeEqMod)((void*)((char*)(&(boxvar_lit_InstVar_liftUserTypeEqMod).
header) + 3))
268PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_liftUserTypeSubMod(threadData_t *threadData, modelica_metatype _inSubMod, modelica_metatype _inDims);
269static const MMC_DEFSTRUCTLIT(boxvar_lit_InstVar_liftUserTypeSubMod,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstVar_liftUserTypeSubMod
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstVar_liftUserTypeSubModomc_InstVar_liftUserTypeSubMod,0}};
270#define boxvar_InstVar_liftUserTypeSubMod((void*)((char*)(&(boxvar_lit_InstVar_liftUserTypeSubMod)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstVar_liftUserTypeSubMod)((void*)((char*)(&(boxvar_lit_InstVar_liftUserTypeSubMod)
.header) + 3))
271PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_liftUserTypeMod(threadData_t *threadData, modelica_metatype _inMod, modelica_metatype _inDims);
272static const MMC_DEFSTRUCTLIT(boxvar_lit_InstVar_liftUserTypeMod,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstVar_liftUserTypeMod
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstVar_liftUserTypeModomc_InstVar_liftUserTypeMod,0}};
273#define boxvar_InstVar_liftUserTypeMod((void*)((char*)(&(boxvar_lit_InstVar_liftUserTypeMod).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstVar_liftUserTypeMod)((void*)((char*)(&(boxvar_lit_InstVar_liftUserTypeMod).header
) + 3))
274PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_instVar__dispatch(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_string _inName, modelica_metatype _inClass, modelica_metatype _inAttributes, modelica_metatype _inPrefixes, modelica_metatype _inDimensions, modelica_metatype _inIndices, modelica_metatype _inInstDims, modelica_boolean _inImpl, modelica_metatype _inComment, modelica_metatype _inInfo, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph);
275PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstVar_instVar__dispatch(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inName, modelica_metatype _inClass, modelica_metatype _inAttributes, modelica_metatype _inPrefixes, modelica_metatype _inDimensions, modelica_metatype _inIndices, modelica_metatype _inInstDims, modelica_metatype _inImpl, modelica_metatype _inComment, modelica_metatype _inInfo, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph);
276static const MMC_DEFSTRUCTLIT(boxvar_lit_InstVar_instVar__dispatch,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstVar_instVar__dispatch
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstVar_instVar__dispatch,0}};
277#define boxvar_InstVar_instVar__dispatch((void*)((char*)(&(boxvar_lit_InstVar_instVar__dispatch).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstVar_instVar__dispatch)((void*)((char*)(&(boxvar_lit_InstVar_instVar__dispatch).
header) + 3))
278
279PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_instArrayDimEnum(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_string _inName, modelica_metatype _inClass, modelica_metatype _inAttributes, modelica_metatype _inPrefixes, modelica_metatype _inDimension, modelica_metatype _inRestDimensions, modelica_metatype _inSubscripts, modelica_metatype _inInstDims, modelica_boolean _inImpl, modelica_metatype _inComment, modelica_metatype _inInfo, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph)
280{
281 modelica_metatype _outCache = NULL((void*)0);
282 modelica_metatype _outEnv = NULL((void*)0);
283 modelica_metatype _outIH = NULL((void*)0);
284 modelica_metatype _outStore = NULL((void*)0);
285 modelica_metatype _outDae = NULL((void*)0);
286 modelica_metatype _outSets = NULL((void*)0);
287 modelica_metatype _outType = NULL((void*)0);
288 modelica_metatype _outGraph = NULL((void*)0);
289 modelica_metatype _enum_path = NULL((void*)0);
290 modelica_metatype _enum_lit_path = NULL((void*)0);
291 modelica_metatype _literals = NULL((void*)0);
292 modelica_integer _i;
293 modelica_metatype _e = NULL((void*)0);
294 modelica_metatype _mod = NULL((void*)0);
295 modelica_metatype _dae = NULL((void*)0);
296 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
297 MMC_SO()mmc_check_stackoverflow(threadData);
298 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
299 _outCache = _inCache;
300 _outEnv = _inEnv;
301 _outIH = _inIH;
302 _outStore = _inStore;
303 _outDae = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
304 _outSets = _inSets;
305 _outType = _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3));
306 _outGraph = _inGraph;
307 // _enum_path has no default value.
308 // _enum_lit_path has no default value.
309 // _literals has no default value.
310 _i = ((modelica_integer) 1);
311 // _e has no default value.
312 // _mod has no default value.
313 // _dae has no default value.
314#line 1768 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
315 /* Pattern-matching assignment */
316#line 1768 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
317 tmpMeta[0] = _inDimension;
318#line 1768 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
319 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],2,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((3 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
320#line 1768 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
321 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
322#line 1768 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
323 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
324#line 1768 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
325 _enum_path = tmpMeta[1];
326#line 1768 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
327 _literals = tmpMeta[2];
328#line 328 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
329
330#line 1770 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
331 {
332#line 1770 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
333 modelica_metatype _lit;
334#line 1770 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
335 for (tmpMeta[0] = _literals; !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)))))
)
336#line 1770 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
337 {
338#line 1770 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
339 _lit = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
340#line 1771 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
341 tmpMeta[1] = mmc_mk_box2(4, &Absyn_Path_IDENT__desc, _lit);
342#line 1771 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
343 _enum_lit_path = omc_AbsynUtil_joinPaths(threadData, _enum_path, tmpMeta[1]);
344#line 344 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
345
346#line 1772 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
347 tmpMeta[1] = mmc_mk_box3(8, &DAE_Exp_ENUM__LITERAL__desc, _enum_lit_path, mmc_mk_integermmc_mk_icon(_i));
348#line 1772 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
349 _e = tmpMeta[1];
350#line 350 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
351
352#line 1773 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
353 _mod = omc_Mod_lookupIdxModification(threadData, _inMod, _e);
354#line 354 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
355
356#line 1774 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
357 _i = ((modelica_integer) 1) + _i;
358#line 358 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
359
360#line 1776 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
361 tmpMeta[2] = mmc_mk_box2(5, &DAE_Subscript_INDEX__desc, _e);
362#line 1776 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
363 tmpMeta[1] = mmc_mk_cons(tmpMeta[2], _inSubscripts);
364#line 1776 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
365 _outCache = omc_InstVar_instVar2(threadData, _outCache, _inEnv, _outIH, _outStore, _inState, _mod, _inPrefix, _inName, _inClass, _inAttributes, _inPrefixes, _inRestDimensions, tmpMeta[1], _inInstDims, _inImpl, _inComment, _inInfo, _outGraph, _outSets ,&_outEnv ,&_outIH ,&_outStore ,&_dae ,&_outSets ,&_outType ,&_outGraph);
366#line 366 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
367
368#line 1782 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
369 _outDae = omc_DAEUtil_joinDaes(threadData, _outDae, _dae);
370#line 370 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
371 }
372 }
373 _return: OMC_LABEL_UNUSED__attribute__((unused))
374 if (out_outEnv) { *out_outEnv = _outEnv; }
375 if (out_outIH) { *out_outIH = _outIH; }
376 if (out_outStore) { *out_outStore = _outStore; }
377 if (out_outDae) { *out_outDae = _outDae; }
378 if (out_outSets) { *out_outSets = _outSets; }
379 if (out_outType) { *out_outType = _outType; }
380 if (out_outGraph) { *out_outGraph = _outGraph; }
381 return _outCache;
382}
383PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstVar_instArrayDimEnum(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inName, modelica_metatype _inClass, modelica_metatype _inAttributes, modelica_metatype _inPrefixes, modelica_metatype _inDimension, modelica_metatype _inRestDimensions, modelica_metatype _inSubscripts, modelica_metatype _inInstDims, modelica_metatype _inImpl, modelica_metatype _inComment, modelica_metatype _inInfo, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph)
384{
385 modelica_integer tmp1;
386 modelica_metatype _outCache = NULL((void*)0);
387 tmp1 = mmc_unbox_integer(_inImpl)(((mmc_sint_t) (_inImpl)) >> 1);
388 _outCache = omc_InstVar_instArrayDimEnum(threadData, _inCache, _inEnv, _inIH, _inStore, _inState, _inMod, _inPrefix, _inName, _inClass, _inAttributes, _inPrefixes, _inDimension, _inRestDimensions, _inSubscripts, _inInstDims, tmp1, _inComment, _inInfo, _inGraph, _inSets, out_outEnv, out_outIH, out_outStore, out_outDae, out_outSets, out_outType, out_outGraph);
389 /* skip box _outCache; FCore.Cache */
390 /* skip box _outEnv; FCore.Graph */
391 /* skip box _outIH; list<InnerOuter.TopInstance> */
392 /* skip box _outStore; UnitAbsyn.InstStore */
393 /* skip box _outDae; DAE.DAElist */
394 /* skip box _outSets; DAE.Connect.Sets */
395 /* skip box _outType; DAE.Type */
396 /* skip box _outGraph; ConnectionGraph.ConnectionGraph */
397 return _outCache;
398}
399
400PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_instArrayDimInteger(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_string _inName, modelica_metatype _inElement, modelica_metatype _inPrefixes, modelica_integer _inDimensionSize, modelica_metatype _inRestDimensions, modelica_metatype _inSubscripts, modelica_metatype _inInstDims, modelica_boolean _inImpl, modelica_metatype _inComment, modelica_metatype _inInfo, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph)
401{
402 modelica_metatype _outCache = NULL((void*)0);
403 modelica_metatype _outEnv = NULL((void*)0);
404 modelica_metatype _outIH = NULL((void*)0);
405 modelica_metatype _outStore = NULL((void*)0);
406 modelica_metatype _outDae = NULL((void*)0);
407 modelica_metatype _outSets = NULL((void*)0);
408 modelica_metatype _outType = NULL((void*)0);
409 modelica_metatype _outGraph = NULL((void*)0);
410 modelica_metatype _c = NULL((void*)0);
411 modelica_metatype _cls = NULL((void*)0);
412 modelica_metatype _mod = NULL((void*)0);
413 modelica_metatype _imod = NULL((void*)0);
414 modelica_metatype _cls_path = NULL((void*)0);
415 modelica_metatype _smod = NULL((void*)0);
416 modelica_metatype _attr = NULL((void*)0);
417 modelica_metatype _e = NULL((void*)0);
418 modelica_metatype _s = NULL((void*)0);
419 modelica_metatype _inst_dims = NULL((void*)0);
420 modelica_metatype _dae = NULL((void*)0);
421 modelica_integer tmp6;
422 modelica_integer tmp7;
423 modelica_integer tmp8;
424 modelica_metatype tmpMeta[12] __attribute__((unused)) = {0};
425 MMC_SO()mmc_check_stackoverflow(threadData);
426 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
427 _outCache = _inCache;
428 _outEnv = _inEnv;
429 _outIH = _inIH;
430 _outStore = _inStore;
431 _outDae = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
432 _outSets = _inSets;
433 _outType = _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3));
434 _outGraph = _inGraph;
435 // _c has no default value.
436 // _cls has no default value.
437 // _mod has no default value.
438 // _imod has no default value.
439 // _cls_path has no default value.
440 // _smod has no default value.
441 // _attr has no default value.
442 // _e has no default value.
443 // _s has no default value.
444 // _inst_dims has no default value.
445 // _dae has no default value.
446#line 1695 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
447
448#line 1695 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
449
450#line 1695 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
451
452#line 1695 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
453
454#line 454 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
455 { /* match expression */
456 modelica_metatype tmp4_1;
457 tmp4_1 = _inElement;
458 {
459 volatile mmc_switch_type tmp4;
460 int tmp5;
461 tmp4 = 0;
462 for (; tmp4 < 2; tmp4++) {
463 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
464 case 0: {
465 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
466 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;
467 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (7)))))
;
468 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],2,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((3 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
469 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
470 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[6],0,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3)))==(((2 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
471 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[6]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (2)))))
;
472 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[6]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (3)))))
;
473 if (optionNone(tmpMeta[8])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[8]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
474 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (1)))))
;
475 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (3)))))
;
476 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
477 _c = tmpMeta[4];
478 _cls_path = tmpMeta[7];
479 _smod = tmpMeta[10];
480 _attr = tmpMeta[11];
481 /* Pattern matching succeeded */
482#line 1702 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
483 omc_Lookup_lookupClass(threadData, _outCache, _outEnv, _cls_path, mmc_mk_some((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_c), 9))(*(void**)(((void*)((void**)(((void*)((char*)(_c) - 3))) + (9
)))))
)) ,&_cls ,NULL((void*)0));
484#line 484 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
485
486#line 1709 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
487 _smod = omc_InstUtil_chainRedeclares(threadData, _inMod, _smod);
488#line 488 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
489
490#line 1710 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
491 tmpMeta[4] = mmc_mk_box2(5, &Mod_ModScope_DERIVED__desc, _cls_path);
492#line 1710 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
493 omc_Mod_elabMod(threadData, _outCache, _outEnv, _outIH, _inPrefix, _smod, _inImpl, tmpMeta[4], _inInfo ,&_mod);
494#line 494 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
495
496#line 1711 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
497 _mod = omc_Mod_merge(threadData, _inMod, _mod, _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)), 1);
498#line 498 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
499#line 1712 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
500 tmpMeta[4] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
501#line 1712 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
502 tmpMeta[0+0] = _cls;
503#line 1712 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
504 tmpMeta[0+1] = _mod;
505#line 1712 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
506 tmpMeta[0+2] = _attr;
507#line 1712 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
508 tmpMeta[0+3] = tmpMeta[4];
509#line 509 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
510 goto tmp3_done;
511 }
512 case 1: {
513 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
514 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
515 _cls = tmpMeta[4];
516 _attr = tmpMeta[5];
517 /* Pattern matching succeeded */
518#line 1715 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
519 tmpMeta[0+0] = _cls;
520#line 1715 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
521 tmpMeta[0+1] = _inMod;
522#line 1715 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
523 tmpMeta[0+2] = _attr;
524#line 1715 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
525 tmpMeta[0+3] = _inInstDims;
526#line 526 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
527 goto tmp3_done;
528 }
529 }
530 goto tmp3_end;
531 tmp3_end: ;
532 }
533 goto goto_2;
534 goto_2:;
535 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
536 goto tmp3_done;
537 tmp3_done:;
538 }
539 }
540 _cls = tmpMeta[0+0];
541 _mod = tmpMeta[0+1];
542 _attr = tmpMeta[0+2];
543 _inst_dims = tmpMeta[0+3];
544
545#line 1718 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
546 tmp6 = _inDimensionSize; tmp7 = ((modelica_integer) -1); tmp8 = ((modelica_integer) 1);
547#line 1718 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
548 if(!(((tmp7 > 0) && (tmp6 > tmp8)) || ((tmp7 < 0) && (tmp6 < tmp8))))
549#line 1718 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
550 {
551#line 1718 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
552 modelica_integer _i;
553#line 1718 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
554 for(_i = _inDimensionSize; in_range_integer(_i, tmp6, tmp8); _i += tmp7)
555#line 1718 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
556 {
557#line 1719 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
558 tmpMeta[0] = mmc_mk_box2(3, &DAE_Exp_ICONST__desc, mmc_mk_integermmc_mk_icon(_i));
559#line 1719 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
560 _e = tmpMeta[0];
561#line 561 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
562
563#line 1720 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
564 _imod = omc_Mod_lookupIdxModification(threadData, _mod, _e);
565#line 565 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
566
567#line 1721 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
568 tmpMeta[0] = mmc_mk_box2(5, &DAE_Subscript_INDEX__desc, _e);
569#line 1721 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
570 _s = tmpMeta[0];
571#line 571 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
572
573#line 1723 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
574 tmpMeta[0] = mmc_mk_cons(_s, _inSubscripts);
575#line 1723 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
576 _outCache = omc_InstVar_instVar2(threadData, _outCache, _inEnv, _outIH, _outStore, _inState, _imod, _inPrefix, _inName, _cls, _attr, _inPrefixes, _inRestDimensions, tmpMeta[0], _inst_dims, _inImpl, _inComment, _inInfo, _outGraph, _outSets ,&_outEnv ,&_outIH ,&_outStore ,&_dae ,&_outSets ,&_outType ,&_outGraph);
577#line 577 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
578
579#line 1727 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
580 _outDae = omc_DAEUtil_joinDaes(threadData, _dae, _outDae);
581#line 581 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
582 }
583 }
584 _return: OMC_LABEL_UNUSED__attribute__((unused))
585 if (out_outEnv) { *out_outEnv = _outEnv; }
586 if (out_outIH) { *out_outIH = _outIH; }
587 if (out_outStore) { *out_outStore = _outStore; }
588 if (out_outDae) { *out_outDae = _outDae; }
589 if (out_outSets) { *out_outSets = _outSets; }
590 if (out_outType) { *out_outType = _outType; }
591 if (out_outGraph) { *out_outGraph = _outGraph; }
592 return _outCache;
593}
594PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstVar_instArrayDimInteger(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inName, modelica_metatype _inElement, modelica_metatype _inPrefixes, modelica_metatype _inDimensionSize, modelica_metatype _inRestDimensions, modelica_metatype _inSubscripts, modelica_metatype _inInstDims, modelica_metatype _inImpl, modelica_metatype _inComment, modelica_metatype _inInfo, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph)
595{
596 modelica_integer tmp1;
597 modelica_integer tmp2;
598 modelica_metatype _outCache = NULL((void*)0);
599 tmp1 = mmc_unbox_integer(_inDimensionSize)(((mmc_sint_t) (_inDimensionSize)) >> 1);
600 tmp2 = mmc_unbox_integer(_inImpl)(((mmc_sint_t) (_inImpl)) >> 1);
601 _outCache = omc_InstVar_instArrayDimInteger(threadData, _inCache, _inEnv, _inIH, _inStore, _inState, _inMod, _inPrefix, _inName, _inElement, _inPrefixes, tmp1, _inRestDimensions, _inSubscripts, _inInstDims, tmp2, _inComment, _inInfo, _inGraph, _inSets, out_outEnv, out_outIH, out_outStore, out_outDae, out_outSets, out_outType, out_outGraph);
602 /* skip box _outCache; FCore.Cache */
603 /* skip box _outEnv; FCore.Graph */
604 /* skip box _outIH; list<InnerOuter.TopInstance> */
605 /* skip box _outStore; UnitAbsyn.InstStore */
606 /* skip box _outDae; DAE.DAElist */
607 /* skip box _outSets; DAE.Connect.Sets */
608 /* skip box _outType; DAE.Type */
609 /* skip box _outGraph; ConnectionGraph.ConnectionGraph */
610 return _outCache;
611}
612
613PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_instArray(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_string _inIdent, modelica_metatype _inElement, modelica_metatype _inPrefixes, modelica_integer _inInteger, modelica_metatype _inDimension, modelica_metatype _inDimensionLst, modelica_metatype _inIntegerLst, modelica_metatype _inInstDims, modelica_boolean _inBoolean, modelica_metatype _inComment, modelica_metatype _info, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph)
614{
615 modelica_metatype _outCache = NULL((void*)0);
616 modelica_metatype _outEnv = NULL((void*)0);
617 modelica_metatype _outIH = NULL((void*)0);
618 modelica_metatype _outStore = NULL((void*)0);
619 modelica_metatype _outDae = NULL((void*)0);
620 modelica_metatype _outSets = NULL((void*)0);
621 modelica_metatype _outType = NULL((void*)0);
622 modelica_metatype _outGraph = NULL((void*)0);
623 modelica_metatype tmpMeta[14] __attribute__((unused)) = {0};
624 MMC_SO()mmc_check_stackoverflow(threadData);
625 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
626 // _outCache has no default value.
627 // _outEnv has no default value.
628 // _outIH has no default value.
629 // _outStore has no default value.
630 // _outDae has no default value.
631 // _outSets has no default value.
632 // _outType has no default value.
633 // _outGraph has no default value.
634#line 1509 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
635 omc_InstVar_checkDimensionGreaterThanZero(threadData, _inDimension, _inPrefix, _inIdent, _info);
636#line 636 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
637
638#line 1510 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
639 omc_InstVar_checkArrayModDimSize(threadData, _inMod, _inDimension, _inPrefix, _inIdent, _info);
640#line 640 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
641
642#line 1512 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
643
644#line 1512 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
645
646#line 1512 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
647
648#line 1512 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
649
650#line 1512 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
651
652#line 1512 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
653
654#line 1512 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
655
656#line 1512 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
657
658#line 658 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
659 { /* matchcontinue expression */
660 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_metatype tmp4_7;volatile modelica_string tmp4_8;volatile modelica_metatype tmp4_9;volatile modelica_metatype tmp4_10;volatile modelica_integer tmp4_11;volatile modelica_metatype tmp4_12;volatile modelica_metatype tmp4_13;volatile modelica_metatype tmp4_14;volatile modelica_metatype tmp4_15;volatile modelica_boolean tmp4_16;volatile modelica_metatype tmp4_17;volatile modelica_metatype tmp4_18;volatile modelica_metatype tmp4_19;
661 tmp4_1 = _inCache;
662 tmp4_2 = _inEnv;
663 tmp4_3 = _inIH;
664 tmp4_4 = _inStore;
665 tmp4_5 = _inState;
666 tmp4_6 = _inMod;
667 tmp4_7 = _inPrefix;
668 tmp4_8 = _inIdent;
669 tmp4_9 = _inElement;
670 tmp4_10 = _inPrefixes;
671 tmp4_11 = _inInteger;
672 tmp4_12 = _inDimension;
673 tmp4_13 = _inDimensionLst;
674 tmp4_14 = _inIntegerLst;
675 tmp4_15 = _inInstDims;
676 tmp4_16 = _inBoolean;
677 tmp4_17 = _inComment;
678 tmp4_18 = _inGraph;
679 tmp4_19 = _inSets;
680 {
681 modelica_metatype _e = NULL((void*)0);
682 modelica_metatype _lhs = NULL((void*)0);
683 modelica_metatype _rhs = NULL((void*)0);
684 modelica_metatype _p = NULL((void*)0);
685 modelica_metatype _cache = NULL((void*)0);
686 modelica_metatype _env_1 = NULL((void*)0);
687 modelica_metatype _env = NULL((void*)0);
688 modelica_metatype _compenv = NULL((void*)0);
689 modelica_metatype _csets = NULL((void*)0);
690 modelica_metatype _ty = NULL((void*)0);
691 modelica_metatype _ci_state = NULL((void*)0);
692 modelica_metatype _cr = NULL((void*)0);
693 modelica_metatype _ty_1 = NULL((void*)0);
694 modelica_metatype _mod = NULL((void*)0);
695 modelica_metatype _mod_1 = NULL((void*)0);
696 modelica_metatype _mod_2 = NULL((void*)0);
697 modelica_metatype _pre = NULL((void*)0);
698 modelica_string _n = NULL((void*)0);
699 modelica_string _str1 = NULL((void*)0);
700 modelica_string _str2 = NULL((void*)0);
701 modelica_string _str3 = NULL((void*)0);
702 modelica_string _str4 = NULL((void*)0);
703 modelica_metatype _cl = NULL((void*)0);
704 modelica_metatype _attr = NULL((void*)0);
705 modelica_integer _i;
706 modelica_integer _stop;
707 modelica_metatype _dim = NULL((void*)0);
708 modelica_metatype _dims = NULL((void*)0);
709 modelica_metatype _idxs = NULL((void*)0);
710 modelica_metatype _inst_dims = NULL((void*)0);
711 modelica_boolean _impl;
712 modelica_metatype _comment = NULL((void*)0);
713 modelica_metatype _dae = NULL((void*)0);
714 modelica_metatype _dae1 = NULL((void*)0);
715 modelica_metatype _dae2 = NULL((void*)0);
716 modelica_metatype _daeLst = NULL((void*)0);
717 modelica_metatype _graph = NULL((void*)0);
718 modelica_metatype _ih = NULL((void*)0);
719 modelica_metatype _source = NULL((void*)0);
720 modelica_metatype _s = NULL((void*)0);
721 modelica_metatype _pf = NULL((void*)0);
722 modelica_metatype _store = NULL((void*)0);
723 volatile mmc_switch_type tmp4;
724 int tmp5;
725 // _e has no default value.
726 // _lhs has no default value.
727 // _rhs has no default value.
728 // _p has no default value.
729 // _cache has no default value.
730 // _env_1 has no default value.
731 // _env has no default value.
732 // _compenv has no default value.
733 // _csets has no default value.
734 // _ty has no default value.
735 // _ci_state has no default value.
736 // _cr has no default value.
737 // _ty_1 has no default value.
738 // _mod has no default value.
739 // _mod_1 has no default value.
740 // _mod_2 has no default value.
741 // _pre has no default value.
742 // _n has no default value.
743 // _str1 has no default value.
744 // _str2 has no default value.
745 // _str3 has no default value.
746 // _str4 has no default value.
747 // _cl has no default value.
748 // _attr has no default value.
749 // _i has no default value.
750 // _stop has no default value.
751 // _dim has no default value.
752 // _dims has no default value.
753 // _idxs has no default value.
754 // _inst_dims has no default value.
755 // _impl has no default value.
756 // _comment has no default value.
757 // _dae has no default value.
758 // _dae1 has no default value.
759 // _dae2 has no default value.
760 // _daeLst has no default value.
761 // _graph has no default value.
762 // _ih has no default value.
763 // _source has no default value.
764 // _s has no default value.
765 // _pf has no default value.
766 // _store has no default value.
767 tmp4 = 0;
768 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) {
769 tmp3_top:
770 threadData->mmc_jumper = &new_mmc_jumper;
771 for (; tmp4 < 9; tmp4++) {
772 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
773 case 0: {
774 modelica_boolean tmp6;
775 if (mmc__uniontype__metarecord__typedef__equal(tmp4_5,8,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_5) - 3)))==(((2 +1) <<
10) + (((8 +3) & 255) << 2)))
== 0) goto tmp3_end;
776 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_9), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_9) - 3))) +
(1)))))
;
777
778 _cache = tmp4_1;
779 _env = tmp4_2;
780 _ih = tmp4_3;
781 _store = tmp4_4;
782 _mod = tmp4_6;
783 _pre = tmp4_7;
784 _n = tmp4_8;
785 _cl = tmpMeta[8];
786 _dim = tmp4_12;
787 _inst_dims = tmp4_15;
788 _graph = tmp4_18;
789 _csets = tmp4_19;
790 /* Pattern matching succeeded */
791#line 1553 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
792 /* Pattern-matching assignment */
793#line 1553 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
794 tmp6 = omc_Expression_dimensionUnknownOrExp(threadData, _dim);
795#line 1553 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
796 if (1 != tmp6) goto goto_2;
797#line 797 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
798
799#line 1554 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
800 /* Pattern-matching assignment */
801#line 1554 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
802 tmpMeta[8] = omc_Mod_modEquation(threadData, _mod);
803#line 1554 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
804 if (optionNone(tmpMeta[8])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[8]) - 3)))) >> 10)) ? 1 : 0)
) goto goto_2;
805#line 1554 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
806 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (1)))))
;
807#line 1554 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
808 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[9],0,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9]) - 3)))==(((5 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto goto_2;
809#line 1554 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
810 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[9]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[9]) - 3
))) + (2)))))
;
811#line 1554 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
812 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[9]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[9]) - 3
))) + (4)))))
;
813#line 1554 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
814 _e = tmpMeta[10];
815#line 1554 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
816 _p = tmpMeta[11];
817#line 817 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
818
819#line 1555 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
820 _cache = omc_Inst_instClass(threadData, _cache, _env, _ih, _store, _mod, _pre, _cl, _inst_dims, 1, _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)), _graph, _csets ,&_env_1 ,&_ih ,&_store ,NULL((void*)0) ,NULL((void*)0) ,&_ty ,NULL((void*)0) ,NULL((void*)0) ,&_graph);
821#line 821 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
822
823#line 1557 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
824 _ty_1 = omc_Types_simplifyType(threadData, _ty);
825#line 825 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
826
827#line 1558 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
828 tmpMeta[8] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
829#line 1558 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
830 _cache = omc_PrefixUtil_prefixCref(threadData, _cache, _env, _ih, _pre, omc_ComponentReference_makeCrefIdent(threadData, _n, _ty_1, tmpMeta[8]) ,&_cr);
831#line 831 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
832
833#line 1559 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
834 tmpMeta[8] = mmc_mk_box3(3, &DAE_Properties_PROP__desc, _ty, _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)));
835#line 1559 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
836 _rhs = omc_Types_matchProp(threadData, _e, _p, tmpMeta[8], 1, NULL((void*)0));
837#line 837 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
838
839#line 1562 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
840 _source = omc_ElementSource_createElementSource(threadData, _info, omc_FGraph_getScopePath(threadData, _env), _pre, _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)));
841#line 841 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
842
843#line 1564 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
844 _lhs = omc_Expression_makeCrefExp(threadData, _cr, _ty_1);
845#line 845 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
846
847#line 1566 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
848 _dae = omc_InstSection_makeDaeEquation(threadData, _lhs, _rhs, _source, _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)));
849#line 849 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
850#line 1568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
851 tmpMeta[0+0] = _cache;
852#line 1568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
853 tmpMeta[0+1] = _env_1;
854#line 1568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
855 tmpMeta[0+2] = _ih;
856#line 1568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
857 tmpMeta[0+3] = _store;
858#line 1568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
859 tmpMeta[0+4] = _dae;
860#line 1568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
861 tmpMeta[0+5] = _inSets;
862#line 1568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
863 tmpMeta[0+6] = _ty;
864#line 1568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
865 tmpMeta[0+7] = _graph;
866#line 866 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
867 goto tmp3_done;
868 }
869 case 1: {
870 modelica_boolean tmp7;
871 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_9), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_9) - 3))) +
(1)))))
;
872 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_9), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_9) - 3))) +
(2)))))
;
873
874 _cache = tmp4_1;
875 _env = tmp4_2;
876 _ih = tmp4_3;
877 _store = tmp4_4;
878 _ci_state = tmp4_5;
879 _mod = tmp4_6;
880 _pre = tmp4_7;
881 _n = tmp4_8;
882 _cl = tmpMeta[8];
883 _attr = tmpMeta[9];
884 _pf = tmp4_10;
885 _i = tmp4_11;
886 _dims = tmp4_13;
887 _idxs = tmp4_14;
888 _inst_dims = tmp4_15;
889 _impl = tmp4_16;
890 _comment = tmp4_17;
891 _graph = tmp4_18;
892 _csets = tmp4_19;
893 /* Pattern matching succeeded */
894#line 1573 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
895 /* Pattern-matching assignment */
896#line 1573 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
897 tmp7 = omc_Expression_dimensionKnown(threadData, _inDimension);
898#line 1573 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
899 if (0 != tmp7) goto goto_2;
900#line 900 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
901
902#line 1574 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
903 tmpMeta[8] = mmc_mk_box2(3, &DAE_Exp_ICONST__desc, mmc_mk_integermmc_mk_icon(_i));
904#line 1574 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
905 _e = tmpMeta[8];
906#line 906 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
907
908#line 1575 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
909 tmpMeta[8] = mmc_mk_box2(5, &DAE_Subscript_INDEX__desc, _e);
910#line 1575 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
911 _s = tmpMeta[8];
912#line 912 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
913
914#line 1576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
915 _mod = omc_Mod_lookupIdxModification(threadData, _mod, _e);
916#line 916 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
917#line 1577 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
918 tmpMeta[8] = mmc_mk_cons(_s, _idxs);
919#line 1577 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
920 tmpMeta[0+0] = omc_InstVar_instVar2(threadData, _cache, _env, _ih, _store, _ci_state, _mod, _pre, _n, _cl, _attr, _pf, _dims, tmpMeta[8], _inst_dims, _impl, _comment, _info, _graph, _csets, &tmpMeta[0+1], &tmpMeta[0+2], &tmpMeta[0+3], &tmpMeta[0+4], &tmpMeta[0+5], &tmpMeta[0+6], &tmpMeta[0+7]);
921#line 921 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
922 goto tmp3_done;
923 }
924 case 2: {
925 modelica_integer tmp8;
926 if (mmc__uniontype__metarecord__typedef__equal(tmp4_12,0,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_12) - 3)))==(((1 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
927 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_12), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_12) - 3)))
+ (2)))))
;
928 tmp8 = mmc_unbox_integer(tmpMeta[8])(((mmc_sint_t) (tmpMeta[8])) >> 1);
929 if (0 != tmp8) goto tmp3_end;
930 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_9), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_9) - 3))) +
(1)))))
;
931 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_9), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_9) - 3))) +
(2)))))
;
932
933 _cache = tmp4_1;
934 _env = tmp4_2;
935 _ih = tmp4_3;
936 _store = tmp4_4;
937 _ci_state = tmp4_5;
938 _pre = tmp4_7;
939 _n = tmp4_8;
940 _cl = tmpMeta[9];
941 _attr = tmpMeta[10];
942 _pf = tmp4_10;
943 _dims = tmp4_13;
944 _idxs = tmp4_14;
945 _inst_dims = tmp4_15;
946 _impl = tmp4_16;
947 _comment = tmp4_17;
948 _graph = tmp4_18;
949 _csets = tmp4_19;
950 /* Pattern matching succeeded */
951#line 1585 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
952 omc_ErrorExt_setCheckpoint(threadData, _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)));
953#line 953 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
954
955#line 1586 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
956 _e = _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3));
957#line 957 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
958
959#line 1587 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
960 tmpMeta[8] = mmc_mk_box2(5, &DAE_Subscript_INDEX__desc, _e);
961#line 1587 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
962 _s = tmpMeta[8];
963#line 963 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
964
965#line 1592 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
966 _mod = omc_Mod_filterRedeclares(threadData, _inMod);
967#line 967 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
968
969#line 1593 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
970 _mod = omc_Mod_lookupIdxModification(threadData, _mod, _e);
971#line 971 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
972
973#line 1594 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
974 tmpMeta[8] = mmc_mk_cons(_s, _idxs);
975#line 1594 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
976 _cache = omc_InstVar_instVar2(threadData, _cache, _env, _ih, _store, _ci_state, _mod, _pre, _n, _cl, _attr, _pf, _dims, tmpMeta[8], _inst_dims, _impl, _comment, _info, _graph, _csets ,&_compenv ,&_ih ,&_store ,NULL((void*)0) ,&_csets ,&_ty ,&_graph);
977#line 977 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
978
979#line 1596 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
980 omc_ErrorExt_rollBack(threadData, _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)));
981#line 981 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
982#line 1597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
983 tmpMeta[0+0] = _cache;
984#line 1597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
985 tmpMeta[0+1] = _compenv;
986#line 1597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
987 tmpMeta[0+2] = _ih;
988#line 1597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
989 tmpMeta[0+3] = _store;
990#line 1597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
991 tmpMeta[0+4] = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
992#line 1597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
993 tmpMeta[0+5] = _csets;
994#line 1597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
995 tmpMeta[0+6] = _ty;
996#line 1597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
997 tmpMeta[0+7] = _graph;
998#line 998 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
999 goto tmp3_done;
1000 }
1001 case 3: {
1002 modelica_integer tmp9;
1003 if (mmc__uniontype__metarecord__typedef__equal(tmp4_12,0,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_12) - 3)))==(((1 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
1004 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_12), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_12) - 3)))
+ (2)))))
;
1005 tmp9 = mmc_unbox_integer(tmpMeta[8])(((mmc_sint_t) (tmpMeta[8])) >> 1);
1006 if (0 != tmp9) goto tmp3_end;
1007
1008 /* Pattern matching succeeded */
1009#line 1603 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1010 omc_ErrorExt_delCheckpoint(threadData, _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)));
1011#line 1011 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1012#line 1604 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1013 goto goto_2;
1014#line 1014 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1015 goto tmp3_done;
1016 }
1017 case 4: {
1018 modelica_integer tmp10;
1019 if (mmc__uniontype__metarecord__typedef__equal(tmp4_12,0,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_12) - 3)))==(((1 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
1020 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_12), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_12) - 3)))
+ (2)))))
;
1021 tmp10 = mmc_unbox_integer(tmpMeta[8])(((mmc_sint_t) (tmpMeta[8])) >> 1);
1022
1023 _stop = tmp10 /* pattern as ty=Integer */;
1024 _cache = tmp4_1;
1025 _env = tmp4_2;
1026 _ih = tmp4_3;
1027 _store = tmp4_4;
1028 _ci_state = tmp4_5;
1029 _graph = tmp4_18;
1030 _csets = tmp4_19;
1031 tmp4 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
1032#line 1610 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1033 tmpMeta[0+0] = omc_InstVar_instArrayDimInteger(threadData, _cache, _env, _ih, _store, _ci_state, _inMod, _inPrefix, _inIdent, _inElement, _inPrefixes, _stop, _inDimensionLst, _inIntegerLst, _inInstDims, _inBoolean, _inComment, _info, _graph, _csets, &tmpMeta[0+1], &tmpMeta[0+2], &tmpMeta[0+3], &tmpMeta[0+4], &tmpMeta[0+5], &tmpMeta[0+6], &tmpMeta[0+7]);
1034#line 1034 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1035 goto tmp3_done;
1036 }
1037 case 5: {
1038 if (mmc__uniontype__metarecord__typedef__equal(tmp4_12,2,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_12) - 3)))==(((3 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
1039 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_9), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_9) - 3))) +
(1)))))
;
1040 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_9), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_9) - 3))) +
(2)))))
;
1041
1042 _cache = tmp4_1;
1043 _env = tmp4_2;
1044 _ih = tmp4_3;
1045 _store = tmp4_4;
1046 _ci_state = tmp4_5;
1047 _mod = tmp4_6;
1048 _pre = tmp4_7;
1049 _n = tmp4_8;
1050 _cl = tmpMeta[8];
1051 _attr = tmpMeta[9];
1052 _pf = tmp4_10;
1053 _dims = tmp4_13;
1054 _idxs = tmp4_14;
1055 _inst_dims = tmp4_15;
1056 _impl = tmp4_16;
1057 _comment = tmp4_17;
1058 _graph = tmp4_18;
1059 _csets = tmp4_19;
1060 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
1061#line 1617 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1062 tmpMeta[0+0] = omc_InstVar_instArrayDimEnum(threadData, _cache, _env, _ih, _store, _ci_state, _mod, _pre, _n, _cl, _attr, _pf, _inDimension, _dims, _idxs, _inst_dims, _impl, _comment, _info, _graph, _csets, &tmpMeta[0+1], &tmpMeta[0+2], &tmpMeta[0+3], &tmpMeta[0+4], &tmpMeta[0+5], &tmpMeta[0+6], &tmpMeta[0+7]);
1063#line 1063 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1064 goto tmp3_done;
1065 }
1066 case 6: {
1067 if (mmc__uniontype__metarecord__typedef__equal(tmp4_12,1,0)((*(mmc_uint_t*)((void*)((char*)(tmp4_12) - 3)))==(((0 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
1068 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_9), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_9) - 3))) +
(1)))))
;
1069 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_9), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_9) - 3))) +
(2)))))
;
1070
1071 _cache = tmp4_1;
1072 _env = tmp4_2;
1073 _ih = tmp4_3;
1074 _store = tmp4_4;
1075 _ci_state = tmp4_5;
1076 _mod = tmp4_6;
1077 _pre = tmp4_7;
1078 _n = tmp4_8;
1079 _cl = tmpMeta[8];
1080 _attr = tmpMeta[9];
1081 _pf = tmp4_10;
1082 _dims = tmp4_13;
1083 _idxs = tmp4_14;
1084 _inst_dims = tmp4_15;
1085 _impl = tmp4_16;
1086 _comment = tmp4_17;
1087 _graph = tmp4_18;
1088 _csets = tmp4_19;
1089 /* Pattern matching succeeded */
1090#line 1623 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1091 _mod_1 = omc_Mod_lookupIdxModification(threadData, _mod, _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)));
1092#line 1092 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1093
1094#line 1624 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1095 _mod_2 = omc_Mod_lookupIdxModification(threadData, _mod, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)));
1096#line 1096 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1097
1098#line 1625 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1099 tmpMeta[8] = mmc_mk_cons(_OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)), _idxs);
1100#line 1625 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1101 _cache = omc_InstVar_instVar2(threadData, _cache, _env, _ih, _store, _ci_state, _mod_1, _pre, _n, _cl, _attr, _pf, _dims, tmpMeta[8], _inst_dims, _impl, _comment, _info, _graph, _csets ,&_env_1 ,&_ih ,&_store ,&_dae1 ,&_csets ,&_ty ,&_graph);
1102#line 1102 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1103
1104#line 1627 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1105 tmpMeta[8] = mmc_mk_cons(_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)), _idxs);
1106#line 1627 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1107 _cache = omc_InstVar_instVar2(threadData, _cache, _env, _ih, _store, _ci_state, _mod_2, _pre, _n, _cl, _attr, _pf, _dims, tmpMeta[8], _inst_dims, _impl, _comment, _info, _graph, _csets ,NULL((void*)0) ,&_ih ,&_store ,&_dae2 ,&_csets ,&_ty ,&_graph);
1108#line 1108 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1109
1110#line 1629 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1111 _daeLst = omc_DAEUtil_joinDaes(threadData, _dae1, _dae2);
1112#line 1112 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1113#line 1630 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1114 tmpMeta[0+0] = _cache;
1115#line 1630 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1116 tmpMeta[0+1] = _env_1;
1117#line 1630 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1118 tmpMeta[0+2] = _ih;
1119#line 1630 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1120 tmpMeta[0+3] = _store;
1121#line 1630 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1122 tmpMeta[0+4] = _daeLst;
1123#line 1630 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1124 tmpMeta[0+5] = _csets;
1125#line 1630 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1126 tmpMeta[0+6] = _ty;
1127#line 1630 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1128 tmpMeta[0+7] = _graph;
1129#line 1129 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1130 goto tmp3_done;
1131 }
1132 case 7: {
1133 modelica_boolean tmp11;
1134
1135 _ci_state = tmp4_5;
1136 _mod = tmp4_6;
1137 _pre = tmp4_7;
1138 _n = tmp4_8;
1139 _i = tmp4_11;
1140 _idxs = tmp4_14;
1141 /* Pattern matching succeeded */
1142#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1143 tmp11 = 0; /* begin failure */
1144#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1145 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) {
1146#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1147 tmpMeta[8] = mmc_mk_box2(3, &DAE_Exp_ICONST__desc, mmc_mk_integermmc_mk_icon(_i));
1148#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1149 omc_Mod_lookupIdxModification(threadData, _mod, tmpMeta[8]);
1150#line 1150 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1151 tmp11 = 1;
1152 goto goto_12;
1153 goto_12:;
1154 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
1155 if (tmp11) {goto goto_2;} /* end failure */
1156
1157#line 1636 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1158 tmpMeta[8] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1159#line 1636 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1160 tmpMeta[9] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1161#line 1636 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1162 _str1 = omc_PrefixUtil_printPrefixStrIgnoreNoPre(threadData, omc_PrefixUtil_prefixAdd(threadData, _n, tmpMeta[8], tmpMeta[9], _pre, _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)), _ci_state, _info));
1163#line 1163 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1164
1165#line 1637 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1166 tmpMeta[8] = stringAppend(_OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)),stringDelimitList(omc_List_map(threadData, _idxs, boxvar_ExpressionDump_printSubscriptStr((void*)((char*)(&(boxvar_lit_ExpressionDump_printSubscriptStr
).header) + 3))
), _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))));
1167#line 1637 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1168 tmpMeta[9] = stringAppend(tmpMeta[8],_OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)));
1169#line 1637 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1170 _str2 = tmpMeta[9];
1171#line 1171 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1172
1173#line 1638 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1174 _str3 = omc_Mod_prettyPrintMod(threadData, _mod, ((modelica_integer) 1));
1175#line 1175 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1176
1177#line 1639 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1178 tmpMeta[8] = stringAppend(omc_PrefixUtil_printPrefixStrIgnoreNoPre(threadData, _pre),_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
1179#line 1639 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1180 tmpMeta[9] = stringAppend(tmpMeta[8],_n);
1181#line 1639 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1182 tmpMeta[10] = stringAppend(tmpMeta[9],_str2);
1183#line 1639 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1184 tmpMeta[11] = stringAppend(tmpMeta[10],_OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
1185#line 1639 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1186 tmpMeta[12] = stringAppend(tmpMeta[11],_str3);
1187#line 1639 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1188 tmpMeta[13] = stringAppend(tmpMeta[12],_OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)));
1189#line 1639 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1190 _str4 = tmpMeta[13];
1191#line 1191 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1192
1193#line 1640 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1194 tmpMeta[8] = stringAppend(_str1,_str2);
1195#line 1640 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1196 _str2 = tmpMeta[8];
1197#line 1197 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1198
1199#line 1641 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1200 tmpMeta[8] = mmc_mk_cons(_str1, mmc_mk_cons(_str4, mmc_mk_cons(_str2, mmc_mk_cons(_str3, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))))));
1201#line 1641 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1202 omc_Error_addSourceMessage(threadData, _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)), tmpMeta[8], _info);
1203#line 1203 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1204#line 1642 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1205 goto goto_2;
1206#line 1206 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1207 goto tmp3_done;
1208 }
1209 case 8: {
1210 modelica_boolean tmp13;
1211
1212 /* Pattern matching succeeded */
1213#line 1647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1214 /* Pattern-matching assignment */
1215#line 1647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1216 tmp13 = omc_Flags_isSet(threadData, _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)));
1217#line 1647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1218 if (1 != tmp13) goto goto_2;
1219#line 1219 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1220
1221#line 1648 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1222 tmpMeta[8] = stringAppend(_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)),_inIdent);
1223#line 1648 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1224 omc_Debug_traceln(threadData, tmpMeta[8]);
1225#line 1225 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1226#line 1649 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1227 goto goto_2;
1228#line 1228 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1229 goto tmp3_done;
1230 }
1231 }
1232 goto tmp3_end;
1233 tmp3_end: ;
1234 }
1235 goto goto_2;
1236 tmp3_done:
1237 (void)tmp4;
1238 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1239 goto tmp3_done2;
1240 goto_2:;
1241 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1242 if (++tmp4 < 9) {
1243 goto tmp3_top;
1244 }
1245 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1246 tmp3_done2:;
1247 }
1248 }
1249 _outCache = tmpMeta[0+0];
1250 _outEnv = tmpMeta[0+1];
1251 _outIH = tmpMeta[0+2];
1252 _outStore = tmpMeta[0+3];
1253 _outDae = tmpMeta[0+4];
1254 _outSets = tmpMeta[0+5];
1255 _outType = tmpMeta[0+6];
1256 _outGraph = tmpMeta[0+7];
1257 _return: OMC_LABEL_UNUSED__attribute__((unused))
1258 if (out_outEnv) { *out_outEnv = _outEnv; }
1259 if (out_outIH) { *out_outIH = _outIH; }
1260 if (out_outStore) { *out_outStore = _outStore; }
1261 if (out_outDae) { *out_outDae = _outDae; }
1262 if (out_outSets) { *out_outSets = _outSets; }
1263 if (out_outType) { *out_outType = _outType; }
1264 if (out_outGraph) { *out_outGraph = _outGraph; }
1265 return _outCache;
1266}
1267PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstVar_instArray(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inIdent, modelica_metatype _inElement, modelica_metatype _inPrefixes, modelica_metatype _inInteger, modelica_metatype _inDimension, modelica_metatype _inDimensionLst, modelica_metatype _inIntegerLst, modelica_metatype _inInstDims, modelica_metatype _inBoolean, modelica_metatype _inComment, modelica_metatype _info, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph)
1268{
1269 modelica_integer tmp1;
1270 modelica_integer tmp2;
1271 modelica_metatype _outCache = NULL((void*)0);
1272 tmp1 = mmc_unbox_integer(_inInteger)(((mmc_sint_t) (_inInteger)) >> 1);
1273 tmp2 = mmc_unbox_integer(_inBoolean)(((mmc_sint_t) (_inBoolean)) >> 1);
1274 _outCache = omc_InstVar_instArray(threadData, _inCache, _inEnv, _inIH, _inStore, _inState, _inMod, _inPrefix, _inIdent, _inElement, _inPrefixes, tmp1, _inDimension, _inDimensionLst, _inIntegerLst, _inInstDims, tmp2, _inComment, _info, _inGraph, _inSets, out_outEnv, out_outIH, out_outStore, out_outDae, out_outSets, out_outType, out_outGraph);
1275 /* skip box _outCache; FCore.Cache */
1276 /* skip box _outEnv; FCore.Graph */
1277 /* skip box _outIH; list<InnerOuter.TopInstance> */
1278 /* skip box _outStore; UnitAbsyn.InstStore */
1279 /* skip box _outDae; DAE.DAElist */
1280 /* skip box _outSets; DAE.Connect.Sets */
1281 /* skip box _outType; DAE.Type */
1282 /* skip box _outGraph; ConnectionGraph.ConnectionGraph */
1283 return _outCache;
1284}
1285
1286PROTECTED_FUNCTION_STATIC modelica_boolean omc_InstVar_checkArrayModBindingDimSize(threadData_t *threadData, modelica_metatype _inBinding, modelica_metatype _inDimension, modelica_metatype _inPrefix, modelica_string _inIdent, modelica_metatype _inInfo)
1287{
1288 modelica_boolean _outIsCorrect;
1289 modelica_boolean tmp1 = 0;
1290 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
1291 MMC_SO()mmc_check_stackoverflow(threadData);
1292 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1293 // _outIsCorrect has no default value.
1294#line 1294 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1295 { /* matchcontinue expression */
1296 volatile modelica_metatype tmp4_1;
1297 tmp4_1 = _inBinding;
1298 {
1299 modelica_metatype _exp = NULL((void*)0);
1300 modelica_metatype _ty = NULL((void*)0);
1301 modelica_metatype _ty_dim = NULL((void*)0);
1302 modelica_integer _dim_size1;
1303 modelica_integer _dim_size2;
1304 modelica_string _exp_str = NULL((void*)0);
1305 modelica_string _exp_ty_str = NULL((void*)0);
1306 modelica_string _dims_str = NULL((void*)0);
1307 modelica_metatype _ty_dims = NULL((void*)0);
1308 modelica_metatype _info = NULL((void*)0);
1309 volatile mmc_switch_type tmp4;
1310 int tmp5;
1311 // _exp has no default value.
1312 // _ty has no default value.
1313 // _ty_dim has no default value.
1314 // _dim_size1 has no default value.
1315 // _dim_size2 has no default value.
1316 // _exp_str has no default value.
1317 // _exp_ty_str has no default value.
1318 // _dims_str has no default value.
1319 // _ty_dims has no default value.
1320 // _info has no default value.
1321 tmp4 = 0;
1322 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) {
1323 tmp3_top:
1324 threadData->mmc_jumper = &new_mmc_jumper;
1325 for (; tmp4 < 2; tmp4++) {
1326 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1327 case 0: {
1328 modelica_boolean tmp6;
1329 if (optionNone(tmp4_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp4_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
1330 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
1331 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],0,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((5 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
1332 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1333 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
1334 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((2 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
1335 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1336 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (6)))))
;
1337 _exp = tmpMeta[1];
1338 _ty = tmpMeta[3];
1339 _info = tmpMeta[4];
1340 /* Pattern matching succeeded */
1341#line 1456 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1342 _ty_dim = omc_Types_getDimensionNth(threadData, _ty, ((modelica_integer) 1));
1343#line 1343 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1344
1345#line 1457 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1346 _dim_size1 = omc_Expression_dimensionSize(threadData, _inDimension);
1347#line 1347 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1348
1349#line 1458 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1350 _dim_size2 = omc_Expression_dimensionSize(threadData, _ty_dim);
1351#line 1351 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1352
1353#line 1459 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1354 /* Pattern-matching assignment */
1355#line 1459 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1356 tmp6 = (_dim_size1 != _dim_size2);
1357#line 1459 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1358 if (1 != tmp6) goto goto_2;
1359#line 1359 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1360
1361#line 1461 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1362 _exp_str = omc_ExpressionDump_printExpStr(threadData, _exp);
1363#line 1363 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1364
1365#line 1462 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1366 _exp_ty_str = omc_Types_unparseType(threadData, _ty);
1367#line 1367 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1368
1369#line 1465 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1370 /* Pattern-matching assignment */
1371#line 1465 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1372 tmpMeta[0] = omc_Types_getDimensions(threadData, _ty);
1373#line 1465 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1374 if (listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto goto_2;
1375#line 1465 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1376 tmpMeta[1] = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1377#line 1465 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1378 tmpMeta[2] = MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1379#line 1465 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1380 _ty_dims = tmpMeta[2];
1381#line 1381 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1382
1383#line 1466 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1384 tmpMeta[0] = mmc_mk_cons(_inDimension, _ty_dims);
1385#line 1466 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1386 _dims_str = omc_ExpressionDump_dimensionsString(threadData, tmpMeta[0]);
1387#line 1387 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1388
1389#line 1467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1390 tmpMeta[0] = mmc_mk_cons(_exp_str, mmc_mk_cons(_exp_ty_str, mmc_mk_cons(_dims_str, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))));
1391#line 1467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1392 tmpMeta[1] = mmc_mk_cons(_info, mmc_mk_cons(_inInfo, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))));
1393#line 1467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1394 omc_Error_addMultiSourceMessage(threadData, _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)), tmpMeta[0], tmpMeta[1]);
1395#line 1395 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1396#line 1469 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1397 tmp1 = 0;
1398#line 1398 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1399 goto tmp3_done;
1400 }
1401 case 1: {
1402
1403 /* Pattern matching succeeded */
1404#line 1472 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1405 tmp1 = 1;
1406#line 1406 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1407 goto tmp3_done;
1408 }
1409 }
1410 goto tmp3_end;
1411 tmp3_end: ;
1412 }
1413 goto goto_2;
1414 tmp3_done:
1415 (void)tmp4;
1416 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1417 goto tmp3_done2;
1418 goto_2:;
1419 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1420 if (++tmp4 < 2) {
1421 goto tmp3_top;
1422 }
1423 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1424 tmp3_done2:;
1425 }
1426 }
1427 _outIsCorrect = tmp1;
1428 _return: OMC_LABEL_UNUSED__attribute__((unused))
1429 return _outIsCorrect;
1430}
1431PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstVar_checkArrayModBindingDimSize(threadData_t *threadData, modelica_metatype _inBinding, modelica_metatype _inDimension, modelica_metatype _inPrefix, modelica_metatype _inIdent, modelica_metatype _inInfo)
1432{
1433 modelica_boolean _outIsCorrect;
1434 modelica_metatype out_outIsCorrect;
1435 _outIsCorrect = omc_InstVar_checkArrayModBindingDimSize(threadData, _inBinding, _inDimension, _inPrefix, _inIdent, _inInfo);
1436 out_outIsCorrect = mmc_mk_icon(_outIsCorrect);
1437 return out_outIsCorrect;
1438}
1439
1440PROTECTED_FUNCTION_STATIC void omc_InstVar_checkArraySubModDimSize(threadData_t *threadData, modelica_metatype _inSubMod, modelica_metatype _inDimension, modelica_metatype _inPrefix, modelica_string _inIdent, modelica_metatype _inInfo)
1441{
1442 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1443 MMC_SO()mmc_check_stackoverflow(threadData);
1444 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1445#line 1445 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1446 { /* match expression */
1447 modelica_metatype tmp3_1;
1448 tmp3_1 = _inSubMod;
1449 {
1450 modelica_string _name = NULL((void*)0);
1451 modelica_metatype _eqmod = NULL((void*)0);
1452 volatile mmc_switch_type tmp3;
1453 int tmp4;
1454 // _name has no default value.
1455 // _eqmod has no default value.
1456 tmp3 = 0;
1457 for (; tmp3 < 3; tmp3++) {
1458 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1459 case 0: {
1460 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1461 if (8 != MMC_STRLEN(tmpMeta[0])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT35)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT35).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[0])(((struct mmc_string*)((void*)((char*)(tmpMeta[0]) - 3)))->
data)
) != 0) goto tmp2_end;
1462
1463 /* Pattern matching succeeded */
1464#line 1464 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1465 goto tmp2_done;
1466 }
1467 case 1: {
1468 modelica_boolean tmp5;
1469 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1470 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1471 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],0,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((5 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1472 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
1473 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((0 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1474 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (5)))))
;
1475
1476 _name = tmpMeta[0];
1477 _eqmod = tmpMeta[3];
1478 /* Pattern matching succeeded */
1479#line 1427 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1480 tmpMeta[0] = stringAppend(_inIdent,_OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)));
1481#line 1427 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1482 tmpMeta[1] = stringAppend(tmpMeta[0],_name);
1483#line 1427 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1484 _name = tmpMeta[1];
1485#line 1485 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1486
1487#line 1428 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1488 /* Pattern-matching assignment */
1489#line 1428 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1490 tmp5 = omc_InstVar_checkArrayModBindingDimSize(threadData, _eqmod, _inDimension, _inPrefix, _name, _inInfo);
1491#line 1428 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1492 if (1 != tmp5) goto goto_1;
1493#line 1493 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1494#line 1494 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1495 goto tmp2_done;
1496 }
1497 case 2: {
1498
1499 /* Pattern matching succeeded */
1500#line 1500 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1501 goto tmp2_done;
1502 }
1503 }
1504 goto tmp2_end;
1505 tmp2_end: ;
1506 }
1507 goto goto_1;
1508 goto_1:;
1509 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1510 goto tmp2_done;
1511 tmp2_done:;
1512 }
1513 }
1514 ;
1515 _return: OMC_LABEL_UNUSED__attribute__((unused))
1516 return;
1517}
1518
1519PROTECTED_FUNCTION_STATIC void omc_InstVar_checkArrayModDimSize(threadData_t *threadData, modelica_metatype _mod, modelica_metatype _inDimension, modelica_metatype _inPrefix, modelica_string _inIdent, modelica_metatype _inInfo)
1520{
1521 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
1522 MMC_SO()mmc_check_stackoverflow(threadData);
1523 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1524#line 1524 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1525 { /* match expression */
1526 modelica_metatype tmp3_1;
1527 tmp3_1 = _mod;
1528 {
1529 volatile mmc_switch_type tmp3;
1530 int tmp4;
1531 tmp3 = 0;
1532 for (; tmp3 < 2; tmp3++) {
1533 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1534 case 0: {
1535 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;
1536 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1537 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],1,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((0 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1538
1539 /* Pattern matching succeeded */
1540#line 1402 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1541 omc_List_map4__0(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_mod), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_mod) - 3))) + (
4)))))
), boxvar_InstVar_checkArraySubModDimSize((void*)((char*)(&(boxvar_lit_InstVar_checkArraySubModDimSize
).header) + 3))
, _inDimension, _inPrefix, _inIdent, _inInfo);
1542#line 1542 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1543#line 1543 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1544 goto tmp2_done;
1545 }
1546 case 1: {
1547
1548 /* Pattern matching succeeded */
1549#line 1549 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1550 goto tmp2_done;
1551 }
1552 }
1553 goto tmp2_end;
1554 tmp2_end: ;
1555 }
1556 goto goto_1;
1557 goto_1:;
1558 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1559 goto tmp2_done;
1560 tmp2_done:;
1561 }
1562 }
1563 ;
1564 _return: OMC_LABEL_UNUSED__attribute__((unused))
1565 return;
1566}
1567
1568PROTECTED_FUNCTION_STATIC void omc_InstVar_checkDimensionGreaterThanZero(threadData_t *threadData, modelica_metatype _inDim, modelica_metatype _inPrefix, modelica_string _inIdent, modelica_metatype _info)
1569{
1570 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1571 MMC_SO()mmc_check_stackoverflow(threadData);
1572 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1573#line 1573 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1574 { /* match expression */
1575 modelica_metatype tmp3_1;
1576 tmp3_1 = _inDim;
1577 {
1578 modelica_string _dim_str = NULL((void*)0);
1579 modelica_string _cr_str = NULL((void*)0);
1580 modelica_metatype _cr = NULL((void*)0);
1581 volatile mmc_switch_type tmp3;
1582 int tmp4;
1583 // _dim_str has no default value.
1584 // _cr_str has no default value.
1585 // _cr has no default value.
1586 tmp3 = 0;
1587 for (; tmp3 < 2; tmp3++) {
1588 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1589 case 0: {
1590 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1591
1592 /* Pattern matching succeeded */
1593#line 1372 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1594 if((mmc_unbox_integer((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inDim), 2))))(((mmc_sint_t) (((*(void**)(((void*)((void**)(((void*)((char*
)(_inDim) - 3))) + (2)))))))) >> 1)
< ((modelica_integer) 0)))
1595#line 1372 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1596 {
1597#line 1373 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1598 _dim_str = omc_ExpressionDump_dimensionString(threadData, _inDim);
1599#line 1599 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1600
1601#line 1374 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1602 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1603#line 1374 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1604 tmpMeta[1] = mmc_mk_box4(4, &DAE_ComponentRef_CREF__IDENT__desc, _inIdent, _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)), tmpMeta[0]);
1605#line 1374 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1606 _cr = tmpMeta[1];
1607#line 1607 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1608
1609#line 1375 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1610 _cr_str = omc_ComponentReference_printComponentRefStr(threadData, omc_PrefixUtil_prefixCrefNoContext(threadData, _inPrefix, _cr));
1611#line 1611 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1612
1613#line 1377 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1614 tmpMeta[0] = mmc_mk_cons(_dim_str, mmc_mk_cons(_cr_str, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))));
1615#line 1377 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1616 omc_Error_addSourceMessageAndFail(threadData, _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)), tmpMeta[0], _info);
1617#line 1617 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1618 }
1619#line 1619 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1620 goto tmp2_done;
1621 }
1622 case 1: {
1623
1624 /* Pattern matching succeeded */
1625#line 1625 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1626 goto tmp2_done;
1627 }
1628 }
1629 goto tmp2_end;
1630 tmp2_end: ;
1631 }
1632 goto goto_1;
1633 goto_1:;
1634 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1635 goto tmp2_done;
1636 tmp2_done:;
1637 }
1638 }
1639 ;
1640 _return: OMC_LABEL_UNUSED__attribute__((unused))
1641 return;
1642}
1643
1644PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_stripRecordDefaultBindingsFromElement(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _inEqs, modelica_metatype *out_outEqs)
1645{
1646 modelica_metatype _outVar = NULL((void*)0);
1647 modelica_metatype _outEqs = NULL((void*)0);
1648 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
1649 MMC_SO()mmc_check_stackoverflow(threadData);
1650 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1651 // _outVar has no default value.
1652 // _outEqs has no default value.
1653#line 1334 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1654
1655#line 1334 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1656
1657#line 1657 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1658 { /* match expression */
1659 modelica_metatype tmp4_1;modelica_metatype tmp4_2;
1660 tmp4_1 = _inVar;
1661 tmp4_2 = _inEqs;
1662 {
1663 modelica_metatype _var_cr = NULL((void*)0);
1664 modelica_metatype _eq_cr = NULL((void*)0);
1665 modelica_metatype _rest_eqs = NULL((void*)0);
1666 volatile mmc_switch_type tmp4;
1667 int tmp5;
1668 // _var_cr has no default value.
1669 // _eq_cr has no default value.
1670 // _rest_eqs has no default value.
1671 tmp4 = 0;
1672 for (; tmp4 < 3; tmp4++) {
1673 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1674 case 0: {
1675 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,13)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((13 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
1676 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
1677 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
1678 tmpMeta[3] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
1679 tmpMeta[4] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
1680 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],3,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((3 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
1681 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
1682 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
1683 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
1684
1685 _var_cr = tmpMeta[2];
1686 _eq_cr = tmpMeta[6];
1687 _rest_eqs = tmpMeta[4];
1688 /* Pattern matching succeeded */
1689 /* Check guard condition after assignments */
1690 if (!omc_ComponentReference_crefEqual(threadData, _var_cr, _eq_cr)) goto tmp3_end;
1691#line 1345 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1692 tmpMeta[0+0] = omc_DAEUtil_setElementVarBinding(threadData, _inVar, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
1693#line 1345 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1694 tmpMeta[0+1] = _rest_eqs;
1695#line 1695 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1696 goto tmp3_done;
1697 }
1698 case 1: {
1699 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,13)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((13 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
1700 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
1701 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
1702 tmpMeta[3] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
1703 tmpMeta[4] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
1704 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],8,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((3 +1)
<< 10) + (((8 +3) & 255) << 2)))
== 0) goto tmp3_end;
1705 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
1706 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
1707 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
1708
1709 _var_cr = tmpMeta[2];
1710 _eq_cr = tmpMeta[6];
1711 /* Pattern matching succeeded */
1712 /* Check guard condition after assignments */
1713 if (!omc_ComponentReference_crefPrefixOf(threadData, _eq_cr, _var_cr)) goto tmp3_end;
1714#line 1352 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1715 tmpMeta[0+0] = omc_DAEUtil_setElementVarBinding(threadData, _inVar, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
1716#line 1352 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1717 tmpMeta[0+1] = _inEqs;
1718#line 1718 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1719 goto tmp3_done;
1720 }
1721 case 2: {
1722
1723 /* Pattern matching succeeded */
1724#line 1355 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1725 tmpMeta[0+0] = _inVar;
1726#line 1355 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1727 tmpMeta[0+1] = _inEqs;
1728#line 1728 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1729 goto tmp3_done;
1730 }
1731 }
1732 goto tmp3_end;
1733 tmp3_end: ;
1734 }
1735 goto goto_2;
1736 goto_2:;
1737 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1738 goto tmp3_done;
1739 tmp3_done:;
1740 }
1741 }
1742 _outVar = tmpMeta[0+0];
1743 _outEqs = tmpMeta[0+1];
1744 _return: OMC_LABEL_UNUSED__attribute__((unused))
1745 if (out_outEqs) { *out_outEqs = _outEqs; }
1746 return _outVar;
1747}
1748
1749PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_stripRecordDefaultBindingsFromDAE(threadData_t *threadData, modelica_metatype _inClassDAE, modelica_metatype _inType, modelica_metatype _inEqDAE)
1750{
1751 modelica_metatype _outClassDAE = NULL((void*)0);
1752 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
1753 MMC_SO()mmc_check_stackoverflow(threadData);
1754 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1755 // _outClassDAE has no default value.
1756#line 1756 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1757 { /* match expression */
1758 modelica_metatype tmp3_1;modelica_metatype tmp3_2;modelica_metatype tmp3_3;
1759 tmp3_1 = _inClassDAE;
1760 tmp3_2 = _inType;
1761 tmp3_3 = _inEqDAE;
1762 {
1763 modelica_metatype _els = NULL((void*)0);
1764 modelica_metatype _eqs = NULL((void*)0);
1765 volatile mmc_switch_type tmp3;
1766 int tmp4;
1767 // _els has no default value.
1768 // _eqs has no default value.
1769 tmp3 = 0;
1770 for (; tmp3 < 2; tmp3++) {
1771 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1772 case 0: {
1773 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(2)))))
;
1774 if (listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1775 tmpMeta[2] = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
1776 tmpMeta[3] = MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
1777 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,9,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((3 +1) <<
10) + (((9 +3) & 255) << 2)))
== 0) goto tmp2_end;
1778 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
1779 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
1780 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1781 _eqs = tmpMeta[1];
1782 _els = tmpMeta[5];
1783 /* Pattern matching succeeded */
1784#line 1320 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1785 _els = omc_List_mapFold(threadData, _els, boxvar_InstVar_stripRecordDefaultBindingsFromElement((void*)((char*)(&(boxvar_lit_InstVar_stripRecordDefaultBindingsFromElement
).header) + 3))
, _eqs, NULL((void*)0));
1786#line 1786 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1787#line 1321 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1788 tmpMeta[1] = mmc_mk_box2(3, &DAE_DAElist_DAE__desc, _els);
1789#line 1321 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1790 tmpMeta[0] = tmpMeta[1];
1791#line 1791 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1792 goto tmp2_done;
1793 }
1794 case 1: {
1795
1796 /* Pattern matching succeeded */
1797#line 1324 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1798 tmpMeta[0] = _inClassDAE;
1799#line 1799 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1800 goto tmp2_done;
1801 }
1802 }
1803 goto tmp2_end;
1804 tmp2_end: ;
1805 }
1806 goto goto_1;
1807 goto_1:;
1808 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1809 goto tmp2_done;
1810 tmp2_done:;
1811 }
1812 }
1813 _outClassDAE = tmpMeta[0];
1814 _return: OMC_LABEL_UNUSED__attribute__((unused))
1815 return _outClassDAE;
1816}
1817
1818PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_instScalar2(threadData_t *threadData, modelica_metatype _inCref, modelica_metatype _inType, modelica_metatype _inVariability, modelica_metatype _inMod, modelica_metatype _inDae, modelica_metatype _inClassDae, modelica_metatype _inSource, modelica_boolean _inImpl)
1819{
1820 modelica_metatype _outDae = NULL((void*)0);
1821 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
1822 MMC_SO()mmc_check_stackoverflow(threadData);
1823 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1824 // _outDae has no default value.
1825#line 1825 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1826 { /* match expression */
1827 modelica_metatype tmp3_1;modelica_metatype tmp3_2;modelica_metatype tmp3_3;
1828 tmp3_1 = _inType;
1829 tmp3_2 = _inVariability;
1830 tmp3_3 = _inMod;
1831 {
1832 modelica_metatype _dae = NULL((void*)0);
1833 modelica_metatype _cls_dae = NULL((void*)0);
1834 volatile mmc_switch_type tmp3;
1835 int tmp4;
1836 // _dae has no default value.
1837 // _cls_dae has no default value.
1838 tmp3 = 0;
1839 for (; tmp3 < 5; tmp3++) {
1840 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1841 case 0: {
1842 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,3,0)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((0 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
1843 if (mmc__uniontype__metarecord__typedef__equal(tmp3_3,0,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_3) - 3)))==(((5 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1844 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(5)))))
;
1845 if (optionNone(tmpMeta[1])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[1]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1846 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
1847 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((5 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1848
1849 /* Pattern matching succeeded */
1850#line 1242 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1851 tmpMeta[0] = omc_DAEUtil_joinDaes(threadData, _inClassDae, _inDae);
1852#line 1852 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1853 goto tmp2_done;
1854 }
1855 case 1: {
1856 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;
1857 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1858 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
1859 if (mmc__uniontype__metarecord__typedef__equal(tmp3_3,0,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_3) - 3)))==(((5 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1860 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(5)))))
;
1861 if (optionNone(tmpMeta[2])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[2]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1862 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
1863 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],0,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((5 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1864 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
1865 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
1866
1867 /* Pattern matching succeeded */
1868#line 1260 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1869 _dae = omc_InstBinding_instModEquation(threadData, _inCref, _inType, _inMod, _inSource, _inImpl);
1870#line 1870 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1871
1872#line 1262 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1873 _dae = omc_InstUtil_moveBindings(threadData, _dae, _inClassDae);
1874#line 1874 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1875#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1876 tmpMeta[0] = omc_DAEUtil_joinDaes(threadData, _dae, _inDae);
1877#line 1877 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1878 goto tmp2_done;
1879 }
1880 case 2: {
1881 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;
1882 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1883 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
1884 if (mmc__uniontype__metarecord__typedef__equal(tmp3_3,0,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_3) - 3)))==(((5 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1885 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(5)))))
;
1886 if (optionNone(tmpMeta[2])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[2]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1887 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
1888 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],0,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((5 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1889 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
1890 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],20,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((2 +1)
<< 10) + (((20 +3) & 255) << 2)))
== 0) goto tmp2_end;
1891 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (3)))))
;
1892 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
1893
1894 /* Pattern matching succeeded */
1895#line 1270 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1896 _dae = omc_InstBinding_instModEquation(threadData, _inCref, _inType, _inMod, _inSource, _inImpl);
1897#line 1897 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1898
1899#line 1272 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1900 _dae = omc_InstUtil_moveBindings(threadData, _dae, _inClassDae);
1901#line 1901 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1902#line 1273 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1903 tmpMeta[0] = omc_DAEUtil_joinDaes(threadData, _dae, _inDae);
1904#line 1904 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1905 goto tmp2_done;
1906 }
1907 case 3: {
1908 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,2,0)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((0 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
1909 if (mmc__uniontype__metarecord__typedef__equal(tmp3_3,0,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_3) - 3)))==(((5 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1910 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(5)))))
;
1911 if (optionNone(tmpMeta[1])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[1]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1912 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
1913 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((5 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1914
1915 /* Pattern matching succeeded */
1916#line 1280 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1917 _dae = omc_InstBinding_instModEquation(threadData, _inCref, _inType, _inMod, _inSource, _inImpl);
1918#line 1918 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1919
1920#line 1283 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1921 _dae = omc_InstUtil_propagateBinding(threadData, _inClassDae, _dae);
1922#line 1922 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1923#line 1284 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1924 tmpMeta[0] = omc_DAEUtil_joinDaes(threadData, _dae, _inDae);
1925#line 1925 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1926 goto tmp2_done;
1927 }
1928 case 4: {
1929
1930 /* Pattern matching succeeded */
1931#line 1291 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1932 _dae = (omc_Types_isComplexType(threadData, _inType)?omc_InstBinding_instModEquation(threadData, _inCref, _inType, _inMod, _inSource, _inImpl):_OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)));
1933#line 1933 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1934
1935#line 1292 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1936 _cls_dae = omc_InstVar_stripRecordDefaultBindingsFromDAE(threadData, _inClassDae, _inType, _dae);
1937#line 1937 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1938
1939#line 1293 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1940 _dae = omc_DAEUtil_joinDaes(threadData, _dae, _inDae);
1941#line 1941 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1942#line 1294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
1943 tmpMeta[0] = omc_DAEUtil_joinDaes(threadData, _cls_dae, _dae);
1944#line 1944 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1945 goto tmp2_done;
1946 }
1947 }
1948 goto tmp2_end;
1949 tmp2_end: ;
1950 }
1951 goto goto_1;
1952 goto_1:;
1953 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1954 goto tmp2_done;
1955 tmp2_done:;
1956 }
1957 }
1958 _outDae = tmpMeta[0];
1959 _return: OMC_LABEL_UNUSED__attribute__((unused))
1960 return _outDae;
1961}
1962PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstVar_instScalar2(threadData_t *threadData, modelica_metatype _inCref, modelica_metatype _inType, modelica_metatype _inVariability, modelica_metatype _inMod, modelica_metatype _inDae, modelica_metatype _inClassDae, modelica_metatype _inSource, modelica_metatype _inImpl)
1963{
1964 modelica_integer tmp1;
1965 modelica_metatype _outDae = NULL((void*)0);
1966 tmp1 = mmc_unbox_integer(_inImpl)(((mmc_sint_t) (_inImpl)) >> 1);
1967 _outDae = omc_InstVar_instScalar2(threadData, _inCref, _inType, _inVariability, _inMod, _inDae, _inClassDae, _inSource, tmp1);
1968 /* skip box _outDae; DAE.DAElist */
1969 return _outDae;
1970}
1971
1972PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_stripVarAttrDirection(threadData_t *threadData, modelica_metatype _inCref, modelica_metatype _ih, modelica_metatype _inState, modelica_metatype _inPrefix, modelica_metatype _inAttributes)
1973{
1974 modelica_metatype _outAttributes = NULL((void*)0);
1975 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1976 MMC_SO()mmc_check_stackoverflow(threadData);
1977 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1978 // _outAttributes has no default value.
1979#line 1979 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
1980 { /* matchcontinue expression */
1981 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;volatile modelica_metatype tmp3_3;
1982 tmp3_1 = _inCref;
1983 tmp3_2 = _inState;
1984 tmp3_3 = _inAttributes;
1985 {
1986 modelica_metatype _cref = NULL((void*)0);
1987 modelica_metatype _topInstance = NULL((void*)0);
1988 modelica_metatype _sm = NULL((void*)0);
1989 volatile mmc_switch_type tmp3;
1990 int tmp4;
1991 // _cref has no default value.
1992 // _topInstance has no default value.
1993 // _sm has no default value.
1994 tmp3 = 0;
1995 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) {
1996 tmp2_top:
1997 threadData->mmc_jumper = &new_mmc_jumper;
1998 for (; tmp3 < 5; tmp3++) {
1999 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2000 case 0: {
2001 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(6)))))
;
2002 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],2,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((0 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
2003
2004 /* Pattern matching succeeded */
2005#line 1199 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2006 tmpMeta[0] = _inAttributes;
2007#line 2007 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2008 goto tmp2_done;
2009 }
2010 case 1: {
2011 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;
2012
2013 /* Pattern matching succeeded */
2014#line 1201 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2015 tmpMeta[0] = _inAttributes;
2016#line 2016 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2017 goto tmp2_done;
2018 }
2019 case 2: {
2020 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;
2021
2022 /* Pattern matching succeeded */
2023 /* Check guard condition after assignments */
2024 if (!omc_ConnectUtil_faceEqual(threadData, omc_ConnectUtil_componentFaceType(threadData, _inCref), _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)))) goto tmp2_end;
2025#line 1205 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2026 tmpMeta[0] = _inAttributes;
2027#line 2027 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2028 goto tmp2_done;
2029 }
2030 case 3: {
2031 modelica_boolean tmp5;
2032 modelica_boolean tmp6;
2033
2034 /* Pattern matching succeeded */
2035#line 1209 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2036 _topInstance = listHead(_ih)boxptr_listHead(threadData,_ih);
2037#line 2037 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2038
2039#line 1210 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2040 /* Pattern-matching assignment */
2041#line 1210 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2042 tmpMeta[1] = _topInstance;
2043#line 1210 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2044 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (5)))))
;
2045#line 1210 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2046 _sm = tmpMeta[2];
2047#line 2047 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2048
2049#line 1211 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2050 /* Pattern-matching assignment */
2051#line 1211 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2052 tmp5 = (omc_BaseHashSet_currentSize(threadData, _sm) > ((modelica_integer) 0));
2053#line 1211 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2054 if (1 != tmp5) goto goto_1;
2055#line 2055 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2056
2057#line 1212 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2058 _cref = omc_PrefixUtil_prefixToCref(threadData, _inPrefix);
2059#line 2059 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2060
2061#line 1213 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2062 /* Pattern-matching assignment */
2063#line 1213 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2064 tmp6 = omc_BaseHashSet_has(threadData, _cref, _sm);
2065#line 1213 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2066 if (1 != tmp6) goto goto_1;
2067#line 2067 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2068#line 1214 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2069 tmpMeta[0] = _inAttributes;
2070#line 2070 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2071 goto tmp2_done;
2072 }
2073 case 4: {
2074
2075 /* Pattern matching succeeded */
2076#line 1216 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2077 tmpMeta[0] = omc_SCodeUtil_setAttributesDirection(threadData, _inAttributes, _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)));
2078#line 2078 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2079 goto tmp2_done;
2080 }
2081 }
2082 goto tmp2_end;
2083 tmp2_end: ;
2084 }
2085 goto goto_1;
2086 tmp2_done:
2087 (void)tmp3;
2088 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2089 goto tmp2_done2;
2090 goto_1:;
2091 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2092 if (++tmp3 < 5) {
2093 goto tmp2_top;
2094 }
2095 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2096 tmp2_done2:;
2097 }
2098 }
2099 _outAttributes = tmpMeta[0];
2100 _return: OMC_LABEL_UNUSED__attribute__((unused))
2101 return _outAttributes;
2102}
2103
2104DLLExport
2105modelica_metatype omc_InstVar_instScalar(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_string _inName, modelica_metatype _inClass, modelica_metatype _inAttributes, modelica_metatype _inPrefixes, modelica_metatype _inSubscripts, modelica_metatype _inInstDims, modelica_boolean _inImpl, modelica_metatype _inComment, modelica_metatype _inInfo, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph)
2106{
2107 modelica_metatype _outCache = NULL((void*)0);
2108 modelica_metatype _outEnv = NULL((void*)0);
2109 modelica_metatype _outIH = NULL((void*)0);
2110 modelica_metatype _outStore = NULL((void*)0);
2111 modelica_metatype _outDae = NULL((void*)0);
2112 modelica_metatype _outSets = NULL((void*)0);
2113 modelica_metatype _outType = NULL((void*)0);
2114 modelica_metatype _outGraph = NULL((void*)0);
2115 modelica_metatype tmpMeta[14] __attribute__((unused)) = {0};
2116 MMC_SO()mmc_check_stackoverflow(threadData);
2117 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2118 // _outCache has no default value.
2119 // _outEnv has no default value.
2120 // _outIH has no default value.
2121 // _outStore has no default value.
2122 // _outDae has no default value.
2123 // _outSets has no default value.
2124 // _outType has no default value.
2125 // _outGraph has no default value.
2126#line 1070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2127
2128#line 1070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2129
2130#line 1070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2131
2132#line 1070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2133
2134#line 1070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2135
2136#line 1070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2137
2138#line 1070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2139
2140#line 1070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2141
2142#line 2142 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2143 { /* matchcontinue expression */
2144 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_metatype tmp4_7;volatile modelica_metatype tmp4_8;volatile modelica_metatype tmp4_9;
2145 tmp4_1 = _inCache;
2146 tmp4_2 = _inEnv;
2147 tmp4_3 = _inIH;
2148 tmp4_4 = _inStore;
2149 tmp4_5 = _inMod;
2150 tmp4_6 = _inClass;
2151 tmp4_7 = _inAttributes;
2152 tmp4_8 = _inPrefixes;
2153 tmp4_9 = _inSubscripts;
2154 {
2155 modelica_string _cls_name = NULL((void*)0);
2156 modelica_metatype _cache = NULL((void*)0);
2157 modelica_metatype _env = NULL((void*)0);
2158 modelica_metatype _env_1 = NULL((void*)0);
2159 modelica_metatype _ih = NULL((void*)0);
2160 modelica_metatype _store = NULL((void*)0);
2161 modelica_metatype _csets = NULL((void*)0);
2162 modelica_metatype _res = NULL((void*)0);
2163 modelica_metatype _vt = NULL((void*)0);
2164 modelica_metatype _idxs = NULL((void*)0);
2165 modelica_metatype _pre = NULL((void*)0);
2166 modelica_metatype _ci_state = NULL((void*)0);
2167 modelica_metatype _graph = NULL((void*)0);
2168 modelica_metatype _dae = NULL((void*)0);
2169 modelica_metatype _dae1 = NULL((void*)0);
2170 modelica_metatype _dae2 = NULL((void*)0);
2171 modelica_metatype _ty = NULL((void*)0);
2172 modelica_metatype _ident_ty = NULL((void*)0);
2173 modelica_metatype _cr = NULL((void*)0);
2174 modelica_metatype _dae_var_attr = NULL((void*)0);
2175 modelica_metatype _opt_binding = NULL((void*)0);
2176 modelica_metatype _source = NULL((void*)0);
2177 modelica_metatype _attr = NULL((void*)0);
2178 modelica_metatype _vis = NULL((void*)0);
2179 modelica_metatype _fin = NULL((void*)0);
2180 modelica_metatype _io = NULL((void*)0);
2181 modelica_metatype _start = NULL((void*)0);
2182 modelica_metatype _opt_attr = NULL((void*)0);
2183 modelica_metatype _mod = NULL((void*)0);
2184 modelica_metatype _predims = NULL((void*)0);
2185 volatile mmc_switch_type tmp4;
2186 int tmp5;
2187 // _cls_name has no default value.
2188 // _cache has no default value.
2189 // _env has no default value.
2190 // _env_1 has no default value.
2191 // _ih has no default value.
2192 // _store has no default value.
2193 // _csets has no default value.
2194 // _res has no default value.
2195 // _vt has no default value.
2196 // _idxs has no default value.
2197 // _pre has no default value.
2198 // _ci_state has no default value.
2199 // _graph has no default value.
2200 // _dae has no default value.
2201 // _dae1 has no default value.
2202 // _dae2 has no default value.
2203 // _ty has no default value.
2204 // _ident_ty has no default value.
2205 // _cr has no default value.
2206 // _dae_var_attr has no default value.
2207 // _opt_binding has no default value.
2208 // _source has no default value.
2209 // _attr has no default value.
2210 // _vis has no default value.
2211 // _fin has no default value.
2212 // _io has no default value.
2213 // _start has no default value.
2214 // _opt_attr has no default value.
2215 // _mod has no default value.
2216 // _predims has no default value.
2217 tmp4 = 0;
2218 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) {
2219 tmp3_top:
2220 threadData->mmc_jumper = &new_mmc_jumper;
2221 for (; tmp4 < 2; tmp4++) {
2222 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2223 case 0: {
2224 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;
2225 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(2)))))
;
2226 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(6)))))
;
2227 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_7), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_7) - 3))) +
(5)))))
;
2228 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_8), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_8) - 3))) +
(2)))))
;
2229 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_8), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_8) - 3))) +
(4)))))
;
2230 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_8), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_8) - 3))) +
(5)))))
;
2231
2232 _cls_name = tmpMeta[8];
2233 _res = tmpMeta[9];
2234 _cache = tmp4_1;
2235 _env = tmp4_2;
2236 _ih = tmp4_3;
2237 _store = tmp4_4;
2238 _mod = tmp4_5;
2239 _vt = tmpMeta[10];
2240 _vis = tmpMeta[11];
2241 _fin = tmpMeta[12];
2242 _io = tmpMeta[13];
2243 _idxs = tmp4_9;
2244 /* Pattern matching succeeded */
2245#line 1110 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2246 _idxs = listReverse(_idxs);
2247#line 2247 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2248
2249#line 1111 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2250 tmpMeta[8] = mmc_mk_box2(4, &Absyn_Path_IDENT__desc, _cls_name);
2251#line 1111 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2252 _ci_state = omc_ClassInf_start(threadData, _res, tmpMeta[8]);
2253#line 2253 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2254
2255#line 1112 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2256 _predims = omc_List_lastListOrEmpty(threadData, _inInstDims);
2257#line 2257 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2258
2259#line 1113 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2260 _pre = omc_PrefixUtil_prefixAdd(threadData, _inName, _predims, _idxs, _inPrefix, _vt, _ci_state, _inInfo);
2261#line 2261 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2262
2263#line 1114 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2264 _cache = omc_Inst_instClass(threadData, _cache, _env, _ih, _store, _inMod, _pre, _inClass, _inInstDims, _inImpl, _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)), _inGraph, _inSets ,&_env_1 ,&_ih ,&_store ,&_dae1 ,&_csets ,&_ty ,NULL((void*)0) ,&_opt_attr ,&_graph);
2265#line 2265 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2266
2267#line 1119 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2268 tmpMeta[8] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2269#line 1119 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2270 _cache = omc_InstBinding_instDaeVariableAttributes(threadData, _cache, _env_1, _inMod, _ty, tmpMeta[8] ,&_dae_var_attr);
2271#line 2271 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2272
2273#line 1120 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2274 _attr = omc_InstUtil_propagateAbSCDirection(threadData, _vt, _inAttributes, _opt_attr, _inInfo);
2275#line 2275 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2276
2277#line 1121 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2278 _attr = omc_SCodeUtil_removeAttributeDimensions(threadData, _attr);
2279#line 2279 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2280
2281#line 1131 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2282 _ident_ty = omc_InstUtil_makeCrefBaseType(threadData, _ty, _inInstDims);
2283#line 2283 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2284
2285#line 1132 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2286 _cr = omc_ComponentReference_makeCrefIdent(threadData, _inName, _ident_ty, _idxs);
2287#line 2287 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2288
2289#line 1133 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2290 _cache = omc_PrefixUtil_prefixCref(threadData, _cache, _env, _ih, _inPrefix, _cr ,&_cr);
2291#line 2291 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2292
2293#line 1140 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2294 omc_InstUtil_checkModificationOnOuter(threadData, _cache, _env_1, _ih, _inPrefix, _inName, _cr, _inMod, _vt, _io, _inImpl, _inInfo);
2295#line 2295 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2296
2297#line 1144 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2298 _source = omc_ElementSource_createElementSource(threadData, _inInfo, omc_FGraph_getScopePath(threadData, _env_1), _inPrefix, _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)));
2299#line 2299 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2300
2301#line 1147 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2302 _mod = (((((((!listEmpty(_inSubscripts)((*(mmc_uint_t*)((void*)((char*)(_inSubscripts) - 3))) == (((
0) << 10) + (((0) & 255) << 2)))
) && (!omc_SCodeUtil_isParameterOrConst(threadData, _vt))) && (!omc_ClassInf_isFunctionOrRecord(threadData, _inState))) && (!omc_Types_isComplexType(threadData, omc_Types_arrayElementType(threadData, _ty)))) && (!omc_Types_isExternalObject(threadData, omc_Types_arrayElementType(threadData, _ty)))) && (!omc_Config_scalarizeBindings(threadData)))?_OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)):_inMod);
2303#line 2303 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2304
2305#line 1150 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2306 _opt_binding = omc_InstBinding_makeVariableBinding(threadData, _ty, _mod, omc_NFInstUtil_toConst(threadData, _vt), _inPrefix, _inName);
2307#line 2307 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2308
2309#line 1151 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2310 _start = omc_InstBinding_instStartBindingExp(threadData, _inMod, _ty, _vt);
2311#line 2311 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2312
2313#line 1156 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2314 if((!omc_Flags_getConfigBool(threadData, _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)))))
2315#line 1156 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2316 {
2317#line 1157 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2318 _attr = omc_InstVar_stripVarAttrDirection(threadData, _cr, _ih, _inState, _inPrefix, _attr);
2319#line 2319 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2320 }
2321
2322#line 1162 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2323 _dae1 = omc_InstUtil_propagateAttributes(threadData, _dae1, _attr, _inPrefixes, _inInfo);
2324#line 2324 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2325
2326#line 1165 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2327 _dae2 = omc_InstDAE_daeDeclare(threadData, _cache, _env, _env_1, _cr, _inState, _ty, _attr, _vis, _opt_binding, _inInstDims, _start, _dae_var_attr, _inComment, _io, _fin, _source, 0);
2328#line 2328 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2329
2330#line 1167 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2331 _store = omc_UnitAbsynBuilder_instAddStore(threadData, _store, _ty, _cr);
2332#line 2332 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2333
2334#line 1170 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2335 _dae = omc_InstVar_instScalar2(threadData, _cr, _ty, _vt, _inMod, _dae2, _dae1, _source, _inImpl);
2336#line 2336 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2337#line 1171 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2338 tmpMeta[0+0] = _cache;
2339#line 1171 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2340 tmpMeta[0+1] = _env_1;
2341#line 1171 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2342 tmpMeta[0+2] = _ih;
2343#line 1171 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2344 tmpMeta[0+3] = _store;
2345#line 1171 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2346 tmpMeta[0+4] = _dae;
2347#line 1171 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2348 tmpMeta[0+5] = _csets;
2349#line 1171 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2350 tmpMeta[0+6] = _ty;
2351#line 1171 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2352 tmpMeta[0+7] = _graph;
2353#line 2353 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2354 goto tmp3_done;
2355 }
2356 case 1: {
2357 modelica_boolean tmp6;
2358
2359 /* Pattern matching succeeded */
2360#line 1176 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2361 /* Pattern-matching assignment */
2362#line 1176 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2363 tmp6 = omc_Flags_isSet(threadData, _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)));
2364#line 1176 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2365 if (1 != tmp6) goto goto_2;
2366#line 2366 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2367
2368#line 1177 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2369 tmpMeta[8] = stringAppend(_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)),_inName);
2370#line 1177 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2371 tmpMeta[9] = stringAppend(tmpMeta[8],_OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)));
2372#line 1177 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2373 tmpMeta[10] = stringAppend(tmpMeta[9],omc_PrefixUtil_printPrefixStr(threadData, _inPrefix));
2374#line 1177 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2375 tmpMeta[11] = stringAppend(tmpMeta[10],_OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)));
2376#line 1177 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2377 tmpMeta[12] = stringAppend(tmpMeta[11],omc_FGraph_printGraphPathStr(threadData, _inEnv));
2378#line 1177 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2379 tmpMeta[13] = stringAppend(tmpMeta[12],_OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)));
2380#line 1177 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2381 omc_Debug_traceln(threadData, tmpMeta[13]);
2382#line 2382 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2383#line 1178 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2384 goto goto_2;
2385#line 2385 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2386 goto tmp3_done;
2387 }
2388 }
2389 goto tmp3_end;
2390 tmp3_end: ;
2391 }
2392 goto goto_2;
2393 tmp3_done:
2394 (void)tmp4;
2395 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2396 goto tmp3_done2;
2397 goto_2:;
2398 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2399 if (++tmp4 < 2) {
2400 goto tmp3_top;
2401 }
2402 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2403 tmp3_done2:;
2404 }
2405 }
2406 _outCache = tmpMeta[0+0];
2407 _outEnv = tmpMeta[0+1];
2408 _outIH = tmpMeta[0+2];
2409 _outStore = tmpMeta[0+3];
2410 _outDae = tmpMeta[0+4];
2411 _outSets = tmpMeta[0+5];
2412 _outType = tmpMeta[0+6];
2413 _outGraph = tmpMeta[0+7];
2414 _return: OMC_LABEL_UNUSED__attribute__((unused))
2415 if (out_outEnv) { *out_outEnv = _outEnv; }
2416 if (out_outIH) { *out_outIH = _outIH; }
2417 if (out_outStore) { *out_outStore = _outStore; }
2418 if (out_outDae) { *out_outDae = _outDae; }
2419 if (out_outSets) { *out_outSets = _outSets; }
2420 if (out_outType) { *out_outType = _outType; }
2421 if (out_outGraph) { *out_outGraph = _outGraph; }
2422 return _outCache;
2423}
2424modelica_metatype boxptr_InstVar_instScalar(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inName, modelica_metatype _inClass, modelica_metatype _inAttributes, modelica_metatype _inPrefixes, modelica_metatype _inSubscripts, modelica_metatype _inInstDims, modelica_metatype _inImpl, modelica_metatype _inComment, modelica_metatype _inInfo, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph)
2425{
2426 modelica_integer tmp1;
2427 modelica_metatype _outCache = NULL((void*)0);
2428 tmp1 = mmc_unbox_integer(_inImpl)(((mmc_sint_t) (_inImpl)) >> 1);
2429 _outCache = omc_InstVar_instScalar(threadData, _inCache, _inEnv, _inIH, _inStore, _inState, _inMod, _inPrefix, _inName, _inClass, _inAttributes, _inPrefixes, _inSubscripts, _inInstDims, tmp1, _inComment, _inInfo, _inGraph, _inSets, out_outEnv, out_outIH, out_outStore, out_outDae, out_outSets, out_outType, out_outGraph);
2430 /* skip box _outCache; FCore.Cache */
2431 /* skip box _outEnv; FCore.Graph */
2432 /* skip box _outIH; list<InnerOuter.TopInstance> */
2433 /* skip box _outStore; UnitAbsyn.InstStore */
2434 /* skip box _outDae; DAE.DAElist */
2435 /* skip box _outSets; DAE.Connect.Sets */
2436 /* skip box _outType; DAE.Type */
2437 /* skip box _outGraph; ConnectionGraph.ConnectionGraph */
2438 return _outCache;
2439}
2440
2441PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_instVar2(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_string _inName, modelica_metatype _inClass, modelica_metatype _inAttributes, modelica_metatype _inPrefixes, modelica_metatype _inDimensions, modelica_metatype _inSubscripts, modelica_metatype _inInstDims, modelica_boolean _inImpl, modelica_metatype _inComment, modelica_metatype _inInfo, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph)
2442{
2443 modelica_metatype _outCache = NULL((void*)0);
2444 modelica_metatype _outEnv = NULL((void*)0);
2445 modelica_metatype _outIH = NULL((void*)0);
2446 modelica_metatype _outStore = NULL((void*)0);
2447 modelica_metatype _outDae = NULL((void*)0);
2448 modelica_metatype _outSets = NULL((void*)0);
2449 modelica_metatype _outType = NULL((void*)0);
2450 modelica_metatype _outGraph = NULL((void*)0);
2451 modelica_metatype tmpMeta[15] __attribute__((unused)) = {0};
2452 MMC_SO()mmc_check_stackoverflow(threadData);
2453 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2454 // _outCache has no default value.
2455 // _outEnv has no default value.
2456 // _outIH has no default value.
2457 // _outStore has no default value.
2458 // _outDae has no default value.
2459 // _outSets has no default value.
2460 // _outType has no default value.
2461 // _outGraph has no default value.
2462#line 771 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2463
2464#line 771 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2465
2466#line 771 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2467
2468#line 771 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2469
2470#line 771 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2471
2472#line 771 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2473
2474#line 771 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2475
2476#line 771 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2477
2478#line 2478 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2479 { /* matchcontinue expression */
2480 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_metatype tmp4_7;volatile modelica_string tmp4_8;volatile modelica_metatype tmp4_9;volatile modelica_metatype tmp4_10;volatile modelica_metatype tmp4_11;volatile modelica_metatype tmp4_12;volatile modelica_metatype tmp4_13;volatile modelica_metatype tmp4_14;volatile modelica_boolean tmp4_15;volatile modelica_metatype tmp4_16;volatile modelica_metatype tmp4_17;volatile modelica_metatype tmp4_18;volatile modelica_metatype tmp4_19;
2481 tmp4_1 = _inCache;
2482 tmp4_2 = _inEnv;
2483 tmp4_3 = _inIH;
2484 tmp4_4 = _inStore;
2485 tmp4_5 = _inState;
2486 tmp4_6 = _inMod;
2487 tmp4_7 = _inPrefix;
2488 tmp4_8 = _inName;
2489 tmp4_9 = _inClass;
2490 tmp4_10 = _inAttributes;
2491 tmp4_11 = _inPrefixes;
2492 tmp4_12 = _inDimensions;
2493 tmp4_13 = _inSubscripts;
2494 tmp4_14 = _inInstDims;
2495 tmp4_15 = _inImpl;
2496 tmp4_16 = _inComment;
2497 tmp4_17 = _inInfo;
2498 tmp4_18 = _inGraph;
2499 tmp4_19 = _inSets;
2500 {
2501 modelica_metatype _inst_dims = NULL((void*)0);
2502 modelica_metatype _inst_dims_1 = NULL((void*)0);
2503 modelica_metatype _e = NULL((void*)0);
2504 modelica_metatype _e_1 = NULL((void*)0);
2505 modelica_metatype _p = NULL((void*)0);
2506 modelica_metatype _env_1 = NULL((void*)0);
2507 modelica_metatype _env = NULL((void*)0);
2508 modelica_metatype _compenv = NULL((void*)0);
2509 modelica_metatype _csets = NULL((void*)0);
2510 modelica_metatype _ty = NULL((void*)0);
2511 modelica_metatype _ty_1 = NULL((void*)0);
2512 modelica_metatype _arrty = NULL((void*)0);
2513 modelica_metatype _ci_state = NULL((void*)0);
2514 modelica_metatype _cr = NULL((void*)0);
2515 modelica_metatype _ty_2 = NULL((void*)0);
2516 modelica_metatype _dae = NULL((void*)0);
2517 modelica_metatype _mod = NULL((void*)0);
2518 modelica_metatype _pre = NULL((void*)0);
2519 modelica_string _n = NULL((void*)0);
2520 modelica_metatype _cl = NULL((void*)0);
2521 modelica_metatype _attr = NULL((void*)0);
2522 modelica_metatype _dims = NULL((void*)0);
2523 modelica_metatype _idxs = NULL((void*)0);
2524 modelica_boolean _impl;
2525 modelica_metatype _comment = NULL((void*)0);
2526 modelica_metatype _dae_var_attr = NULL((void*)0);
2527 modelica_metatype _dime = NULL((void*)0);
2528 modelica_metatype _dim = NULL((void*)0);
2529 modelica_metatype _dim2 = NULL((void*)0);
2530 modelica_metatype _cache = NULL((void*)0);
2531 modelica_metatype _vis = NULL((void*)0);
2532 modelica_metatype _graph = NULL((void*)0);
2533 modelica_metatype _ih = NULL((void*)0);
2534 modelica_metatype _source = NULL((void*)0);
2535 modelica_metatype _dime2 = NULL((void*)0);
2536 modelica_metatype _pf = NULL((void*)0);
2537 modelica_metatype _fin = NULL((void*)0);
2538 modelica_metatype _info = NULL((void*)0);
2539 modelica_metatype _io = NULL((void*)0);
2540 modelica_metatype _store = NULL((void*)0);
2541 volatile mmc_switch_type tmp4;
2542 int tmp5;
2543 // _inst_dims has no default value.
2544 // _inst_dims_1 has no default value.
2545 // _e has no default value.
2546 // _e_1 has no default value.
2547 // _p has no default value.
2548 // _env_1 has no default value.
2549 // _env has no default value.
2550 // _compenv has no default value.
2551 // _csets has no default value.
2552 // _ty has no default value.
2553 // _ty_1 has no default value.
2554 // _arrty has no default value.
2555 // _ci_state has no default value.
2556 // _cr has no default value.
2557 // _ty_2 has no default value.
2558 // _dae has no default value.
2559 // _mod has no default value.
2560 // _pre has no default value.
2561 // _n has no default value.
2562 // _cl has no default value.
2563 // _attr has no default value.
2564 // _dims has no default value.
2565 // _idxs has no default value.
2566 // _impl has no default value.
2567 // _comment has no default value.
2568 // _dae_var_attr has no default value.
2569 // _dime has no default value.
2570 // _dim has no default value.
2571 // _dim2 has no default value.
2572 // _cache has no default value.
2573 // _vis has no default value.
2574 // _graph has no default value.
2575 // _ih has no default value.
2576 // _source has no default value.
2577 // _dime2 has no default value.
2578 // _pf has no default value.
2579 // _fin has no default value.
2580 // _info has no default value.
2581 // _io has no default value.
2582 // _store has no default value.
2583 tmp4 = 0;
2584 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) {
2585 tmp3_top:
2586 threadData->mmc_jumper = &new_mmc_jumper;
2587 for (; tmp4 < 10; tmp4++) {
2588 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2589 case 0: {
2590 modelica_boolean tmp6;
2591 if (mmc__uniontype__metarecord__typedef__equal(tmp4_6,0,5)((*(mmc_uint_t*)((void*)((char*)(tmp4_6) - 3)))==(((5 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
2592 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(5)))))
;
2593 if (!optionNone(tmpMeta[8])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[8]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
2594 if (mmc__uniontype__metarecord__typedef__equal(tmp4_9,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_9) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
2595 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_9), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_9) - 3))) +
(6)))))
;
2596 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[9],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
2597
2598 _mod = tmp4_6;
2599 _cl = tmp4_9;
2600 _cache = tmp4_1;
2601 _env = tmp4_2;
2602 _ih = tmp4_3;
2603 _store = tmp4_4;
2604 _ci_state = tmp4_5;
2605 _pre = tmp4_7;
2606 _n = tmp4_8;
2607 _attr = tmp4_10;
2608 _pf = tmp4_11;
2609 _dims = tmp4_12;
2610 _inst_dims = tmp4_14;
2611 _impl = tmp4_15;
2612 _comment = tmp4_16;
2613 _info = tmp4_17;
2614 _graph = tmp4_18;
2615 _csets = tmp4_19;
2616 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
2617#line 833 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2618 /* Pattern-matching assignment */
2619#line 833 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2620 tmp6 = omc_ClassInf_isFunction(threadData, _ci_state);
2621#line 833 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2622 if (1 != tmp6) goto goto_2;
2623#line 2623 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2624
2625#line 834 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2626 omc_InstUtil_checkFunctionVar(threadData, _n, _attr, _pf, _info);
2627#line 2627 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2628
2629#line 842 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2630 _cache = omc_Inst_instClass(threadData, _cache, _env, _ih, _store, _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)), _pre, _cl, _inst_dims, _impl, _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)), _graph, _csets ,&_env_1 ,&_ih ,&_store ,NULL((void*)0) ,&_csets ,&_ty ,NULL((void*)0) ,NULL((void*)0) ,&_graph);
2631#line 2631 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2632
2633#line 845 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2634 _ty_1 = omc_InstUtil_makeArrayType(threadData, _dims, _ty);
2635#line 2635 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2636
2637#line 846 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2638 omc_InstUtil_checkFunctionVarType(threadData, _ty_1, _ci_state, _n, _info);
2639#line 2639 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2640
2641#line 848 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2642 tmpMeta[8] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2643#line 848 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2644 _cache = omc_InstBinding_instDaeVariableAttributes(threadData, _cache, _env, _mod, _ty, tmpMeta[8] ,&_dae_var_attr);
2645#line 2645 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2646
2647#line 851 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2648 _ty_2 = omc_Types_simplifyType(threadData, _ty_1);
2649#line 2649 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2650
2651#line 852 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2652 tmpMeta[8] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2653#line 852 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2654 _cache = omc_PrefixUtil_prefixCref(threadData, _cache, _env, _ih, _pre, omc_ComponentReference_makeCrefIdent(threadData, _n, _ty_2, tmpMeta[8]) ,&_cr);
2655#line 2655 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2656
2657#line 855 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2658 /* Pattern-matching tuple assignment */
2659#line 855 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2660 tmpMeta[10] = omc_InstBinding_makeBinding(threadData, _cache, _env, _attr, _mod, _ty_2, _pre, _n, _info, &tmpMeta[8]);
2661#line 855 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2662 _cache = tmpMeta[10];
2663#line 855 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2664 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[8],1,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3)))==(((4 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto goto_2;
2665#line 855 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2666 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (2)))))
;
2667#line 855 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2668 _e = tmpMeta[9];
2669#line 2669 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2670
2671#line 858 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2672 _source = omc_ElementSource_createElementSource(threadData, _info, omc_FGraph_getScopePath(threadData, _env), _pre, _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)));
2673#line 2673 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2674
2675#line 861 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2676 /* Pattern-matching assignment */
2677#line 861 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2678 tmpMeta[8] = _pf;
2679#line 861 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2680 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (2)))))
;
2681#line 861 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2682 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (4)))))
;
2683#line 861 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2684 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (5)))))
;
2685#line 861 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2686 _vis = tmpMeta[9];
2687#line 861 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2688 _fin = tmpMeta[10];
2689#line 861 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2690 _io = tmpMeta[11];
2691#line 2691 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2692
2693#line 862 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2694 tmpMeta[8] = mmc_mk_cons(_dims, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
2695#line 862 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2696 _dae = omc_InstDAE_daeDeclare(threadData, _cache, _env, _env_1, _cr, _ci_state, _ty, _attr, _vis, mmc_mk_some(_e), tmpMeta[8], mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _dae_var_attr, mmc_mk_some(_comment), _io, _fin, _source, 1);
2697#line 2697 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2698
2699#line 863 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2700 _store = omc_UnitAbsynBuilder_instAddStore(threadData, _store, _ty, _cr);
2701#line 2701 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2702#line 864 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2703 tmpMeta[0+0] = _cache;
2704#line 864 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2705 tmpMeta[0+1] = _env_1;
2706#line 864 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2707 tmpMeta[0+2] = _ih;
2708#line 864 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2709 tmpMeta[0+3] = _store;
2710#line 864 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2711 tmpMeta[0+4] = _dae;
2712#line 864 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2713 tmpMeta[0+5] = _csets;
2714#line 864 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2715 tmpMeta[0+6] = _ty_1;
2716#line 864 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2717 tmpMeta[0+7] = _graph;
2718#line 2718 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2719 goto tmp3_done;
2720 }
2721 case 1: {
2722 modelica_boolean tmp7;
2723 if (mmc__uniontype__metarecord__typedef__equal(tmp4_6,0,5)((*(mmc_uint_t*)((void*)((char*)(tmp4_6) - 3)))==(((5 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
2724 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(5)))))
;
2725 if (optionNone(tmpMeta[8])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[8]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
2726 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (1)))))
;
2727
2728 _mod = tmp4_6;
2729 _cache = tmp4_1;
2730 _env = tmp4_2;
2731 _ih = tmp4_3;
2732 _store = tmp4_4;
2733 _ci_state = tmp4_5;
2734 _pre = tmp4_7;
2735 _n = tmp4_8;
2736 _cl = tmp4_9;
2737 _attr = tmp4_10;
2738 _pf = tmp4_11;
2739 _dims = tmp4_12;
2740 _inst_dims = tmp4_14;
2741 _impl = tmp4_15;
2742 _comment = tmp4_16;
2743 _info = tmp4_17;
2744 _graph = tmp4_18;
2745 _csets = tmp4_19;
2746 /* Pattern matching succeeded */
2747#line 871 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2748 /* Pattern-matching assignment */
2749#line 871 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2750 tmp7 = omc_ClassInf_isFunction(threadData, _ci_state);
2751#line 871 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2752 if (1 != tmp7) goto goto_2;
2753#line 2753 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2754
2755#line 872 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2756 omc_InstUtil_checkFunctionVar(threadData, _n, _attr, _pf, _info);
2757#line 2757 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2758
2759#line 875 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2760 /* Pattern-matching assignment */
2761#line 875 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2762 tmpMeta[8] = omc_Mod_modEquation(threadData, _mod);
2763#line 875 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2764 if (optionNone(tmpMeta[8])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[8]) - 3)))) >> 10)) ? 1 : 0)
) goto goto_2;
2765#line 875 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2766 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (1)))))
;
2767#line 875 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2768 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[9],0,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9]) - 3)))==(((5 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto goto_2;
2769#line 875 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2770 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[9]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[9]) - 3
))) + (2)))))
;
2771#line 875 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2772 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[9]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[9]) - 3
))) + (4)))))
;
2773#line 875 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2774 _e = tmpMeta[10];
2775#line 875 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2776 _p = tmpMeta[11];
2777#line 2777 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2778
2779#line 881 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2780 _cache = omc_Inst_instClass(threadData, _cache, _env, _ih, _store, _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)), _pre, _cl, _inst_dims, _impl, _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)), _graph, _csets ,&_env_1 ,&_ih ,&_store ,NULL((void*)0) ,&_csets ,&_ty ,NULL((void*)0) ,NULL((void*)0) ,&_graph);
2781#line 2781 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2782
2783#line 885 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2784 _ty_1 = omc_InstUtil_makeArrayType(threadData, _dims, _ty);
2785#line 2785 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2786
2787#line 886 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2788 omc_InstUtil_checkFunctionVarType(threadData, _ty_1, _ci_state, _n, _info);
2789#line 2789 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2790
2791#line 888 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2792 tmpMeta[8] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2793#line 888 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2794 _cache = omc_InstBinding_instDaeVariableAttributes(threadData, _cache, _env, _mod, _ty, tmpMeta[8] ,&_dae_var_attr);
2795#line 2795 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2796
2797#line 890 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2798 tmpMeta[8] = mmc_mk_box3(3, &DAE_Properties_PROP__desc, _ty_1, _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)));
2799#line 890 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2800 _e_1 = omc_Types_matchProp(threadData, _e, _p, tmpMeta[8], 1, NULL((void*)0));
2801#line 2801 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2802
2803#line 893 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2804 _ty_2 = omc_Types_simplifyType(threadData, _ty_1);
2805#line 2805 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2806
2807#line 894 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2808 tmpMeta[8] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2809#line 894 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2810 _cache = omc_PrefixUtil_prefixCref(threadData, _cache, _env, _ih, _pre, omc_ComponentReference_makeCrefIdent(threadData, _n, _ty_2, tmpMeta[8]) ,&_cr);
2811#line 2811 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2812
2813#line 897 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2814 _source = omc_ElementSource_createElementSource(threadData, _info, omc_FGraph_getScopePath(threadData, _env), _pre, _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)));
2815#line 2815 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2816
2817#line 900 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2818 /* Pattern-matching assignment */
2819#line 900 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2820 tmpMeta[8] = _pf;
2821#line 900 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2822 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (2)))))
;
2823#line 900 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2824 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (4)))))
;
2825#line 900 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2826 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (5)))))
;
2827#line 900 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2828 _vis = tmpMeta[9];
2829#line 900 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2830 _fin = tmpMeta[10];
2831#line 900 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2832 _io = tmpMeta[11];
2833#line 2833 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2834
2835#line 901 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2836 tmpMeta[8] = mmc_mk_cons(_dims, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
2837#line 901 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2838 _dae = omc_InstDAE_daeDeclare(threadData, _cache, _env, _env_1, _cr, _ci_state, _ty, _attr, _vis, mmc_mk_some(_e_1), tmpMeta[8], mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _dae_var_attr, mmc_mk_some(_comment), _io, _fin, _source, 1);
2839#line 2839 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2840
2841#line 902 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2842 _store = omc_UnitAbsynBuilder_instAddStore(threadData, _store, _ty, _cr);
2843#line 2843 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2844#line 903 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2845 tmpMeta[0+0] = _cache;
2846#line 903 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2847 tmpMeta[0+1] = _env_1;
2848#line 903 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2849 tmpMeta[0+2] = _ih;
2850#line 903 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2851 tmpMeta[0+3] = _store;
2852#line 903 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2853 tmpMeta[0+4] = _dae;
2854#line 903 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2855 tmpMeta[0+5] = _csets;
2856#line 903 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2857 tmpMeta[0+6] = _ty_1;
2858#line 903 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2859 tmpMeta[0+7] = _graph;
2860#line 2860 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2861 goto tmp3_done;
2862 }
2863 case 2: {
2864 modelica_boolean tmp8;
2865 if (mmc__uniontype__metarecord__typedef__equal(tmp4_9,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_9) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
2866
2867 _cl = tmp4_9;
2868 _cache = tmp4_1;
2869 _env = tmp4_2;
2870 _ih = tmp4_3;
2871 _store = tmp4_4;
2872 _ci_state = tmp4_5;
2873 _mod = tmp4_6;
2874 _pre = tmp4_7;
2875 _n = tmp4_8;
2876 _attr = tmp4_10;
2877 _pf = tmp4_11;
2878 _dims = tmp4_12;
2879 _inst_dims = tmp4_14;
2880 _impl = tmp4_15;
2881 _comment = tmp4_16;
2882 _info = tmp4_17;
2883 _graph = tmp4_18;
2884 _csets = tmp4_19;
2885 /* Pattern matching succeeded */
2886#line 910 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2887 /* Pattern-matching assignment */
2888#line 910 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2889 tmp8 = omc_ClassInf_isFunction(threadData, _ci_state);
2890#line 910 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2891 if (1 != tmp8) goto goto_2;
2892#line 2892 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2893
2894#line 911 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2895 omc_InstUtil_checkFunctionVar(threadData, _n, _attr, _pf, _info);
2896#line 2896 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2897
2898#line 914 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2899 _cache = omc_Inst_instClass(threadData, _cache, _env, _ih, _store, _mod, _pre, _cl, _inst_dims, _impl, _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)), _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)), _csets ,&_env_1 ,&_ih ,&_store ,NULL((void*)0) ,&_csets ,&_ty ,NULL((void*)0) ,NULL((void*)0) ,NULL((void*)0));
2900#line 2900 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2901
2902#line 917 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2903 _arrty = omc_InstUtil_makeArrayType(threadData, _dims, _ty);
2904#line 2904 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2905
2906#line 918 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2907 omc_InstUtil_checkFunctionVarType(threadData, _arrty, _ci_state, _n, _info);
2908#line 2908 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2909
2910#line 919 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2911 tmpMeta[8] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2912#line 919 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2913 _cache = omc_PrefixUtil_prefixCref(threadData, _cache, _env, _ih, _pre, omc_ComponentReference_makeCrefIdent(threadData, _n, _arrty, tmpMeta[8]) ,&_cr);
2914#line 2914 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2915
2916#line 920 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2917 tmpMeta[8] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2918#line 920 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2919 _cache = omc_InstBinding_instDaeVariableAttributes(threadData, _cache, _env, _mod, _ty, tmpMeta[8] ,&_dae_var_attr);
2920#line 2920 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2921
2922#line 923 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2923 _source = omc_ElementSource_createElementSource(threadData, _info, omc_FGraph_getScopePath(threadData, _env), _pre, _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)));
2924#line 2924 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2925
2926#line 925 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2927 /* Pattern-matching assignment */
2928#line 925 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2929 tmpMeta[8] = _pf;
2930#line 925 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2931 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (2)))))
;
2932#line 925 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2933 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (4)))))
;
2934#line 925 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2935 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (5)))))
;
2936#line 925 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2937 _vis = tmpMeta[9];
2938#line 925 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2939 _fin = tmpMeta[10];
2940#line 925 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2941 _io = tmpMeta[11];
2942#line 2942 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2943
2944#line 926 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2945 tmpMeta[8] = mmc_mk_cons(_dims, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
2946#line 926 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2947 _dae = omc_InstDAE_daeDeclare(threadData, _cache, _env, _env_1, _cr, _ci_state, _ty, _attr, _vis, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), tmpMeta[8], mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _dae_var_attr, mmc_mk_some(_comment), _io, _fin, _source, 1);
2948#line 2948 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2949
2950#line 927 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2951 _store = omc_UnitAbsynBuilder_instAddStore(threadData, _store, _ty, _cr);
2952#line 2952 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2953#line 928 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2954 tmpMeta[0+0] = _cache;
2955#line 928 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2956 tmpMeta[0+1] = _env_1;
2957#line 928 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2958 tmpMeta[0+2] = _ih;
2959#line 928 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2960 tmpMeta[0+3] = _store;
2961#line 928 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2962 tmpMeta[0+4] = _dae;
2963#line 928 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2964 tmpMeta[0+5] = _csets;
2965#line 928 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2966 tmpMeta[0+6] = _arrty;
2967#line 928 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2968 tmpMeta[0+7] = _graph;
2969#line 2969 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2970 goto tmp3_done;
2971 }
2972 case 3: {
2973 modelica_boolean tmp9;
2974 if (!listEmpty(tmp4_12)((*(mmc_uint_t*)((void*)((char*)(tmp4_12) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2975
2976 tmp4 += 5; /* Pattern matching succeeded; we may skip some cases if we fail */
2977#line 934 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2978 /* Pattern-matching assignment */
2979#line 934 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2980 tmp9 = omc_ClassInf_isFunction(threadData, _inState);
2981#line 934 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2982 if (0 != tmp9) goto goto_2;
2983#line 2983 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2984#line 936 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
2985 tmpMeta[0+0] = omc_InstVar_instScalar(threadData, _inCache, _inEnv, _inIH, _inStore, _inState, _inMod, _inPrefix, _inName, _inClass, _inAttributes, _inPrefixes, _inSubscripts, _inInstDims, _inImpl, mmc_mk_some(_inComment), _inInfo, _inGraph, _inSets, &tmpMeta[0+1], &tmpMeta[0+2], &tmpMeta[0+3], &tmpMeta[0+4], &tmpMeta[0+5], &tmpMeta[0+6], &tmpMeta[0+7]);
2986#line 2986 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
2987 goto tmp3_done;
2988 }
2989 case 4: {
2990 modelica_boolean tmp10;
2991 modelica_boolean tmp11;
2992 if (listEmpty(tmp4_12)((*(mmc_uint_t*)((void*)((char*)(tmp4_12) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2993 tmpMeta[8] = MMC_CAR(tmp4_12)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_12) - 3)))
+ (1)))))
;
2994 tmpMeta[9] = MMC_CDR(tmp4_12)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_12) - 3)))
+ (2)))))
;
2995 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[8],4,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3)))==(((0 +1)
<< 10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
2996 if (mmc__uniontype__metarecord__typedef__equal(tmp4_6,0,5)((*(mmc_uint_t*)((void*)((char*)(tmp4_6) - 3)))==(((5 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
2997 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(5)))))
;
2998 if (optionNone(tmpMeta[10])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[10]) - 3))))
& (7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta
[10]) - 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char
*)(tmpMeta[10]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
2999 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[10]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[10]) - 3
))) + (1)))))
;
3000 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[11],0,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[11]) - 3)))==(((5 +1
) << 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
3001
3002 _dim = tmpMeta[8];
3003 _dims = tmpMeta[9];
3004 _mod = tmp4_6;
3005 _cache = tmp4_1;
3006 _env = tmp4_2;
3007 _ih = tmp4_3;
3008 _store = tmp4_4;
3009 _ci_state = tmp4_5;
3010 _pre = tmp4_7;
3011 _n = tmp4_8;
3012 _cl = tmp4_9;
3013 _attr = tmp4_10;
3014 _pf = tmp4_11;
3015 _idxs = tmp4_13;
3016 _inst_dims = tmp4_14;
3017 _impl = tmp4_15;
3018 _comment = tmp4_16;
3019 _info = tmp4_17;
3020 _graph = tmp4_18;
3021 _csets = tmp4_19;
3022 /* Pattern matching succeeded */
3023#line 947 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3024 /* Pattern-matching assignment */
3025#line 947 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3026 tmp10 = omc_Config_splitArrays(threadData);
3027#line 947 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3028 if (1 != tmp10) goto goto_2;
3029#line 3029 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3030
3031#line 948 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3032 /* Pattern-matching assignment */
3033#line 948 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3034 tmp11 = omc_ClassInf_isFunction(threadData, _ci_state);
3035#line 948 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3036 if (0 != tmp11) goto goto_2;
3037#line 3037 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3038
3039#line 951 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3040 _dim2 = omc_InstUtil_instWholeDimFromMod(threadData, _dim, _mod, _n, _info);
3041#line 3041 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3042
3043#line 952 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3044 tmpMeta[8] = mmc_mk_cons(_dim2, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3045#line 952 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3046 _inst_dims_1 = omc_List_appendLastList(threadData, _inst_dims, tmpMeta[8]);
3047#line 3047 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3048
3049#line 954 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3050 tmpMeta[8] = mmc_mk_box2(0, _cl, _attr);
3051#line 954 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3052 _cache = omc_InstVar_instArray(threadData, _cache, _env, _ih, _store, _ci_state, _mod, _pre, _n, tmpMeta[8], _pf, ((modelica_integer) 1), _dim2, _dims, _idxs, _inst_dims_1, _impl, _comment, _info, _graph, _csets ,&_compenv ,&_ih ,&_store ,&_dae ,&_csets ,&_ty ,&_graph);
3053#line 3053 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3054
3055#line 956 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3056 _ty_1 = omc_InstUtil_liftNonBasicTypes(threadData, _ty, _dim2);
3057#line 3057 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3058#line 957 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3059 tmpMeta[0+0] = _cache;
3060#line 957 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3061 tmpMeta[0+1] = _compenv;
3062#line 957 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3063 tmpMeta[0+2] = _ih;
3064#line 957 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3065 tmpMeta[0+3] = _store;
3066#line 957 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3067 tmpMeta[0+4] = _dae;
3068#line 957 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3069 tmpMeta[0+5] = _csets;
3070#line 957 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3071 tmpMeta[0+6] = _ty_1;
3072#line 957 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3073 tmpMeta[0+7] = _graph;
3074#line 3074 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3075 goto tmp3_done;
3076 }
3077 case 5: {
3078 modelica_boolean tmp12;
3079 modelica_boolean tmp13;
3080 if (listEmpty(tmp4_12)((*(mmc_uint_t*)((void*)((char*)(tmp4_12) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3081 tmpMeta[8] = MMC_CAR(tmp4_12)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_12) - 3)))
+ (1)))))
;
3082 tmpMeta[9] = MMC_CDR(tmp4_12)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_12) - 3)))
+ (2)))))
;
3083 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[8],4,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3)))==(((0 +1)
<< 10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
3084 if (mmc__uniontype__metarecord__typedef__equal(tmp4_6,0,5)((*(mmc_uint_t*)((void*)((char*)(tmp4_6) - 3)))==(((5 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
3085 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(5)))))
;
3086 if (optionNone(tmpMeta[10])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[10]) - 3))))
& (7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta
[10]) - 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char
*)(tmpMeta[10]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
3087 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[10]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[10]) - 3
))) + (1)))))
;
3088 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[11],0,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[11]) - 3)))==(((5 +1
) << 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
3089
3090 _dim = tmpMeta[8];
3091 _dims = tmpMeta[9];
3092 _mod = tmp4_6;
3093 _cache = tmp4_1;
3094 _env = tmp4_2;
3095 _ih = tmp4_3;
3096 _store = tmp4_4;
3097 _ci_state = tmp4_5;
3098 _pre = tmp4_7;
3099 _n = tmp4_8;
3100 _cl = tmp4_9;
3101 _attr = tmp4_10;
3102 _pf = tmp4_11;
3103 _idxs = tmp4_13;
3104 _inst_dims = tmp4_14;
3105 _impl = tmp4_15;
3106 _comment = tmp4_16;
3107 _info = tmp4_17;
3108 _graph = tmp4_18;
3109 _csets = tmp4_19;
3110 /* Pattern matching succeeded */
3111#line 964 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3112 /* Pattern-matching assignment */
3113#line 964 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3114 tmp12 = omc_Config_splitArrays(threadData);
3115#line 964 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3116 if (0 != tmp12) goto goto_2;
3117#line 3117 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3118
3119#line 965 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3120 /* Pattern-matching assignment */
3121#line 965 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3122 tmp13 = omc_ClassInf_isFunction(threadData, _ci_state);
3123#line 965 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3124 if (0 != tmp13) goto goto_2;
3125#line 3125 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3126
3127#line 974 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3128 _dim2 = omc_InstUtil_instWholeDimFromMod(threadData, _dim, _mod, _n, _info);
3129#line 3129 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3130
3131#line 975 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3132 tmpMeta[8] = mmc_mk_cons(_dim2, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3133#line 975 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3134 _inst_dims_1 = omc_List_appendLastList(threadData, _inst_dims, tmpMeta[8]);
3135#line 3135 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3136
3137#line 976 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3138 _dime2 = omc_Expression_dimensionSubscript(threadData, _dim2);
3139#line 3139 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3140
3141#line 978 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3142 tmpMeta[8] = mmc_mk_cons(_dime2, _idxs);
3143#line 978 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3144 _cache = omc_InstVar_instVar2(threadData, _cache, _env, _ih, _store, _ci_state, _mod, _pre, _n, _cl, _attr, _pf, _dims, tmpMeta[8], _inst_dims_1, _impl, _comment, _info, _graph, _csets ,&_compenv ,&_ih ,&_store ,&_dae ,&_csets ,&_ty ,&_graph);
3145#line 3145 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3146
3147#line 980 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3148 _ty_1 = omc_InstUtil_liftNonBasicTypes(threadData, _ty, _dim2);
3149#line 3149 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3150#line 981 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3151 tmpMeta[0+0] = _cache;
3152#line 981 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3153 tmpMeta[0+1] = _compenv;
3154#line 981 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3155 tmpMeta[0+2] = _ih;
3156#line 981 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3157 tmpMeta[0+3] = _store;
3158#line 981 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3159 tmpMeta[0+4] = _dae;
3160#line 981 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3161 tmpMeta[0+5] = _csets;
3162#line 981 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3163 tmpMeta[0+6] = _ty_1;
3164#line 981 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3165 tmpMeta[0+7] = _graph;
3166#line 3166 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3167 goto tmp3_done;
3168 }
3169 case 6: {
3170 modelica_boolean tmp14;
3171 modelica_boolean tmp15;
3172 if (listEmpty(tmp4_12)((*(mmc_uint_t*)((void*)((char*)(tmp4_12) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3173 tmpMeta[8] = MMC_CAR(tmp4_12)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_12) - 3)))
+ (1)))))
;
3174 tmpMeta[9] = MMC_CDR(tmp4_12)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_12) - 3)))
+ (2)))))
;
3175
3176 _dim = tmpMeta[8];
3177 _dims = tmpMeta[9];
3178 _cache = tmp4_1;
3179 _env = tmp4_2;
3180 _ih = tmp4_3;
3181 _store = tmp4_4;
3182 _ci_state = tmp4_5;
3183 _mod = tmp4_6;
3184 _pre = tmp4_7;
3185 _n = tmp4_8;
3186 _cl = tmp4_9;
3187 _attr = tmp4_10;
3188 _pf = tmp4_11;
3189 _idxs = tmp4_13;
3190 _inst_dims = tmp4_14;
3191 _impl = tmp4_15;
3192 _comment = tmp4_16;
3193 _info = tmp4_17;
3194 _graph = tmp4_18;
3195 _csets = tmp4_19;
3196 /* Pattern matching succeeded */
3197#line 987 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3198 /* Pattern-matching assignment */
3199#line 987 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3200 tmp14 = omc_Config_splitArrays(threadData);
3201#line 987 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3202 if (1 != tmp14) goto goto_2;
3203#line 3203 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3204
3205#line 988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3206 /* Pattern-matching assignment */
3207#line 988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3208 tmp15 = omc_ClassInf_isFunction(threadData, _ci_state);
3209#line 988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3210 if (0 != tmp15) goto goto_2;
3211#line 3211 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3212
3213#line 991 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3214 tmpMeta[8] = mmc_mk_cons(_dim, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3215#line 991 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3216 _inst_dims_1 = omc_List_appendLastList(threadData, _inst_dims, tmpMeta[8]);
3217#line 3217 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3218
3219#line 993 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3220 tmpMeta[8] = mmc_mk_box2(0, _cl, _attr);
3221#line 993 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3222 _cache = omc_InstVar_instArray(threadData, _cache, _env, _ih, _store, _ci_state, _mod, _pre, _n, tmpMeta[8], _pf, ((modelica_integer) 1), _dim, _dims, _idxs, _inst_dims_1, _impl, _comment, _info, _graph, _csets ,&_compenv ,&_ih ,&_store ,&_dae ,&_csets ,&_ty ,&_graph);
3223#line 3223 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3224
3225#line 995 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3226 _ty_1 = omc_InstUtil_liftNonBasicTypes(threadData, _ty, _dim);
3227#line 3227 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3228#line 996 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3229 tmpMeta[0+0] = _cache;
3230#line 996 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3231 tmpMeta[0+1] = _compenv;
3232#line 996 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3233 tmpMeta[0+2] = _ih;
3234#line 996 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3235 tmpMeta[0+3] = _store;
3236#line 996 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3237 tmpMeta[0+4] = _dae;
3238#line 996 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3239 tmpMeta[0+5] = _csets;
3240#line 996 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3241 tmpMeta[0+6] = _ty_1;
3242#line 996 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3243 tmpMeta[0+7] = _graph;
3244#line 3244 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3245 goto tmp3_done;
3246 }
3247 case 7: {
3248 modelica_boolean tmp16;
3249 modelica_boolean tmp17;
3250 if (listEmpty(tmp4_12)((*(mmc_uint_t*)((void*)((char*)(tmp4_12) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3251 tmpMeta[8] = MMC_CAR(tmp4_12)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_12) - 3)))
+ (1)))))
;
3252 tmpMeta[9] = MMC_CDR(tmp4_12)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_12) - 3)))
+ (2)))))
;
3253
3254 _dim = tmpMeta[8];
3255 _dims = tmpMeta[9];
3256 _cache = tmp4_1;
3257 _env = tmp4_2;
3258 _ih = tmp4_3;
3259 _store = tmp4_4;
3260 _ci_state = tmp4_5;
3261 _mod = tmp4_6;
3262 _pre = tmp4_7;
3263 _n = tmp4_8;
3264 _cl = tmp4_9;
3265 _attr = tmp4_10;
3266 _pf = tmp4_11;
3267 _idxs = tmp4_13;
3268 _inst_dims = tmp4_14;
3269 _impl = tmp4_15;
3270 _comment = tmp4_16;
3271 _info = tmp4_17;
3272 _graph = tmp4_18;
3273 _csets = tmp4_19;
3274 /* Pattern matching succeeded */
3275#line 1002 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3276 /* Pattern-matching assignment */
3277#line 1002 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3278 tmp16 = omc_Config_splitArrays(threadData);
3279#line 1002 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3280 if (0 != tmp16) goto goto_2;
3281#line 3281 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3282
3283#line 1003 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3284 /* Pattern-matching assignment */
3285#line 1003 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3286 tmp17 = omc_ClassInf_isFunction(threadData, _ci_state);
3287#line 1003 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3288 if (0 != tmp17) goto goto_2;
3289#line 3289 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3290
3291#line 1009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3292 tmpMeta[8] = mmc_mk_cons(_dim, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3293#line 1009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3294 _inst_dims_1 = omc_List_appendLastList(threadData, _inst_dims, tmpMeta[8]);
3295#line 3295 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3296
3297#line 1010 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3298 _dime = omc_Expression_dimensionSubscript(threadData, _dim);
3299#line 3299 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3300#line 1012 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3301 tmpMeta[8] = mmc_mk_cons(_dime, _idxs);
3302#line 1012 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3303 tmpMeta[0+0] = omc_InstVar_instVar2(threadData, _cache, _env, _ih, _store, _ci_state, _mod, _pre, _n, _cl, _attr, _pf, _dims, tmpMeta[8], _inst_dims_1, _impl, _comment, _info, _graph, _csets, &tmpMeta[0+1], &tmpMeta[0+2], &tmpMeta[0+3], &tmpMeta[0+4], &tmpMeta[0+5], &tmpMeta[0+6], &tmpMeta[0+7]);
3304#line 3304 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3305 goto tmp3_done;
3306 }
3307 case 8: {
3308 modelica_string tmp18;
3309 if (mmc__uniontype__metarecord__typedef__equal(tmp4_6,2,0)((*(mmc_uint_t*)((void*)((char*)(tmp4_6) - 3)))==(((0 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
3310 if (listEmpty(tmp4_12)((*(mmc_uint_t*)((void*)((char*)(tmp4_12) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3311 tmpMeta[8] = MMC_CAR(tmp4_12)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_12) - 3)))
+ (1)))))
;
3312 tmpMeta[9] = MMC_CDR(tmp4_12)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_12) - 3)))
+ (2)))))
;
3313 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[8],4,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3)))==(((0 +1)
<< 10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
3314
3315 _n = tmp4_8;
3316 _info = tmp4_17;
3317 /* Pattern matching succeeded */
3318#line 1023 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3319 tmp18 = modelica_integer_to_modelica_string(((modelica_integer) 1) + listLength(_inSubscripts), ((modelica_integer) 0), 1);
3320#line 1023 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3321 tmpMeta[8] = mmc_mk_cons(tmp18, mmc_mk_cons(_n, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))));
3322#line 1023 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3323 omc_Error_addSourceMessage(threadData, _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)), tmpMeta[8], _info);
3324#line 3324 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3325#line 1025 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3326 goto goto_2;
3327#line 3327 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3328 goto tmp3_done;
3329 }
3330 case 9: {
3331 modelica_boolean tmp19;
3332
3333 _env = tmp4_2;
3334 _mod = tmp4_6;
3335 _pre = tmp4_7;
3336 _n = tmp4_8;
3337 /* Pattern matching succeeded */
3338#line 1031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3339 /* Pattern-matching assignment */
3340#line 1031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3341 tmp19 = omc_Flags_isSet(threadData, _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)));
3342#line 1031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3343 if (1 != tmp19) goto goto_2;
3344#line 3344 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3345
3346#line 1032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3347 tmpMeta[8] = stringAppend(_OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)),omc_PrefixUtil_printPrefixStr(threadData, _pre));
3348#line 1032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3349 tmpMeta[9] = stringAppend(tmpMeta[8],_OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)));
3350#line 1032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3351 tmpMeta[10] = stringAppend(tmpMeta[9],_n);
3352#line 1032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3353 tmpMeta[11] = stringAppend(tmpMeta[10],_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
3354#line 1032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3355 tmpMeta[12] = stringAppend(tmpMeta[11],omc_Mod_prettyPrintMod(threadData, _mod, ((modelica_integer) 0)));
3356#line 1032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3357 tmpMeta[13] = stringAppend(tmpMeta[12],_OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)));
3358#line 1032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3359 tmpMeta[14] = stringAppend(tmpMeta[13],omc_FGraph_printGraphPathStr(threadData, _env));
3360#line 1032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3361 omc_Debug_traceln(threadData, tmpMeta[14]);
3362#line 3362 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3363#line 1036 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3364 goto goto_2;
3365#line 3365 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3366 goto tmp3_done;
3367 }
3368 }
3369 goto tmp3_end;
3370 tmp3_end: ;
3371 }
3372 goto goto_2;
3373 tmp3_done:
3374 (void)tmp4;
3375 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3376 goto tmp3_done2;
3377 goto_2:;
3378 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3379 if (++tmp4 < 10) {
3380 goto tmp3_top;
3381 }
3382 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3383 tmp3_done2:;
3384 }
3385 }
3386 _outCache = tmpMeta[0+0];
3387 _outEnv = tmpMeta[0+1];
3388 _outIH = tmpMeta[0+2];
3389 _outStore = tmpMeta[0+3];
3390 _outDae = tmpMeta[0+4];
3391 _outSets = tmpMeta[0+5];
3392 _outType = tmpMeta[0+6];
3393 _outGraph = tmpMeta[0+7];
3394 _return: OMC_LABEL_UNUSED__attribute__((unused))
3395 if (out_outEnv) { *out_outEnv = _outEnv; }
3396 if (out_outIH) { *out_outIH = _outIH; }
3397 if (out_outStore) { *out_outStore = _outStore; }
3398 if (out_outDae) { *out_outDae = _outDae; }
3399 if (out_outSets) { *out_outSets = _outSets; }
3400 if (out_outType) { *out_outType = _outType; }
3401 if (out_outGraph) { *out_outGraph = _outGraph; }
3402 return _outCache;
3403}
3404PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstVar_instVar2(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inName, modelica_metatype _inClass, modelica_metatype _inAttributes, modelica_metatype _inPrefixes, modelica_metatype _inDimensions, modelica_metatype _inSubscripts, modelica_metatype _inInstDims, modelica_metatype _inImpl, modelica_metatype _inComment, modelica_metatype _inInfo, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph)
3405{
3406 modelica_integer tmp1;
3407 modelica_metatype _outCache = NULL((void*)0);
3408 tmp1 = mmc_unbox_integer(_inImpl)(((mmc_sint_t) (_inImpl)) >> 1);
3409 _outCache = omc_InstVar_instVar2(threadData, _inCache, _inEnv, _inIH, _inStore, _inState, _inMod, _inPrefix, _inName, _inClass, _inAttributes, _inPrefixes, _inDimensions, _inSubscripts, _inInstDims, tmp1, _inComment, _inInfo, _inGraph, _inSets, out_outEnv, out_outIH, out_outStore, out_outDae, out_outSets, out_outType, out_outGraph);
3410 /* skip box _outCache; FCore.Cache */
3411 /* skip box _outEnv; FCore.Graph */
3412 /* skip box _outIH; list<InnerOuter.TopInstance> */
3413 /* skip box _outStore; UnitAbsyn.InstStore */
3414 /* skip box _outDae; DAE.DAElist */
3415 /* skip box _outSets; DAE.Connect.Sets */
3416 /* skip box _outType; DAE.Type */
3417 /* skip box _outGraph; ConnectionGraph.ConnectionGraph */
3418 return _outCache;
3419}
3420
3421PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_addArrayVarEquation(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inState, modelica_metatype _inDae, modelica_metatype _inType, modelica_metatype _mod, modelica_metatype _const, modelica_metatype _pre, modelica_string _n, modelica_metatype _source, modelica_metatype *out_outDae)
3422{
3423 modelica_metatype _outCache = NULL((void*)0);
3424 modelica_metatype _outDae = NULL((void*)0);
3425 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
3426 MMC_SO()mmc_check_stackoverflow(threadData);
3427 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3428 // _outCache has no default value.
3429 // _outDae has no default value.
3430#line 706 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3431
3432#line 706 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3433
3434#line 3434 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3435 { /* matchcontinue expression */
3436 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
3437 tmp4_1 = _inDae;
3438 tmp4_2 = _const;
3439 {
3440 modelica_metatype _cache = NULL((void*)0);
3441 modelica_metatype _dae = NULL((void*)0);
3442 modelica_metatype _exp = NULL((void*)0);
3443 modelica_metatype _eq = NULL((void*)0);
3444 modelica_metatype _dims = NULL((void*)0);
3445 modelica_metatype _cr = NULL((void*)0);
3446 modelica_metatype _ty = NULL((void*)0);
3447 volatile mmc_switch_type tmp4;
3448 int tmp5;
3449 // _cache has no default value.
3450 // _dae has no default value.
3451 // _exp has no default value.
3452 // _eq has no default value.
3453 // _dims has no default value.
3454 // _cr has no default value.
3455 // _ty has no default value.
3456 tmp4 = 0;
3457 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) {
3458 tmp3_top:
3459 threadData->mmc_jumper = &new_mmc_jumper;
3460 for (; tmp4 < 3; tmp4++) {
3461 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3462 case 0: {
3463 modelica_boolean tmp6;
3464
3465 /* Pattern matching succeeded */
3466#line 719 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3467 /* Pattern-matching assignment */
3468#line 719 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3469 tmp6 = omc_Config_scalarizeBindings(threadData);
3470#line 719 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3471 if (1 != tmp6) goto goto_2;
3472#line 3472 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3473#line 720 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3474 tmpMeta[0+0] = _inCache;
3475#line 720 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3476 tmpMeta[0+1] = _inDae;
3477#line 3477 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3478 goto tmp3_done;
3479 }
3480 case 1: {
3481 modelica_boolean tmp7;
3482 modelica_boolean tmp8;
3483 modelica_boolean tmp9;
3484 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,2,0)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((0 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
3485 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3486 _dae = tmpMeta[2];
3487 /* Pattern matching succeeded */
3488#line 725 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3489 /* Pattern-matching assignment */
3490#line 725 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3491 tmp7 = omc_ClassInf_isFunctionOrRecord(threadData, _inState);
3492#line 725 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3493 if (0 != tmp7) goto goto_2;
3494#line 3494 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3495
3496#line 726 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3497 _ty = omc_Types_simplifyType(threadData, _inType);
3498#line 3498 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3499
3500#line 727 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3501 /* Pattern-matching assignment */
3502#line 727 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3503 tmp8 = omc_Types_isExternalObject(threadData, omc_Types_arrayElementType(threadData, _ty));
3504#line 727 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3505 if (0 != tmp8) goto goto_2;
3506#line 3506 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3507
3508#line 728 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3509 /* Pattern-matching assignment */
3510#line 728 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3511 tmp9 = omc_Types_isComplexType(threadData, omc_Types_arrayElementType(threadData, _ty));
3512#line 728 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3513 if (0 != tmp9) goto goto_2;
3514#line 3514 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3515
3516#line 729 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3517 /* Pattern-matching assignment */
3518#line 729 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3519 tmpMeta[2] = omc_Types_getDimensions(threadData, _ty);
3520#line 729 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3521 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto goto_2;
3522#line 729 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3523 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
3524#line 729 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3525 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
3526#line 729 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3527 _dims = tmpMeta[2];
3528#line 3528 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3529
3530#line 730 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3531 /* Pattern-matching assignment */
3532#line 730 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3533 tmpMeta[2] = omc_InstBinding_makeVariableBinding(threadData, _ty, _mod, _const, _pre, _n);
3534#line 730 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3535 if (optionNone(tmpMeta[2])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[2]) - 3)))) >> 10)) ? 1 : 0)
) goto goto_2;
3536#line 730 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3537 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
3538#line 730 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3539 _exp = tmpMeta[3];
3540#line 3540 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3541
3542#line 731 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3543 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3544#line 731 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3545 _cr = omc_ComponentReference_makeCrefIdent(threadData, _n, _ty, tmpMeta[2]);
3546#line 3546 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3547
3548#line 732 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3549 _cache = omc_PrefixUtil_prefixCref(threadData, _inCache, _inEnv, _inIH, _pre, _cr ,&_cr);
3550#line 3550 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3551
3552#line 733 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3553 tmpMeta[2] = mmc_mk_box3(9, &DAE_Exp_CREF__desc, _cr, _ty);
3554#line 733 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3555 tmpMeta[3] = mmc_mk_box5(8, &DAE_Element_ARRAY__EQUATION__desc, _dims, tmpMeta[2], _exp, _source);
3556#line 733 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3557 _eq = tmpMeta[3];
3558#line 3558 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3559#line 735 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3560 tmpMeta[2] = mmc_mk_cons(_eq, _dae);
3561#line 735 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3562 tmpMeta[3] = mmc_mk_box2(3, &DAE_DAElist_DAE__desc, tmpMeta[2]);
3563#line 735 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3564 tmpMeta[0+0] = _cache;
3565#line 735 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3566 tmpMeta[0+1] = tmpMeta[3];
3567#line 3567 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3568 goto tmp3_done;
3569 }
3570 case 2: {
3571
3572 /* Pattern matching succeeded */
3573#line 737 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3574 tmpMeta[0+0] = _inCache;
3575#line 737 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3576 tmpMeta[0+1] = _inDae;
3577#line 3577 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3578 goto tmp3_done;
3579 }
3580 }
3581 goto tmp3_end;
3582 tmp3_end: ;
3583 }
3584 goto goto_2;
3585 tmp3_done:
3586 (void)tmp4;
3587 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3588 goto tmp3_done2;
3589 goto_2:;
3590 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3591 if (++tmp4 < 3) {
3592 goto tmp3_top;
3593 }
3594 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3595 tmp3_done2:;
3596 }
3597 }
3598 _outCache = tmpMeta[0+0];
3599 _outDae = tmpMeta[0+1];
3600 _return: OMC_LABEL_UNUSED__attribute__((unused))
3601 if (out_outDae) { *out_outDae = _outDae; }
3602 return _outCache;
3603}
3604
3605PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_liftUserTypeEqMod(threadData_t *threadData, modelica_metatype _inEqMod, modelica_metatype _inDims)
3606{
3607 modelica_metatype _outEqMod = NULL((void*)0);
3608 modelica_metatype _eq = NULL((void*)0);
3609 modelica_metatype _ty = NULL((void*)0);
3610 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3611 MMC_SO()mmc_check_stackoverflow(threadData);
3612 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3613 // _outEqMod has no default value.
3614 // _eq has no default value.
3615 // _ty has no default value.
3616#line 666 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3617 if(isNone(_inEqMod)(0==((((((*(mmc_uint_t*)((void*)((char*)(_inEqMod) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(_inEqMod) -
3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(_inEqMod
) - 3)))) >> 10)) ? 1 : 0)
)
3618#line 666 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3619 {
3620#line 667 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3621 _outEqMod = _inEqMod;
3622#line 3622 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3623
3624#line 668 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3625 goto _return;
3626#line 3626 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3627 }
3628
3629#line 671 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3630 /* Pattern-matching assignment */
3631#line 671 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3632 tmpMeta[0] = _inEqMod;
3633#line 671 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3634 if (optionNone(tmpMeta[0])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[0]) - 3)))) >> 10)) ? 1 : 0)
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3635#line 671 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3636 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
3637#line 671 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3638 _eq = tmpMeta[1];
3639#line 3639 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3640
3641#line 3641 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3642 { /* match expression */
3643 modelica_metatype tmp3_1;
3644 tmp3_1 = _eq;
3645 {
3646 volatile mmc_switch_type tmp3;
3647 int tmp4;
3648 tmp3 = 0;
3649 for (; tmp3 < 2; tmp3++) {
3650 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3651 case 0: {
3652 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;
3653
3654 /* Pattern matching succeeded */
3655#line 676 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3656 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
3657#line 676 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3658 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_eq)((void*)((char*)(_eq) - 3)), 7*sizeof(modelica_metatype));
3659#line 676 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3660 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[2] = omc_Expression_liftExpList(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
2)))))
), _inDims);
3661#line 676 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3662 _eq = tmpMeta[1];
3663#line 3663 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3664
3665#line 677 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3666 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
3667#line 677 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3668 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_eq)((void*)((char*)(_eq) - 3)), 7*sizeof(modelica_metatype));
3669#line 677 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3670 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[3] = omc_Util_applyOption1(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
3)))))
), boxvar_ValuesUtil_liftValueList((void*)((char*)(&(boxvar_lit_ValuesUtil_liftValueList).header
) + 3))
, _inDims);
3671#line 677 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3672 _eq = tmpMeta[1];
3673#line 3673 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3674
3675#line 679 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3676 _ty = omc_Types_getPropType(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
4)))))
));
3677#line 3677 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3678
3679#line 680 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3680 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
3681#line 680 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3682 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_eq)((void*)((char*)(_eq) - 3)), 7*sizeof(modelica_metatype));
3683#line 680 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3684 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[4] = omc_Types_setPropType(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
4)))))
), omc_Types_liftArrayListDims(threadData, _ty, _inDims));
3685#line 680 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3686 _eq = tmpMeta[1];
3687#line 3687 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3688#line 682 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3689 tmpMeta[0] = _eq;
3690#line 3690 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3691 goto tmp2_done;
3692 }
3693 case 1: {
3694
3695 /* Pattern matching succeeded */
3696#line 685 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3697 tmpMeta[0] = _eq;
3698#line 3698 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3699 goto tmp2_done;
3700 }
3701 }
3702 goto tmp2_end;
3703 tmp2_end: ;
3704 }
3705 goto goto_1;
3706 goto_1:;
3707 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3708 goto tmp2_done;
3709 tmp2_done:;
3710 }
3711 }
3712 _eq = tmpMeta[0];
3713
3714#line 688 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3715 _outEqMod = mmc_mk_some(_eq);
3716#line 3716 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3717 _return: OMC_LABEL_UNUSED__attribute__((unused))
3718 return _outEqMod;
3719}
3720
3721PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_liftUserTypeSubMod(threadData_t *threadData, modelica_metatype _inSubMod, modelica_metatype _inDims)
3722{
3723 modelica_metatype _outSubMod = NULL((void*)0);
3724 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3725 MMC_SO()mmc_check_stackoverflow(threadData);
3726 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3727 _outSubMod = _inSubMod;
3728#line 3728 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3729 { /* match expression */
3730 modelica_metatype tmp3_1;
3731 tmp3_1 = _outSubMod;
3732 {
3733 volatile mmc_switch_type tmp3;
3734 int tmp4;
3735 tmp3 = 0;
3736 for (; tmp3 < 1; tmp3++) {
3737 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3738 case 0: {
3739
3740 /* Pattern matching succeeded */
3741#line 652 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3742 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(4))((void*)((char*)(mmc_alloc_words(4)) + 3));
3743#line 652 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3744 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_outSubMod)((void*)((char*)(_outSubMod) - 3)), 4*sizeof(modelica_metatype));
3745#line 652 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3746 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[3] = omc_InstVar_liftUserTypeMod(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_outSubMod), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_outSubMod) - 3
))) + (3)))))
), _inDims);
3747#line 652 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3748 _outSubMod = tmpMeta[1];
3749#line 3749 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3750#line 653 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3751 tmpMeta[0] = _outSubMod;
3752#line 3752 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3753 goto tmp2_done;
3754 }
3755 }
3756 goto tmp2_end;
3757 tmp2_end: ;
3758 }
3759 goto goto_1;
3760 goto_1:;
3761 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3762 goto tmp2_done;
3763 tmp2_done:;
3764 }
3765 }
3766 _outSubMod = tmpMeta[0];
3767 _return: OMC_LABEL_UNUSED__attribute__((unused))
3768 return _outSubMod;
3769}
3770
3771PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_liftUserTypeMod(threadData_t *threadData, modelica_metatype _inMod, modelica_metatype _inDims)
3772{
3773 jmp_buf *old_mmc_jumper = threadData->mmc_jumper;
3774 modelica_metatype _outMod = NULL((void*)0);
3775 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
3776 MMC_SO()mmc_check_stackoverflow(threadData);
3777 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3778 _outMod = _inMod;
3779#line 625 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3780 if(listEmpty(_inDims)((*(mmc_uint_t*)((void*)((char*)(_inDims) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
)
3781#line 625 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3782 {
3783#line 626 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3784 goto _return;
3785#line 3785 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3786 }
3787
3788#line 3788 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3789 { /* matchcontinue expression */
3790 volatile modelica_metatype tmp3_1;
3791 tmp3_1 = _outMod;
3792 {
3793 volatile mmc_switch_type tmp3;
3794 int tmp4;
3795 tmp3 = 0;
3796 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) {
3797 tmp2_top:
3798 threadData->mmc_jumper = &new_mmc_jumper;
3799 for (; tmp3 < 2; tmp3++) {
3800 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3801 case 0: {
3802 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;
3803
3804 /* Pattern matching succeeded */
3805#line 633 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3806 if((!omc_SCodeUtil_eachBool(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_outMod), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_outMod) - 3)))
+ (3)))))
))))
3807#line 633 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3808 {
3809#line 634 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3810 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
3811#line 634 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3812 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_outMod)((void*)((char*)(_outMod) - 3)), 7*sizeof(modelica_metatype));
3813#line 634 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3814 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[5] = omc_InstVar_liftUserTypeEqMod(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_outMod), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_outMod) - 3)))
+ (5)))))
), _inDims);
3815#line 634 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3816 _outMod = tmpMeta[1];
3817#line 3817 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3818
3819#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3820 {
3821#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3822 modelica_metatype _D_24tmpVar1;
3823#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3824 modelica_metatype* tmp5;
3825#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3826 modelica_metatype _D_24tmpVar0;
3827#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3828 int tmp6;
3829#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3830 modelica_metatype _s_loopVar = 0;
3831#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3832 modelica_metatype _s;
3833#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3834 _s_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_outMod), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_outMod) - 3)))
+ (4)))))
);
3835#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3836 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3837#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3838 _D_24tmpVar1 = tmpMeta[3]; /* defaultValue */
3839#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3840 tmp5 = &_D_24tmpVar1;
3841#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3842 while(1) {
3843#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3844 tmp6 = 1;
3845#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3846 if (!listEmpty(_s_loopVar)((*(mmc_uint_t*)((void*)((char*)(_s_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
3847#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3848 _s = MMC_CAR(_s_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_s_loopVar) - 3
))) + (1)))))
;
3849#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3850 _s_loopVar = MMC_CDR(_s_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_s_loopVar) - 3
))) + (2)))))
;
3851#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3852 tmp6--;
3853#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3854 }
3855#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3856 if (tmp6 == 0) {
3857#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3858 _D_24tmpVar0 = omc_InstVar_liftUserTypeSubMod(threadData, _s, _inDims);
3859#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3860 *tmp5 = mmc_mk_cons(_D_24tmpVar0,0);
3861#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3862 tmp5 = &MMC_CDR(*tmp5)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp5) - 3))) +
(2)))))
;
3863#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3864 } else if (tmp6 == 1) {
3865#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3866 break;
3867#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3868 } else {
3869#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3870 goto goto_1;
3871#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3872 }
3873#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3874 }
3875#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3876 *tmp5 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
3877#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3878 tmpMeta[2] = _D_24tmpVar1;
3879#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3880 }
3881#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3882 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
3883#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3884 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_outMod)((void*)((char*)(_outMod) - 3)), 7*sizeof(modelica_metatype));
3885#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3886 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[4] = tmpMeta[2];
3887#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3888 _outMod = tmpMeta[1];
3889#line 3889 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3890 }
3891#line 637 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3892 tmpMeta[0] = _outMod;
3893#line 3893 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3894 goto tmp2_done;
3895 }
3896 case 1: {
3897
3898 /* Pattern matching succeeded */
3899#line 640 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3900 tmpMeta[0] = _outMod;
3901#line 3901 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3902 goto tmp2_done;
3903 }
3904 }
3905 goto tmp2_end;
3906 tmp2_end: ;
3907 }
3908 goto goto_1;
3909 tmp2_done:
3910 (void)tmp3;
3911 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3912 goto tmp2_done2;
3913 goto_1:;
3914 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3915 if (++tmp3 < 2) {
3916 goto tmp2_top;
3917 }
3918 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3919 tmp2_done2:;
3920 }
3921 }
3922 _outMod = tmpMeta[0];
3923 _return: OMC_LABEL_UNUSED__attribute__((unused))
3924 threadData->mmc_jumper = old_mmc_jumper;
3925 return _outMod;
3926}
3927
3928PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstVar_instVar__dispatch(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_string _inName, modelica_metatype _inClass, modelica_metatype _inAttributes, modelica_metatype _inPrefixes, modelica_metatype _inDimensions, modelica_metatype _inIndices, modelica_metatype _inInstDims, modelica_boolean _inImpl, modelica_metatype _inComment, modelica_metatype _inInfo, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph)
3929{
3930 modelica_metatype _outCache = NULL((void*)0);
3931 modelica_metatype _outEnv = NULL((void*)0);
3932 modelica_metatype _outIH = NULL((void*)0);
3933 modelica_metatype _outStore = NULL((void*)0);
3934 modelica_metatype _outDae = NULL((void*)0);
3935 modelica_metatype _outSets = NULL((void*)0);
3936 modelica_metatype _outType = NULL((void*)0);
3937 modelica_metatype _outGraph = NULL((void*)0);
3938 modelica_string _comp_name = NULL((void*)0);
3939 modelica_metatype _dims = NULL((void*)0);
3940 modelica_metatype _cls = NULL((void*)0);
3941 modelica_metatype _type_mods = NULL((void*)0);
3942 modelica_metatype _mod = NULL((void*)0);
3943 modelica_metatype _attr = NULL((void*)0);
3944 modelica_metatype _source = NULL((void*)0);
3945 MMC_SO()mmc_check_stackoverflow(threadData);
3946 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3947 // _outCache has no default value.
3948 // _outEnv has no default value.
3949 // _outIH has no default value.
3950 // _outStore has no default value.
3951 // _outDae has no default value.
3952 // _outSets has no default value.
3953 // _outType has no default value.
3954 // _outGraph has no default value.
3955 // _comp_name has no default value.
3956 // _dims has no default value.
3957 // _cls has no default value.
3958 // _type_mods has no default value.
3959 // _mod has no default value.
3960 // _attr has no default value.
3961 // _source has no default value.
3962#line 3962 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3963 { /* matchcontinue expression */
3964 {
3965 volatile mmc_switch_type tmp3;
3966 int tmp4;
3967 tmp3 = 0;
3968 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) {
3969 tmp2_top:
3970 threadData->mmc_jumper = &new_mmc_jumper;
3971 for (; tmp3 < 2; tmp3++) {
3972 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3973 case 0: {
3974 /* Pattern matching succeeded */
3975#line 576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3976 omc_Error_updateCurrentComponent(threadData, _inPrefix, _inName, _inInfo, boxvar_PrefixUtil_identAndPrefixToPath((void*)((char*)(&(boxvar_lit_PrefixUtil_identAndPrefixToPath
).header) + 3))
);
3977#line 3977 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3978
3979#line 578 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3980 _outCache = omc_InstUtil_getUsertypeDimensions(threadData, _inCache, _inEnv, _inIH, _inPrefix, _inClass, _inInstDims, _inImpl ,&_dims ,&_cls ,&_type_mods);
3981#line 3981 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3982
3983#line 581 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3984 if(listEmpty(_dims)((*(mmc_uint_t*)((void*)((char*)(_dims) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
)
3985#line 581 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3986 {
3987#line 583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3988 _dims = _inDimensions;
3989#line 3989 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3990
3991#line 584 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3992 _cls = _inClass;
3993#line 3993 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3994
3995#line 585 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
3996 _mod = _inMod;
3997#line 3997 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
3998
3999#line 586 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4000 _attr = _inAttributes;
4001#line 4001 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4002 }
4003 else
4004 {
4005#line 589 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4006 _type_mods = omc_InstVar_liftUserTypeMod(threadData, _type_mods, _inDimensions);
4007#line 4007 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4008
4009#line 590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4010 _dims = listAppend(_inDimensions, _dims);
4011#line 4011 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4012
4013#line 591 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4014 _mod = omc_Mod_merge(threadData, _inMod, _type_mods, _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)), 1);
4015#line 4015 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4016
4017#line 592 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4018 _attr = omc_InstUtil_propagateClassPrefix(threadData, _inAttributes, _inPrefix);
4019#line 4019 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4020 }
4021
4022#line 595 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4023 _outCache = omc_InstVar_instVar2(threadData, _outCache, _inEnv, _inIH, _inStore, _inState, _mod, _inPrefix, _inName, _cls, _attr, _inPrefixes, _dims, _inIndices, _inInstDims, _inImpl, _inComment, _inInfo, _inGraph, _inSets ,&_outEnv ,&_outIH ,&_outStore ,&_outDae ,&_outSets ,&_outType ,&_outGraph);
4024#line 4024 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4025
4026#line 600 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4027 _source = omc_ElementSource_createElementSource(threadData, _inInfo, omc_FGraph_getScopePath(threadData, _inEnv), _inPrefix, _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)));
4028#line 4028 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4029
4030#line 601 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4031 _outCache = omc_InstVar_addArrayVarEquation(threadData, _outCache, _inEnv, _outIH, _inState, _outDae, _outType, _mod, omc_NFInstUtil_toConst(threadData, omc_SCodeUtil_attrVariability(threadData, _attr)), _inPrefix, _inName, _source ,&_outDae);
4032#line 4032 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4033
4034#line 604 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4035 _outCache = omc_InstFunction_addRecordConstructorFunction(threadData, _outCache, _inEnv, omc_Types_arrayElementType(threadData, _outType), omc_SCodeUtil_elementInfo(threadData, _inClass));
4036#line 4036 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4037
4038#line 607 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4039 omc_Error_clearCurrentComponent(threadData);
4040#line 4040 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4041#line 4041 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4042 goto tmp2_done;
4043 }
4044 case 1: {
4045 /* Pattern matching succeeded */
4046#line 609 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4047 omc_Error_clearCurrentComponent(threadData);
4048#line 4048 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4049
4050#line 610 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4051 goto goto_1;
4052#line 4052 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4053#line 4053 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4054 goto tmp2_done;
4055 }
4056 }
4057 goto tmp2_end;
4058 tmp2_end: ;
4059 }
4060 goto goto_1;
4061 tmp2_done:
4062 (void)tmp3;
4063 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4064 goto tmp2_done2;
4065 goto_1:;
4066 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4067 if (++tmp3 < 2) {
4068 goto tmp2_top;
4069 }
4070 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4071 tmp2_done2:;
4072 }
4073 }
4074 ;
4075 _return: OMC_LABEL_UNUSED__attribute__((unused))
4076 if (out_outEnv) { *out_outEnv = _outEnv; }
4077 if (out_outIH) { *out_outIH = _outIH; }
4078 if (out_outStore) { *out_outStore = _outStore; }
4079 if (out_outDae) { *out_outDae = _outDae; }
4080 if (out_outSets) { *out_outSets = _outSets; }
4081 if (out_outType) { *out_outType = _outType; }
4082 if (out_outGraph) { *out_outGraph = _outGraph; }
4083 return _outCache;
4084}
4085PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstVar_instVar__dispatch(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inName, modelica_metatype _inClass, modelica_metatype _inAttributes, modelica_metatype _inPrefixes, modelica_metatype _inDimensions, modelica_metatype _inIndices, modelica_metatype _inInstDims, modelica_metatype _inImpl, modelica_metatype _inComment, modelica_metatype _inInfo, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph)
4086{
4087 modelica_integer tmp1;
4088 modelica_metatype _outCache = NULL((void*)0);
4089 tmp1 = mmc_unbox_integer(_inImpl)(((mmc_sint_t) (_inImpl)) >> 1);
4090 _outCache = omc_InstVar_instVar__dispatch(threadData, _inCache, _inEnv, _inIH, _inStore, _inState, _inMod, _inPrefix, _inName, _inClass, _inAttributes, _inPrefixes, _inDimensions, _inIndices, _inInstDims, tmp1, _inComment, _inInfo, _inGraph, _inSets, out_outEnv, out_outIH, out_outStore, out_outDae, out_outSets, out_outType, out_outGraph);
4091 /* skip box _outCache; FCore.Cache */
4092 /* skip box _outEnv; FCore.Graph */
4093 /* skip box _outIH; list<InnerOuter.TopInstance> */
4094 /* skip box _outStore; UnitAbsyn.InstStore */
4095 /* skip box _outDae; DAE.DAElist */
4096 /* skip box _outSets; DAE.Connect.Sets */
4097 /* skip box _outType; DAE.Type */
4098 /* skip box _outGraph; ConnectionGraph.ConnectionGraph */
4099 return _outCache;
4100}
4101
4102DLLExport
4103modelica_metatype omc_InstVar_instVar(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_string _inIdent, modelica_metatype _inClass, modelica_metatype _inAttributes, modelica_metatype _inPrefixes, modelica_metatype _inDimensionLst, modelica_metatype _inIntegerLst, modelica_metatype _inInstDims, modelica_boolean _inImpl, modelica_metatype _inComment, modelica_metatype _info, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype _componentDefinitionParentEnv, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph)
4104{
4105 modelica_metatype _outCache = NULL((void*)0);
4106 modelica_metatype _outEnv = NULL((void*)0);
4107 modelica_metatype _outIH = NULL((void*)0);
4108 modelica_metatype _outStore = NULL((void*)0);
4109 modelica_metatype _outDae = NULL((void*)0);
4110 modelica_metatype _outSets = NULL((void*)0);
4111 modelica_metatype _outType = NULL((void*)0);
4112 modelica_metatype _outGraph = NULL((void*)0);
4113 modelica_metatype _io = NULL((void*)0);
4114 modelica_boolean tmp1 = 0;
4115 modelica_metatype tmpMeta[24] __attribute__((unused)) = {0};
4116 MMC_SO()mmc_check_stackoverflow(threadData);
4117 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4118 // _outCache has no default value.
4119 // _outEnv has no default value.
4120 // _outIH has no default value.
4121 // _outStore has no default value.
4122 // _outDae has no default value.
4123 // _outSets has no default value.
4124 // _outType has no default value.
4125 // _outGraph has no default value.
4126 // _io has no default value.
4127#line 4127 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4128 { /* match expression */
4129 modelica_string tmp4_1;
4130 tmp4_1 = _inIdent;
4131 {
4132 volatile mmc_switch_type tmp4;
4133 int tmp5;
4134 tmp4 = 0;
4135 for (; tmp4 < 6; tmp4++) {
4136 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4137 case 0: {
4138 if (7 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT62)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT62).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
4139 /* Pattern matching succeeded */
4140#line 136 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4141 tmp1 = 1;
4142#line 4142 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4143 goto tmp3_done;
4144 }
4145 case 1: {
4146 if (4 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT63)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT63).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
4147 /* Pattern matching succeeded */
4148#line 137 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4149 tmp1 = 1;
4150#line 4150 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4151 goto tmp3_done;
4152 }
4153 case 2: {
4154 if (7 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT64)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT64).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
4155 /* Pattern matching succeeded */
4156#line 138 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4157 tmp1 = 1;
4158#line 4158 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4159 goto tmp3_done;
4160 }
4161 case 3: {
4162 if (6 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT65)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT65).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
4163 /* Pattern matching succeeded */
4164#line 139 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4165 tmp1 = 1;
4166#line 4166 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4167 goto tmp3_done;
4168 }
4169 case 4: {
4170 if (4 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT66)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT66).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
4171 /* Pattern matching succeeded */
4172#line 140 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4173 tmp1 = 1;
4174#line 4174 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4175 goto tmp3_done;
4176 }
4177 case 5: {
4178
4179 /* Pattern matching succeeded */
4180#line 141 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4181 tmp1 = 0;
4182#line 4182 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4183 goto tmp3_done;
4184 }
4185 }
4186 goto tmp3_end;
4187 tmp3_end: ;
4188 }
4189 goto goto_2;
4190 goto_2:;
4191 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4192 goto tmp3_done;
4193 tmp3_done:;
4194 }
4195 }
4196 if(tmp1)
4197 {
4198#line 142 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4199 tmpMeta[0] = mmc_mk_cons(_inIdent, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
4200#line 142 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4201 omc_Error_addSourceMessage(threadData, _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)), tmpMeta[0], _info);
4202#line 4202 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4203
4204#line 143 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4205 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4206#line 4206 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4207 }
4208
4209#line 146 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4210 _io = omc_SCodeUtil_prefixesInnerOuter(threadData, _inPrefixes);
4211#line 4211 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4212
4213#line 148 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4214
4215#line 148 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4216
4217#line 148 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4218
4219#line 148 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4220
4221#line 148 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4222
4223#line 148 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4224
4225#line 148 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4226
4227#line 148 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4228
4229#line 4229 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4230 { /* matchcontinue expression */
4231 volatile modelica_metatype tmp9_1;volatile modelica_metatype tmp9_2;volatile modelica_metatype tmp9_3;volatile modelica_metatype tmp9_4;volatile modelica_metatype tmp9_5;volatile modelica_metatype tmp9_6;volatile modelica_metatype tmp9_7;volatile modelica_string tmp9_8;volatile modelica_metatype tmp9_9;volatile modelica_metatype tmp9_10;volatile modelica_metatype tmp9_11;volatile modelica_metatype tmp9_12;volatile modelica_metatype tmp9_13;volatile modelica_metatype tmp9_14;volatile modelica_boolean tmp9_15;volatile modelica_metatype tmp9_16;volatile modelica_metatype tmp9_17;volatile modelica_metatype tmp9_18;
4232 tmp9_1 = _inCache;
4233 tmp9_2 = _inEnv;
4234 tmp9_3 = _inIH;
4235 tmp9_4 = _inStore;
4236 tmp9_5 = _inState;
4237 tmp9_6 = _inMod;
4238 tmp9_7 = _inPrefix;
4239 tmp9_8 = _inIdent;
4240 tmp9_9 = _inClass;
4241 tmp9_10 = _inAttributes;
4242 tmp9_11 = _inPrefixes;
4243 tmp9_12 = _inDimensionLst;
4244 tmp9_13 = _inIntegerLst;
4245 tmp9_14 = _inInstDims;
4246 tmp9_15 = _inImpl;
4247 tmp9_16 = _inComment;
4248 tmp9_17 = _inGraph;
4249 tmp9_18 = _inSets;
4250 {
4251 modelica_metatype _dims = NULL((void*)0);
4252 modelica_metatype _compenv = NULL((void*)0);
4253 modelica_metatype _env = NULL((void*)0);
4254 modelica_metatype _innerCompEnv = NULL((void*)0);
4255 modelica_metatype _outerCompEnv = NULL((void*)0);
4256 modelica_metatype _dae = NULL((void*)0);
4257 modelica_metatype _outerDAE = NULL((void*)0);
4258 modelica_metatype _innerDAE = NULL((void*)0);
4259 modelica_metatype _csets = NULL((void*)0);
4260 modelica_metatype _csetsInner = NULL((void*)0);
4261 modelica_metatype _ty = NULL((void*)0);
4262 modelica_metatype _ci_state = NULL((void*)0);
4263 modelica_metatype _mod = NULL((void*)0);
4264 modelica_metatype _pre = NULL((void*)0);
4265 modelica_metatype _innerPrefix = NULL((void*)0);
4266 modelica_string _n = NULL((void*)0);
4267 modelica_string _s1 = NULL((void*)0);
4268 modelica_string _s2 = NULL((void*)0);
4269 modelica_string _s3 = NULL((void*)0);
4270 modelica_string _s = NULL((void*)0);
4271 modelica_metatype _cl = NULL((void*)0);
4272 modelica_metatype _attr = NULL((void*)0);
4273 modelica_metatype _idxs = NULL((void*)0);
4274 modelica_metatype _inst_dims = NULL((void*)0);
4275 modelica_boolean _impl;
4276 modelica_metatype _comment = NULL((void*)0);
4277 modelica_metatype _cache = NULL((void*)0);
4278 modelica_metatype _graph = NULL((void*)0);
4279 modelica_metatype _ih = NULL((void*)0);
4280 modelica_metatype _cref = NULL((void*)0);
4281 modelica_metatype _crefOuter = NULL((void*)0);
4282 modelica_metatype _crefInner = NULL((void*)0);
4283 modelica_metatype _outers = NULL((void*)0);
4284 modelica_string _nInner = NULL((void*)0);
4285 modelica_string _typeName = NULL((void*)0);
4286 modelica_string _fullName = NULL((void*)0);
4287 modelica_metatype _typePath = NULL((void*)0);
4288 modelica_string _innerScope = NULL((void*)0);
4289 modelica_metatype _ioInner = NULL((void*)0);
4290 modelica_metatype _instResult = NULL((void*)0);
4291 modelica_metatype _pf = NULL((void*)0);
4292 modelica_metatype _store = NULL((void*)0);
4293 modelica_metatype _topInstance = NULL((void*)0);
4294 modelica_metatype _sm = NULL((void*)0);
4295 volatile mmc_switch_type tmp9;
4296 int tmp10;
4297 // _dims has no default value.
4298 // _compenv has no default value.
4299 // _env has no default value.
4300 // _innerCompEnv has no default value.
4301 // _outerCompEnv has no default value.
4302 // _dae has no default value.
4303 // _outerDAE has no default value.
4304 // _innerDAE has no default value.
4305 // _csets has no default value.
4306 // _csetsInner has no default value.
4307 // _ty has no default value.
4308 // _ci_state has no default value.
4309 // _mod has no default value.
4310 // _pre has no default value.
4311 // _innerPrefix has no default value.
4312 // _n has no default value.
4313 // _s1 has no default value.
4314 // _s2 has no default value.
4315 // _s3 has no default value.
4316 // _s has no default value.
4317 // _cl has no default value.
4318 // _attr has no default value.
4319 // _idxs has no default value.
4320 // _inst_dims has no default value.
4321 // _impl has no default value.
4322 // _comment has no default value.
4323 // _cache has no default value.
4324 // _graph has no default value.
4325 // _ih has no default value.
4326 // _cref has no default value.
4327 // _crefOuter has no default value.
4328 // _crefInner has no default value.
4329 // _outers has no default value.
4330 // _nInner has no default value.
4331 // _typeName has no default value.
4332 // _fullName has no default value.
4333 // _typePath has no default value.
4334 // _innerScope has no default value.
4335 // _ioInner has no default value.
4336 // _instResult has no default value.
4337 // _pf has no default value.
4338 // _store has no default value.
4339 // _topInstance has no default value.
4340 // _sm has no default value.
4341 tmp9 = 0;
4342 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) {
4343 tmp8_top:
4344 threadData->mmc_jumper = &new_mmc_jumper;
4345 for (; tmp9 < 10; tmp9++) {
4346 switch (MMC_SWITCH_CAST(tmp9)(tmp9)) {
4347 case 0: {
4348 modelica_boolean tmp11;
4349 if (mmc__uniontype__metarecord__typedef__equal(tmp9_9,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp9_9) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp8_end;
4350 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp9_9), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp9_9) - 3))) +
(2)))))
;
4351
4352 _cl = tmp9_9;
4353 _typeName = tmpMeta[8];
4354 _cache = tmp9_1;
4355 _env = tmp9_2;
4356 _ih = tmp9_3;
4357 _store = tmp9_4;
4358 _ci_state = tmp9_5;
4359 _mod = tmp9_6;
4360 _pre = tmp9_7;
4361 _n = tmp9_8;
4362 _attr = tmp9_10;
4363 _pf = tmp9_11;
4364 _dims = tmp9_12;
4365 _idxs = tmp9_13;
4366 _inst_dims = tmp9_14;
4367 _impl = tmp9_15;
4368 _comment = tmp9_16;
4369 _graph = tmp9_17;
4370 _csets = tmp9_18;
4371 /* Pattern matching succeeded */
4372#line 191 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4373 /* Pattern-matching assignment */
4374#line 191 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4375 tmp11 = omc_AbsynUtil_isOnlyInner(threadData, _io);
4376#line 191 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4377 if (1 != tmp11) goto goto_7;
4378#line 4378 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4379
4380#line 196 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4381 _cache = omc_InstVar_instVar__dispatch(threadData, _cache, _env, _ih, _store, _ci_state, _mod, _pre, _n, _cl, _attr, _pf, _dims, _idxs, _inst_dims, _impl, _comment, _info, _graph, _csets ,&_innerCompEnv ,&_ih ,&_store ,&_dae ,&_csets ,&_ty ,&_graph);
4382#line 4382 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4383
4384#line 199 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4385 tmpMeta[8] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4386#line 199 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4387 _cache = omc_PrefixUtil_prefixCref(threadData, _cache, _env, _ih, _pre, omc_ComponentReference_makeCrefIdent(threadData, _n, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)), tmpMeta[8]) ,&_cref);
4388#line 4388 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4389
4390#line 200 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4391 _fullName = omc_ComponentReference_printComponentRefStr(threadData, _cref);
4392#line 4392 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4393
4394#line 201 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4395 _cache = omc_Inst_makeFullyQualifiedIdent(threadData, _cache, _env, _typeName, _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)) ,&_typePath);
4396#line 4396 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4397
4398#line 205 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4399 _outerCompEnv = omc_InnerOuter_switchInnerToOuterInGraph(threadData, _innerCompEnv, _cref);
4400#line 4400 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4401
4402#line 208 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4403 _outerDAE = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
4404#line 4404 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4405
4406#line 210 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4407 _innerScope = omc_FGraph_printGraphPathStr(threadData, _componentDefinitionParentEnv);
4408#line 4408 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4409
4410#line 213 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4411 tmpMeta[8] = mmc_mk_box8(3, &InnerOuter_InstResult_INST__RESULT__desc, _cache, _outerCompEnv, _store, _outerDAE, _csets, _ty, _graph);
4412#line 213 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4413 tmpMeta[9] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4414#line 213 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4415 tmpMeta[10] = mmc_mk_box10(3, &InnerOuter_InstInner_INST__INNER__desc, _pre, _n, _io, _fullName, _typePath, _innerScope, mmc_mk_some(tmpMeta[8]), tmpMeta[9], mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
4416#line 213 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4417 _ih = omc_InnerOuter_updateInstHierarchy(threadData, _ih, _pre, _io, tmpMeta[10]);
4418#line 4418 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4419#line 225 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4420 tmpMeta[0+0] = _cache;
4421#line 225 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4422 tmpMeta[0+1] = _innerCompEnv;
4423#line 225 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4424 tmpMeta[0+2] = _ih;
4425#line 225 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4426 tmpMeta[0+3] = _store;
4427#line 225 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4428 tmpMeta[0+4] = _dae;
4429#line 225 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4430 tmpMeta[0+5] = _csets;
4431#line 225 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4432 tmpMeta[0+6] = _ty;
4433#line 225 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4434 tmpMeta[0+7] = _graph;
4435#line 4435 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4436 goto tmp8_done;
4437 }
4438 case 1: {
4439 modelica_boolean tmp12;
4440 modelica_boolean tmp13;
4441
4442 _cache = tmp9_1;
4443 _env = tmp9_2;
4444 _ih = tmp9_3;
4445 _store = tmp9_4;
4446 _ci_state = tmp9_5;
4447 _mod = tmp9_6;
4448 _pre = tmp9_7;
4449 _n = tmp9_8;
4450 _cl = tmp9_9;
4451 _attr = tmp9_10;
4452 _pf = tmp9_11;
4453 _dims = tmp9_12;
4454 _idxs = tmp9_13;
4455 _inst_dims = tmp9_14;
4456 _impl = tmp9_15;
4457 _comment = tmp9_16;
4458 _graph = tmp9_17;
4459 _csets = tmp9_18;
4460 /* Pattern matching succeeded */
4461#line 232 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4462 /* Pattern-matching assignment */
4463#line 232 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4464 tmp12 = omc_AbsynUtil_isOnlyOuter(threadData, _io);
4465#line 232 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4466 if (1 != tmp12) goto goto_7;
4467#line 4467 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4468
4469#line 235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4470 /* Pattern-matching assignment */
4471#line 235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4472 tmp13 = omc_Mod_modEqual(threadData, _mod, _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)));
4473#line 235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4474 if (0 != tmp13) goto goto_7;
4475#line 4475 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4476
4477#line 236 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4478 tmpMeta[8] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4479#line 236 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4480 _cache = omc_PrefixUtil_prefixCref(threadData, _cache, _env, _ih, _pre, omc_ComponentReference_makeCrefIdent(threadData, _n, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)), tmpMeta[8]) ,&_cref);
4481#line 4481 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4482
4483#line 237 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4484 _s1 = omc_ComponentReference_printComponentRefStr(threadData, _cref);
4485#line 4485 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4486
4487#line 238 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4488 _s2 = omc_Mod_prettyPrintMod(threadData, _mod, ((modelica_integer) 0));
4489#line 4489 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4490
4491#line 239 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4492 tmpMeta[8] = stringAppend(_s1,_OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)));
4493#line 239 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4494 tmpMeta[9] = stringAppend(tmpMeta[8],_s2);
4495#line 239 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4496 _s = tmpMeta[9];
4497#line 4497 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4498
4499#line 241 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4500 tmpMeta[8] = mmc_mk_cons(_s, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
4501#line 241 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4502 omc_Error_addSourceMessage(threadData, _OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)), tmpMeta[8], _info);
4503#line 4503 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4504#line 244 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4505 tmpMeta[0+0] = omc_InstVar_instVar(threadData, _cache, _env, _ih, _store, _ci_state, _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)), _pre, _n, _cl, _attr, _pf, _dims, _idxs, _inst_dims, _impl, _comment, _info, _graph, _csets, _componentDefinitionParentEnv, &tmpMeta[0+1], &tmpMeta[0+2], &tmpMeta[0+3], &tmpMeta[0+4], &tmpMeta[0+5], &tmpMeta[0+6], &tmpMeta[0+7]);
4506#line 4506 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4507 goto tmp8_done;
4508 }
4509 case 2: {
4510 modelica_boolean tmp14;
4511 modelica_boolean tmp15;
4512 modelica_boolean tmp16;
4513 modelica_boolean tmp17;
4514 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp9_10), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp9_10) - 3)))
+ (6)))))
;
4515 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[8],1,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3)))==(((0 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp8_end;
4516
4517 _attr = tmp9_10;
4518 _cache = tmp9_1;
4519 _env = tmp9_2;
4520 _ih = tmp9_3;
4521 _store = tmp9_4;
4522 _ci_state = tmp9_5;
4523 _mod = tmp9_6;
4524 _pre = tmp9_7;
4525 _n = tmp9_8;
4526 _cl = tmp9_9;
4527 _pf = tmp9_11;
4528 _dims = tmp9_12;
4529 _idxs = tmp9_13;
4530 _inst_dims = tmp9_14;
4531 _impl = tmp9_15;
4532 _comment = tmp9_16;
4533 _graph = tmp9_17;
4534 _csets = tmp9_18;
4535 /* Pattern matching succeeded */
4536#line 253 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4537 /* Pattern-matching assignment */
4538#line 253 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4539 tmp14 = omc_AbsynUtil_isOnlyOuter(threadData, _io);
4540#line 253 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4541 if (1 != tmp14) goto goto_7;
4542#line 4542 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4543
4544#line 256 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4545 /* Pattern-matching assignment */
4546#line 256 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4547 tmp15 = omc_Mod_modEqual(threadData, _mod, _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)));
4548#line 256 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4549 if (1 != tmp15) goto goto_7;
4550#line 4550 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4551
4552#line 259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4553 /* Pattern-matching assignment */
4554#line 259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4555 tmpMeta[8] = omc_InnerOuter_lookupInnerVar(threadData, _cache, _env, _ih, _pre, _n, _io);
4556#line 259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4557 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (8)))))
;
4558#line 259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4559 if (optionNone(tmpMeta[9])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[9]) - 3)))) >> 10)) ? 1 : 0)
) goto goto_7;
4560#line 259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4561 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[9]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[9]) - 3
))) + (1)))))
;
4562#line 259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4563 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[10]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[10]) - 3
))) + (2)))))
;
4564#line 259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4565 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[10]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[10]) - 3
))) + (3)))))
;
4566#line 259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4567 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[10]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[10]) - 3
))) + (4)))))
;
4568#line 259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4569 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[10]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[10]) - 3
))) + (7)))))
;
4570#line 259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4571 tmpMeta[15] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[10]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[10]) - 3
))) + (8)))))
;
4572#line 259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4573 _cache = tmpMeta[11];
4574#line 259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4575 _compenv = tmpMeta[12];
4576#line 259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4577 _store = tmpMeta[13];
4578#line 259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4579 _ty = tmpMeta[14];
4580#line 259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4581 _graph = tmpMeta[15];
4582#line 4582 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4583
4584#line 272 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4585 _topInstance = listHead(_ih)boxptr_listHead(threadData,_ih);
4586#line 4586 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4587
4588#line 273 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4589 /* Pattern-matching assignment */
4590#line 273 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4591 tmpMeta[8] = _topInstance;
4592#line 273 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4593 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (5)))))
;
4594#line 273 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4595 _sm = tmpMeta[9];
4596#line 4596 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4597
4598#line 274 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4599 /* Pattern-matching assignment */
4600#line 274 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4601 tmp16 = (omc_BaseHashSet_currentSize(threadData, _sm) > ((modelica_integer) 0));
4602#line 274 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4603 if (1 != tmp16) goto goto_7;
4604#line 4604 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4605
4606#line 275 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4607 _cref = omc_PrefixUtil_prefixToCref(threadData, _inPrefix);
4608#line 4608 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4609
4610#line 276 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4611 /* Pattern-matching assignment */
4612#line 276 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4613 tmp17 = omc_BaseHashSet_has(threadData, _cref, _sm);
4614#line 276 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4615 if (1 != tmp17) goto goto_7;
4616#line 4616 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4617
4618#line 278 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4619 _cache = omc_InstVar_instVar__dispatch(threadData, _cache, _env, _ih, _store, _ci_state, _mod, _pre, _n, _cl, _attr, _pf, _dims, _idxs, _inst_dims, _impl, _comment, _info, _graph, _csets ,&_compenv ,&_ih ,&_store ,&_dae ,&_csets ,&_ty ,&_graph);
4620#line 4620 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4621#line 280 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4622 tmpMeta[0+0] = _inCache;
4623#line 280 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4624 tmpMeta[0+1] = _compenv;
4625#line 280 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4626 tmpMeta[0+2] = _ih;
4627#line 280 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4628 tmpMeta[0+3] = _store;
4629#line 280 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4630 tmpMeta[0+4] = _dae;
4631#line 280 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4632 tmpMeta[0+5] = _csets;
4633#line 280 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4634 tmpMeta[0+6] = _ty;
4635#line 280 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4636 tmpMeta[0+7] = _graph;
4637#line 4637 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4638 goto tmp8_done;
4639 }
4640 case 3: {
4641 modelica_boolean tmp18;
4642 modelica_boolean tmp19;
4643
4644 _cache = tmp9_1;
4645 _env = tmp9_2;
4646 _ih = tmp9_3;
4647 _store = tmp9_4;
4648 _mod = tmp9_6;
4649 _pre = tmp9_7;
4650 _n = tmp9_8;
4651 _graph = tmp9_17;
4652 _csets = tmp9_18;
4653 /* Pattern matching succeeded */
4654#line 288 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4655 /* Pattern-matching assignment */
4656#line 288 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4657 tmp18 = omc_AbsynUtil_isOnlyOuter(threadData, _io);
4658#line 288 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4659 if (1 != tmp18) goto goto_7;
4660#line 4660 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4661
4662#line 291 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4663 /* Pattern-matching assignment */
4664#line 291 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4665 tmp19 = omc_Mod_modEqual(threadData, _mod, _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)));
4666#line 291 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4667 if (1 != tmp19) goto goto_7;
4668#line 4668 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4669
4670#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4671 /* Pattern-matching assignment */
4672#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4673 tmpMeta[8] = omc_InnerOuter_lookupInnerVar(threadData, _cache, _env, _ih, _pre, _n, _io);
4674#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4675 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (2)))))
;
4676#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4677 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (3)))))
;
4678#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4679 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (4)))))
;
4680#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4681 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (5)))))
;
4682#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4683 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (6)))))
;
4684#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4685 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (7)))))
;
4686#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4687 tmpMeta[15] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (8)))))
;
4688#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4689 if (optionNone(tmpMeta[15])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[15]) - 3))))
& (7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta
[15]) - 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char
*)(tmpMeta[15]) - 3)))) >> 10)) ? 1 : 0)
) goto goto_7;
4690#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4691 tmpMeta[16] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[15]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[15]) - 3
))) + (1)))))
;
4692#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4693 tmpMeta[17] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[16]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[16]) - 3
))) + (2)))))
;
4694#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4695 tmpMeta[18] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[16]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[16]) - 3
))) + (3)))))
;
4696#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4697 tmpMeta[19] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[16]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[16]) - 3
))) + (4)))))
;
4698#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4699 tmpMeta[20] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[16]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[16]) - 3
))) + (5)))))
;
4700#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4701 tmpMeta[21] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[16]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[16]) - 3
))) + (7)))))
;
4702#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4703 tmpMeta[22] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[16]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[16]) - 3
))) + (8)))))
;
4704#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4705 tmpMeta[23] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (9)))))
;
4706#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4707 _innerPrefix = tmpMeta[9];
4708#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4709 _nInner = tmpMeta[10];
4710#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4711 _ioInner = tmpMeta[11];
4712#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4713 _fullName = tmpMeta[12];
4714#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4715 _typePath = tmpMeta[13];
4716#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4717 _innerScope = tmpMeta[14];
4718#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4719 _instResult = tmpMeta[15];
4720#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4721 _cache = tmpMeta[17];
4722#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4723 _compenv = tmpMeta[18];
4724#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4725 _store = tmpMeta[19];
4726#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4727 _outerDAE = tmpMeta[20];
4728#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4729 _ty = tmpMeta[21];
4730#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4731 _graph = tmpMeta[22];
4732#line 294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4733 _outers = tmpMeta[23];
4734#line 4734 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4735
4736#line 306 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4737 tmpMeta[8] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4738#line 306 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4739 _cache = omc_PrefixUtil_prefixCref(threadData, _cache, _env, _ih, _pre, omc_ComponentReference_makeCrefIdent(threadData, _n, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)), tmpMeta[8]) ,&_crefOuter);
4740#line 4740 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4741
4742#line 307 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4743 tmpMeta[8] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4744#line 307 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4745 _cache = omc_PrefixUtil_prefixCref(threadData, _cache, _env, _ih, _innerPrefix, omc_ComponentReference_makeCrefIdent(threadData, _n, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)), tmpMeta[8]) ,&_crefInner);
4746#line 4746 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4747
4748#line 308 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4749 _ih = omc_InnerOuter_addOuterPrefixToIH(threadData, _ih, _crefOuter, _crefInner);
4750#line 4750 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4751
4752#line 309 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4753 _outers = omc_List_unionElt(threadData, _crefOuter, _outers);
4754#line 4754 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4755
4756#line 311 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4757 tmpMeta[8] = mmc_mk_box10(3, &InnerOuter_InstInner_INST__INNER__desc, _innerPrefix, _nInner, _ioInner, _fullName, _typePath, _innerScope, _instResult, _outers, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
4758#line 311 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4759 _ih = omc_InnerOuter_updateInstHierarchy(threadData, _ih, _innerPrefix, _ioInner, tmpMeta[8]);
4760#line 4760 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4761
4762#line 325 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4763 _outerDAE = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
4764#line 4764 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4765#line 326 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4766 tmpMeta[0+0] = _inCache;
4767#line 326 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4768 tmpMeta[0+1] = _compenv;
4769#line 326 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4770 tmpMeta[0+2] = _ih;
4771#line 326 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4772 tmpMeta[0+3] = _store;
4773#line 326 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4774 tmpMeta[0+4] = _outerDAE;
4775#line 326 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4776 tmpMeta[0+5] = _csets;
4777#line 326 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4778 tmpMeta[0+6] = _ty;
4779#line 326 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4780 tmpMeta[0+7] = _graph;
4781#line 4781 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4782 goto tmp8_done;
4783 }
4784 case 4: {
4785 modelica_boolean tmp20;
4786 modelica_boolean tmp21;
4787
4788 _cache = tmp9_1;
4789 _env = tmp9_2;
4790 _ih = tmp9_3;
4791 _store = tmp9_4;
4792 _ci_state = tmp9_5;
4793 _mod = tmp9_6;
4794 _pre = tmp9_7;
4795 _n = tmp9_8;
4796 _cl = tmp9_9;
4797 _attr = tmp9_10;
4798 _pf = tmp9_11;
4799 _dims = tmp9_12;
4800 _idxs = tmp9_13;
4801 _inst_dims = tmp9_14;
4802 _impl = tmp9_15;
4803 _comment = tmp9_16;
4804 _graph = tmp9_17;
4805 _csets = tmp9_18;
4806 /* Pattern matching succeeded */
4807#line 333 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4808 /* Pattern-matching assignment */
4809#line 333 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4810 tmp20 = omc_AbsynUtil_isOnlyOuter(threadData, _io);
4811#line 333 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4812 if (1 != tmp20) goto goto_7;
4813#line 4813 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4814
4815#line 336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4816 /* Pattern-matching assignment */
4817#line 336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4818 tmp21 = omc_Mod_modEqual(threadData, _mod, _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)));
4819#line 336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4820 if (1 != tmp21) goto goto_7;
4821#line 4821 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4822
4823#line 340 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4824 /* Pattern-matching assignment */
4825#line 340 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4826 tmpMeta[8] = omc_InnerOuter_lookupInnerVar(threadData, _cache, _env, _ih, _pre, _n, _io);
4827#line 340 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4828 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (6)))))
;
4829#line 340 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4830 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (8)))))
;
4831#line 340 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4832 if (!optionNone(tmpMeta[10])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[10]) - 3))))
& (7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta
[10]) - 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char
*)(tmpMeta[10]) - 3)))) >> 10)) ? 1 : 0)
) goto goto_7;
4833#line 340 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4834 _typePath = tmpMeta[9];
4835#line 4835 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4836
4837#line 354 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4838 tmpMeta[8] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4839#line 354 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4840 _cache = omc_PrefixUtil_prefixCref(threadData, _cache, _env, _ih, _pre, omc_ComponentReference_makeCrefIdent(threadData, _n, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)), tmpMeta[8]) ,&_crefOuter);
4841#line 4841 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4842
4843#line 355 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4844 _typeName = omc_SCodeUtil_className(threadData, _cl);
4845#line 4845 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4846
4847#line 356 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4848 _cache = omc_Inst_makeFullyQualifiedIdent(threadData, _cache, _env, _typeName, _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)) ,&_typePath);
4849#line 4849 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4850
4851#line 359 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4852 if(((!(_impl && listMember(_pre, _OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3))))) && (!omc_Config_getGraphicsExpMode(threadData))))
4853#line 359 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4854 {
4855#line 360 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4856 _s1 = omc_ComponentReference_printComponentRefStr(threadData, _crefOuter);
4857#line 4857 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4858
4859#line 361 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4860 _s2 = omc_Dump_unparseInnerouterStr(threadData, _io);
4861#line 4861 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4862
4863#line 362 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4864 _s3 = omc_InnerOuter_getExistingInnerDeclarations(threadData, _ih, _componentDefinitionParentEnv);
4865#line 4865 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4866
4867#line 363 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4868 tmpMeta[8] = stringAppend(omc_AbsynUtil_pathString(threadData, _typePath, _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)), 1, 0),_OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)));
4869#line 363 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4870 tmpMeta[9] = stringAppend(tmpMeta[8],_s1);
4871#line 363 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4872 _s1 = tmpMeta[9];
4873#line 4873 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4874
4875#line 364 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4876 tmpMeta[8] = mmc_mk_cons(_s1, mmc_mk_cons(_s2, mmc_mk_cons(_s3, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))));
4877#line 364 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4878 omc_Error_addSourceMessage(threadData, _OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)), tmpMeta[8], _info);
4879#line 4879 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4880 }
4881
4882#line 368 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4883 _cache = omc_InstVar_instVar__dispatch(threadData, _cache, _env, _ih, _store, _ci_state, _mod, _pre, _n, _cl, _attr, _pf, _dims, _idxs, _inst_dims, _impl, _comment, _info, _graph, _csets ,&_compenv ,&_ih ,&_store ,&_dae ,NULL((void*)0) ,&_ty ,&_graph);
4884#line 4884 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4885#line 370 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4886 tmpMeta[0+0] = _cache;
4887#line 370 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4888 tmpMeta[0+1] = _compenv;
4889#line 370 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4890 tmpMeta[0+2] = _ih;
4891#line 370 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4892 tmpMeta[0+3] = _store;
4893#line 370 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4894 tmpMeta[0+4] = _dae;
4895#line 370 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4896 tmpMeta[0+5] = _csets;
4897#line 370 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4898 tmpMeta[0+6] = _ty;
4899#line 370 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4900 tmpMeta[0+7] = _graph;
4901#line 4901 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4902 goto tmp8_done;
4903 }
4904 case 5: {
4905 modelica_boolean tmp22;
4906 modelica_boolean tmp23;
4907 modelica_boolean tmp24;
4908
4909 _cache = tmp9_1;
4910 _env = tmp9_2;
4911 _ih = tmp9_3;
4912 _store = tmp9_4;
4913 _ci_state = tmp9_5;
4914 _mod = tmp9_6;
4915 _pre = tmp9_7;
4916 _n = tmp9_8;
4917 _cl = tmp9_9;
4918 _attr = tmp9_10;
4919 _pf = tmp9_11;
4920 _dims = tmp9_12;
4921 _idxs = tmp9_13;
4922 _inst_dims = tmp9_14;
4923 _impl = tmp9_15;
4924 _comment = tmp9_16;
4925 _graph = tmp9_17;
4926 _csets = tmp9_18;
4927 /* Pattern matching succeeded */
4928#line 377 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4929 /* Pattern-matching assignment */
4930#line 377 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4931 tmp22 = omc_AbsynUtil_isOnlyOuter(threadData, _io);
4932#line 377 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4933 if (1 != tmp22) goto goto_7;
4934#line 4934 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4935
4936#line 380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4937 /* Pattern-matching assignment */
4938#line 380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4939 tmp23 = omc_Mod_modEqual(threadData, _mod, _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)));
4940#line 380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4941 if (1 != tmp23) goto goto_7;
4942#line 4942 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4943
4944#line 383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4945 tmp24 = 0; /* begin failure */
4946#line 383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4947 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) {
4948#line 383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4949 omc_InnerOuter_lookupInnerVar(threadData, _cache, _env, _ih, _pre, _n, _io);
4950#line 4950 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4951 tmp24 = 1;
4952 goto goto_25;
4953 goto_25:;
4954 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
4955 if (tmp24) {goto goto_7;} /* end failure */
4956
4957#line 388 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4958 tmpMeta[8] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4959#line 388 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4960 _cache = omc_PrefixUtil_prefixCref(threadData, _cache, _env, _ih, _pre, omc_ComponentReference_makeCrefIdent(threadData, _n, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)), tmpMeta[8]) ,&_crefOuter);
4961#line 4961 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4962
4963#line 389 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4964 _typeName = omc_SCodeUtil_className(threadData, _cl);
4965#line 4965 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4966
4967#line 390 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4968 _cache = omc_Inst_makeFullyQualifiedIdent(threadData, _cache, _env, _typeName, _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)) ,&_typePath);
4969#line 4969 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4970
4971#line 393 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4972 if(((!(_impl && listMember(_pre, _OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3))))) && (!omc_Config_getGraphicsExpMode(threadData))))
4973#line 393 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4974 {
4975#line 394 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4976 _s1 = omc_ComponentReference_printComponentRefStr(threadData, _crefOuter);
4977#line 4977 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4978
4979#line 395 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4980 _s2 = omc_Dump_unparseInnerouterStr(threadData, _io);
4981#line 4981 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4982
4983#line 396 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4984 _s3 = omc_InnerOuter_getExistingInnerDeclarations(threadData, _ih, _componentDefinitionParentEnv);
4985#line 4985 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4986
4987#line 397 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4988 tmpMeta[8] = stringAppend(omc_AbsynUtil_pathString(threadData, _typePath, _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)), 1, 0),_OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)));
4989#line 397 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4990 tmpMeta[9] = stringAppend(tmpMeta[8],_s1);
4991#line 397 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4992 _s1 = tmpMeta[9];
4993#line 4993 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
4994
4995#line 398 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4996 tmpMeta[8] = mmc_mk_cons(_s1, mmc_mk_cons(_s2, mmc_mk_cons(_s3, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))));
4997#line 398 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
4998 omc_Error_addSourceMessage(threadData, _OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)), tmpMeta[8], _info);
4999#line 4999 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5000 }
5001
5002#line 402 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5003 _cache = omc_InstVar_instVar__dispatch(threadData, _cache, _env, _ih, _store, _ci_state, _mod, _pre, _n, _cl, _attr, _pf, _dims, _idxs, _inst_dims, _impl, _comment, _info, _graph, _csets ,&_compenv ,&_ih ,&_store ,&_dae ,NULL((void*)0) ,&_ty ,&_graph);
5004#line 5004 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5005#line 404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5006 tmpMeta[0+0] = _cache;
5007#line 404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5008 tmpMeta[0+1] = _compenv;
5009#line 404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5010 tmpMeta[0+2] = _ih;
5011#line 404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5012 tmpMeta[0+3] = _store;
5013#line 404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5014 tmpMeta[0+4] = _dae;
5015#line 404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5016 tmpMeta[0+5] = _csets;
5017#line 404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5018 tmpMeta[0+6] = _ty;
5019#line 404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5020 tmpMeta[0+7] = _graph;
5021#line 5021 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5022 goto tmp8_done;
5023 }
5024 case 6: {
5025 modelica_boolean tmp26;
5026 modelica_boolean tmp27;
5027 modelica_boolean tmp28;
5028 if (mmc__uniontype__metarecord__typedef__equal(tmp9_9,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp9_9) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp8_end;
5029 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp9_9), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp9_9) - 3))) +
(2)))))
;
5030 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp9_10), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp9_10) - 3)))
+ (6)))))
;
5031 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[9],1,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9]) - 3)))==(((0 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp8_end;
5032
5033 _cl = tmp9_9;
5034 _typeName = tmpMeta[8];
5035 _attr = tmp9_10;
5036 _cache = tmp9_1;
5037 _env = tmp9_2;
5038 _ih = tmp9_3;
5039 _store = tmp9_4;
5040 _ci_state = tmp9_5;
5041 _mod = tmp9_6;
5042 _pre = tmp9_7;
5043 _n = tmp9_8;
5044 _pf = tmp9_11;
5045 _dims = tmp9_12;
5046 _idxs = tmp9_13;
5047 _inst_dims = tmp9_14;
5048 _impl = tmp9_15;
5049 _comment = tmp9_16;
5050 _graph = tmp9_17;
5051 _csets = tmp9_18;
5052 /* Pattern matching succeeded */
5053#line 411 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5054 /* Pattern-matching assignment */
5055#line 411 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5056 tmp26 = omc_AbsynUtil_isInnerOuter(threadData, _io);
5057#line 411 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5058 if (1 != tmp26) goto goto_7;
5059#line 5059 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5060
5061#line 414 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5062 _topInstance = listHead(_ih)boxptr_listHead(threadData,_ih);
5063#line 5063 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5064
5065#line 415 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5066 /* Pattern-matching assignment */
5067#line 415 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5068 tmpMeta[8] = _topInstance;
5069#line 415 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5070 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (5)))))
;
5071#line 415 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5072 _sm = tmpMeta[9];
5073#line 5073 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5074
5075#line 416 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5076 /* Pattern-matching assignment */
5077#line 416 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5078 tmp27 = (omc_BaseHashSet_currentSize(threadData, _sm) > ((modelica_integer) 0));
5079#line 416 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5080 if (1 != tmp27) goto goto_7;
5081#line 5081 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5082
5083#line 417 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5084 _cref = omc_PrefixUtil_prefixToCref(threadData, _inPrefix);
5085#line 5085 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5086
5087#line 418 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5088 /* Pattern-matching assignment */
5089#line 418 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5090 tmp28 = omc_BaseHashSet_has(threadData, _cref, _sm);
5091#line 418 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5092 if (1 != tmp28) goto goto_7;
5093#line 5093 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5094
5095#line 420 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5096 _cache = omc_InstVar_instVar__dispatch(threadData, _cache, _env, _ih, _store, _ci_state, _mod, _pre, _n, _cl, _attr, _pf, _dims, _idxs, _inst_dims, _impl, _comment, _info, _graph, _csets ,&_innerCompEnv ,&_ih ,&_store ,&_dae ,&_csetsInner ,&_ty ,&_graph);
5097#line 5097 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5098
5099#line 424 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5100 tmpMeta[8] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5101#line 424 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5102 _cache = omc_PrefixUtil_prefixCref(threadData, _cache, _env, _ih, _pre, omc_ComponentReference_makeCrefIdent(threadData, _n, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)), tmpMeta[8]) ,&_cref);
5103#line 5103 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5104
5105#line 425 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5106 _fullName = omc_ComponentReference_printComponentRefStr(threadData, _cref);
5107#line 5107 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5108
5109#line 426 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5110 _cache = omc_Inst_makeFullyQualifiedIdent(threadData, _cache, _env, _typeName, _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)) ,&_typePath);
5111#line 5111 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5112
5113#line 430 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5114 _outerCompEnv = omc_InnerOuter_switchInnerToOuterInGraph(threadData, _innerCompEnv, _cref);
5115#line 5115 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5116
5117#line 433 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5118 _innerDAE = _dae;
5119#line 5119 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5120
5121#line 435 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5122 _innerScope = omc_FGraph_printGraphPathStr(threadData, _componentDefinitionParentEnv);
5123#line 5123 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5124
5125#line 438 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5126 tmpMeta[8] = mmc_mk_box8(3, &InnerOuter_InstResult_INST__RESULT__desc, _cache, _outerCompEnv, _store, _innerDAE, _csetsInner, _ty, _graph);
5127#line 438 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5128 tmpMeta[9] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5129#line 438 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5130 tmpMeta[10] = mmc_mk_box10(3, &InnerOuter_InstInner_INST__INNER__desc, _pre, _n, _io, _fullName, _typePath, _innerScope, mmc_mk_some(tmpMeta[8]), tmpMeta[9], mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
5131#line 438 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5132 _ih = omc_InnerOuter_updateInstHierarchy(threadData, _ih, _pre, _io, tmpMeta[10]);
5133#line 5133 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5134
5135#line 451 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5136 _cache = omc_InstVar_instVar__dispatch(threadData, _cache, _env, _ih, _store, _ci_state, _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)), _pre, _n, _cl, _attr, _pf, _dims, _idxs, _inst_dims, _impl, _comment, _info, _graph, _csets ,&_compenv ,&_ih ,&_store ,&_dae ,NULL((void*)0) ,&_ty ,&_graph);
5137#line 5137 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5138#line 453 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5139 tmpMeta[0+0] = _cache;
5140#line 453 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5141 tmpMeta[0+1] = _compenv;
5142#line 453 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5143 tmpMeta[0+2] = _ih;
5144#line 453 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5145 tmpMeta[0+3] = _store;
5146#line 453 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5147 tmpMeta[0+4] = _dae;
5148#line 453 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5149 tmpMeta[0+5] = _csetsInner;
5150#line 453 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5151 tmpMeta[0+6] = _ty;
5152#line 453 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5153 tmpMeta[0+7] = _graph;
5154#line 5154 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5155 goto tmp8_done;
5156 }
5157 case 7: {
5158 modelica_boolean tmp29;
5159 if (mmc__uniontype__metarecord__typedef__equal(tmp9_9,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp9_9) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp8_end;
5160 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp9_9), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp9_9) - 3))) +
(2)))))
;
5161
5162 _cl = tmp9_9;
5163 _typeName = tmpMeta[8];
5164 _cache = tmp9_1;
5165 _env = tmp9_2;
5166 _ih = tmp9_3;
5167 _store = tmp9_4;
5168 _ci_state = tmp9_5;
5169 _mod = tmp9_6;
5170 _pre = tmp9_7;
5171 _n = tmp9_8;
5172 _attr = tmp9_10;
5173 _pf = tmp9_11;
5174 _dims = tmp9_12;
5175 _idxs = tmp9_13;
5176 _inst_dims = tmp9_14;
5177 _impl = tmp9_15;
5178 _comment = tmp9_16;
5179 _graph = tmp9_17;
5180 _csets = tmp9_18;
5181 /* Pattern matching succeeded */
5182#line 460 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5183 /* Pattern-matching assignment */
5184#line 460 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5185 tmp29 = omc_AbsynUtil_isInnerOuter(threadData, _io);
5186#line 460 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5187 if (1 != tmp29) goto goto_7;
5188#line 5188 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5189
5190#line 464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5191 _cache = omc_InstVar_instVar__dispatch(threadData, _cache, _env, _ih, _store, _ci_state, _mod, _pre, _n, _cl, _attr, _pf, _dims, _idxs, _inst_dims, _impl, _comment, _info, _graph, _csets ,&_innerCompEnv ,&_ih ,&_store ,&_dae ,&_csetsInner ,&_ty ,&_graph);
5192#line 5192 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5193
5194#line 468 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5195 tmpMeta[8] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5196#line 468 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5197 _cache = omc_PrefixUtil_prefixCref(threadData, _cache, _env, _ih, _pre, omc_ComponentReference_makeCrefIdent(threadData, _n, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)), tmpMeta[8]) ,&_cref);
5198#line 5198 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5199
5200#line 469 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5201 _fullName = omc_ComponentReference_printComponentRefStr(threadData, _cref);
5202#line 5202 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5203
5204#line 470 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5205 _cache = omc_Inst_makeFullyQualifiedIdent(threadData, _cache, _env, _typeName, _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)) ,&_typePath);
5206#line 5206 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5207
5208#line 474 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5209 _outerCompEnv = omc_InnerOuter_switchInnerToOuterInGraph(threadData, _innerCompEnv, _cref);
5210#line 5210 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5211
5212#line 477 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5213 _innerDAE = _dae;
5214#line 5214 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5215
5216#line 479 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5217 _innerScope = omc_FGraph_printGraphPathStr(threadData, _componentDefinitionParentEnv);
5218#line 5218 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5219
5220#line 482 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5221 tmpMeta[8] = mmc_mk_box8(3, &InnerOuter_InstResult_INST__RESULT__desc, _cache, _outerCompEnv, _store, _innerDAE, _csetsInner, _ty, _graph);
5222#line 482 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5223 tmpMeta[9] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5224#line 482 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5225 tmpMeta[10] = mmc_mk_box10(3, &InnerOuter_InstInner_INST__INNER__desc, _pre, _n, _io, _fullName, _typePath, _innerScope, mmc_mk_some(tmpMeta[8]), tmpMeta[9], mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
5226#line 482 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5227 _ih = omc_InnerOuter_updateInstHierarchy(threadData, _ih, _pre, _io, tmpMeta[10]);
5228#line 5228 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5229
5230#line 495 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5231 _pf = omc_SCodeUtil_prefixesSetInnerOuter(threadData, _pf, _OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)));
5232#line 5232 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5233
5234#line 496 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5235 _cache = omc_InstVar_instVar(threadData, _cache, _env, _ih, _store, _ci_state, _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)), _pre, _n, _cl, _attr, _pf, _dims, _idxs, _inst_dims, _impl, _comment, _info, _graph, _csets, _componentDefinitionParentEnv ,&_compenv ,&_ih ,&_store ,&_dae ,NULL((void*)0) ,&_ty ,&_graph);
5236#line 5236 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5237
5238#line 500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5239 _outerDAE = _dae;
5240#line 5240 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5241
5242#line 503 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5243 _dae = omc_DAEUtil_joinDaes(threadData, _outerDAE, _innerDAE);
5244#line 5244 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5245#line 504 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5246 tmpMeta[0+0] = _cache;
5247#line 504 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5248 tmpMeta[0+1] = _compenv;
5249#line 504 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5250 tmpMeta[0+2] = _ih;
5251#line 504 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5252 tmpMeta[0+3] = _store;
5253#line 504 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5254 tmpMeta[0+4] = _dae;
5255#line 504 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5256 tmpMeta[0+5] = _csetsInner;
5257#line 504 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5258 tmpMeta[0+6] = _ty;
5259#line 504 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5260 tmpMeta[0+7] = _graph;
5261#line 5261 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5262 goto tmp8_done;
5263 }
5264 case 8: {
5265 modelica_boolean tmp30;
5266
5267 _cache = tmp9_1;
5268 _env = tmp9_2;
5269 _ih = tmp9_3;
5270 _store = tmp9_4;
5271 _ci_state = tmp9_5;
5272 _mod = tmp9_6;
5273 _pre = tmp9_7;
5274 _n = tmp9_8;
5275 _cl = tmp9_9;
5276 _attr = tmp9_10;
5277 _pf = tmp9_11;
5278 _dims = tmp9_12;
5279 _idxs = tmp9_13;
5280 _inst_dims = tmp9_14;
5281 _impl = tmp9_15;
5282 _comment = tmp9_16;
5283 _graph = tmp9_17;
5284 _csets = tmp9_18;
5285 /* Pattern matching succeeded */
5286#line 511 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5287 /* Pattern-matching assignment */
5288#line 511 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5289 tmp30 = omc_AbsynUtil_isNotInnerOuter(threadData, _io);
5290#line 511 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5291 if (1 != tmp30) goto goto_7;
5292#line 5292 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5293#line 515 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5294 tmpMeta[0+0] = omc_InstVar_instVar__dispatch(threadData, _cache, _env, _ih, _store, _ci_state, _mod, _pre, _n, _cl, _attr, _pf, _dims, _idxs, _inst_dims, _impl, _comment, _info, _graph, _csets, &tmpMeta[0+1], &tmpMeta[0+2], &tmpMeta[0+3], &tmpMeta[0+4], &tmpMeta[0+5], &tmpMeta[0+6], &tmpMeta[0+7]);
5295#line 5295 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5296 goto tmp8_done;
5297 }
5298 case 9: {
5299 modelica_boolean tmp31;
5300
5301 _cache = tmp9_1;
5302 _env = tmp9_2;
5303 _ih = tmp9_3;
5304 _mod = tmp9_6;
5305 _pre = tmp9_7;
5306 _n = tmp9_8;
5307 _cl = tmp9_9;
5308 /* Pattern matching succeeded */
5309#line 523 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5310 /* Pattern-matching assignment */
5311#line 523 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5312 tmp31 = omc_Flags_isSet(threadData, _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)));
5313#line 523 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5314 if (1 != tmp31) goto goto_7;
5315#line 5315 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5316
5317#line 524 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5318 tmpMeta[8] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5319#line 524 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5320 _cache = omc_PrefixUtil_prefixCref(threadData, _cache, _env, _ih, _pre, omc_ComponentReference_makeCrefIdent(threadData, _n, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)), tmpMeta[8]) ,&_cref);
Value stored to '_cache' is never read
5321#line 5321 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5322
5323#line 525 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5324 tmpMeta[8] = stringAppend(_OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)),omc_ComponentReference_printComponentRefStr(threadData, _cref));
5325#line 525 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5326 tmpMeta[9] = stringAppend(tmpMeta[8],_OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)));
5327#line 525 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5328 tmpMeta[10] = stringAppend(tmpMeta[9],omc_Mod_prettyPrintMod(threadData, _mod, ((modelica_integer) 0)));
5329#line 525 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5330 tmpMeta[11] = stringAppend(tmpMeta[10],_OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3)));
5331#line 525 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5332 tmpMeta[12] = stringAppend(tmpMeta[11],omc_FGraph_printGraphPathStr(threadData, _env));
5333#line 525 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5334 tmpMeta[13] = stringAppend(tmpMeta[12],_OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3)));
5335#line 525 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5336 tmpMeta[14] = stringAppend(tmpMeta[13],omc_SCodeDump_unparseElementStr(threadData, _cl, _OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3))));
5337#line 525 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5338 omc_Debug_traceln(threadData, tmpMeta[14]);
5339#line 5339 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5340#line 528 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstVar.mo"
5341 goto goto_7;
5342#line 5342 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstVar.c"
5343 goto tmp8_done;
5344 }
5345 }
5346 goto tmp8_end;
5347 tmp8_end: ;
5348 }
5349 goto goto_7;
5350 tmp8_done:
5351 (void)tmp9;
5352 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
5353 goto tmp8_done2;
5354 goto_7:;
5355 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
5356 if (++tmp9 < 10) {
5357 goto tmp8_top;
5358 }
5359 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5360 tmp8_done2:;
5361 }
5362 }
5363 _outCache = tmpMeta[0+0];
5364 _outEnv = tmpMeta[0+1];
5365 _outIH = tmpMeta[0+2];
5366 _outStore = tmpMeta[0+3];
5367 _outDae = tmpMeta[0+4];
5368 _outSets = tmpMeta[0+5];
5369 _outType = tmpMeta[0+6];
5370 _outGraph = tmpMeta[0+7];
5371 _return: OMC_LABEL_UNUSED__attribute__((unused))
5372 if (out_outEnv) { *out_outEnv = _outEnv; }
5373 if (out_outIH) { *out_outIH = _outIH; }
5374 if (out_outStore) { *out_outStore = _outStore; }
5375 if (out_outDae) { *out_outDae = _outDae; }
5376 if (out_outSets) { *out_outSets = _outSets; }
5377 if (out_outType) { *out_outType = _outType; }
5378 if (out_outGraph) { *out_outGraph = _outGraph; }
5379 return _outCache;
5380}
5381modelica_metatype boxptr_InstVar_instVar(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inStore, modelica_metatype _inState, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inIdent, modelica_metatype _inClass, modelica_metatype _inAttributes, modelica_metatype _inPrefixes, modelica_metatype _inDimensionLst, modelica_metatype _inIntegerLst, modelica_metatype _inInstDims, modelica_metatype _inImpl, modelica_metatype _inComment, modelica_metatype _info, modelica_metatype _inGraph, modelica_metatype _inSets, modelica_metatype _componentDefinitionParentEnv, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outStore, modelica_metatype *out_outDae, modelica_metatype *out_outSets, modelica_metatype *out_outType, modelica_metatype *out_outGraph)
5382{
5383 modelica_integer tmp1;
5384 modelica_metatype _outCache = NULL((void*)0);
5385 tmp1 = mmc_unbox_integer(_inImpl)(((mmc_sint_t) (_inImpl)) >> 1);
5386 _outCache = omc_InstVar_instVar(threadData, _inCache, _inEnv, _inIH, _inStore, _inState, _inMod, _inPrefix, _inIdent, _inClass, _inAttributes, _inPrefixes, _inDimensionLst, _inIntegerLst, _inInstDims, tmp1, _inComment, _info, _inGraph, _inSets, _componentDefinitionParentEnv, out_outEnv, out_outIH, out_outStore, out_outDae, out_outSets, out_outType, out_outGraph);
5387 /* skip box _outCache; FCore.Cache */
5388 /* skip box _outEnv; FCore.Graph */
5389 /* skip box _outIH; list<InnerOuter.TopInstance> */
5390 /* skip box _outStore; UnitAbsyn.InstStore */
5391 /* skip box _outDae; DAE.DAElist */
5392 /* skip box _outSets; DAE.Connect.Sets */
5393 /* skip box _outType; DAE.Type */
5394 /* skip box _outGraph; ConnectionGraph.ConnectionGraph */
5395 return _outCache;
5396}
5397