Bug Summary

File:OMCompiler/Compiler/boot/build/FNode.c
Warning:line 5914, column 3
Value stored to '_r' 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/FNode.c" OMC_BASE_FILE
3#else
4 #define OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c" "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "FNode.h"
8#define _OMC_LIT0_data"$ext_" "$ext_"
9static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT0,5,_OMC_LIT0_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT0
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "$ext_"
}
;
10#define _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT0)((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3))
11#define _OMC_LIT1_data"." "."
12static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT1,1,_OMC_LIT1_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT1
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "."
}
;
13#define _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT1)((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))
14#define _OMC_LIT2_data"$imp" "$imp"
15static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT2,4,_OMC_LIT2_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT2
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "$imp"
}
;
16#define _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT2)((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))
17#define _OMC_LIT3_data"$ref" "$ref"
18static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT3,4,_OMC_LIT3_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT3
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "$ref"
}
;
19#define _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT3)((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3))
20#define _OMC_LIT4_data"$it" "$it"
21static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT4,3,_OMC_LIT4_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT4
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "$it"
}
;
22#define _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT4)((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))
23#define _OMC_LIT5_data"$mod" "$mod"
24static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT5,4,_OMC_LIT5_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT5
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "$mod"
}
;
25#define _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT5)((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))
26#define _OMC_LIT6_data"graphInst" "graphInst"
27static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT6,9,_OMC_LIT6_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT6
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "graphInst"
}
;
28#define _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT6)((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))
29#define _OMC_LIT7_data"Do graph based instantiation." "Do graph based instantiation."
30static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT7,29,_OMC_LIT7_data)struct { mmc_uint_t header; const char data[(29)+1]; } _OMC_LIT_STRUCT7
= { ((((mmc_uint_t)29)<<(3))+((1<<(3+3))+5)), "Do graph based instantiation."
}
;
31#define _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT7)((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))
32static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT8,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT8
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))}};
33#define _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT8)((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))
34static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT9,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT9
= { (((5) << 10) + (((3) & 255) << 2)),
{&Flags_DebugFlag_DEBUG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(79))((void*)(((((mmc_uint_t) (79)) << 1)+0))),_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))}};
35#define _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT9)((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))
36#define _OMC_LIT10_data"/" "/"
37static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT10,1,_OMC_LIT10_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT10
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "/"
}
;
38#define _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT10)((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))
39#define _OMC_LIT11_data"[i:" "[i:"
40static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT11,3,_OMC_LIT11_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT11
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "[i:"
}
;
41#define _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT11)((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))
42#define _OMC_LIT12_data"] " "] "
43static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT12,2,_OMC_LIT12_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT12
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "] "
}
;
44#define _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT12)((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))
45#define _OMC_LIT13_data"[p:" "[p:"
46static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT13,3,_OMC_LIT13_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT13
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "[p:"
}
;
47#define _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT13)((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))
48#define _OMC_LIT14_data", " ", "
49static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT14,2,_OMC_LIT14_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT14
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ", "
}
;
50#define _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT14)((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))
51#define _OMC_LIT15_data"[n:" "[n:"
52static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT15,3,_OMC_LIT15_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT15
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "[n:"
}
;
53#define _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT15)((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))
54#define _OMC_LIT16_data"[d:" "[d:"
55static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT16,3,_OMC_LIT16_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT16
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "[d:"
}
;
56#define _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT16)((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))
57#define _OMC_LIT17_data"]" "]"
58static 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)), "]"
}
;
59#define _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT17)((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))
60#define _OMC_LIT18_data"Unhandled node!" "Unhandled node!"
61static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT18,15,_OMC_LIT18_data)struct { mmc_uint_t header; const char data[(15)+1]; } _OMC_LIT_STRUCT18
= { ((((mmc_uint_t)15)<<(3))+((1<<(3+3))+5)), "Unhandled node!"
}
;
62#define _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT18)((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))
63#define _OMC_LIT19_data"TOP" "TOP"
64static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT19,3,_OMC_LIT19_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT19
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "TOP"
}
;
65#define _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT19)((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))
66#define _OMC_LIT20_data"I" "I"
67static 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)), "I"
}
;
68#define _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT20)((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))
69#define _OMC_LIT21_data"CE" "CE"
70static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT21,2,_OMC_LIT21_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT21
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "CE"
}
;
71#define _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT21)((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))
72#define _OMC_LIT22_data"C" "C"
73static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT22,1,_OMC_LIT22_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT22
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "C"
}
;
74#define _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT22)((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))
75#define _OMC_LIT23_data"c" "c"
76static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT23,1,_OMC_LIT23_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT23
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "c"
}
;
77#define _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT23)((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))
78#define _OMC_LIT24_data"E" "E"
79static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT24,1,_OMC_LIT24_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT24
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "E"
}
;
80#define _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT24)((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))
81#define _OMC_LIT25_data"U" "U"
82static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT25,1,_OMC_LIT25_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT25
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "U"
}
;
83#define _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT25)((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))
84#define _OMC_LIT26_data"FT" "FT"
85static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT26,2,_OMC_LIT26_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT26
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "FT"
}
;
86#define _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT26)((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))
87#define _OMC_LIT27_data"ALG" "ALG"
88static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT27,3,_OMC_LIT27_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT27
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "ALG"
}
;
89#define _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT27)((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))
90#define _OMC_LIT28_data"EQ" "EQ"
91static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT28,2,_OMC_LIT28_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT28
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "EQ"
}
;
92#define _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT28)((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))
93#define _OMC_LIT29_data"OPT" "OPT"
94static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT29,3,_OMC_LIT29_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT29
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "OPT"
}
;
95#define _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT29)((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3))
96#define _OMC_LIT30_data"ED" "ED"
97static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT30,2,_OMC_LIT30_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT30
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "ED"
}
;
98#define _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT30)((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))
99#define _OMC_LIT31_data"FS" "FS"
100static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT31,2,_OMC_LIT31_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT31
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "FS"
}
;
101#define _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT31)((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))
102#define _OMC_LIT32_data"FI" "FI"
103static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT32,2,_OMC_LIT32_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT32
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "FI"
}
;
104#define _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT32)((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))
105#define _OMC_LIT33_data"MS" "MS"
106static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT33,2,_OMC_LIT33_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT33
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "MS"
}
;
107#define _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT33)((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))
108#define _OMC_LIT34_data"M" "M"
109static 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)), "M"
}
;
110#define _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT34)((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))
111#define _OMC_LIT35_data"r" "r"
112static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT35,1,_OMC_LIT35_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT35
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "r"
}
;
113#define _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT35)((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3))
114#define _OMC_LIT36_data"CC" "CC"
115static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT36,2,_OMC_LIT36_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT36
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "CC"
}
;
116#define _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT36)((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))
117#define _OMC_LIT37_data"ND" "ND"
118static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT37,2,_OMC_LIT37_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT37
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "ND"
}
;
119#define _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT37)((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3))
120#define _OMC_LIT38_data"REF" "REF"
121static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT38,3,_OMC_LIT38_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT38
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "REF"
}
;
122#define _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT38)((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))
123#define _OMC_LIT39_data"VR" "VR"
124static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT39,2,_OMC_LIT39_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT39
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "VR"
}
;
125#define _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT39)((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))
126#define _OMC_LIT40_data"IM" "IM"
127static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT40,2,_OMC_LIT40_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT40
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "IM"
}
;
128#define _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT40)((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))
129#define _OMC_LIT41_data"assert(" "assert("
130static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT41,7,_OMC_LIT41_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT41
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "assert("
}
;
131#define _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT41)((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))
132#define _OMC_LIT42_data")" ")"
133static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT42,1,_OMC_LIT42_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT42
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), ")"
}
;
134#define _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT42)((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))
135#define _OMC_LIT43_data"UKNOWN NODE DATA" "UKNOWN NODE DATA"
136static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT43,16,_OMC_LIT43_data)struct { mmc_uint_t header; const char data[(16)+1]; } _OMC_LIT_STRUCT43
= { ((((mmc_uint_t)16)<<(3))+((1<<(3+3))+5)), "UKNOWN NODE DATA"
}
;
137#define _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT43)((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))
138static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT44,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT44
= { (((1) << 10) + (((5) & 255) << 2)),
{&DAE_Mod_NOMOD__desc,}};
139#define _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT44)((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))
140static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT45,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT45
= { (((1) << 10) + (((3) & 255) << 2)),
{&FCore_Status_VAR__UNTYPED__desc,}};
141#define _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT45)((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))
142static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT46,1,11)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT46
= { (((1) << 10) + (((11) & 255) << 2)),
{&DAE_Type_T__UNKNOWN__desc,}};
143#define _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT46)((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))
144static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT47,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT47
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_Binding_UNBOUND__desc,}};
145#define _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT47)((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))
146static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT48,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT48
= { (((1) << 10) + (((5) & 255) << 2)),
{&ErrorTypes_MessageType_TRANSLATION__desc,}};
147#define _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT48)((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))
148static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT49,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT49
= { (((1) << 10) + (((4) & 255) << 2)),
{&ErrorTypes_Severity_ERROR__desc,}};
149#define _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT49)((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))
150#define _OMC_LIT50_data"An element with name %s is already declared in this scope." "An element with name %s is already declared in this scope."
151static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT50,58,_OMC_LIT50_data)struct { mmc_uint_t header; const char data[(58)+1]; } _OMC_LIT_STRUCT50
= { ((((mmc_uint_t)58)<<(3))+((1<<(3+3))+5)), "An element with name %s is already declared in this scope."
}
;
152#define _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT50)((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))
153static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT51,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT51
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))}};
154#define _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT51)((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))
155static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT52,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT52
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(161))((void*)(((((mmc_uint_t) (161)) << 1)+0))),_OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)),_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)),_OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))}};
156#define _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT52)((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))
157#define _OMC_LIT53_data"Qualified import name %s already exists in this scope." "Qualified import name %s already exists in this scope."
158static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT53,54,_OMC_LIT53_data)struct { mmc_uint_t header; const char data[(54)+1]; } _OMC_LIT_STRUCT53
= { ((((mmc_uint_t)54)<<(3))+((1<<(3+3))+5)), "Qualified import name %s already exists in this scope."
}
;
159#define _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT53)((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))
160static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT54,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT54
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))}};
161#define _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT54)((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))
162static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT55,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT55
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(163))((void*)(((((mmc_uint_t) (163)) << 1)+0))),_OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)),_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)),_OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))}};
163#define _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT55)((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))
164#include "util/modelica.h"
165
166#include "FNode_includes.h"
167
168
169/* default, do not make protected functions static */
170#if !defined(PROTECTED_FUNCTION_STATIC)
171#define PROTECTED_FUNCTION_STATIC
172#endif
173PROTECTED_FUNCTION_STATIC modelica_metatype omc_FNode_copyChild(threadData_t *threadData, modelica_string _name, modelica_metatype _inRef);
174static const MMC_DEFSTRUCTLIT(boxvar_lit_FNode_copyChild,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FNode_copyChild
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FNode_copyChildomc_FNode_copyChild,0}};
175#define boxvar_FNode_copyChild((void*)((char*)(&(boxvar_lit_FNode_copyChild).header) + 3
))
MMC_REFSTRUCTLIT(boxvar_lit_FNode_copyChild)((void*)((char*)(&(boxvar_lit_FNode_copyChild).header) + 3
))
176PROTECTED_FUNCTION_STATIC modelica_metatype omc_FNode_copy(threadData_t *threadData, modelica_metatype _inNode);
177static const MMC_DEFSTRUCTLIT(boxvar_lit_FNode_copy,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FNode_copy
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FNode_copyomc_FNode_copy,0}};
178#define boxvar_FNode_copy((void*)((char*)(&(boxvar_lit_FNode_copy).header) + 3)) MMC_REFSTRUCTLIT(boxvar_lit_FNode_copy)((void*)((char*)(&(boxvar_lit_FNode_copy).header) + 3))
179PROTECTED_FUNCTION_STATIC modelica_metatype omc_FNode_updateRefInData(threadData_t *threadData, modelica_metatype _inData, modelica_metatype _inRef);
180static const MMC_DEFSTRUCTLIT(boxvar_lit_FNode_updateRefInData,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FNode_updateRefInData
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FNode_updateRefInDataomc_FNode_updateRefInData,0}};
181#define boxvar_FNode_updateRefInData((void*)((char*)(&(boxvar_lit_FNode_updateRefInData).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_FNode_updateRefInData)((void*)((char*)(&(boxvar_lit_FNode_updateRefInData).header
) + 3))
182PROTECTED_FUNCTION_STATIC modelica_metatype omc_FNode_updateRefInGraph(threadData_t *threadData, modelica_string _name, modelica_metatype _inRef, modelica_metatype _inTopRefAndGraph);
183static const MMC_DEFSTRUCTLIT(boxvar_lit_FNode_updateRefInGraph,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FNode_updateRefInGraph
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FNode_updateRefInGraphomc_FNode_updateRefInGraph,0}};
184#define boxvar_FNode_updateRefInGraph((void*)((char*)(&(boxvar_lit_FNode_updateRefInGraph).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_FNode_updateRefInGraph)((void*)((char*)(&(boxvar_lit_FNode_updateRefInGraph).header
) + 3))
185PROTECTED_FUNCTION_STATIC modelica_metatype omc_FNode_cloneChild(threadData_t *threadData, modelica_string _name, modelica_metatype _parentRef, modelica_metatype _inRef, modelica_metatype _inGraph, modelica_metatype *out_graph);
186static const MMC_DEFSTRUCTLIT(boxvar_lit_FNode_cloneChild,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FNode_cloneChild
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FNode_cloneChildomc_FNode_cloneChild,0}};
187#define boxvar_FNode_cloneChild((void*)((char*)(&(boxvar_lit_FNode_cloneChild).header) +
3))
MMC_REFSTRUCTLIT(boxvar_lit_FNode_cloneChild)((void*)((char*)(&(boxvar_lit_FNode_cloneChild).header) +
3))
188PROTECTED_FUNCTION_STATIC modelica_metatype omc_FNode_filter__work(threadData_t *threadData, modelica_string _name, modelica_metatype _ref, modelica_fnptr _filter, modelica_metatype _accum);
189static const MMC_DEFSTRUCTLIT(boxvar_lit_FNode_filter__work,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FNode_filter__work
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FNode_filter__workomc_FNode_filter__work,0}};
190#define boxvar_FNode_filter__work((void*)((char*)(&(boxvar_lit_FNode_filter__work).header)
+ 3))
MMC_REFSTRUCTLIT(boxvar_lit_FNode_filter__work)((void*)((char*)(&(boxvar_lit_FNode_filter__work).header)
+ 3))
191PROTECTED_FUNCTION_STATIC modelica_metatype omc_FNode_namesUpToParentName__dispatch(threadData_t *threadData, modelica_metatype _inRef, modelica_string _inName, modelica_metatype _acc);
192static const MMC_DEFSTRUCTLIT(boxvar_lit_FNode_namesUpToParentName__dispatch,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FNode_namesUpToParentName__dispatch
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FNode_namesUpToParentName__dispatchomc_FNode_namesUpToParentName__dispatch,0}};
193#define boxvar_FNode_namesUpToParentName__dispatch((void*)((char*)(&(boxvar_lit_FNode_namesUpToParentName__dispatch
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_FNode_namesUpToParentName__dispatch)((void*)((char*)(&(boxvar_lit_FNode_namesUpToParentName__dispatch
).header) + 3))
194PROTECTED_FUNCTION_STATIC modelica_metatype omc_FNode_printElementConflictError(threadData_t *threadData, modelica_metatype _newRef, modelica_metatype _oldRef, modelica_string _name);
195static const MMC_DEFSTRUCTLIT(boxvar_lit_FNode_printElementConflictError,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FNode_printElementConflictError
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FNode_printElementConflictErroromc_FNode_printElementConflictError,0}};
196#define boxvar_FNode_printElementConflictError((void*)((char*)(&(boxvar_lit_FNode_printElementConflictError
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_FNode_printElementConflictError)((void*)((char*)(&(boxvar_lit_FNode_printElementConflictError
).header) + 3))
197PROTECTED_FUNCTION_STATIC modelica_boolean omc_FNode_compareQualifiedImportNames(threadData_t *threadData, modelica_metatype _inImport1, modelica_metatype _inImport2);
198PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_FNode_compareQualifiedImportNames(threadData_t *threadData, modelica_metatype _inImport1, modelica_metatype _inImport2);
199static const MMC_DEFSTRUCTLIT(boxvar_lit_FNode_compareQualifiedImportNames,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FNode_compareQualifiedImportNames
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FNode_compareQualifiedImportNames,0}};
200#define boxvar_FNode_compareQualifiedImportNames((void*)((char*)(&(boxvar_lit_FNode_compareQualifiedImportNames
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_FNode_compareQualifiedImportNames)((void*)((char*)(&(boxvar_lit_FNode_compareQualifiedImportNames
).header) + 3))
201PROTECTED_FUNCTION_STATIC void omc_FNode_checkUniqueQualifiedImport(threadData_t *threadData, modelica_metatype _inImport, modelica_metatype _inImports, modelica_metatype _inInfo);
202static const MMC_DEFSTRUCTLIT(boxvar_lit_FNode_checkUniqueQualifiedImport,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FNode_checkUniqueQualifiedImport
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FNode_checkUniqueQualifiedImportomc_FNode_checkUniqueQualifiedImport,0}};
203#define boxvar_FNode_checkUniqueQualifiedImport((void*)((char*)(&(boxvar_lit_FNode_checkUniqueQualifiedImport
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_FNode_checkUniqueQualifiedImport)((void*)((char*)(&(boxvar_lit_FNode_checkUniqueQualifiedImport
).header) + 3))
204PROTECTED_FUNCTION_STATIC modelica_metatype omc_FNode_translateQualifiedImportToNamed(threadData_t *threadData, modelica_metatype _inImport);
205static const MMC_DEFSTRUCTLIT(boxvar_lit_FNode_translateQualifiedImportToNamed,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FNode_translateQualifiedImportToNamed
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FNode_translateQualifiedImportToNamedomc_FNode_translateQualifiedImportToNamed,0}};
206#define boxvar_FNode_translateQualifiedImportToNamed((void*)((char*)(&(boxvar_lit_FNode_translateQualifiedImportToNamed
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_FNode_translateQualifiedImportToNamed)((void*)((char*)(&(boxvar_lit_FNode_translateQualifiedImportToNamed
).header) + 3))
207
208DLLExport
209modelica_boolean omc_FNode_scopePathEq(threadData_t *threadData, modelica_metatype _scope1, modelica_metatype _scope2)
210{
211 modelica_boolean _eq;
212 modelica_boolean tmp1;
213 MMC_SO()mmc_check_stackoverflow(threadData);
214 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
215 // _eq has no default value.
216#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
217 {
218#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
219 modelica_boolean _D_24tmpVar1;
220#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
221 modelica_boolean _D_24tmpVar0;
222#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
223 int tmp2;
224#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
225 modelica_metatype _r2_loopVar = 0;
226#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
227 modelica_metatype _r2;
228#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
229 modelica_metatype _r1_loopVar = 0;
230#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
231 modelica_metatype _r1;
232#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
233 _r2_loopVar = _scope2;
234#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
235 _r1_loopVar = _scope1;
236#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
237 _D_24tmpVar1 = 1; /* defaultValue */
238#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
239 while(1) {
240#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
241 tmp2 = 2;
242#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
243 if (!listEmpty(_r2_loopVar)((*(mmc_uint_t*)((void*)((char*)(_r2_loopVar) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) {
244#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
245 _r2 = MMC_CAR(_r2_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_r2_loopVar) - 3
))) + (1)))))
;
246#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
247 _r2_loopVar = MMC_CDR(_r2_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_r2_loopVar) - 3
))) + (2)))))
;
248#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
249 tmp2--;
250#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
251 }if (!listEmpty(_r1_loopVar)((*(mmc_uint_t*)((void*)((char*)(_r1_loopVar) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) {
252#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
253 _r1 = MMC_CAR(_r1_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_r1_loopVar) - 3
))) + (1)))))
;
254#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
255 _r1_loopVar = MMC_CDR(_r1_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_r1_loopVar) - 3
))) + (2)))))
;
256#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
257 tmp2--;
258#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
259 }
260#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
261 if (tmp2 == 0) {
262#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
263 _D_24tmpVar0 = (stringEqual(omc_FNode_refName(threadData, _r1), omc_FNode_refName(threadData, _r2))((((((*(mmc_uint_t*)((void*)((char*)(omc_FNode_refName(threadData
, _r1)) - 3)))) >> (3)) - 8)) == (((((*(mmc_uint_t*)((void
*)((char*)(omc_FNode_refName(threadData, _r2)) - 3)))) >>
(3)) - 8)) && !mmc_stringCompare(omc_FNode_refName(threadData
, _r1),omc_FNode_refName(threadData, _r2)))
);
264#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
265 _D_24tmpVar1 = (_D_24tmpVar0 && _D_24tmpVar1);
266#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
267 } else if (tmp2 == 2) {
268#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
269 break;
270#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
271 } else {
272#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
273 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
274#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
275 }
276#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
277 }
278#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
279 tmp1 = _D_24tmpVar1;
280#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
281 }
282#line 2032 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
283 _eq = tmp1;
284#line 284 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
285 _return: OMC_LABEL_UNUSED__attribute__((unused))
286 return _eq;
287}
288modelica_metatype boxptr_FNode_scopePathEq(threadData_t *threadData, modelica_metatype _scope1, modelica_metatype _scope2)
289{
290 modelica_boolean _eq;
291 modelica_metatype out_eq;
292 _eq = omc_FNode_scopePathEq(threadData, _scope1, _scope2);
293 out_eq = mmc_mk_icon(_eq);
294 return out_eq;
295}
296
297DLLExport
298modelica_integer omc_FNode_scopeHashWork(threadData_t *threadData, modelica_metatype _scope, modelica_integer _D_24in_hash)
299{
300 modelica_integer _hash;
301 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
302 MMC_SO()mmc_check_stackoverflow(threadData);
303 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
304 _hash = _D_24in_hash;
305#line 2023 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
306 {
307#line 2023 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
308 modelica_metatype _r;
309#line 2023 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
310 for (tmpMeta[0] = _scope; !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)))))
)
311#line 2023 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
312 {
313#line 2023 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
314 _r = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
315#line 2024 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
316 _hash = (((modelica_integer) 31)) * (_hash) + stringHashDjb2(omc_FNode_refName(threadData, _r));
317#line 317 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
318 }
319 }
320 _return: OMC_LABEL_UNUSED__attribute__((unused))
321 return _hash;
322}
323modelica_metatype boxptr_FNode_scopeHashWork(threadData_t *threadData, modelica_metatype _scope, modelica_metatype _D_24in_hash)
324{
325 modelica_integer tmp1;
326 modelica_integer _hash;
327 modelica_metatype out_hash;
328 tmp1 = mmc_unbox_integer(_D_24in_hash)(((mmc_sint_t) (_D_24in_hash)) >> 1);
329 _hash = omc_FNode_scopeHashWork(threadData, _scope, tmp1);
330 out_hash = mmc_mk_icon(_hash);
331 return out_hash;
332}
333
334DLLExport
335modelica_string omc_FNode_mkExtendsName(threadData_t *threadData, modelica_metatype _inPath)
336{
337 modelica_string _outName = NULL((void*)0);
338 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
339 MMC_SO()mmc_check_stackoverflow(threadData);
340 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
341 // _outName has no default value.
342#line 2016 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
343 tmpMeta[0] = stringAppend(_OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)),omc_AbsynUtil_pathString(threadData, _inPath, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)), 1, 0));
344#line 2016 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
345 _outName = tmpMeta[0];
346#line 346 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
347 _return: OMC_LABEL_UNUSED__attribute__((unused))
348 return _outName;
349}
350
351DLLExport
352modelica_metatype omc_FNode_importTable(threadData_t *threadData, modelica_metatype _inNode)
353{
354 modelica_metatype _it = NULL((void*)0);
355 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
356 MMC_SO()mmc_check_stackoverflow(threadData);
357 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
358 // _it has no default value.
359#line 359 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
360 { /* match expression */
361 modelica_metatype tmp3_1;
362 tmp3_1 = _inNode;
363 {
364 volatile mmc_switch_type tmp3;
365 int tmp4;
366 tmp3 = 0;
367 for (; tmp3 < 1; tmp3++) {
368 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
369 case 0: {
370 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
371 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],2,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((1 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
372 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
373 _it = tmpMeta[2];
374 /* Pattern matching succeeded */
375#line 2008 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
376 tmpMeta[0] = _it;
377#line 377 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
378 goto tmp2_done;
379 }
380 }
381 goto tmp2_end;
382 tmp2_end: ;
383 }
384 goto goto_1;
385 goto_1:;
386 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
387 goto tmp2_done;
388 tmp2_done:;
389 }
390 }
391 _it = tmpMeta[0];
392 _return: OMC_LABEL_UNUSED__attribute__((unused))
393 return _it;
394}
395
396DLLExport
397modelica_metatype omc_FNode_refImport(threadData_t *threadData, modelica_metatype _inRef)
398{
399 modelica_metatype _r = NULL((void*)0);
400 MMC_SO()mmc_check_stackoverflow(threadData);
401 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
402 // _r has no default value.
403#line 1999 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
404 _r = omc_FNode_child(threadData, _inRef, _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)));
405#line 405 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
406 _return: OMC_LABEL_UNUSED__attribute__((unused))
407 return _r;
408}
409
410DLLExport
411modelica_metatype omc_FNode_refRefTargetScope(threadData_t *threadData, modelica_metatype _inRef)
412{
413 modelica_metatype _sc = NULL((void*)0);
414 modelica_metatype _r = NULL((void*)0);
415 MMC_SO()mmc_check_stackoverflow(threadData);
416 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
417 // _sc has no default value.
418 // _r has no default value.
419#line 1991 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
420 _r = omc_FNode_refRef(threadData, _inRef);
421#line 421 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
422
423#line 1992 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
424 _sc = omc_FNode_targetScope(threadData, omc_FNode_fromRef(threadData, _r));
425#line 425 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
426 _return: OMC_LABEL_UNUSED__attribute__((unused))
427 return _sc;
428}
429
430DLLExport
431modelica_metatype omc_FNode_refRef(threadData_t *threadData, modelica_metatype _inRef)
432{
433 modelica_metatype _r = NULL((void*)0);
434 MMC_SO()mmc_check_stackoverflow(threadData);
435 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
436 // _r has no default value.
437#line 1982 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
438 _r = omc_FNode_child(threadData, _inRef, _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
439#line 439 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
440 _return: OMC_LABEL_UNUSED__attribute__((unused))
441 return _r;
442}
443
444DLLExport
445modelica_boolean omc_FNode_isRefRefResolved(threadData_t *threadData, modelica_metatype _inRef)
446{
447 modelica_boolean _b;
448 MMC_SO()mmc_check_stackoverflow(threadData);
449 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
450 // _b has no default value.
451#line 1975 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
452 _b = (!omc_FNode_isRefRefUnresolved(threadData, _inRef));
453#line 453 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
454 _return: OMC_LABEL_UNUSED__attribute__((unused))
455 return _b;
456}
457modelica_metatype boxptr_FNode_isRefRefResolved(threadData_t *threadData, modelica_metatype _inRef)
458{
459 modelica_boolean _b;
460 modelica_metatype out_b;
461 _b = omc_FNode_isRefRefResolved(threadData, _inRef);
462 out_b = mmc_mk_icon(_b);
463 return out_b;
464}
465
466DLLExport
467modelica_boolean omc_FNode_isRefRefUnresolved(threadData_t *threadData, modelica_metatype _inRef)
468{
469 modelica_boolean _b;
470 modelica_boolean tmp1 = 0;
471 MMC_SO()mmc_check_stackoverflow(threadData);
472 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
473 // _b has no default value.
474#line 474 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
475 { /* matchcontinue expression */
476 {
477 volatile mmc_switch_type tmp4;
478 int tmp5;
479 tmp4 = 0;
480 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) {
481 tmp3_top:
482 threadData->mmc_jumper = &new_mmc_jumper;
483 for (; tmp4 < 2; tmp4++) {
484 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
485 case 0: {
486 /* Pattern matching succeeded */
487#line 1961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
488 omc_FNode_refRef(threadData, _inRef);
489#line 489 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
490#line 1962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
491 tmp1 = listEmpty(omc_FNode_refRefTargetScope(threadData, _inRef))((*(mmc_uint_t*)((void*)((char*)(omc_FNode_refRefTargetScope(
threadData, _inRef)) - 3))) == (((0) << 10) + (((0) &
255) << 2)))
;
492#line 492 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
493 goto tmp3_done;
494 }
495 case 1: {
496 /* Pattern matching succeeded */
497#line 1966 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
498 tmp1 = 1;
499#line 499 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
500 goto tmp3_done;
501 }
502 }
503 goto tmp3_end;
504 tmp3_end: ;
505 }
506 goto goto_2;
507 tmp3_done:
508 (void)tmp4;
509 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
510 goto tmp3_done2;
511 goto_2:;
512 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
513 if (++tmp4 < 2) {
514 goto tmp3_top;
515 }
516 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
517 tmp3_done2:;
518 }
519 }
520 _b = tmp1;
521 _return: OMC_LABEL_UNUSED__attribute__((unused))
522 return _b;
523}
524modelica_metatype boxptr_FNode_isRefRefUnresolved(threadData_t *threadData, modelica_metatype _inRef)
525{
526 modelica_boolean _b;
527 modelica_metatype out_b;
528 _b = omc_FNode_isRefRefUnresolved(threadData, _inRef);
529 out_b = mmc_mk_icon(_b);
530 return out_b;
531}
532
533DLLExport
534modelica_metatype omc_FNode_refInstance(threadData_t *threadData, modelica_metatype _inRef)
535{
536 modelica_metatype _r = NULL((void*)0);
537 MMC_SO()mmc_check_stackoverflow(threadData);
538 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
539 // _r has no default value.
540#line 1950 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
541 _r = omc_FNode_child(threadData, _inRef, _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)));
542#line 542 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
543 _return: OMC_LABEL_UNUSED__attribute__((unused))
544 return _r;
545}
546
547DLLExport
548modelica_metatype omc_FNode_refInstVar(threadData_t *threadData, modelica_metatype _inRef)
549{
550 modelica_metatype _v = NULL((void*)0);
551 modelica_metatype _r = NULL((void*)0);
552 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
553 MMC_SO()mmc_check_stackoverflow(threadData);
554 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
555 // _v has no default value.
556 // _r has no default value.
557#line 1942 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
558 _r = omc_FNode_refInstance(threadData, _inRef);
559#line 559 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
560
561#line 1943 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
562 /* Pattern-matching assignment */
563#line 1943 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
564 tmpMeta[0] = omc_FNode_refData(threadData, _r);
565#line 1943 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
566 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
567#line 1943 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
568 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
569#line 1943 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
570 _v = tmpMeta[1];
571#line 571 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
572 _return: OMC_LABEL_UNUSED__attribute__((unused))
573 return _v;
574}
575
576DLLExport
577modelica_boolean omc_FNode_isImplicitRefName(threadData_t *threadData, modelica_metatype _r)
578{
579 modelica_boolean _b;
580 modelica_boolean tmp1 = 0;
581 MMC_SO()mmc_check_stackoverflow(threadData);
582 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
583 // _b has no default value.
584#line 584 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
585 { /* match expression */
586 {
587 volatile mmc_switch_type tmp4;
588 int tmp5;
589 tmp4 = 0;
590 for (; tmp4 < 2; tmp4++) {
591 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
592 case 0: {
593 /* Pattern matching succeeded */
594 /* Check guard condition after assignments */
595 if (!(!omc_FNode_isRefTop(threadData, _r))) goto tmp3_end;
596#line 1926 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
597 tmp1 = omc_FCore_isImplicitScope(threadData, omc_FNode_refName(threadData, _r));
598#line 598 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
599 goto tmp3_done;
600 }
601 case 1: {
602 /* Pattern matching succeeded */
603#line 1929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
604 tmp1 = 0;
605#line 605 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
606 goto tmp3_done;
607 }
608 }
609 goto tmp3_end;
610 tmp3_end: ;
611 }
612 goto goto_2;
613 goto_2:;
614 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
615 goto tmp3_done;
616 tmp3_done:;
617 }
618 }
619 _b = tmp1;
620 _return: OMC_LABEL_UNUSED__attribute__((unused))
621 return _b;
622}
623modelica_metatype boxptr_FNode_isImplicitRefName(threadData_t *threadData, modelica_metatype _r)
624{
625 modelica_boolean _b;
626 modelica_metatype out_b;
627 _b = omc_FNode_isImplicitRefName(threadData, _r);
628 out_b = mmc_mk_icon(_b);
629 return out_b;
630}
631
632DLLExport
633modelica_metatype omc_FNode_getElementFromRef(threadData_t *threadData, modelica_metatype _inRef)
634{
635 modelica_metatype _outElement = NULL((void*)0);
636 MMC_SO()mmc_check_stackoverflow(threadData);
637 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
638 // _outElement has no default value.
639#line 1914 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
640 _outElement = omc_FNode_getElement(threadData, omc_FNode_fromRef(threadData, _inRef));
641#line 641 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
642 _return: OMC_LABEL_UNUSED__attribute__((unused))
643 return _outElement;
644}
645
646DLLExport
647modelica_metatype omc_FNode_getElement(threadData_t *threadData, modelica_metatype _inNode)
648{
649 modelica_metatype _outElement = NULL((void*)0);
650 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
651 MMC_SO()mmc_check_stackoverflow(threadData);
652 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
653 // _outElement has no default value.
654#line 654 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
655 { /* match expression */
656 modelica_metatype tmp3_1;
657 tmp3_1 = _inNode;
658 {
659 modelica_metatype _e = NULL((void*)0);
660 volatile mmc_switch_type tmp3;
661 int tmp4;
662 // _e has no default value.
663 tmp3 = 0;
664 for (; tmp3 < 2; tmp3++) {
665 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
666 case 0: {
667 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
668 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],3,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((5 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
669 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
670
671 _e = tmpMeta[2];
672 /* Pattern matching succeeded */
673#line 1903 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
674 tmpMeta[0] = _e;
675#line 675 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
676 goto tmp2_done;
677 }
678 case 1: {
679 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
680 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],4,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((4 +1)
<< 10) + (((4 +3) & 255) << 2)))
== 0) goto tmp2_end;
681 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
682
683 _e = tmpMeta[2];
684 /* Pattern matching succeeded */
685#line 1904 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
686 tmpMeta[0] = _e;
687#line 687 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
688 goto tmp2_done;
689 }
690 }
691 goto tmp2_end;
692 tmp2_end: ;
693 }
694 goto goto_1;
695 goto_1:;
696 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
697 goto tmp2_done;
698 tmp2_done:;
699 }
700 }
701 _outElement = tmpMeta[0];
702 _return: OMC_LABEL_UNUSED__attribute__((unused))
703 return _outElement;
704}
705
706PROTECTED_FUNCTION_STATIC modelica_metatype omc_FNode_copyChild(threadData_t *threadData, modelica_string _name, modelica_metatype _inRef)
707{
708 modelica_metatype _ref = NULL((void*)0);
709 MMC_SO()mmc_check_stackoverflow(threadData);
710 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
711 _ref = omc_FNode_copyRefNoUpdate(threadData, _inRef);
712 _return: OMC_LABEL_UNUSED__attribute__((unused))
713 return _ref;
714}
715
716PROTECTED_FUNCTION_STATIC modelica_metatype omc_FNode_copy(threadData_t *threadData, modelica_metatype _inNode)
717{
718 modelica_metatype _outRef = NULL((void*)0);
719 modelica_metatype _node = NULL((void*)0);
720 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
721 MMC_SO()mmc_check_stackoverflow(threadData);
722 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
723 // _outRef has no default value.
724 _node = _inNode;
725#line 725 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
726 { /* match expression */
727 modelica_metatype tmp3_1;
728 tmp3_1 = _node;
729 {
730 volatile mmc_switch_type tmp3;
731 int tmp4;
732 tmp3 = 0;
733 for (; tmp3 < 1; tmp3++) {
734 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
735 case 0: {
736
737 /* Pattern matching succeeded */
738#line 1882 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
739 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
740#line 1882 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
741 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_node)((void*)((char*)(_node) - 3)), 7*sizeof(modelica_metatype));
742#line 1882 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
743 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[5] = omc_FCore_RefTree_map(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_node), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_node) - 3))) +
(5)))))
), boxvar_FNode_copyChild((void*)((char*)(&(boxvar_lit_FNode_copyChild).header) + 3
))
);
744#line 1882 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
745 _node = tmpMeta[1];
746#line 746 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
747#line 1883 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
748 tmpMeta[0] = omc_FNode_toRef(threadData, _node);
749#line 749 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
750 goto tmp2_done;
751 }
752 }
753 goto tmp2_end;
754 tmp2_end: ;
755 }
756 goto goto_1;
757 goto_1:;
758 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
759 goto tmp2_done;
760 tmp2_done:;
761 }
762 }
763 _outRef = tmpMeta[0];
764 _return: OMC_LABEL_UNUSED__attribute__((unused))
765 return _outRef;
766}
767
768DLLExport
769modelica_metatype omc_FNode_copyRefNoUpdate(threadData_t *threadData, modelica_metatype _inRef)
770{
771 modelica_metatype _outRef = NULL((void*)0);
772 MMC_SO()mmc_check_stackoverflow(threadData);
773 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
774 _outRef = omc_FNode_copy(threadData, omc_FNode_fromRef(threadData, _inRef));
775 _return: OMC_LABEL_UNUSED__attribute__((unused))
776 return _outRef;
777}
778
779PROTECTED_FUNCTION_STATIC modelica_metatype omc_FNode_updateRefInData(threadData_t *threadData, modelica_metatype _inData, modelica_metatype _inRef)
780{
781 modelica_metatype _outData = NULL((void*)0);
782 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
783 MMC_SO()mmc_check_stackoverflow(threadData);
784 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
785 // _outData has no default value.
786#line 786 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
787 { /* match expression */
788 modelica_metatype tmp3_1;
789 tmp3_1 = _inData;
790 {
791 modelica_metatype _sc = NULL((void*)0);
792 volatile mmc_switch_type tmp3;
793 int tmp4;
794 // _sc has no default value.
795 tmp3 = 0;
796 for (; tmp3 < 2; tmp3++) {
797 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
798 case 0: {
799 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,20,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((20 +3) & 255) << 2)))
== 0) goto tmp2_end;
800 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
801 _sc = tmpMeta[1];
802 /* Pattern matching succeeded */
803#line 1853 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
804 _sc = omc_List_map1r(threadData, _sc, boxvar_FNode_lookupRefFromRef((void*)((char*)(&(boxvar_lit_FNode_lookupRefFromRef).header
) + 3))
, _inRef);
805#line 805 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
806#line 1854 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
807 tmpMeta[1] = mmc_mk_box2(23, &FCore_Data_REF__desc, _sc);
808#line 1854 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
809 tmpMeta[0] = tmpMeta[1];
810#line 810 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
811 goto tmp2_done;
812 }
813 case 1: {
814
815 /* Pattern matching succeeded */
816#line 1857 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
817 tmpMeta[0] = _inData;
818#line 818 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
819 goto tmp2_done;
820 }
821 }
822 goto tmp2_end;
823 tmp2_end: ;
824 }
825 goto goto_1;
826 goto_1:;
827 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
828 goto tmp2_done;
829 tmp2_done:;
830 }
831 }
832 _outData = tmpMeta[0];
833 _return: OMC_LABEL_UNUSED__attribute__((unused))
834 return _outData;
835}
836
837DLLExport
838modelica_metatype omc_FNode_lookupRefFromRef(threadData_t *threadData, modelica_metatype _inRef, modelica_metatype _inOldRef)
839{
840 modelica_metatype _outRef = NULL((void*)0);
841 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
842 MMC_SO()mmc_check_stackoverflow(threadData);
843 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
844 // _outRef has no default value.
845#line 845 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
846 { /* match expression */
847 {
848 modelica_metatype _s = NULL((void*)0);
849 volatile mmc_switch_type tmp3;
850 int tmp4;
851 // _s has no default value.
852 tmp3 = 0;
853 for (; tmp3 < 1; tmp3++) {
854 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
855 case 0: {
856 /* Pattern matching succeeded */
857#line 1826 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
858 _s = omc_FNode_originalScope(threadData, _inOldRef);
859#line 859 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
860#line 1827 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
861 tmpMeta[0] = omc_FNode_lookupRef(threadData, _inRef, _s);
862#line 862 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
863 goto tmp2_done;
864 }
865 }
866 goto tmp2_end;
867 tmp2_end: ;
868 }
869 goto goto_1;
870 goto_1:;
871 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
872 goto tmp2_done;
873 tmp2_done:;
874 }
875 }
876 _outRef = tmpMeta[0];
877 _return: OMC_LABEL_UNUSED__attribute__((unused))
878 return _outRef;
879}
880
881PROTECTED_FUNCTION_STATIC modelica_metatype omc_FNode_updateRefInGraph(threadData_t *threadData, modelica_string _name, modelica_metatype _inRef, modelica_metatype _inTopRefAndGraph)
882{
883 modelica_metatype _outTopRefAndGraph = NULL((void*)0);
884 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
885 MMC_SO()mmc_check_stackoverflow(threadData);
886 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
887 // _outTopRefAndGraph has no default value.
888#line 888 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
889 { /* match expression */
890 modelica_metatype tmp3_1;
891 tmp3_1 = _inTopRefAndGraph;
892 {
893 modelica_metatype _t = NULL((void*)0);
894 modelica_metatype _g = NULL((void*)0);
895 modelica_string _n = NULL((void*)0);
896 modelica_integer _i;
897 modelica_metatype _p = NULL((void*)0);
898 modelica_metatype _c = NULL((void*)0);
899 modelica_metatype _d = NULL((void*)0);
900 volatile mmc_switch_type tmp3;
901 int tmp4;
902 // _t has no default value.
903 // _g has no default value.
904 // _n has no default value.
905 // _i has no default value.
906 // _p has no default value.
907 // _c has no default value.
908 // _d has no default value.
909 tmp3 = 0;
910 for (; tmp3 < 1; tmp3++) {
911 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
912 case 0: {
913 modelica_integer tmp5;
914 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
915 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
916 _t = tmpMeta[1];
917 _g = tmpMeta[2];
918 /* Pattern matching succeeded */
919#line 1802 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
920 /* Pattern-matching assignment */
921#line 1802 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
922 tmpMeta[1] = omc_FNode_fromRef(threadData, _inRef);
923#line 1802 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
924 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
925#line 1802 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
926 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
927#line 1802 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
928 tmp5 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
929#line 1802 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
930 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
931#line 1802 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
932 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (5)))))
;
933#line 1802 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
934 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (6)))))
;
935#line 1802 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
936 _n = tmpMeta[2];
937#line 1802 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
938 _i = tmp5 /* pattern as ty=Integer */;
939#line 1802 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
940 _p = tmpMeta[4];
941#line 1802 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
942 _c = tmpMeta[5];
943#line 1802 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
944 _d = tmpMeta[6];
945#line 945 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
946
947#line 1803 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
948 _p = omc_List_map1r(threadData, _p, boxvar_FNode_lookupRefFromRef((void*)((char*)(&(boxvar_lit_FNode_lookupRefFromRef).header
) + 3))
, _t);
949#line 949 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
950
951#line 1804 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
952 _d = omc_FNode_updateRefInData(threadData, _d, _t);
953#line 953 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
954
955#line 1805 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
956 tmpMeta[1] = mmc_mk_box6(3, &FCore_Node_N__desc, _n, mmc_mk_integermmc_mk_icon(_i), _p, _c, _d);
957#line 1805 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
958 omc_FNode_updateRef(threadData, _inRef, tmpMeta[1]);
959#line 959 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
960#line 1806 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
961 tmpMeta[1] = mmc_mk_box2(0, _t, _g);
962#line 1806 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
963 tmpMeta[0] = tmpMeta[1];
964#line 964 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
965 goto tmp2_done;
966 }
967 }
968 goto tmp2_end;
969 tmp2_end: ;
970 }
971 goto goto_1;
972 goto_1:;
973 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
974 goto tmp2_done;
975 tmp2_done:;
976 }
977 }
978 _outTopRefAndGraph = tmpMeta[0];
979 _return: OMC_LABEL_UNUSED__attribute__((unused))
980 return _outTopRefAndGraph;
981}
982
983DLLExport
984modelica_metatype omc_FNode_updateRefs(threadData_t *threadData, modelica_metatype _inRef, modelica_metatype _inGraph, modelica_metatype *out_outRef)
985{
986 modelica_metatype _outGraph = NULL((void*)0);
987 modelica_metatype _outRef = NULL((void*)0);
988 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
989 MMC_SO()mmc_check_stackoverflow(threadData);
990 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
991 // _outGraph has no default value.
992 // _outRef has no default value.
993#line 1766 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
994
995#line 1766 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
996
997#line 997 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
998 { /* match expression */
999 modelica_metatype tmp4_1;
1000 tmp4_1 = _inGraph;
1001 {
1002 modelica_metatype _g = NULL((void*)0);
1003 modelica_metatype _r = NULL((void*)0);
1004 volatile mmc_switch_type tmp4;
1005 int tmp5;
1006 // _g has no default value.
1007 // _r has no default value.
1008 tmp4 = 0;
1009 for (; tmp4 < 1; tmp4++) {
1010 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1011 case 0: {
1012
1013 _g = tmp4_1;
1014 /* Pattern matching succeeded */
1015#line 1776 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1016 /* Pattern-matching assignment */
1017#line 1776 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1018 tmpMeta[2] = mmc_mk_box2(0, _inRef, _g);
1019#line 1776 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1020 tmpMeta[3] = omc_FNode_apply1(threadData, _inRef, boxvar_FNode_updateRefInGraph((void*)((char*)(&(boxvar_lit_FNode_updateRefInGraph).header
) + 3))
, tmpMeta[2]);
1021#line 1776 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1022 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
1023#line 1776 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1024 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
1025#line 1776 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1026 _r = tmpMeta[4];
1027#line 1776 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1028 _g = tmpMeta[5];
1029#line 1029 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1030#line 1777 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1031 tmpMeta[0+0] = _g;
1032#line 1777 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1033 tmpMeta[0+1] = _r;
1034#line 1034 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1035 goto tmp3_done;
1036 }
1037 }
1038 goto tmp3_end;
1039 tmp3_end: ;
1040 }
1041 goto goto_2;
1042 goto_2:;
1043 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1044 goto tmp3_done;
1045 tmp3_done:;
1046 }
1047 }
1048 _outGraph = tmpMeta[0+0];
1049 _outRef = tmpMeta[0+1];
1050 _return: OMC_LABEL_UNUSED__attribute__((unused))
1051 if (out_outRef) { *out_outRef = _outRef; }
1052 return _outGraph;
1053}
1054
1055DLLExport
1056modelica_metatype omc_FNode_copyRef(threadData_t *threadData, modelica_metatype _inRef, modelica_metatype _inGraph, modelica_metatype *out_outRef)
1057{
1058 modelica_metatype _outGraph = NULL((void*)0);
1059 modelica_metatype _outRef = NULL((void*)0);
1060 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1061 MMC_SO()mmc_check_stackoverflow(threadData);
1062 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1063 // _outGraph has no default value.
1064 // _outRef has no default value.
1065#line 1738 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1066
1067#line 1738 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1068
1069#line 1069 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1070 { /* match expression */
1071 modelica_metatype tmp4_1;
1072 tmp4_1 = _inGraph;
1073 {
1074 modelica_metatype _g = NULL((void*)0);
1075 modelica_metatype _r = NULL((void*)0);
1076 volatile mmc_switch_type tmp4;
1077 int tmp5;
1078 // _g has no default value.
1079 // _r has no default value.
1080 tmp4 = 0;
1081 for (; tmp4 < 1; tmp4++) {
1082 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1083 case 0: {
1084
1085 _g = tmp4_1;
1086 /* Pattern matching succeeded */
1087#line 1748 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1088 _r = omc_FNode_copyRefNoUpdate(threadData, _inRef);
1089#line 1089 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1090#line 1751 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1091 tmpMeta[0+0] = omc_FNode_updateRefs(threadData, _r, _g, &tmpMeta[0+1]);
1092#line 1092 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1093 goto tmp3_done;
1094 }
1095 }
1096 goto tmp3_end;
1097 tmp3_end: ;
1098 }
1099 goto goto_2;
1100 goto_2:;
1101 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1102 goto tmp3_done;
1103 tmp3_done:;
1104 }
1105 }
1106 _outGraph = tmpMeta[0+0];
1107 _outRef = tmpMeta[0+1];
1108 _return: OMC_LABEL_UNUSED__attribute__((unused))
1109 if (out_outRef) { *out_outRef = _outRef; }
1110 return _outGraph;
1111}
1112
1113PROTECTED_FUNCTION_STATIC modelica_metatype omc_FNode_cloneChild(threadData_t *threadData, modelica_string _name, modelica_metatype _parentRef, modelica_metatype _inRef, modelica_metatype _inGraph, modelica_metatype *out_graph)
1114{
1115 modelica_metatype _ref = NULL((void*)0);
1116 modelica_metatype _graph = NULL((void*)0);
1117 MMC_SO()mmc_check_stackoverflow(threadData);
1118 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1119 // _ref has no default value.
1120 // _graph has no default value.
1121#line 1726 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1122 _graph = omc_FNode_cloneRef(threadData, _name, _inRef, _parentRef, _inGraph ,&_ref);
1123#line 1123 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1124 _return: OMC_LABEL_UNUSED__attribute__((unused))
1125 if (out_graph) { *out_graph = _graph; }
1126 return _ref;
1127}
1128
1129static modelica_metatype closure0_FNode_cloneChild(threadData_t *thData, modelica_metatype closure, modelica_string name, modelica_metatype inRef, modelica_metatype inGraph, modelica_metatype tmp1)
1130{
1131 modelica_metatype parentRef = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
1132 return boxptr_FNode_cloneChildomc_FNode_cloneChild(thData, name, parentRef, inRef, inGraph, tmp1);
1133}
1134DLLExport
1135modelica_metatype omc_FNode_cloneTree(threadData_t *threadData, modelica_metatype _inChildren, modelica_metatype _inParentRef, modelica_metatype _inGraph, modelica_metatype *out_outChildren)
1136{
1137 modelica_metatype _outGraph = NULL((void*)0);
1138 modelica_metatype _outChildren = NULL((void*)0);
1139 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
1140 MMC_SO()mmc_check_stackoverflow(threadData);
1141 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1142 // _outGraph has no default value.
1143 // _outChildren has no default value.
1144#line 1714 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1145 tmpMeta[0] = mmc_mk_box1(0, _inParentRef);
1146#line 1714 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1147 _outChildren = omc_FCore_RefTree_mapFold(threadData, _inChildren, (modelica_fnptr) mmc_mk_box2(0,closure0_FNode_cloneChild,tmpMeta[0]), _inGraph ,&_outGraph);
1148#line 1148 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1149 _return: OMC_LABEL_UNUSED__attribute__((unused))
1150 if (out_outChildren) { *out_outChildren = _outChildren; }
1151 return _outGraph;
1152}
1153
1154DLLExport
1155modelica_metatype omc_FNode_clone(threadData_t *threadData, modelica_metatype _inNode, modelica_metatype _inParentRef, modelica_metatype _inGraph, modelica_metatype *out_outRef)
1156{
1157 modelica_metatype _outGraph = NULL((void*)0);
1158 modelica_metatype _outRef = NULL((void*)0);
1159 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
1160 MMC_SO()mmc_check_stackoverflow(threadData);
1161 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1162 // _outGraph has no default value.
1163 // _outRef has no default value.
1164#line 1674 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1165
1166#line 1674 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1167
1168#line 1168 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1169 { /* match expression */
1170 modelica_metatype tmp4_1;modelica_metatype tmp4_2;
1171 tmp4_1 = _inNode;
1172 tmp4_2 = _inGraph;
1173 {
1174 modelica_metatype _n = NULL((void*)0);
1175 modelica_metatype _g = NULL((void*)0);
1176 modelica_metatype _r = NULL((void*)0);
1177 modelica_string _name = NULL((void*)0);
1178 modelica_integer _id;
1179 modelica_metatype _parents = NULL((void*)0);
1180 modelica_metatype _children = NULL((void*)0);
1181 modelica_metatype _data = NULL((void*)0);
1182 volatile mmc_switch_type tmp4;
1183 int tmp5;
1184 // _n has no default value.
1185 // _g has no default value.
1186 // _r has no default value.
1187 // _name has no default value.
1188 // _id has no default value.
1189 // _parents has no default value.
1190 // _children has no default value.
1191 // _data has no default value.
1192 tmp4 = 0;
1193 for (; tmp4 < 1; tmp4++) {
1194 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1195 case 0: {
1196 modelica_integer tmp6;
1197 modelica_integer tmp7;
1198 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
1199 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
1200 tmp6 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
1201 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
1202 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(5)))))
;
1203 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
1204
1205 _name = tmpMeta[2];
1206 _id = tmp6 /* pattern as ty=Integer */;
1207 _parents = tmpMeta[4];
1208 _children = tmpMeta[5];
1209 _data = tmpMeta[6];
1210 _g = tmp4_2;
1211 /* Pattern matching succeeded */
1212#line 1688 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1213 tmpMeta[2] = mmc_mk_cons(_inParentRef, _parents);
1214#line 1688 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1215 _parents = tmpMeta[2];
1216#line 1216 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1217
1218#line 1690 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1219 /* Pattern-matching tuple assignment */
1220#line 1690 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1221 tmpMeta[7] = omc_FGraph_node(threadData, _g, _name, _parents, _data, &tmpMeta[2]);
1222#line 1690 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1223 _g = tmpMeta[7];
1224#line 1690 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1225 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1226#line 1690 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1227 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
1228#line 1690 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1229 tmp7 = mmc_unbox_integer(tmpMeta[4])(((mmc_sint_t) (tmpMeta[4])) >> 1);
1230#line 1690 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1231 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
1232#line 1690 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1233 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (6)))))
;
1234#line 1690 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1235 _n = tmpMeta[2];
1236#line 1690 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1237 _name = tmpMeta[3];
1238#line 1690 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1239 _id = tmp7 /* pattern as ty=Integer */;
1240#line 1690 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1241 _parents = tmpMeta[5];
1242#line 1690 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1243 _data = tmpMeta[6];
1244#line 1244 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1245
1246#line 1692 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1247 _r = omc_FNode_toRef(threadData, _n);
1248#line 1248 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1249
1250#line 1694 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1251 _g = omc_FNode_cloneTree(threadData, _children, _r, _g ,&_children);
1252#line 1252 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1253
1254#line 1696 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1255 tmpMeta[2] = mmc_mk_box6(3, &FCore_Node_N__desc, _name, mmc_mk_integermmc_mk_icon(_id), _parents, _children, _data);
1256#line 1696 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1257 _r = omc_FNode_updateRef(threadData, _r, tmpMeta[2]);
1258#line 1258 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1259#line 1697 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1260 tmpMeta[0+0] = _g;
1261#line 1697 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1262 tmpMeta[0+1] = _r;
1263#line 1263 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1264 goto tmp3_done;
1265 }
1266 }
1267 goto tmp3_end;
1268 tmp3_end: ;
1269 }
1270 goto goto_2;
1271 goto_2:;
1272 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1273 goto tmp3_done;
1274 tmp3_done:;
1275 }
1276 }
1277 _outGraph = tmpMeta[0+0];
1278 _outRef = tmpMeta[0+1];
1279 _return: OMC_LABEL_UNUSED__attribute__((unused))
1280 if (out_outRef) { *out_outRef = _outRef; }
1281 return _outGraph;
1282}
1283
1284DLLExport
1285modelica_metatype omc_FNode_cloneRef(threadData_t *threadData, modelica_string _inName, modelica_metatype _inRef, modelica_metatype _inParentRef, modelica_metatype _inGraph, modelica_metatype *out_outRef)
1286{
1287 modelica_metatype _outGraph = NULL((void*)0);
1288 modelica_metatype _outRef = NULL((void*)0);
1289 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1290 MMC_SO()mmc_check_stackoverflow(threadData);
1291 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1292 // _outGraph has no default value.
1293 // _outRef has no default value.
1294#line 1647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1295
1296#line 1647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1297
1298#line 1298 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1299 { /* match expression */
1300 modelica_metatype tmp4_1;
1301 tmp4_1 = _inGraph;
1302 {
1303 modelica_metatype _g = NULL((void*)0);
1304 modelica_metatype _r = NULL((void*)0);
1305 volatile mmc_switch_type tmp4;
1306 int tmp5;
1307 // _g has no default value.
1308 // _r has no default value.
1309 tmp4 = 0;
1310 for (; tmp4 < 1; tmp4++) {
1311 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1312 case 0: {
1313
1314 _g = tmp4_1;
1315 /* Pattern matching succeeded */
1316#line 1655 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1317 _g = omc_FNode_clone(threadData, omc_FNode_fromRef(threadData, _inRef), _inParentRef, _g ,&_r);
1318#line 1318 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1319
1320#line 1656 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1321 omc_FNode_addChildRef(threadData, _inParentRef, _inName, _r, 0);
1322#line 1322 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1323#line 1657 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1324 tmpMeta[0+0] = _g;
1325#line 1657 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1326 tmpMeta[0+1] = _r;
1327#line 1327 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1328 goto tmp3_done;
1329 }
1330 }
1331 goto tmp3_end;
1332 tmp3_end: ;
1333 }
1334 goto goto_2;
1335 goto_2:;
1336 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1337 goto tmp3_done;
1338 tmp3_done:;
1339 }
1340 }
1341 _outGraph = tmpMeta[0+0];
1342 _outRef = tmpMeta[0+1];
1343 _return: OMC_LABEL_UNUSED__attribute__((unused))
1344 if (out_outRef) { *out_outRef = _outRef; }
1345 return _outGraph;
1346}
1347
1348DLLExport
1349modelica_metatype omc_FNode_extendsRefs(threadData_t *threadData, modelica_metatype _inRef)
1350{
1351 modelica_metatype _outRefs = NULL((void*)0);
1352 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1353 MMC_SO()mmc_check_stackoverflow(threadData);
1354 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1355 // _outRefs has no default value.
1356#line 1356 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1357 { /* match expression */
1358 {
1359 modelica_metatype _refs = NULL((void*)0);
1360 modelica_metatype _rd = NULL((void*)0);
1361 volatile mmc_switch_type tmp3;
1362 int tmp4;
1363 // _refs has no default value.
1364 // _rd has no default value.
1365 tmp3 = 0;
1366 for (; tmp3 < 2; tmp3++) {
1367 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1368 case 0: {
1369 /* Pattern matching succeeded */
1370 /* Check guard condition after assignments */
1371 if (!omc_FNode_isRefClass(threadData, _inRef)) goto tmp2_end;
1372#line 1622 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1373 _rd = omc_FNode_derivedRef(threadData, _inRef);
1374#line 1374 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1375
1376#line 1624 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1377 _refs = omc_FNode_filter(threadData, _inRef, boxvar_FNode_isRefExtends((void*)((char*)(&(boxvar_lit_FNode_isRefExtends).header)
+ 3))
);
1378#line 1378 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1379
1380#line 1625 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1381 _refs = omc_List_flatten(threadData, omc_List_map1(threadData, _refs, boxvar_FNode_filter((void*)((char*)(&(boxvar_lit_FNode_filter).header) + 3)), boxvar_FNode_isRefReference((void*)((char*)(&(boxvar_lit_FNode_isRefReference).header
) + 3))
));
1382#line 1382 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1383#line 1626 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1384 tmpMeta[0] = listAppend(_rd, _refs);
1385#line 1385 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1386 goto tmp2_done;
1387 }
1388 case 1: {
1389 /* Pattern matching succeeded */
1390#line 1630 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1391 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1392#line 1630 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1393 tmpMeta[0] = tmpMeta[1];
1394#line 1394 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1395 goto tmp2_done;
1396 }
1397 }
1398 goto tmp2_end;
1399 tmp2_end: ;
1400 }
1401 goto goto_1;
1402 goto_1:;
1403 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1404 goto tmp2_done;
1405 tmp2_done:;
1406 }
1407 }
1408 _outRefs = tmpMeta[0];
1409 _return: OMC_LABEL_UNUSED__attribute__((unused))
1410 return _outRefs;
1411}
1412
1413DLLExport
1414modelica_metatype omc_FNode_derivedRef(threadData_t *threadData, modelica_metatype _inRef)
1415{
1416 modelica_metatype _outRefs = NULL((void*)0);
1417 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1418 MMC_SO()mmc_check_stackoverflow(threadData);
1419 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1420 // _outRefs has no default value.
1421#line 1421 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1422 { /* match expression */
1423 {
1424 volatile mmc_switch_type tmp3;
1425 int tmp4;
1426 tmp3 = 0;
1427 for (; tmp3 < 2; tmp3++) {
1428 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1429 case 0: {
1430 /* Pattern matching succeeded */
1431 /* Check guard condition after assignments */
1432 if (!omc_FNode_isRefDerived(threadData, _inRef)) goto tmp2_end;
1433#line 1602 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1434 tmpMeta[1] = mmc_mk_cons(omc_FNode_child(threadData, _inRef, _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3))), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1435#line 1602 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1436 tmpMeta[0] = tmpMeta[1];
1437#line 1437 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1438 goto tmp2_done;
1439 }
1440 case 1: {
1441 /* Pattern matching succeeded */
1442#line 1605 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1443 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1444#line 1605 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1445 tmpMeta[0] = tmpMeta[1];
1446#line 1446 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1447 goto tmp2_done;
1448 }
1449 }
1450 goto tmp2_end;
1451 tmp2_end: ;
1452 }
1453 goto goto_1;
1454 goto_1:;
1455 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1456 goto tmp2_done;
1457 tmp2_done:;
1458 }
1459 }
1460 _outRefs = tmpMeta[0];
1461 _return: OMC_LABEL_UNUSED__attribute__((unused))
1462 return _outRefs;
1463}
1464
1465DLLExport
1466modelica_metatype omc_FNode_imports(threadData_t *threadData, modelica_metatype _inNode, modelica_metatype *out_outUnQualifiedImports)
1467{
1468 modelica_metatype _outQualifiedImports = NULL((void*)0);
1469 modelica_metatype _outUnQualifiedImports = NULL((void*)0);
1470 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
1471 MMC_SO()mmc_check_stackoverflow(threadData);
1472 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1473 // _outQualifiedImports has no default value.
1474 // _outUnQualifiedImports has no default value.
1475#line 1584 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1476
1477#line 1584 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1478
1479#line 1479 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1480 { /* match expression */
1481 {
1482 modelica_metatype _qi = NULL((void*)0);
1483 modelica_metatype _uqi = NULL((void*)0);
1484 volatile mmc_switch_type tmp4;
1485 int tmp5;
1486 // _qi has no default value.
1487 // _uqi has no default value.
1488 tmp4 = 0;
1489 for (; tmp4 < 2; tmp4++) {
1490 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1491 case 0: {
1492 /* Pattern matching succeeded */
1493#line 1588 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1494 /* Pattern-matching assignment */
1495#line 1588 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1496 tmpMeta[2] = omc_FNode_importTable(threadData, omc_FNode_fromRef(threadData, omc_FNode_refImport(threadData, omc_FNode_toRef(threadData, _inNode))));
1497#line 1588 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1498 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
1499#line 1588 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1500 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
1501#line 1588 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1502 _qi = tmpMeta[3];
1503#line 1588 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1504 _uqi = tmpMeta[4];
1505#line 1505 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1506#line 1589 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1507 tmpMeta[0+0] = _qi;
1508#line 1589 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1509 tmpMeta[0+1] = _uqi;
1510#line 1510 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1511 goto tmp3_done;
1512 }
1513 case 1: {
1514 /* Pattern matching succeeded */
1515#line 1591 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1516 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1517#line 1591 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1518 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1519#line 1591 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1520 tmpMeta[0+0] = tmpMeta[2];
1521#line 1591 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1522 tmpMeta[0+1] = tmpMeta[3];
1523#line 1523 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1524 goto tmp3_done;
1525 }
1526 }
1527 goto tmp3_end;
1528 tmp3_end: ;
1529 }
1530 goto goto_2;
1531 goto_2:;
1532 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1533 goto tmp3_done;
1534 tmp3_done:;
1535 }
1536 }
1537 _outQualifiedImports = tmpMeta[0+0];
1538 _outUnQualifiedImports = tmpMeta[0+1];
1539 _return: OMC_LABEL_UNUSED__attribute__((unused))
1540 if (out_outUnQualifiedImports) { *out_outUnQualifiedImports = _outUnQualifiedImports; }
1541 return _outQualifiedImports;
1542}
1543
1544DLLExport
1545modelica_boolean omc_FNode_hasImports(threadData_t *threadData, modelica_metatype _inNode)
1546{
1547 modelica_boolean _b;
1548 modelica_boolean tmp1 = 0;
1549 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1550 MMC_SO()mmc_check_stackoverflow(threadData);
1551 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1552 // _b has no default value.
1553#line 1553 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1554 { /* match expression */
1555 {
1556 modelica_metatype _qi = NULL((void*)0);
1557 modelica_metatype _uqi = NULL((void*)0);
1558 volatile mmc_switch_type tmp4;
1559 int tmp5;
1560 // _qi has no default value.
1561 // _uqi has no default value.
1562 tmp4 = 0;
1563 for (; tmp4 < 2; tmp4++) {
1564 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1565 case 0: {
1566 /* Pattern matching succeeded */
1567#line 1570 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1568 /* Pattern-matching assignment */
1569#line 1570 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1570 tmpMeta[0] = omc_FNode_importTable(threadData, omc_FNode_fromRef(threadData, omc_FNode_refImport(threadData, omc_FNode_toRef(threadData, _inNode))));
1571#line 1570 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1572 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
1573#line 1570 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1574 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
1575#line 1570 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1576 _qi = tmpMeta[1];
1577#line 1570 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1578 _uqi = tmpMeta[2];
1579#line 1579 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1580#line 1571 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1581 tmp1 = ((!listEmpty(_qi)((*(mmc_uint_t*)((void*)((char*)(_qi) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) || (!listEmpty(_uqi)((*(mmc_uint_t*)((void*)((char*)(_uqi) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
));
1582#line 1582 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1583 goto tmp3_done;
1584 }
1585 case 1: {
1586 /* Pattern matching succeeded */
1587#line 1575 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1588 tmp1 = 0;
1589#line 1589 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1590 goto tmp3_done;
1591 }
1592 }
1593 goto tmp3_end;
1594 tmp3_end: ;
1595 }
1596 goto goto_2;
1597 goto_2:;
1598 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1599 goto tmp3_done;
1600 tmp3_done:;
1601 }
1602 }
1603 _b = tmp1;
1604 _return: OMC_LABEL_UNUSED__attribute__((unused))
1605 return _b;
1606}
1607modelica_metatype boxptr_FNode_hasImports(threadData_t *threadData, modelica_metatype _inNode)
1608{
1609 modelica_boolean _b;
1610 modelica_metatype out_b;
1611 _b = omc_FNode_hasImports(threadData, _inNode);
1612 out_b = mmc_mk_icon(_b);
1613 return out_b;
1614}
1615
1616DLLExport
1617modelica_metatype omc_FNode_apply1(threadData_t *threadData, modelica_metatype _inRef, modelica_fnptr _inApply, modelica_metatype _inExtraArg)
1618{
1619 modelica_metatype _outExtraArg = NULL((void*)0);
1620 MMC_SO()mmc_check_stackoverflow(threadData);
1621 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1622 // _outExtraArg has no default value.
1623#line 1557 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1624 _outExtraArg = omc_FCore_RefTree_fold(threadData, omc_FNode_children(threadData, omc_FNode_fromRef(threadData, _inRef)), ((modelica_fnptr) _inApply), _inExtraArg);
1625#line 1625 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1626
1627#line 1558 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1628 _outExtraArg = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inApply), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_inApply) - 3))
) + (2)))))
) ? ((modelica_metatype(*)(threadData_t*, modelica_metatype, modelica_string, modelica_metatype, modelica_metatype)) (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inApply), 1))(*(void**)(((void*)((void**)(((void*)((char*)(_inApply) - 3))
) + (1)))))
)) (threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inApply), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_inApply) - 3))
) + (2)))))
), omc_FNode_refName(threadData, _inRef), _inRef, _outExtraArg) : ((modelica_metatype(*)(threadData_t*, modelica_string, modelica_metatype, modelica_metatype)) (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inApply), 1))(*(void**)(((void*)((void**)(((void*)((char*)(_inApply) - 3))
) + (1)))))
)) (threadData, omc_FNode_refName(threadData, _inRef), _inRef, _outExtraArg);
1629#line 1629 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1630 _return: OMC_LABEL_UNUSED__attribute__((unused))
1631 return _outExtraArg;
1632}
1633
1634DLLExport
1635modelica_metatype omc_FNode_dfs(threadData_t *threadData, modelica_metatype _inRef)
1636{
1637 modelica_metatype _outRefs = NULL((void*)0);
1638 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1639 MMC_SO()mmc_check_stackoverflow(threadData);
1640 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1641 // _outRefs has no default value.
1642#line 1642 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1643 { /* match expression */
1644 {
1645 modelica_metatype _refs = NULL((void*)0);
1646 modelica_metatype _c = NULL((void*)0);
1647 volatile mmc_switch_type tmp3;
1648 int tmp4;
1649 // _refs has no default value.
1650 // _c has no default value.
1651 tmp3 = 0;
1652 for (; tmp3 < 1; tmp3++) {
1653 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1654 case 0: {
1655 /* Pattern matching succeeded */
1656#line 1531 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1657 _c = omc_FNode_children(threadData, omc_FNode_fromRef(threadData, _inRef));
1658#line 1658 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1659
1660#line 1532 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1661 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1662#line 1532 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1663 _refs = omc_FCore_RefTree_listValues(threadData, _c, tmpMeta[1]);
1664#line 1664 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1665
1666#line 1533 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1667 _refs = omc_List_flatten(threadData, omc_List_map(threadData, _refs, boxvar_FNode_dfs((void*)((char*)(&(boxvar_lit_FNode_dfs).header) + 3))));
1668#line 1668 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1669#line 1534 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1670 tmpMeta[1] = mmc_mk_cons(_inRef, _refs);
1671#line 1534 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1672 tmpMeta[0] = tmpMeta[1];
1673#line 1673 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1674 goto tmp2_done;
1675 }
1676 }
1677 goto tmp2_end;
1678 tmp2_end: ;
1679 }
1680 goto goto_1;
1681 goto_1:;
1682 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1683 goto tmp2_done;
1684 tmp2_done:;
1685 }
1686 }
1687 _outRefs = tmpMeta[0];
1688 _return: OMC_LABEL_UNUSED__attribute__((unused))
1689 return _outRefs;
1690}
1691
1692DLLExport
1693modelica_boolean omc_FNode_isRefIn(threadData_t *threadData, modelica_metatype _inRef, modelica_fnptr _inFunctionRefIs)
1694{
1695 modelica_boolean _b;
1696 MMC_SO()mmc_check_stackoverflow(threadData);
1697 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1698 // _b has no default value.
1699#line 1514 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1700 _b = omc_FNode_isIn(threadData, omc_FNode_fromRef(threadData, _inRef), ((modelica_fnptr) _inFunctionRefIs));
1701#line 1701 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1702 _return: OMC_LABEL_UNUSED__attribute__((unused))
1703 return _b;
1704}
1705modelica_metatype boxptr_FNode_isRefIn(threadData_t *threadData, modelica_metatype _inRef, modelica_fnptr _inFunctionRefIs)
1706{
1707 modelica_boolean _b;
1708 modelica_metatype out_b;
1709 _b = omc_FNode_isRefIn(threadData, _inRef, _inFunctionRefIs);
1710 out_b = mmc_mk_icon(_b);
1711 return out_b;
1712}
1713
1714DLLExport
1715modelica_boolean omc_FNode_isRefDims(threadData_t *threadData, modelica_metatype _inRef)
1716{
1717 modelica_boolean _b;
1718 MMC_SO()mmc_check_stackoverflow(threadData);
1719 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1720 // _b has no default value.
1721#line 1502 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1722 _b = omc_FNode_isDims(threadData, omc_FNode_fromRef(threadData, _inRef));
1723#line 1723 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1724 _return: OMC_LABEL_UNUSED__attribute__((unused))
1725 return _b;
1726}
1727modelica_metatype boxptr_FNode_isRefDims(threadData_t *threadData, modelica_metatype _inRef)
1728{
1729 modelica_boolean _b;
1730 modelica_metatype out_b;
1731 _b = omc_FNode_isRefDims(threadData, _inRef);
1732 out_b = mmc_mk_icon(_b);
1733 return out_b;
1734}
1735
1736DLLExport
1737modelica_boolean omc_FNode_isRefVersion(threadData_t *threadData, modelica_metatype _inRef)
1738{
1739 modelica_boolean _b;
1740 MMC_SO()mmc_check_stackoverflow(threadData);
1741 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1742 // _b has no default value.
1743#line 1495 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1744 _b = omc_FNode_isVersion(threadData, omc_FNode_fromRef(threadData, _inRef));
1745#line 1745 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1746 _return: OMC_LABEL_UNUSED__attribute__((unused))
1747 return _b;
1748}
1749modelica_metatype boxptr_FNode_isRefVersion(threadData_t *threadData, modelica_metatype _inRef)
1750{
1751 modelica_boolean _b;
1752 modelica_metatype out_b;
1753 _b = omc_FNode_isRefVersion(threadData, _inRef);
1754 out_b = mmc_mk_icon(_b);
1755 return out_b;
1756}
1757
1758DLLExport
1759modelica_boolean omc_FNode_isRefClone(threadData_t *threadData, modelica_metatype _inRef)
1760{
1761 modelica_boolean _b;
1762 MMC_SO()mmc_check_stackoverflow(threadData);
1763 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1764 // _b has no default value.
1765#line 1488 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1766 _b = omc_FNode_isClone(threadData, omc_FNode_fromRef(threadData, _inRef));
1767#line 1767 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1768 _return: OMC_LABEL_UNUSED__attribute__((unused))
1769 return _b;
1770}
1771modelica_metatype boxptr_FNode_isRefClone(threadData_t *threadData, modelica_metatype _inRef)
1772{
1773 modelica_boolean _b;
1774 modelica_metatype out_b;
1775 _b = omc_FNode_isRefClone(threadData, _inRef);
1776 out_b = mmc_mk_icon(_b);
1777 return out_b;
1778}
1779
1780DLLExport
1781modelica_boolean omc_FNode_isRefModHolder(threadData_t *threadData, modelica_metatype _inRef)
1782{
1783 modelica_boolean _b;
1784 MMC_SO()mmc_check_stackoverflow(threadData);
1785 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1786 // _b has no default value.
1787#line 1481 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1788 _b = omc_FNode_isModHolder(threadData, omc_FNode_fromRef(threadData, _inRef));
1789#line 1789 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1790 _return: OMC_LABEL_UNUSED__attribute__((unused))
1791 return _b;
1792}
1793modelica_metatype boxptr_FNode_isRefModHolder(threadData_t *threadData, modelica_metatype _inRef)
1794{
1795 modelica_boolean _b;
1796 modelica_metatype out_b;
1797 _b = omc_FNode_isRefModHolder(threadData, _inRef);
1798 out_b = mmc_mk_icon(_b);
1799 return out_b;
1800}
1801
1802DLLExport
1803modelica_boolean omc_FNode_isRefMod(threadData_t *threadData, modelica_metatype _inRef)
1804{
1805 modelica_boolean _b;
1806 MMC_SO()mmc_check_stackoverflow(threadData);
1807 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1808 // _b has no default value.
1809#line 1474 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1810 _b = omc_FNode_isMod(threadData, omc_FNode_fromRef(threadData, _inRef));
1811#line 1811 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1812 _return: OMC_LABEL_UNUSED__attribute__((unused))
1813 return _b;
1814}
1815modelica_metatype boxptr_FNode_isRefMod(threadData_t *threadData, modelica_metatype _inRef)
1816{
1817 modelica_boolean _b;
1818 modelica_metatype out_b;
1819 _b = omc_FNode_isRefMod(threadData, _inRef);
1820 out_b = mmc_mk_icon(_b);
1821 return out_b;
1822}
1823
1824DLLExport
1825modelica_boolean omc_FNode_isRefSection(threadData_t *threadData, modelica_metatype _inRef)
1826{
1827 modelica_boolean _b;
1828 MMC_SO()mmc_check_stackoverflow(threadData);
1829 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1830 // _b has no default value.
1831#line 1467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1832 _b = omc_FNode_isSection(threadData, omc_FNode_fromRef(threadData, _inRef));
1833#line 1833 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1834 _return: OMC_LABEL_UNUSED__attribute__((unused))
1835 return _b;
1836}
1837modelica_metatype boxptr_FNode_isRefSection(threadData_t *threadData, modelica_metatype _inRef)
1838{
1839 modelica_boolean _b;
1840 modelica_metatype out_b;
1841 _b = omc_FNode_isRefSection(threadData, _inRef);
1842 out_b = mmc_mk_icon(_b);
1843 return out_b;
1844}
1845
1846DLLExport
1847modelica_boolean omc_FNode_isRefRecord(threadData_t *threadData, modelica_metatype _inRef)
1848{
1849 modelica_boolean _b;
1850 MMC_SO()mmc_check_stackoverflow(threadData);
1851 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1852 // _b has no default value.
1853#line 1460 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1854 _b = omc_FNode_isRecord(threadData, omc_FNode_fromRef(threadData, _inRef));
1855#line 1855 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1856 _return: OMC_LABEL_UNUSED__attribute__((unused))
1857 return _b;
1858}
1859modelica_metatype boxptr_FNode_isRefRecord(threadData_t *threadData, modelica_metatype _inRef)
1860{
1861 modelica_boolean _b;
1862 modelica_metatype out_b;
1863 _b = omc_FNode_isRefRecord(threadData, _inRef);
1864 out_b = mmc_mk_icon(_b);
1865 return out_b;
1866}
1867
1868DLLExport
1869modelica_boolean omc_FNode_isRefFunction(threadData_t *threadData, modelica_metatype _inRef)
1870{
1871 modelica_boolean _b;
1872 MMC_SO()mmc_check_stackoverflow(threadData);
1873 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1874 // _b has no default value.
1875#line 1453 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1876 _b = omc_FNode_isFunction(threadData, omc_FNode_fromRef(threadData, _inRef));
1877#line 1877 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1878 _return: OMC_LABEL_UNUSED__attribute__((unused))
1879 return _b;
1880}
1881modelica_metatype boxptr_FNode_isRefFunction(threadData_t *threadData, modelica_metatype _inRef)
1882{
1883 modelica_boolean _b;
1884 modelica_metatype out_b;
1885 _b = omc_FNode_isRefFunction(threadData, _inRef);
1886 out_b = mmc_mk_icon(_b);
1887 return out_b;
1888}
1889
1890DLLExport
1891modelica_boolean omc_FNode_isRefBuiltin(threadData_t *threadData, modelica_metatype _inRef)
1892{
1893 modelica_boolean _b;
1894 MMC_SO()mmc_check_stackoverflow(threadData);
1895 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1896 // _b has no default value.
1897#line 1446 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1898 _b = omc_FNode_isBuiltin(threadData, omc_FNode_fromRef(threadData, _inRef));
1899#line 1899 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1900 _return: OMC_LABEL_UNUSED__attribute__((unused))
1901 return _b;
1902}
1903modelica_metatype boxptr_FNode_isRefBuiltin(threadData_t *threadData, modelica_metatype _inRef)
1904{
1905 modelica_boolean _b;
1906 modelica_metatype out_b;
1907 _b = omc_FNode_isRefBuiltin(threadData, _inRef);
1908 out_b = mmc_mk_icon(_b);
1909 return out_b;
1910}
1911
1912DLLExport
1913modelica_boolean omc_FNode_isRefBasicType(threadData_t *threadData, modelica_metatype _inRef)
1914{
1915 modelica_boolean _b;
1916 MMC_SO()mmc_check_stackoverflow(threadData);
1917 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1918 // _b has no default value.
1919#line 1439 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1920 _b = omc_FNode_isBasicType(threadData, omc_FNode_fromRef(threadData, _inRef));
1921#line 1921 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1922 _return: OMC_LABEL_UNUSED__attribute__((unused))
1923 return _b;
1924}
1925modelica_metatype boxptr_FNode_isRefBasicType(threadData_t *threadData, modelica_metatype _inRef)
1926{
1927 modelica_boolean _b;
1928 modelica_metatype out_b;
1929 _b = omc_FNode_isRefBasicType(threadData, _inRef);
1930 out_b = mmc_mk_icon(_b);
1931 return out_b;
1932}
1933
1934DLLExport
1935modelica_boolean omc_FNode_isRefTop(threadData_t *threadData, modelica_metatype _inRef)
1936{
1937 modelica_boolean _b;
1938 MMC_SO()mmc_check_stackoverflow(threadData);
1939 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1940 // _b has no default value.
1941#line 1432 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1942 _b = omc_FNode_isTop(threadData, omc_FNode_fromRef(threadData, _inRef));
1943#line 1943 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1944 _return: OMC_LABEL_UNUSED__attribute__((unused))
1945 return _b;
1946}
1947modelica_metatype boxptr_FNode_isRefTop(threadData_t *threadData, modelica_metatype _inRef)
1948{
1949 modelica_boolean _b;
1950 modelica_metatype out_b;
1951 _b = omc_FNode_isRefTop(threadData, _inRef);
1952 out_b = mmc_mk_icon(_b);
1953 return out_b;
1954}
1955
1956DLLExport
1957modelica_boolean omc_FNode_isRefUserDefined(threadData_t *threadData, modelica_metatype _inRef)
1958{
1959 modelica_boolean _b;
1960 MMC_SO()mmc_check_stackoverflow(threadData);
1961 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1962 // _b has no default value.
1963#line 1425 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1964 _b = omc_FNode_isUserDefined(threadData, omc_FNode_fromRef(threadData, _inRef));
1965#line 1965 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1966 _return: OMC_LABEL_UNUSED__attribute__((unused))
1967 return _b;
1968}
1969modelica_metatype boxptr_FNode_isRefUserDefined(threadData_t *threadData, modelica_metatype _inRef)
1970{
1971 modelica_boolean _b;
1972 modelica_metatype out_b;
1973 _b = omc_FNode_isRefUserDefined(threadData, _inRef);
1974 out_b = mmc_mk_icon(_b);
1975 return out_b;
1976}
1977
1978DLLExport
1979modelica_boolean omc_FNode_isRefReference(threadData_t *threadData, modelica_metatype _inRef)
1980{
1981 modelica_boolean _b;
1982 MMC_SO()mmc_check_stackoverflow(threadData);
1983 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1984 // _b has no default value.
1985#line 1418 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
1986 _b = omc_FNode_isReference(threadData, omc_FNode_fromRef(threadData, _inRef));
1987#line 1987 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
1988 _return: OMC_LABEL_UNUSED__attribute__((unused))
1989 return _b;
1990}
1991modelica_metatype boxptr_FNode_isRefReference(threadData_t *threadData, modelica_metatype _inRef)
1992{
1993 modelica_boolean _b;
1994 modelica_metatype out_b;
1995 _b = omc_FNode_isRefReference(threadData, _inRef);
1996 out_b = mmc_mk_icon(_b);
1997 return out_b;
1998}
1999
2000DLLExport
2001modelica_boolean omc_FNode_isRefCref(threadData_t *threadData, modelica_metatype _inRef)
2002{
2003 modelica_boolean _b;
2004 MMC_SO()mmc_check_stackoverflow(threadData);
2005 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2006 // _b has no default value.
2007#line 1411 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2008 _b = omc_FNode_isCref(threadData, omc_FNode_fromRef(threadData, _inRef));
2009#line 2009 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2010 _return: OMC_LABEL_UNUSED__attribute__((unused))
2011 return _b;
2012}
2013modelica_metatype boxptr_FNode_isRefCref(threadData_t *threadData, modelica_metatype _inRef)
2014{
2015 modelica_boolean _b;
2016 modelica_metatype out_b;
2017 _b = omc_FNode_isRefCref(threadData, _inRef);
2018 out_b = mmc_mk_icon(_b);
2019 return out_b;
2020}
2021
2022DLLExport
2023modelica_boolean omc_FNode_isRefClassExtends(threadData_t *threadData, modelica_metatype _inRef)
2024{
2025 modelica_boolean _b;
2026 MMC_SO()mmc_check_stackoverflow(threadData);
2027 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2028 // _b has no default value.
2029#line 1404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2030 _b = omc_FNode_isClassExtends(threadData, omc_FNode_fromRef(threadData, _inRef));
2031#line 2031 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2032 _return: OMC_LABEL_UNUSED__attribute__((unused))
2033 return _b;
2034}
2035modelica_metatype boxptr_FNode_isRefClassExtends(threadData_t *threadData, modelica_metatype _inRef)
2036{
2037 modelica_boolean _b;
2038 modelica_metatype out_b;
2039 _b = omc_FNode_isRefClassExtends(threadData, _inRef);
2040 out_b = mmc_mk_icon(_b);
2041 return out_b;
2042}
2043
2044DLLExport
2045modelica_boolean omc_FNode_isRefRedeclare(threadData_t *threadData, modelica_metatype _inRef)
2046{
2047 modelica_boolean _b;
2048 MMC_SO()mmc_check_stackoverflow(threadData);
2049 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2050 // _b has no default value.
2051#line 1397 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2052 _b = omc_FNode_isRedeclare(threadData, omc_FNode_fromRef(threadData, _inRef));
2053#line 2053 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2054 _return: OMC_LABEL_UNUSED__attribute__((unused))
2055 return _b;
2056}
2057modelica_metatype boxptr_FNode_isRefRedeclare(threadData_t *threadData, modelica_metatype _inRef)
2058{
2059 modelica_boolean _b;
2060 modelica_metatype out_b;
2061 _b = omc_FNode_isRefRedeclare(threadData, _inRef);
2062 out_b = mmc_mk_icon(_b);
2063 return out_b;
2064}
2065
2066DLLExport
2067modelica_boolean omc_FNode_isRefInstance(threadData_t *threadData, modelica_metatype _inRef)
2068{
2069 modelica_boolean _b;
2070 MMC_SO()mmc_check_stackoverflow(threadData);
2071 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2072 // _b has no default value.
2073#line 1390 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2074 _b = omc_FNode_isInstance(threadData, omc_FNode_fromRef(threadData, _inRef));
2075#line 2075 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2076 _return: OMC_LABEL_UNUSED__attribute__((unused))
2077 return _b;
2078}
2079modelica_metatype boxptr_FNode_isRefInstance(threadData_t *threadData, modelica_metatype _inRef)
2080{
2081 modelica_boolean _b;
2082 modelica_metatype out_b;
2083 _b = omc_FNode_isRefInstance(threadData, _inRef);
2084 out_b = mmc_mk_icon(_b);
2085 return out_b;
2086}
2087
2088DLLExport
2089modelica_boolean omc_FNode_isRefClass(threadData_t *threadData, modelica_metatype _inRef)
2090{
2091 modelica_boolean _b;
2092 MMC_SO()mmc_check_stackoverflow(threadData);
2093 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2094 // _b has no default value.
2095#line 1383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2096 _b = omc_FNode_isClass(threadData, omc_FNode_fromRef(threadData, _inRef));
2097#line 2097 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2098 _return: OMC_LABEL_UNUSED__attribute__((unused))
2099 return _b;
2100}
2101modelica_metatype boxptr_FNode_isRefClass(threadData_t *threadData, modelica_metatype _inRef)
2102{
2103 modelica_boolean _b;
2104 modelica_metatype out_b;
2105 _b = omc_FNode_isRefClass(threadData, _inRef);
2106 out_b = mmc_mk_icon(_b);
2107 return out_b;
2108}
2109
2110DLLExport
2111modelica_boolean omc_FNode_isRefConstrainClass(threadData_t *threadData, modelica_metatype _inRef)
2112{
2113 modelica_boolean _b;
2114 MMC_SO()mmc_check_stackoverflow(threadData);
2115 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2116 // _b has no default value.
2117#line 1376 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2118 _b = omc_FNode_isConstrainClass(threadData, omc_FNode_fromRef(threadData, _inRef));
2119#line 2119 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2120 _return: OMC_LABEL_UNUSED__attribute__((unused))
2121 return _b;
2122}
2123modelica_metatype boxptr_FNode_isRefConstrainClass(threadData_t *threadData, modelica_metatype _inRef)
2124{
2125 modelica_boolean _b;
2126 modelica_metatype out_b;
2127 _b = omc_FNode_isRefConstrainClass(threadData, _inRef);
2128 out_b = mmc_mk_icon(_b);
2129 return out_b;
2130}
2131
2132DLLExport
2133modelica_boolean omc_FNode_isRefComponent(threadData_t *threadData, modelica_metatype _inRef)
2134{
2135 modelica_boolean _b;
2136 MMC_SO()mmc_check_stackoverflow(threadData);
2137 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2138 // _b has no default value.
2139#line 1369 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2140 _b = omc_FNode_isComponent(threadData, omc_FNode_fromRef(threadData, _inRef));
2141#line 2141 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2142 _return: OMC_LABEL_UNUSED__attribute__((unused))
2143 return _b;
2144}
2145modelica_metatype boxptr_FNode_isRefComponent(threadData_t *threadData, modelica_metatype _inRef)
2146{
2147 modelica_boolean _b;
2148 modelica_metatype out_b;
2149 _b = omc_FNode_isRefComponent(threadData, _inRef);
2150 out_b = mmc_mk_icon(_b);
2151 return out_b;
2152}
2153
2154DLLExport
2155modelica_boolean omc_FNode_isRefDerived(threadData_t *threadData, modelica_metatype _inRef)
2156{
2157 modelica_boolean _b;
2158 MMC_SO()mmc_check_stackoverflow(threadData);
2159 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2160 // _b has no default value.
2161#line 1362 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2162 _b = omc_FNode_isDerived(threadData, omc_FNode_fromRef(threadData, _inRef));
2163#line 2163 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2164 _return: OMC_LABEL_UNUSED__attribute__((unused))
2165 return _b;
2166}
2167modelica_metatype boxptr_FNode_isRefDerived(threadData_t *threadData, modelica_metatype _inRef)
2168{
2169 modelica_boolean _b;
2170 modelica_metatype out_b;
2171 _b = omc_FNode_isRefDerived(threadData, _inRef);
2172 out_b = mmc_mk_icon(_b);
2173 return out_b;
2174}
2175
2176DLLExport
2177modelica_boolean omc_FNode_isRefExtends(threadData_t *threadData, modelica_metatype _inRef)
2178{
2179 modelica_boolean _b;
2180 MMC_SO()mmc_check_stackoverflow(threadData);
2181 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2182 // _b has no default value.
2183#line 1355 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2184 _b = omc_FNode_isExtends(threadData, omc_FNode_fromRef(threadData, _inRef));
2185#line 2185 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2186 _return: OMC_LABEL_UNUSED__attribute__((unused))
2187 return _b;
2188}
2189modelica_metatype boxptr_FNode_isRefExtends(threadData_t *threadData, modelica_metatype _inRef)
2190{
2191 modelica_boolean _b;
2192 modelica_metatype out_b;
2193 _b = omc_FNode_isRefExtends(threadData, _inRef);
2194 out_b = mmc_mk_icon(_b);
2195 return out_b;
2196}
2197
2198PROTECTED_FUNCTION_STATIC modelica_metatype omc_FNode_filter__work(threadData_t *threadData, modelica_string _name, modelica_metatype _ref, modelica_fnptr _filter, modelica_metatype _accum)
2199{
2200 modelica_metatype _refs = NULL((void*)0);
2201 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
2202 MMC_SO()mmc_check_stackoverflow(threadData);
2203 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2204 _refs = _accum;
2205#line 1346 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2206 if(mmc_unbox_boolean((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_filter), 2))) ? ((modelica_metatype(*)(threadData_t*, modelica_metatype, modelica_metatype)) (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_filter), 1)))) (threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_filter), 2))), _ref) : ((modelica_metatype(*)(threadData_t*, modelica_metatype)) (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_filter), 1)))) (threadData, _ref))(((mmc_sint_t) (((*(void**)(((void*)((void**)(((void*)((char*
)(_filter) - 3))) + (2)))))) ? ((modelica_metatype(*)(threadData_t
*, modelica_metatype, modelica_metatype)) ((*(void**)(((void*
)((void**)(((void*)((char*)(_filter) - 3))) + (1))))))) (threadData
, ((*(void**)(((void*)((void**)(((void*)((char*)(_filter) - 3
))) + (2)))))), _ref) : ((modelica_metatype(*)(threadData_t*,
modelica_metatype)) ((*(void**)(((void*)((void**)(((void*)((
char*)(_filter) - 3))) + (1))))))) (threadData, _ref))) >>
1)
)
2207#line 1346 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2208 {
2209#line 1347 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2210 tmpMeta[0] = mmc_mk_cons(_ref, _refs);
2211#line 1347 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2212 _refs = tmpMeta[0];
2213#line 2213 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2214 }
2215 _return: OMC_LABEL_UNUSED__attribute__((unused))
2216 return _refs;
2217}
2218
2219static modelica_metatype closure1_FNode_filter__work(threadData_t *thData, modelica_metatype closure, modelica_string name, modelica_metatype ref, modelica_metatype accum)
2220{
2221 modelica_fnptr filter = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
2222 return boxptr_FNode_filter__workomc_FNode_filter__work(thData, name, ref, filter, accum);
2223}
2224DLLExport
2225modelica_metatype omc_FNode_filter(threadData_t *threadData, modelica_metatype _inRef, modelica_fnptr _inFilter)
2226{
2227 modelica_metatype _filtered = NULL((void*)0);
2228 modelica_metatype _c = NULL((void*)0);
2229 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2230 MMC_SO()mmc_check_stackoverflow(threadData);
2231 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2232 // _filtered has no default value.
2233 // _c has no default value.
2234#line 1329 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2235 _c = omc_FNode_children(threadData, omc_FNode_fromRef(threadData, _inRef));
2236#line 2236 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2237
2238#line 1330 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2239 tmpMeta[0] = mmc_mk_box1(0, ((modelica_fnptr) _inFilter));
2240#line 1330 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2241 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2242#line 1330 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2243 _filtered = omc_FCore_RefTree_fold(threadData, _c, (modelica_fnptr) mmc_mk_box2(0,closure1_FNode_filter__work,tmpMeta[0]), tmpMeta[1]);
2244#line 2244 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2245
2246#line 1331 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2247 _filtered = listReverse(_filtered);
2248#line 2248 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2249 _return: OMC_LABEL_UNUSED__attribute__((unused))
2250 return _filtered;
2251}
2252
2253DLLExport
2254modelica_metatype omc_FNode_lookupRef__dispatch(threadData_t *threadData, modelica_metatype _inRef, modelica_metatype _inScope)
2255{
2256 modelica_metatype _outRef = NULL((void*)0);
2257 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
2258 MMC_SO()mmc_check_stackoverflow(threadData);
2259 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2260 // _outRef has no default value.
2261#line 2261 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2262 { /* match expression */
2263 modelica_metatype tmp3_1;
2264 tmp3_1 = _inScope;
2265 {
2266 modelica_metatype _r = NULL((void*)0);
2267 modelica_metatype _rest = NULL((void*)0);
2268 modelica_string _n = NULL((void*)0);
2269 volatile mmc_switch_type tmp3;
2270 int tmp4;
2271 // _r has no default value.
2272 // _rest has no default value.
2273 // _n has no default value.
2274 tmp3 = 0;
2275 for (; tmp3 < 2; tmp3++) {
2276 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2277 case 0: {
2278 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2279 /* Pattern matching succeeded */
2280#line 1301 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2281 tmpMeta[0] = _inRef;
2282#line 2282 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2283 goto tmp2_done;
2284 }
2285 case 1: {
2286 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2287 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
2288 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2289 _r = tmpMeta[1];
2290 _rest = tmpMeta[2];
2291 /* Pattern matching succeeded */
2292#line 1305 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2293 _n = omc_FNode_name(threadData, omc_FNode_fromRef(threadData, _r));
2294#line 2294 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2295
2296#line 1307 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2297 _r = omc_FNode_child(threadData, _inRef, _n);
2298#line 2298 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2299#line 1308 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2300 /* Tail recursive call */
2301#line 1308 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2302 _inRef = _r;
2303#line 1308 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2304 _inScope = _rest;
2305#line 1308 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2306 goto _tailrecursive;
2307#line 1308 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2308 /* TODO: Make sure any eventual dead code below is never generated */
2309#line 2309 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2310 goto tmp2_done;
2311 }
2312 }
2313 goto tmp2_end;
2314 tmp2_end: ;
2315 }
2316 goto goto_1;
2317 goto_1:;
2318 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2319 goto tmp2_done;
2320 tmp2_done:;
2321 }
2322 }
2323 _outRef = tmpMeta[0];
2324 _return: OMC_LABEL_UNUSED__attribute__((unused))
2325 return _outRef;
2326}
2327
2328DLLExport
2329modelica_metatype omc_FNode_lookupRef(threadData_t *threadData, modelica_metatype _inRef, modelica_metatype _inScope)
2330{
2331 modelica_metatype _outRef = NULL((void*)0);
2332 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2333 MMC_SO()mmc_check_stackoverflow(threadData);
2334 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2335 // _outRef has no default value.
2336#line 2336 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2337 { /* matchcontinue expression */
2338 volatile modelica_metatype tmp3_1;
2339 tmp3_1 = _inScope;
2340 {
2341 modelica_metatype _s = NULL((void*)0);
2342 volatile mmc_switch_type tmp3;
2343 int tmp4;
2344 // _s has no default value.
2345 tmp3 = 0;
2346 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) {
2347 tmp2_top:
2348 threadData->mmc_jumper = &new_mmc_jumper;
2349 for (; tmp3 < 2; tmp3++) {
2350 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2351 case 0: {
2352 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2353 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
2354 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2355 if (!listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2356 /* Pattern matching succeeded */
2357#line 1273 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2358 tmpMeta[0] = _inRef;
2359#line 2359 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2360 goto tmp2_done;
2361 }
2362 case 1: {
2363
2364 _s = tmp3_1;
2365 /* Pattern matching succeeded */
2366#line 1279 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2367 /* Pattern-matching assignment */
2368#line 1279 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2369 tmpMeta[1] = listReverse(_s);
2370#line 1279 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2371 if (listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto goto_1;
2372#line 1279 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2373 tmpMeta[2] = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
2374#line 1279 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2375 tmpMeta[3] = MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
2376#line 1279 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2377 _s = tmpMeta[3];
2378#line 2378 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2379#line 1280 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2380 tmpMeta[0] = omc_FNode_lookupRef__dispatch(threadData, _inRef, _s);
2381#line 2381 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2382 goto tmp2_done;
2383 }
2384 }
2385 goto tmp2_end;
2386 tmp2_end: ;
2387 }
2388 goto goto_1;
2389 tmp2_done:
2390 (void)tmp3;
2391 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2392 goto tmp2_done2;
2393 goto_1:;
2394 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2395 if (++tmp3 < 2) {
2396 goto tmp2_top;
2397 }
2398 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2399 tmp2_done2:;
2400 }
2401 }
2402 _outRef = tmpMeta[0];
2403 _return: OMC_LABEL_UNUSED__attribute__((unused))
2404 return _outRef;
2405}
2406
2407DLLExport
2408modelica_metatype omc_FNode_contextual(threadData_t *threadData, modelica_metatype _inParents)
2409{
2410 modelica_metatype _outContextual = NULL((void*)0);
2411 MMC_SO()mmc_check_stackoverflow(threadData);
2412 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2413 // _outContextual has no default value.
2414#line 1255 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2415 _outContextual = listHead(_inParents)boxptr_listHead(threadData,_inParents);
2416#line 2416 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2417 _return: OMC_LABEL_UNUSED__attribute__((unused))
2418 return _outContextual;
2419}
2420
2421DLLExport
2422modelica_metatype omc_FNode_contextualScope__dispatch(threadData_t *threadData, modelica_metatype _inRef, modelica_metatype _inAcc)
2423{
2424 modelica_metatype _outScope = NULL((void*)0);
2425 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
2426 MMC_SO()mmc_check_stackoverflow(threadData);
2427 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2428 // _outScope has no default value.
2429#line 2429 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2430 { /* match expression */
2431 modelica_metatype tmp3_1;
2432 tmp3_1 = _inAcc;
2433 {
2434 modelica_metatype _acc = NULL((void*)0);
2435 modelica_metatype _r = NULL((void*)0);
2436 volatile mmc_switch_type tmp3;
2437 int tmp4;
2438 // _acc has no default value.
2439 // _r has no default value.
2440 tmp3 = 0;
2441 for (; tmp3 < 2; tmp3++) {
2442 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2443 case 0: {
2444
2445 _acc = tmp3_1;
2446 /* Pattern matching succeeded */
2447 /* Check guard condition after assignments */
2448 if (!omc_FNode_isTop(threadData, omc_FNode_fromRef(threadData, _inRef))) goto tmp2_end;
2449#line 1236 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2450 tmpMeta[1] = mmc_mk_cons(_inRef, _acc);
2451#line 1236 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2452 tmpMeta[0] = listReverse(tmpMeta[1]);
2453#line 2453 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2454 goto tmp2_done;
2455 }
2456 case 1: {
2457
2458 _acc = tmp3_1;
2459 /* Pattern matching succeeded */
2460#line 1242 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2461 _r = omc_FNode_contextual(threadData, omc_FNode_parents(threadData, omc_FNode_fromRef(threadData, _inRef)));
2462#line 2462 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2463#line 1243 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2464 tmpMeta[2] = mmc_mk_cons(_inRef, _acc);
2465#line 1243 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2466 /* Tail recursive call */
2467#line 1243 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2468 tmpMeta[1] = _r;
2469#line 1243 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2470 _inAcc = tmpMeta[2];
2471#line 1243 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2472 _inRef = tmpMeta[1];
2473#line 1243 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2474 goto _tailrecursive;
2475#line 1243 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2476 /* TODO: Make sure any eventual dead code below is never generated */
2477#line 2477 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2478 goto tmp2_done;
2479 }
2480 }
2481 goto tmp2_end;
2482 tmp2_end: ;
2483 }
2484 goto goto_1;
2485 goto_1:;
2486 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2487 goto tmp2_done;
2488 tmp2_done:;
2489 }
2490 }
2491 _outScope = tmpMeta[0];
2492 _return: OMC_LABEL_UNUSED__attribute__((unused))
2493 return _outScope;
2494}
2495
2496DLLExport
2497modelica_metatype omc_FNode_contextualScope(threadData_t *threadData, modelica_metatype _inRef)
2498{
2499 modelica_metatype _outScope = NULL((void*)0);
2500 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
2501 MMC_SO()mmc_check_stackoverflow(threadData);
2502 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2503 // _outScope has no default value.
2504#line 1215 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2505 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2506#line 1215 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2507 _outScope = omc_FNode_contextualScope__dispatch(threadData, _inRef, tmpMeta[0]);
2508#line 2508 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2509 _return: OMC_LABEL_UNUSED__attribute__((unused))
2510 return _outScope;
2511}
2512
2513DLLExport
2514modelica_metatype omc_FNode_original(threadData_t *threadData, modelica_metatype _inParents)
2515{
2516 modelica_metatype _outOriginal = NULL((void*)0);
2517 MMC_SO()mmc_check_stackoverflow(threadData);
2518 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2519 // _outOriginal has no default value.
2520#line 1202 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2521 _outOriginal = omc_List_last(threadData, _inParents);
2522#line 2522 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2523 _return: OMC_LABEL_UNUSED__attribute__((unused))
2524 return _outOriginal;
2525}
2526
2527DLLExport
2528modelica_metatype omc_FNode_originalScope__dispatch(threadData_t *threadData, modelica_metatype _inRef, modelica_metatype _inAcc)
2529{
2530 modelica_metatype _outScope = NULL((void*)0);
2531 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
2532 MMC_SO()mmc_check_stackoverflow(threadData);
2533 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2534 // _outScope has no default value.
2535#line 2535 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2536 { /* match expression */
2537 modelica_metatype tmp3_1;
2538 tmp3_1 = _inAcc;
2539 {
2540 modelica_metatype _acc = NULL((void*)0);
2541 modelica_metatype _r = NULL((void*)0);
2542 volatile mmc_switch_type tmp3;
2543 int tmp4;
2544 // _acc has no default value.
2545 // _r has no default value.
2546 tmp3 = 0;
2547 for (; tmp3 < 2; tmp3++) {
2548 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2549 case 0: {
2550
2551 _acc = tmp3_1;
2552 /* Pattern matching succeeded */
2553 /* Check guard condition after assignments */
2554 if (!omc_FNode_isTop(threadData, omc_FNode_fromRef(threadData, _inRef))) goto tmp2_end;
2555#line 1183 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2556 tmpMeta[1] = mmc_mk_cons(_inRef, _acc);
2557#line 1183 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2558 tmpMeta[0] = listReverse(tmpMeta[1]);
2559#line 2559 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2560 goto tmp2_done;
2561 }
2562 case 1: {
2563
2564 _acc = tmp3_1;
2565 /* Pattern matching succeeded */
2566#line 1189 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2567 _r = omc_FNode_original(threadData, omc_FNode_parents(threadData, omc_FNode_fromRef(threadData, _inRef)));
2568#line 2568 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2569#line 1190 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2570 tmpMeta[2] = mmc_mk_cons(_inRef, _acc);
2571#line 1190 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2572 /* Tail recursive call */
2573#line 1190 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2574 tmpMeta[1] = _r;
2575#line 1190 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2576 _inAcc = tmpMeta[2];
2577#line 1190 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2578 _inRef = tmpMeta[1];
2579#line 1190 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2580 goto _tailrecursive;
2581#line 1190 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2582 /* TODO: Make sure any eventual dead code below is never generated */
2583#line 2583 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2584 goto tmp2_done;
2585 }
2586 }
2587 goto tmp2_end;
2588 tmp2_end: ;
2589 }
2590 goto goto_1;
2591 goto_1:;
2592 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2593 goto tmp2_done;
2594 tmp2_done:;
2595 }
2596 }
2597 _outScope = tmpMeta[0];
2598 _return: OMC_LABEL_UNUSED__attribute__((unused))
2599 return _outScope;
2600}
2601
2602DLLExport
2603modelica_metatype omc_FNode_originalScope(threadData_t *threadData, modelica_metatype _inRef)
2604{
2605 modelica_metatype _outScope = NULL((void*)0);
2606 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
2607 MMC_SO()mmc_check_stackoverflow(threadData);
2608 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2609 // _outScope has no default value.
2610#line 1162 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2611 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2612#line 1162 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2613 _outScope = omc_FNode_originalScope__dispatch(threadData, _inRef, tmpMeta[0]);
2614#line 2614 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2615 _return: OMC_LABEL_UNUSED__attribute__((unused))
2616 return _outScope;
2617}
2618
2619DLLExport
2620modelica_metatype omc_FNode_getModifierTarget(threadData_t *threadData, modelica_metatype _inRef)
2621{
2622 modelica_metatype _outRef = NULL((void*)0);
2623 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2624 MMC_SO()mmc_check_stackoverflow(threadData);
2625 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2626 // _outRef has no default value.
2627#line 2627 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2628 { /* matchcontinue expression */
2629 volatile modelica_metatype tmp3_1;
2630 tmp3_1 = _inRef;
2631 {
2632 modelica_metatype _r = NULL((void*)0);
2633 volatile mmc_switch_type tmp3;
2634 int tmp4;
2635 // _r has no default value.
2636 tmp3 = 0;
2637 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) {
2638 tmp2_top:
2639 threadData->mmc_jumper = &new_mmc_jumper;
2640 for (; tmp3 < 2; tmp3++) {
2641 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2642 case 0: {
2643
2644 _r = tmp3_1;
2645 /* Pattern matching succeeded */
2646 /* Check guard condition after assignments */
2647 if (!omc_FNode_isRefModHolder(threadData, _r)) goto tmp2_end;
2648#line 1141 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2649 _r = omc_FNode_original(threadData, omc_FNode_refParents(threadData, _r));
2650#line 2650 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2651
2652#line 1142 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2653 /* Pattern-matching assignment */
2654#line 1142 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2655 tmpMeta[1] = omc_FNode_refRefTargetScope(threadData, _r);
2656#line 1142 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2657 if (listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto goto_1;
2658#line 1142 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2659 tmpMeta[2] = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
2660#line 1142 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2661 tmpMeta[3] = MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
2662#line 1142 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2663 _r = tmpMeta[2];
2664#line 2664 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2665#line 1143 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2666 tmpMeta[0] = _r;
2667#line 2667 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2668 goto tmp2_done;
2669 }
2670 case 1: {
2671
2672 /* Pattern matching succeeded */
2673#line 1147 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2674 tmpMeta[0] = omc_FNode_getModifierTarget(threadData, omc_FNode_original(threadData, omc_FNode_refParents(threadData, _inRef)));
2675#line 2675 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2676 goto tmp2_done;
2677 }
2678 }
2679 goto tmp2_end;
2680 tmp2_end: ;
2681 }
2682 goto goto_1;
2683 tmp2_done:
2684 (void)tmp3;
2685 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2686 goto tmp2_done2;
2687 goto_1:;
2688 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2689 if (++tmp3 < 2) {
2690 goto tmp2_top;
2691 }
2692 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2693 tmp2_done2:;
2694 }
2695 }
2696 _outRef = tmpMeta[0];
2697 _return: OMC_LABEL_UNUSED__attribute__((unused))
2698 return _outRef;
2699}
2700
2701PROTECTED_FUNCTION_STATIC modelica_metatype omc_FNode_namesUpToParentName__dispatch(threadData_t *threadData, modelica_metatype _inRef, modelica_string _inName, modelica_metatype _acc)
2702{
2703 modelica_metatype _outNames = NULL((void*)0);
2704 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2705 MMC_SO()mmc_check_stackoverflow(threadData);
2706 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2707 // _outNames has no default value.
2708#line 2708 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2709 { /* match expression */
2710 modelica_metatype tmp3_1;modelica_string tmp3_2;
2711 tmp3_1 = _inRef;
2712 tmp3_2 = _inName;
2713 {
2714 modelica_metatype _r = NULL((void*)0);
2715 modelica_string _name = NULL((void*)0);
2716 volatile mmc_switch_type tmp3;
2717 int tmp4;
2718 // _r has no default value.
2719 // _name has no default value.
2720 tmp3 = 0;
2721 for (; tmp3 < 3; tmp3++) {
2722 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2723 case 0: {
2724
2725 _r = tmp3_1;
2726 /* Pattern matching succeeded */
2727 /* Check guard condition after assignments */
2728 if (!omc_FNode_isRefTop(threadData, _r)) goto tmp2_end;
2729#line 1106 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2730 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2731#line 1106 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2732 tmpMeta[0] = tmpMeta[1];
2733#line 2733 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2734 goto tmp2_done;
2735 }
2736 case 1: {
2737
2738 _r = tmp3_1;
2739 /* Pattern matching succeeded */
2740 /* Check guard condition after assignments */
2741 if (!(stringEqual(_inName, omc_FNode_refName(threadData, _r))((((((*(mmc_uint_t*)((void*)((char*)(_inName) - 3)))) >>
(3)) - 8)) == (((((*(mmc_uint_t*)((void*)((char*)(omc_FNode_refName
(threadData, _r)) - 3)))) >> (3)) - 8)) && !mmc_stringCompare
(_inName,omc_FNode_refName(threadData, _r)))
)) goto tmp2_end;
2742#line 1111 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2743 tmpMeta[0] = _acc;
2744#line 2744 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2745 goto tmp2_done;
2746 }
2747 case 2: {
2748
2749 _r = tmp3_1;
2750 _name = tmp3_2;
2751 /* Pattern matching succeeded */
2752#line 1116 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2753 tmpMeta[1] = mmc_mk_cons(omc_FNode_refName(threadData, _r), _acc);
2754#line 1116 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2755 /* Tail recursive call */
2756#line 1116 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2757 _inRef = omc_FNode_original(threadData, omc_FNode_refParents(threadData, _r));
2758#line 1116 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2759 _inName = _name;
2760#line 1116 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2761 _acc = tmpMeta[1];
2762#line 1116 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2763 goto _tailrecursive;
2764#line 1116 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2765 /* TODO: Make sure any eventual dead code below is never generated */
2766#line 2766 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2767 goto tmp2_done;
2768 }
2769 }
2770 goto tmp2_end;
2771 tmp2_end: ;
2772 }
2773 goto goto_1;
2774 goto_1:;
2775 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2776 goto tmp2_done;
2777 tmp2_done:;
2778 }
2779 }
2780 _outNames = tmpMeta[0];
2781 _return: OMC_LABEL_UNUSED__attribute__((unused))
2782 return _outNames;
2783}
2784
2785DLLExport
2786modelica_metatype omc_FNode_namesUpToParentName(threadData_t *threadData, modelica_metatype _inRef, modelica_string _inName)
2787{
2788 modelica_metatype _outNames = NULL((void*)0);
2789 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
2790 MMC_SO()mmc_check_stackoverflow(threadData);
2791 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2792 // _outNames has no default value.
2793#line 1082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2794 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2795#line 1082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2796 _outNames = omc_FNode_namesUpToParentName__dispatch(threadData, _inRef, _inName, tmpMeta[0]);
2797#line 2797 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2798 _return: OMC_LABEL_UNUSED__attribute__((unused))
2799 return _outNames;
2800}
2801
2802DLLExport
2803modelica_metatype omc_FNode_nonImplicitRefFromScope(threadData_t *threadData, modelica_metatype _inScope)
2804{
2805 modelica_metatype _outRef = NULL((void*)0);
2806 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
2807 MMC_SO()mmc_check_stackoverflow(threadData);
2808 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2809 // _outRef has no default value.
2810#line 2810 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2811 { /* match expression */
2812 modelica_metatype tmp3_1;
2813 tmp3_1 = _inScope;
2814 {
2815 modelica_metatype _r = NULL((void*)0);
2816 modelica_metatype _rest = NULL((void*)0);
2817 volatile mmc_switch_type tmp3;
2818 int tmp4;
2819 // _r has no default value.
2820 // _rest has no default value.
2821 tmp3 = 0;
2822 for (; tmp3 < 3; tmp3++) {
2823 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2824 case 0: {
2825 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2826 /* Pattern matching succeeded */
2827#line 1058 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2828 goto goto_1;
2829#line 2829 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2830 goto tmp2_done;
2831 }
2832 case 1: {
2833 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2834 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
2835 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2836 _r = tmpMeta[1];
2837 /* Pattern matching succeeded */
2838 /* Check guard condition after assignments */
2839 if (!(!omc_FNode_isRefImplicitScope(threadData, _r))) goto tmp2_end;
2840#line 1061 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2841 tmpMeta[0] = _r;
2842#line 2842 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2843 goto tmp2_done;
2844 }
2845 case 2: {
2846 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2847 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
2848 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2849 _rest = tmpMeta[2];
2850 /* Pattern matching succeeded */
2851#line 1065 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2852 /* Tail recursive call */
2853#line 1065 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2854 _inScope = _rest;
2855#line 1065 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2856 goto _tailrecursive;
2857#line 1065 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2858 /* TODO: Make sure any eventual dead code below is never generated */
2859#line 2859 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2860 goto tmp2_done;
2861 }
2862 }
2863 goto tmp2_end;
2864 tmp2_end: ;
2865 }
2866 goto goto_1;
2867 goto_1:;
2868 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2869 goto tmp2_done;
2870 tmp2_done:;
2871 }
2872 }
2873 _outRef = tmpMeta[0];
2874 _return: OMC_LABEL_UNUSED__attribute__((unused))
2875 return _outRef;
2876}
2877
2878DLLExport
2879modelica_boolean omc_FNode_isIn(threadData_t *threadData, modelica_metatype _inNode, modelica_fnptr _inFunctionRefIs)
2880{
2881 modelica_boolean _b;
2882 modelica_boolean tmp1 = 0;
2883 MMC_SO()mmc_check_stackoverflow(threadData);
2884 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2885 // _b has no default value.
2886#line 2886 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2887 { /* match expression */
2888 {
2889 modelica_metatype _s = NULL((void*)0);
2890 modelica_boolean _b1;
2891 modelica_boolean _b2;
2892 volatile mmc_switch_type tmp4;
2893 int tmp5;
2894 // _s has no default value.
2895 // _b1 has no default value.
2896 // _b2 has no default value.
2897 tmp4 = 0;
2898 for (; tmp4 < 1; tmp4++) {
2899 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2900 case 0: {
2901 /* Pattern matching succeeded */
2902#line 1035 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2903 _s = omc_FNode_originalScope(threadData, omc_FNode_toRef(threadData, _inNode));
2904#line 2904 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2905
2906#line 1036 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2907 _b1 = mmc_unbox_boolean(omc_List_applyAndFold(threadData, _s, boxvar_boolOr, ((modelica_fnptr) _inFunctionRefIs), mmc_mk_boolean(0)))(((mmc_sint_t) (omc_List_applyAndFold(threadData, _s, ((void*
)((char*)(&(boxvar_lit_boolOr).header) + 3)), ((modelica_fnptr
) _inFunctionRefIs), ((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon
(0)))))) >> 1)
;
2908#line 2908 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2909
2910#line 1037 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2911 _s = omc_FNode_contextualScope(threadData, omc_FNode_toRef(threadData, _inNode));
2912#line 2912 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2913
2914#line 1038 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2915 _b2 = mmc_unbox_boolean(omc_List_applyAndFold(threadData, _s, boxvar_boolOr, ((modelica_fnptr) _inFunctionRefIs), mmc_mk_boolean(0)))(((mmc_sint_t) (omc_List_applyAndFold(threadData, _s, ((void*
)((char*)(&(boxvar_lit_boolOr).header) + 3)), ((modelica_fnptr
) _inFunctionRefIs), ((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon
(0)))))) >> 1)
;
2916#line 2916 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2917#line 1039 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2918 tmp1 = (_b1 || _b2);
2919#line 2919 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2920 goto tmp3_done;
2921 }
2922 }
2923 goto tmp3_end;
2924 tmp3_end: ;
2925 }
2926 goto goto_2;
2927 goto_2:;
2928 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2929 goto tmp3_done;
2930 tmp3_done:;
2931 }
2932 }
2933 _b = tmp1;
2934 _return: OMC_LABEL_UNUSED__attribute__((unused))
2935 return _b;
2936}
2937modelica_metatype boxptr_FNode_isIn(threadData_t *threadData, modelica_metatype _inNode, modelica_fnptr _inFunctionRefIs)
2938{
2939 modelica_boolean _b;
2940 modelica_metatype out_b;
2941 _b = omc_FNode_isIn(threadData, _inNode, _inFunctionRefIs);
2942 out_b = mmc_mk_icon(_b);
2943 return out_b;
2944}
2945
2946DLLExport
2947modelica_boolean omc_FNode_isDims(threadData_t *threadData, modelica_metatype _inNode)
2948{
2949 modelica_boolean _b;
2950 modelica_boolean tmp1 = 0;
2951 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
2952 MMC_SO()mmc_check_stackoverflow(threadData);
2953 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2954 // _b has no default value.
2955#line 2955 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2956 { /* match expression */
2957 modelica_metatype tmp4_1;
2958 tmp4_1 = _inNode;
2959 {
2960 volatile mmc_switch_type tmp4;
2961 int tmp5;
2962 tmp4 = 0;
2963 for (; tmp4 < 2; tmp4++) {
2964 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2965 case 0: {
2966 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
2967 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],18,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((2 +1)
<< 10) + (((18 +3) & 255) << 2)))
== 0) goto tmp3_end;
2968
2969 /* Pattern matching succeeded */
2970#line 1014 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2971 tmp1 = 1;
2972#line 2972 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2973 goto tmp3_done;
2974 }
2975 case 1: {
2976
2977 /* Pattern matching succeeded */
2978#line 1015 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
2979 tmp1 = 0;
2980#line 2980 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
2981 goto tmp3_done;
2982 }
2983 }
2984 goto tmp3_end;
2985 tmp3_end: ;
2986 }
2987 goto goto_2;
2988 goto_2:;
2989 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2990 goto tmp3_done;
2991 tmp3_done:;
2992 }
2993 }
2994 _b = tmp1;
2995 _return: OMC_LABEL_UNUSED__attribute__((unused))
2996 return _b;
2997}
2998modelica_metatype boxptr_FNode_isDims(threadData_t *threadData, modelica_metatype _inNode)
2999{
3000 modelica_boolean _b;
3001 modelica_metatype out_b;
3002 _b = omc_FNode_isDims(threadData, _inNode);
3003 out_b = mmc_mk_icon(_b);
3004 return out_b;
3005}
3006
3007DLLExport
3008modelica_boolean omc_FNode_isVersion(threadData_t *threadData, modelica_metatype _inNode)
3009{
3010 modelica_boolean _b;
3011 modelica_boolean tmp1 = 0;
3012 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3013 MMC_SO()mmc_check_stackoverflow(threadData);
3014 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3015 // _b has no default value.
3016#line 3016 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3017 { /* match expression */
3018 modelica_metatype tmp4_1;
3019 tmp4_1 = _inNode;
3020 {
3021 volatile mmc_switch_type tmp4;
3022 int tmp5;
3023 tmp4 = 0;
3024 for (; tmp4 < 2; tmp4++) {
3025 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3026 case 0: {
3027 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
3028 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],22,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((4 +1)
<< 10) + (((22 +3) & 255) << 2)))
== 0) goto tmp3_end;
3029
3030 /* Pattern matching succeeded */
3031#line 1004 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3032 tmp1 = 1;
3033#line 3033 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3034 goto tmp3_done;
3035 }
3036 case 1: {
3037
3038 /* Pattern matching succeeded */
3039#line 1005 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3040 tmp1 = 0;
3041#line 3041 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3042 goto tmp3_done;
3043 }
3044 }
3045 goto tmp3_end;
3046 tmp3_end: ;
3047 }
3048 goto goto_2;
3049 goto_2:;
3050 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3051 goto tmp3_done;
3052 tmp3_done:;
3053 }
3054 }
3055 _b = tmp1;
3056 _return: OMC_LABEL_UNUSED__attribute__((unused))
3057 return _b;
3058}
3059modelica_metatype boxptr_FNode_isVersion(threadData_t *threadData, modelica_metatype _inNode)
3060{
3061 modelica_boolean _b;
3062 modelica_metatype out_b;
3063 _b = omc_FNode_isVersion(threadData, _inNode);
3064 out_b = mmc_mk_icon(_b);
3065 return out_b;
3066}
3067
3068DLLExport
3069modelica_boolean omc_FNode_isClone(threadData_t *threadData, modelica_metatype _inNode)
3070{
3071 modelica_boolean _b;
3072 modelica_boolean tmp1 = 0;
3073 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
3074 MMC_SO()mmc_check_stackoverflow(threadData);
3075 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3076 // _b has no default value.
3077#line 3077 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3078 { /* match expression */
3079 modelica_metatype tmp4_1;
3080 tmp4_1 = _inNode;
3081 {
3082 modelica_metatype _r = NULL((void*)0);
3083 volatile mmc_switch_type tmp4;
3084 int tmp5;
3085 // _r has no default value.
3086 tmp4 = 0;
3087 for (; tmp4 < 2; tmp4++) {
3088 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3089 case 0: {
3090 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
3091 if (listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3092 tmpMeta[1] = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
3093 tmpMeta[2] = MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3094
3095 _r = tmpMeta[1];
3096 /* Pattern matching succeeded */
3097#line 993 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3098 tmp1 = omc_FNode_isRefVersion(threadData, _r);
3099#line 3099 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3100 goto tmp3_done;
3101 }
3102 case 1: {
3103
3104 /* Pattern matching succeeded */
3105#line 995 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3106 tmp1 = 0;
3107#line 3107 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3108 goto tmp3_done;
3109 }
3110 }
3111 goto tmp3_end;
3112 tmp3_end: ;
3113 }
3114 goto goto_2;
3115 goto_2:;
3116 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3117 goto tmp3_done;
3118 tmp3_done:;
3119 }
3120 }
3121 _b = tmp1;
3122 _return: OMC_LABEL_UNUSED__attribute__((unused))
3123 return _b;
3124}
3125modelica_metatype boxptr_FNode_isClone(threadData_t *threadData, modelica_metatype _inNode)
3126{
3127 modelica_boolean _b;
3128 modelica_metatype out_b;
3129 _b = omc_FNode_isClone(threadData, _inNode);
3130 out_b = mmc_mk_icon(_b);
3131 return out_b;
3132}
3133
3134DLLExport
3135modelica_boolean omc_FNode_isModHolder(threadData_t *threadData, modelica_metatype _inNode)
3136{
3137 modelica_boolean _b;
3138 modelica_boolean tmp1 = 0;
3139 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3140 MMC_SO()mmc_check_stackoverflow(threadData);
3141 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3142 // _b has no default value.
3143#line 3143 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3144 { /* match expression */
3145 modelica_metatype tmp4_1;
3146 tmp4_1 = _inNode;
3147 {
3148 modelica_string _n = NULL((void*)0);
3149 volatile mmc_switch_type tmp4;
3150 int tmp5;
3151 // _n has no default value.
3152 tmp4 = 0;
3153 for (; tmp4 < 2; tmp4++) {
3154 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3155 case 0: {
3156 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3157 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
3158 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],15,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((1 +1)
<< 10) + (((15 +3) & 255) << 2)))
== 0) goto tmp3_end;
3159
3160 _n = tmpMeta[0];
3161 /* Pattern matching succeeded */
3162#line 979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3163 tmp1 = (stringEqual(_n, _OMC_LIT5)((((((*(mmc_uint_t*)((void*)((char*)(_n) - 3)))) >> (3)
) - 8)) == (((((*(mmc_uint_t*)((void*)((char*)(((void*)((char
*)(&(_OMC_LIT_STRUCT5).header) + 3))) - 3)))) >> (3
)) - 8)) && !mmc_stringCompare(_n,((void*)((char*)(&
(_OMC_LIT_STRUCT5).header) + 3))))
);
3164#line 3164 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3165 goto tmp3_done;
3166 }
3167 case 1: {
3168
3169 /* Pattern matching succeeded */
3170#line 980 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3171 tmp1 = 0;
3172#line 3172 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3173 goto tmp3_done;
3174 }
3175 }
3176 goto tmp3_end;
3177 tmp3_end: ;
3178 }
3179 goto goto_2;
3180 goto_2:;
3181 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3182 goto tmp3_done;
3183 tmp3_done:;
3184 }
3185 }
3186 _b = tmp1;
3187 _return: OMC_LABEL_UNUSED__attribute__((unused))
3188 return _b;
3189}
3190modelica_metatype boxptr_FNode_isModHolder(threadData_t *threadData, modelica_metatype _inNode)
3191{
3192 modelica_boolean _b;
3193 modelica_metatype out_b;
3194 _b = omc_FNode_isModHolder(threadData, _inNode);
3195 out_b = mmc_mk_icon(_b);
3196 return out_b;
3197}
3198
3199DLLExport
3200modelica_boolean omc_FNode_isMod(threadData_t *threadData, modelica_metatype _inNode)
3201{
3202 modelica_boolean _b;
3203 modelica_boolean tmp1 = 0;
3204 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3205 MMC_SO()mmc_check_stackoverflow(threadData);
3206 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3207 // _b has no default value.
3208#line 3208 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3209 { /* match expression */
3210 modelica_metatype tmp4_1;
3211 tmp4_1 = _inNode;
3212 {
3213 volatile mmc_switch_type tmp4;
3214 int tmp5;
3215 tmp4 = 0;
3216 for (; tmp4 < 2; tmp4++) {
3217 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3218 case 0: {
3219 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
3220 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],15,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((1 +1)
<< 10) + (((15 +3) & 255) << 2)))
== 0) goto tmp3_end;
3221
3222 /* Pattern matching succeeded */
3223#line 968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3224 tmp1 = 1;
3225#line 3225 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3226 goto tmp3_done;
3227 }
3228 case 1: {
3229
3230 /* Pattern matching succeeded */
3231#line 969 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3232 tmp1 = 0;
3233#line 3233 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3234 goto tmp3_done;
3235 }
3236 }
3237 goto tmp3_end;
3238 tmp3_end: ;
3239 }
3240 goto goto_2;
3241 goto_2:;
3242 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3243 goto tmp3_done;
3244 tmp3_done:;
3245 }
3246 }
3247 _b = tmp1;
3248 _return: OMC_LABEL_UNUSED__attribute__((unused))
3249 return _b;
3250}
3251modelica_metatype boxptr_FNode_isMod(threadData_t *threadData, modelica_metatype _inNode)
3252{
3253 modelica_boolean _b;
3254 modelica_metatype out_b;
3255 _b = omc_FNode_isMod(threadData, _inNode);
3256 out_b = mmc_mk_icon(_b);
3257 return out_b;
3258}
3259
3260DLLExport
3261modelica_boolean omc_FNode_isSection(threadData_t *threadData, modelica_metatype _inNode)
3262{
3263 modelica_boolean _b;
3264 modelica_boolean tmp1 = 0;
3265 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3266 MMC_SO()mmc_check_stackoverflow(threadData);
3267 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3268 // _b has no default value.
3269#line 3269 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3270 { /* match expression */
3271 modelica_metatype tmp4_1;
3272 tmp4_1 = _inNode;
3273 {
3274 volatile mmc_switch_type tmp4;
3275 int tmp5;
3276 tmp4 = 0;
3277 for (; tmp4 < 3; tmp4++) {
3278 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3279 case 0: {
3280 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
3281 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],8,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((2 +1)
<< 10) + (((8 +3) & 255) << 2)))
== 0) goto tmp3_end;
3282
3283 /* Pattern matching succeeded */
3284#line 957 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3285 tmp1 = 1;
3286#line 3286 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3287 goto tmp3_done;
3288 }
3289 case 1: {
3290 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
3291 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],9,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((2 +1)
<< 10) + (((9 +3) & 255) << 2)))
== 0) goto tmp3_end;
3292
3293 /* Pattern matching succeeded */
3294#line 958 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3295 tmp1 = 1;
3296#line 3296 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3297 goto tmp3_done;
3298 }
3299 case 2: {
3300
3301 /* Pattern matching succeeded */
3302#line 959 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3303 tmp1 = 0;
3304#line 3304 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3305 goto tmp3_done;
3306 }
3307 }
3308 goto tmp3_end;
3309 tmp3_end: ;
3310 }
3311 goto goto_2;
3312 goto_2:;
3313 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3314 goto tmp3_done;
3315 tmp3_done:;
3316 }
3317 }
3318 _b = tmp1;
3319 _return: OMC_LABEL_UNUSED__attribute__((unused))
3320 return _b;
3321}
3322modelica_metatype boxptr_FNode_isSection(threadData_t *threadData, modelica_metatype _inNode)
3323{
3324 modelica_boolean _b;
3325 modelica_metatype out_b;
3326 _b = omc_FNode_isSection(threadData, _inNode);
3327 out_b = mmc_mk_icon(_b);
3328 return out_b;
3329}
3330
3331DLLExport
3332modelica_boolean omc_FNode_isRecord(threadData_t *threadData, modelica_metatype _inNode)
3333{
3334 modelica_boolean _b;
3335 modelica_boolean tmp1 = 0;
3336 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3337 MMC_SO()mmc_check_stackoverflow(threadData);
3338 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3339 _b = 0;
3340#line 3340 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3341 { /* match expression */
3342 modelica_metatype tmp4_1;
3343 tmp4_1 = _inNode;
3344 {
3345 modelica_metatype _e = NULL((void*)0);
3346 volatile mmc_switch_type tmp4;
3347 int tmp5;
3348 // _e has no default value.
3349 tmp4 = 0;
3350 for (; tmp4 < 2; tmp4++) {
3351 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3352 case 0: {
3353 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
3354 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],3,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((5 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
3355 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3356
3357 _e = tmpMeta[1];
3358 /* Pattern matching succeeded */
3359 /* Check guard condition after assignments */
3360 if (!omc_SCodeUtil_isRecord(threadData, _e)) goto tmp3_end;
3361#line 947 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3362 tmp1 = 1;
3363#line 3363 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3364 goto tmp3_done;
3365 }
3366 case 1: {
3367
3368 /* Pattern matching succeeded */
3369#line 948 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3370 tmp1 = 0;
3371#line 3371 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3372 goto tmp3_done;
3373 }
3374 }
3375 goto tmp3_end;
3376 tmp3_end: ;
3377 }
3378 goto goto_2;
3379 goto_2:;
3380 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3381 goto tmp3_done;
3382 tmp3_done:;
3383 }
3384 }
3385 _b = tmp1;
3386 _return: OMC_LABEL_UNUSED__attribute__((unused))
3387 return _b;
3388}
3389modelica_metatype boxptr_FNode_isRecord(threadData_t *threadData, modelica_metatype _inNode)
3390{
3391 modelica_boolean _b;
3392 modelica_metatype out_b;
3393 _b = omc_FNode_isRecord(threadData, _inNode);
3394 out_b = mmc_mk_icon(_b);
3395 return out_b;
3396}
3397
3398DLLExport
3399modelica_boolean omc_FNode_isFunction(threadData_t *threadData, modelica_metatype _inNode)
3400{
3401 modelica_boolean _b;
3402 modelica_boolean tmp1 = 0;
3403 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3404 MMC_SO()mmc_check_stackoverflow(threadData);
3405 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3406 // _b has no default value.
3407#line 3407 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3408 { /* match expression */
3409 modelica_metatype tmp4_1;
3410 tmp4_1 = _inNode;
3411 {
3412 modelica_metatype _e = NULL((void*)0);
3413 volatile mmc_switch_type tmp4;
3414 int tmp5;
3415 // _e has no default value.
3416 tmp4 = 0;
3417 for (; tmp4 < 2; tmp4++) {
3418 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3419 case 0: {
3420 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
3421 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],3,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((5 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
3422 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3423
3424 _e = tmpMeta[1];
3425 /* Pattern matching succeeded */
3426 /* Check guard condition after assignments */
3427 if (!(omc_SCodeUtil_isFunction(threadData, _e) || omc_SCodeUtil_isOperator(threadData, _e))) goto tmp3_end;
3428#line 934 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3429 tmp1 = 1;
3430#line 3430 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3431 goto tmp3_done;
3432 }
3433 case 1: {
3434
3435 /* Pattern matching succeeded */
3436#line 935 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3437 tmp1 = 0;
3438#line 3438 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3439 goto tmp3_done;
3440 }
3441 }
3442 goto tmp3_end;
3443 tmp3_end: ;
3444 }
3445 goto goto_2;
3446 goto_2:;
3447 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3448 goto tmp3_done;
3449 tmp3_done:;
3450 }
3451 }
3452 _b = tmp1;
3453 _return: OMC_LABEL_UNUSED__attribute__((unused))
3454 return _b;
3455}
3456modelica_metatype boxptr_FNode_isFunction(threadData_t *threadData, modelica_metatype _inNode)
3457{
3458 modelica_boolean _b;
3459 modelica_metatype out_b;
3460 _b = omc_FNode_isFunction(threadData, _inNode);
3461 out_b = mmc_mk_icon(_b);
3462 return out_b;
3463}
3464
3465DLLExport
3466modelica_boolean omc_FNode_isBuiltin(threadData_t *threadData, modelica_metatype _inNode)
3467{
3468 modelica_boolean _b;
3469 modelica_boolean tmp1 = 0;
3470 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3471 MMC_SO()mmc_check_stackoverflow(threadData);
3472 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3473 // _b has no default value.
3474#line 3474 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3475 { /* match expression */
3476 modelica_metatype tmp4_1;
3477 tmp4_1 = _inNode;
3478 {
3479 volatile mmc_switch_type tmp4;
3480 int tmp5;
3481 tmp4 = 0;
3482 for (; tmp4 < 3; tmp4++) {
3483 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3484 case 0: {
3485 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
3486 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],3,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((5 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
3487 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
3488 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],1,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((0 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3489
3490 /* Pattern matching succeeded */
3491#line 920 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3492 tmp1 = 1;
3493#line 3493 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3494 goto tmp3_done;
3495 }
3496 case 1: {
3497 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
3498 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],4,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((4 +1)
<< 10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
3499 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
3500 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],1,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((0 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3501
3502 /* Pattern matching succeeded */
3503#line 921 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3504 tmp1 = 1;
3505#line 3505 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3506 goto tmp3_done;
3507 }
3508 case 2: {
3509
3510 /* Pattern matching succeeded */
3511#line 922 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3512 tmp1 = 0;
3513#line 3513 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3514 goto tmp3_done;
3515 }
3516 }
3517 goto tmp3_end;
3518 tmp3_end: ;
3519 }
3520 goto goto_2;
3521 goto_2:;
3522 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3523 goto tmp3_done;
3524 tmp3_done:;
3525 }
3526 }
3527 _b = tmp1;
3528 _return: OMC_LABEL_UNUSED__attribute__((unused))
3529 return _b;
3530}
3531modelica_metatype boxptr_FNode_isBuiltin(threadData_t *threadData, modelica_metatype _inNode)
3532{
3533 modelica_boolean _b;
3534 modelica_metatype out_b;
3535 _b = omc_FNode_isBuiltin(threadData, _inNode);
3536 out_b = mmc_mk_icon(_b);
3537 return out_b;
3538}
3539
3540DLLExport
3541modelica_boolean omc_FNode_isBasicType(threadData_t *threadData, modelica_metatype _inNode)
3542{
3543 modelica_boolean _b;
3544 modelica_boolean tmp1 = 0;
3545 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3546 MMC_SO()mmc_check_stackoverflow(threadData);
3547 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3548 // _b has no default value.
3549#line 3549 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3550 { /* match expression */
3551 modelica_metatype tmp4_1;
3552 tmp4_1 = _inNode;
3553 {
3554 volatile mmc_switch_type tmp4;
3555 int tmp5;
3556 tmp4 = 0;
3557 for (; tmp4 < 2; tmp4++) {
3558 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3559 case 0: {
3560 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
3561 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],3,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((5 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
3562 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
3563 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 tmp3_end;
3564
3565 /* Pattern matching succeeded */
3566#line 910 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3567 tmp1 = 1;
3568#line 3568 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3569 goto tmp3_done;
3570 }
3571 case 1: {
3572
3573 /* Pattern matching succeeded */
3574#line 911 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3575 tmp1 = 0;
3576#line 3576 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3577 goto tmp3_done;
3578 }
3579 }
3580 goto tmp3_end;
3581 tmp3_end: ;
3582 }
3583 goto goto_2;
3584 goto_2:;
3585 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3586 goto tmp3_done;
3587 tmp3_done:;
3588 }
3589 }
3590 _b = tmp1;
3591 _return: OMC_LABEL_UNUSED__attribute__((unused))
3592 return _b;
3593}
3594modelica_metatype boxptr_FNode_isBasicType(threadData_t *threadData, modelica_metatype _inNode)
3595{
3596 modelica_boolean _b;
3597 modelica_metatype out_b;
3598 _b = omc_FNode_isBasicType(threadData, _inNode);
3599 out_b = mmc_mk_icon(_b);
3600 return out_b;
3601}
3602
3603DLLExport
3604modelica_boolean omc_FNode_isCref(threadData_t *threadData, modelica_metatype _inNode)
3605{
3606 modelica_boolean _b;
3607 modelica_boolean tmp1 = 0;
3608 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3609 MMC_SO()mmc_check_stackoverflow(threadData);
3610 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3611 // _b has no default value.
3612#line 3612 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3613 { /* match expression */
3614 modelica_metatype tmp4_1;
3615 tmp4_1 = _inNode;
3616 {
3617 volatile mmc_switch_type tmp4;
3618 int tmp5;
3619 tmp4 = 0;
3620 for (; tmp4 < 2; tmp4++) {
3621 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3622 case 0: {
3623 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
3624 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],17,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((1 +1)
<< 10) + (((17 +3) & 255) << 2)))
== 0) goto tmp3_end;
3625
3626 /* Pattern matching succeeded */
3627#line 900 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3628 tmp1 = 1;
3629#line 3629 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3630 goto tmp3_done;
3631 }
3632 case 1: {
3633
3634 /* Pattern matching succeeded */
3635#line 901 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3636 tmp1 = 0;
3637#line 3637 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3638 goto tmp3_done;
3639 }
3640 }
3641 goto tmp3_end;
3642 tmp3_end: ;
3643 }
3644 goto goto_2;
3645 goto_2:;
3646 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3647 goto tmp3_done;
3648 tmp3_done:;
3649 }
3650 }
3651 _b = tmp1;
3652 _return: OMC_LABEL_UNUSED__attribute__((unused))
3653 return _b;
3654}
3655modelica_metatype boxptr_FNode_isCref(threadData_t *threadData, modelica_metatype _inNode)
3656{
3657 modelica_boolean _b;
3658 modelica_metatype out_b;
3659 _b = omc_FNode_isCref(threadData, _inNode);
3660 out_b = mmc_mk_icon(_b);
3661 return out_b;
3662}
3663
3664DLLExport
3665modelica_boolean omc_FNode_isConstrainClass(threadData_t *threadData, modelica_metatype _inNode)
3666{
3667 modelica_boolean _b;
3668 modelica_boolean tmp1 = 0;
3669 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3670 MMC_SO()mmc_check_stackoverflow(threadData);
3671 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3672 // _b has no default value.
3673#line 3673 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3674 { /* match expression */
3675 modelica_metatype tmp4_1;
3676 tmp4_1 = _inNode;
3677 {
3678 volatile mmc_switch_type tmp4;
3679 int tmp5;
3680 tmp4 = 0;
3681 for (; tmp4 < 2; tmp4++) {
3682 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3683 case 0: {
3684 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
3685 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],19,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((1 +1)
<< 10) + (((19 +3) & 255) << 2)))
== 0) goto tmp3_end;
3686
3687 /* Pattern matching succeeded */
3688#line 890 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3689 tmp1 = 1;
3690#line 3690 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3691 goto tmp3_done;
3692 }
3693 case 1: {
3694
3695 /* Pattern matching succeeded */
3696#line 891 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3697 tmp1 = 0;
3698#line 3698 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3699 goto tmp3_done;
3700 }
3701 }
3702 goto tmp3_end;
3703 tmp3_end: ;
3704 }
3705 goto goto_2;
3706 goto_2:;
3707 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3708 goto tmp3_done;
3709 tmp3_done:;
3710 }
3711 }
3712 _b = tmp1;
3713 _return: OMC_LABEL_UNUSED__attribute__((unused))
3714 return _b;
3715}
3716modelica_metatype boxptr_FNode_isConstrainClass(threadData_t *threadData, modelica_metatype _inNode)
3717{
3718 modelica_boolean _b;
3719 modelica_metatype out_b;
3720 _b = omc_FNode_isConstrainClass(threadData, _inNode);
3721 out_b = mmc_mk_icon(_b);
3722 return out_b;
3723}
3724
3725DLLExport
3726modelica_boolean omc_FNode_isComponent(threadData_t *threadData, modelica_metatype _inNode)
3727{
3728 modelica_boolean _b;
3729 modelica_boolean tmp1 = 0;
3730 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3731 MMC_SO()mmc_check_stackoverflow(threadData);
3732 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3733 // _b has no default value.
3734#line 3734 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3735 { /* match expression */
3736 modelica_metatype tmp4_1;
3737 tmp4_1 = _inNode;
3738 {
3739 volatile mmc_switch_type tmp4;
3740 int tmp5;
3741 tmp4 = 0;
3742 for (; tmp4 < 2; tmp4++) {
3743 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3744 case 0: {
3745 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
3746 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],4,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((4 +1)
<< 10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
3747
3748 /* Pattern matching succeeded */
3749#line 880 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3750 tmp1 = 1;
3751#line 3751 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3752 goto tmp3_done;
3753 }
3754 case 1: {
3755
3756 /* Pattern matching succeeded */
3757#line 881 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3758 tmp1 = 0;
3759#line 3759 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3760 goto tmp3_done;
3761 }
3762 }
3763 goto tmp3_end;
3764 tmp3_end: ;
3765 }
3766 goto goto_2;
3767 goto_2:;
3768 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3769 goto tmp3_done;
3770 tmp3_done:;
3771 }
3772 }
3773 _b = tmp1;
3774 _return: OMC_LABEL_UNUSED__attribute__((unused))
3775 return _b;
3776}
3777modelica_metatype boxptr_FNode_isComponent(threadData_t *threadData, modelica_metatype _inNode)
3778{
3779 modelica_boolean _b;
3780 modelica_metatype out_b;
3781 _b = omc_FNode_isComponent(threadData, _inNode);
3782 out_b = mmc_mk_icon(_b);
3783 return out_b;
3784}
3785
3786DLLExport
3787modelica_boolean omc_FNode_isClassExtends(threadData_t *threadData, modelica_metatype _inNode)
3788{
3789 modelica_boolean _b;
3790 modelica_boolean tmp1 = 0;
3791 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
3792 MMC_SO()mmc_check_stackoverflow(threadData);
3793 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3794 // _b has no default value.
3795#line 3795 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3796 { /* match expression */
3797 modelica_metatype tmp4_1;
3798 tmp4_1 = _inNode;
3799 {
3800 volatile mmc_switch_type tmp4;
3801 int tmp5;
3802 tmp4 = 0;
3803 for (; tmp4 < 2; tmp4++) {
3804 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3805 case 0: {
3806 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
3807 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],3,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((5 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
3808 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3809 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
3810 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (7)))))
;
3811 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((2 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3812
3813 /* Pattern matching succeeded */
3814#line 870 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3815 tmp1 = 1;
3816#line 3816 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3817 goto tmp3_done;
3818 }
3819 case 1: {
3820
3821 /* Pattern matching succeeded */
3822#line 871 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3823 tmp1 = 0;
3824#line 3824 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3825 goto tmp3_done;
3826 }
3827 }
3828 goto tmp3_end;
3829 tmp3_end: ;
3830 }
3831 goto goto_2;
3832 goto_2:;
3833 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3834 goto tmp3_done;
3835 tmp3_done:;
3836 }
3837 }
3838 _b = tmp1;
3839 _return: OMC_LABEL_UNUSED__attribute__((unused))
3840 return _b;
3841}
3842modelica_metatype boxptr_FNode_isClassExtends(threadData_t *threadData, modelica_metatype _inNode)
3843{
3844 modelica_boolean _b;
3845 modelica_metatype out_b;
3846 _b = omc_FNode_isClassExtends(threadData, _inNode);
3847 out_b = mmc_mk_icon(_b);
3848 return out_b;
3849}
3850
3851DLLExport
3852modelica_boolean omc_FNode_isRedeclare(threadData_t *threadData, modelica_metatype _inNode)
3853{
3854 modelica_boolean _b;
3855 modelica_boolean tmp1 = 0;
3856 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
3857 MMC_SO()mmc_check_stackoverflow(threadData);
3858 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3859 // _b has no default value.
3860#line 3860 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3861 { /* match expression */
3862 modelica_metatype tmp4_1;
3863 tmp4_1 = _inNode;
3864 {
3865 volatile mmc_switch_type tmp4;
3866 int tmp5;
3867 tmp4 = 0;
3868 for (; tmp4 < 3; tmp4++) {
3869 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3870 case 0: {
3871 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
3872 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],3,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((5 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
3873 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3874 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
3875 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
3876 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
3877 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],0,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((0 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
3878
3879 /* Pattern matching succeeded */
3880#line 859 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3881 tmp1 = 1;
3882#line 3882 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3883 goto tmp3_done;
3884 }
3885 case 1: {
3886 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
3887 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],4,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((4 +1)
<< 10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
3888 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3889 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],3,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((8 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
3890 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
3891 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
3892 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],0,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((0 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
3893
3894 /* Pattern matching succeeded */
3895#line 860 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3896 tmp1 = 1;
3897#line 3897 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3898 goto tmp3_done;
3899 }
3900 case 2: {
3901
3902 /* Pattern matching succeeded */
3903#line 861 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3904 tmp1 = 0;
3905#line 3905 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3906 goto tmp3_done;
3907 }
3908 }
3909 goto tmp3_end;
3910 tmp3_end: ;
3911 }
3912 goto goto_2;
3913 goto_2:;
3914 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3915 goto tmp3_done;
3916 tmp3_done:;
3917 }
3918 }
3919 _b = tmp1;
3920 _return: OMC_LABEL_UNUSED__attribute__((unused))
3921 return _b;
3922}
3923modelica_metatype boxptr_FNode_isRedeclare(threadData_t *threadData, modelica_metatype _inNode)
3924{
3925 modelica_boolean _b;
3926 modelica_metatype out_b;
3927 _b = omc_FNode_isRedeclare(threadData, _inNode);
3928 out_b = mmc_mk_icon(_b);
3929 return out_b;
3930}
3931
3932DLLExport
3933modelica_boolean omc_FNode_isInstance(threadData_t *threadData, modelica_metatype _inNode)
3934{
3935 modelica_boolean _b;
3936 modelica_boolean tmp1 = 0;
3937 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3938 MMC_SO()mmc_check_stackoverflow(threadData);
3939 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3940 // _b has no default value.
3941#line 3941 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3942 { /* match expression */
3943 modelica_metatype tmp4_1;
3944 tmp4_1 = _inNode;
3945 {
3946 volatile mmc_switch_type tmp4;
3947 int tmp5;
3948 tmp4 = 0;
3949 for (; tmp4 < 2; tmp4++) {
3950 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3951 case 0: {
3952 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
3953 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],3,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((5 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
3954 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (6)))))
;
3955 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],7,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((1 +1)
<< 10) + (((7 +3) & 255) << 2)))
== 0) goto tmp3_end;
3956
3957 /* Pattern matching succeeded */
3958#line 849 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3959 tmp1 = 1;
3960#line 3960 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3961 goto tmp3_done;
3962 }
3963 case 1: {
3964
3965 /* Pattern matching succeeded */
3966#line 850 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
3967 tmp1 = 0;
3968#line 3968 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
3969 goto tmp3_done;
3970 }
3971 }
3972 goto tmp3_end;
3973 tmp3_end: ;
3974 }
3975 goto goto_2;
3976 goto_2:;
3977 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3978 goto tmp3_done;
3979 tmp3_done:;
3980 }
3981 }
3982 _b = tmp1;
3983 _return: OMC_LABEL_UNUSED__attribute__((unused))
3984 return _b;
3985}
3986modelica_metatype boxptr_FNode_isInstance(threadData_t *threadData, modelica_metatype _inNode)
3987{
3988 modelica_boolean _b;
3989 modelica_metatype out_b;
3990 _b = omc_FNode_isInstance(threadData, _inNode);
3991 out_b = mmc_mk_icon(_b);
3992 return out_b;
3993}
3994
3995DLLExport
3996modelica_boolean omc_FNode_isClass(threadData_t *threadData, modelica_metatype _inNode)
3997{
3998 modelica_boolean _b;
3999 modelica_boolean tmp1 = 0;
4000 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
4001 MMC_SO()mmc_check_stackoverflow(threadData);
4002 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4003 // _b has no default value.
4004#line 4004 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4005 { /* match expression */
4006 modelica_metatype tmp4_1;
4007 tmp4_1 = _inNode;
4008 {
4009 volatile mmc_switch_type tmp4;
4010 int tmp5;
4011 tmp4 = 0;
4012 for (; tmp4 < 2; tmp4++) {
4013 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4014 case 0: {
4015 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4016 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],3,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((5 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
4017
4018 /* Pattern matching succeeded */
4019#line 839 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4020 tmp1 = 1;
4021#line 4021 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4022 goto tmp3_done;
4023 }
4024 case 1: {
4025
4026 /* Pattern matching succeeded */
4027#line 840 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4028 tmp1 = 0;
4029#line 4029 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4030 goto tmp3_done;
4031 }
4032 }
4033 goto tmp3_end;
4034 tmp3_end: ;
4035 }
4036 goto goto_2;
4037 goto_2:;
4038 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4039 goto tmp3_done;
4040 tmp3_done:;
4041 }
4042 }
4043 _b = tmp1;
4044 _return: OMC_LABEL_UNUSED__attribute__((unused))
4045 return _b;
4046}
4047modelica_metatype boxptr_FNode_isClass(threadData_t *threadData, modelica_metatype _inNode)
4048{
4049 modelica_boolean _b;
4050 modelica_metatype out_b;
4051 _b = omc_FNode_isClass(threadData, _inNode);
4052 out_b = mmc_mk_icon(_b);
4053 return out_b;
4054}
4055
4056DLLExport
4057modelica_boolean omc_FNode_isDerived(threadData_t *threadData, modelica_metatype _inNode)
4058{
4059 modelica_boolean _b;
4060 modelica_boolean tmp1 = 0;
4061 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
4062 MMC_SO()mmc_check_stackoverflow(threadData);
4063 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4064 // _b has no default value.
4065#line 4065 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4066 { /* match expression */
4067 modelica_metatype tmp4_1;
4068 tmp4_1 = _inNode;
4069 {
4070 modelica_metatype _e = NULL((void*)0);
4071 volatile mmc_switch_type tmp4;
4072 int tmp5;
4073 // _e has no default value.
4074 tmp4 = 0;
4075 for (; tmp4 < 2; tmp4++) {
4076 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4077 case 0: {
4078 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4079 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],3,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((5 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
4080 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
4081
4082 _e = tmpMeta[1];
4083 /* Pattern matching succeeded */
4084#line 829 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4085 tmp1 = omc_SCodeUtil_isDerivedClass(threadData, _e);
4086#line 4086 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4087 goto tmp3_done;
4088 }
4089 case 1: {
4090
4091 /* Pattern matching succeeded */
4092#line 830 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4093 tmp1 = 0;
4094#line 4094 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4095 goto tmp3_done;
4096 }
4097 }
4098 goto tmp3_end;
4099 tmp3_end: ;
4100 }
4101 goto goto_2;
4102 goto_2:;
4103 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4104 goto tmp3_done;
4105 tmp3_done:;
4106 }
4107 }
4108 _b = tmp1;
4109 _return: OMC_LABEL_UNUSED__attribute__((unused))
4110 return _b;
4111}
4112modelica_metatype boxptr_FNode_isDerived(threadData_t *threadData, modelica_metatype _inNode)
4113{
4114 modelica_boolean _b;
4115 modelica_metatype out_b;
4116 _b = omc_FNode_isDerived(threadData, _inNode);
4117 out_b = mmc_mk_icon(_b);
4118 return out_b;
4119}
4120
4121DLLExport
4122modelica_boolean omc_FNode_isExtends(threadData_t *threadData, modelica_metatype _inNode)
4123{
4124 modelica_boolean _b;
4125 modelica_boolean tmp1 = 0;
4126 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
4127 MMC_SO()mmc_check_stackoverflow(threadData);
4128 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4129 // _b has no default value.
4130#line 4130 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4131 { /* match expression */
4132 modelica_metatype tmp4_1;
4133 tmp4_1 = _inNode;
4134 {
4135 volatile mmc_switch_type tmp4;
4136 int tmp5;
4137 tmp4 = 0;
4138 for (; tmp4 < 2; tmp4++) {
4139 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4140 case 0: {
4141 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4142 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],5,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((2 +1)
<< 10) + (((5 +3) & 255) << 2)))
== 0) goto tmp3_end;
4143
4144 /* Pattern matching succeeded */
4145#line 818 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4146 tmp1 = 1;
4147#line 4147 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4148 goto tmp3_done;
4149 }
4150 case 1: {
4151
4152 /* Pattern matching succeeded */
4153#line 819 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4154 tmp1 = 0;
4155#line 4155 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4156 goto tmp3_done;
4157 }
4158 }
4159 goto tmp3_end;
4160 tmp3_end: ;
4161 }
4162 goto goto_2;
4163 goto_2:;
4164 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4165 goto tmp3_done;
4166 tmp3_done:;
4167 }
4168 }
4169 _b = tmp1;
4170 _return: OMC_LABEL_UNUSED__attribute__((unused))
4171 return _b;
4172}
4173modelica_metatype boxptr_FNode_isExtends(threadData_t *threadData, modelica_metatype _inNode)
4174{
4175 modelica_boolean _b;
4176 modelica_metatype out_b;
4177 _b = omc_FNode_isExtends(threadData, _inNode);
4178 out_b = mmc_mk_icon(_b);
4179 return out_b;
4180}
4181
4182DLLExport
4183modelica_boolean omc_FNode_isTop(threadData_t *threadData, modelica_metatype _inNode)
4184{
4185 modelica_boolean _b;
4186 modelica_boolean tmp1 = 0;
4187 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
4188 MMC_SO()mmc_check_stackoverflow(threadData);
4189 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4190 // _b has no default value.
4191#line 4191 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4192 { /* match expression */
4193 modelica_metatype tmp4_1;
4194 tmp4_1 = _inNode;
4195 {
4196 volatile mmc_switch_type tmp4;
4197 int tmp5;
4198 tmp4 = 0;
4199 for (; tmp4 < 2; tmp4++) {
4200 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4201 case 0: {
4202 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4203 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],0,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((0 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
4204 /* Pattern matching succeeded */
4205#line 808 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4206 tmp1 = 1;
4207#line 4207 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4208 goto tmp3_done;
4209 }
4210 case 1: {
4211
4212 /* Pattern matching succeeded */
4213#line 809 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4214 tmp1 = 0;
4215#line 4215 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4216 goto tmp3_done;
4217 }
4218 }
4219 goto tmp3_end;
4220 tmp3_end: ;
4221 }
4222 goto goto_2;
4223 goto_2:;
4224 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4225 goto tmp3_done;
4226 tmp3_done:;
4227 }
4228 }
4229 _b = tmp1;
4230 _return: OMC_LABEL_UNUSED__attribute__((unused))
4231 return _b;
4232}
4233modelica_metatype boxptr_FNode_isTop(threadData_t *threadData, modelica_metatype _inNode)
4234{
4235 modelica_boolean _b;
4236 modelica_metatype out_b;
4237 _b = omc_FNode_isTop(threadData, _inNode);
4238 out_b = mmc_mk_icon(_b);
4239 return out_b;
4240}
4241
4242DLLExport
4243modelica_boolean omc_FNode_isUserDefined(threadData_t *threadData, modelica_metatype _inNode)
4244{
4245 modelica_boolean _b;
4246 modelica_boolean tmp1 = 0;
4247 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
4248 MMC_SO()mmc_check_stackoverflow(threadData);
4249 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4250 // _b has no default value.
4251#line 4251 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4252 { /* match expression */
4253 modelica_metatype tmp4_1;
4254 tmp4_1 = _inNode;
4255 {
4256 modelica_metatype _p = NULL((void*)0);
4257 volatile mmc_switch_type tmp4;
4258 int tmp5;
4259 // _p has no default value.
4260 tmp4 = 0;
4261 for (; tmp4 < 4; tmp4++) {
4262 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4263 case 0: {
4264 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4265 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],3,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((5 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
4266 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
4267 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],0,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((0 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
4268
4269 /* Pattern matching succeeded */
4270#line 790 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4271 tmp1 = 1;
4272#line 4272 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4273 goto tmp3_done;
4274 }
4275 case 1: {
4276 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4277 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],4,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((4 +1)
<< 10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
4278 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
4279 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],0,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((0 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
4280
4281 /* Pattern matching succeeded */
4282#line 791 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4283 tmp1 = 1;
4284#line 4284 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4285 goto tmp3_done;
4286 }
4287 case 2: {
4288
4289 /* Pattern matching succeeded */
4290 /* Check guard condition after assignments */
4291 if (!omc_FNode_hasParents(threadData, _inNode)) goto tmp3_end;
4292#line 795 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4293 /* Pattern-matching assignment */
4294#line 795 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4295 tmpMeta[0] = omc_FNode_parents(threadData, _inNode);
4296#line 795 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4297 if (listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto goto_2;
4298#line 795 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4299 tmpMeta[1] = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
4300#line 795 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4301 tmpMeta[2] = MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
4302#line 795 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4303 _p = tmpMeta[1];
4304#line 4304 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4305#line 796 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4306 tmp1 = omc_FNode_isRefUserDefined(threadData, _p);
4307#line 4307 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4308 goto tmp3_done;
4309 }
4310 case 3: {
4311
4312 /* Pattern matching succeeded */
4313#line 799 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4314 tmp1 = 0;
4315#line 4315 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4316 goto tmp3_done;
4317 }
4318 }
4319 goto tmp3_end;
4320 tmp3_end: ;
4321 }
4322 goto goto_2;
4323 goto_2:;
4324 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4325 goto tmp3_done;
4326 tmp3_done:;
4327 }
4328 }
4329 _b = tmp1;
4330 _return: OMC_LABEL_UNUSED__attribute__((unused))
4331 return _b;
4332}
4333modelica_metatype boxptr_FNode_isUserDefined(threadData_t *threadData, modelica_metatype _inNode)
4334{
4335 modelica_boolean _b;
4336 modelica_metatype out_b;
4337 _b = omc_FNode_isUserDefined(threadData, _inNode);
4338 out_b = mmc_mk_icon(_b);
4339 return out_b;
4340}
4341
4342DLLExport
4343modelica_boolean omc_FNode_isReference(threadData_t *threadData, modelica_metatype _inNode)
4344{
4345 modelica_boolean _b;
4346 modelica_boolean tmp1 = 0;
4347 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
4348 MMC_SO()mmc_check_stackoverflow(threadData);
4349 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4350 // _b has no default value.
4351#line 4351 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4352 { /* match expression */
4353 modelica_metatype tmp4_1;
4354 tmp4_1 = _inNode;
4355 {
4356 volatile mmc_switch_type tmp4;
4357 int tmp5;
4358 tmp4 = 0;
4359 for (; tmp4 < 2; tmp4++) {
4360 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4361 case 0: {
4362 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4363 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],20,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((1 +1)
<< 10) + (((20 +3) & 255) << 2)))
== 0) goto tmp3_end;
4364
4365 /* Pattern matching succeeded */
4366#line 779 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4367 tmp1 = 1;
4368#line 4368 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4369 goto tmp3_done;
4370 }
4371 case 1: {
4372
4373 /* Pattern matching succeeded */
4374#line 780 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4375 tmp1 = 0;
4376#line 4376 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4377 goto tmp3_done;
4378 }
4379 }
4380 goto tmp3_end;
4381 tmp3_end: ;
4382 }
4383 goto goto_2;
4384 goto_2:;
4385 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4386 goto tmp3_done;
4387 tmp3_done:;
4388 }
4389 }
4390 _b = tmp1;
4391 _return: OMC_LABEL_UNUSED__attribute__((unused))
4392 return _b;
4393}
4394modelica_metatype boxptr_FNode_isReference(threadData_t *threadData, modelica_metatype _inNode)
4395{
4396 modelica_boolean _b;
4397 modelica_metatype out_b;
4398 _b = omc_FNode_isReference(threadData, _inNode);
4399 out_b = mmc_mk_icon(_b);
4400 return out_b;
4401}
4402
4403DLLExport
4404modelica_boolean omc_FNode_isEncapsulated(threadData_t *threadData, modelica_metatype _inNode)
4405{
4406 modelica_boolean _b;
4407 modelica_boolean tmp1 = 0;
4408 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
4409 MMC_SO()mmc_check_stackoverflow(threadData);
4410 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4411 // _b has no default value.
4412#line 4412 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4413 { /* match expression */
4414 modelica_metatype tmp4_1;
4415 tmp4_1 = _inNode;
4416 {
4417 volatile mmc_switch_type tmp4;
4418 int tmp5;
4419 tmp4 = 0;
4420 for (; tmp4 < 3; tmp4++) {
4421 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4422 case 0: {
4423 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4424 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],3,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((5 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
4425 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
4426 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
4427 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
4428 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((0 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
4429
4430 /* Pattern matching succeeded */
4431#line 767 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4432 tmp1 = 1;
4433#line 4433 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4434 goto tmp3_done;
4435 }
4436 case 1: {
4437 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4438 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],4,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((4 +1)
<< 10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
4439
4440 /* Pattern matching succeeded */
4441 /* Check guard condition after assignments */
4442 if (!(((!omc_Config_acceptMetaModelicaGrammar(threadData) && !0) || (omc_Config_acceptMetaModelicaGrammar(threadData) && 0)) && (!omc_Flags_isSet(threadData, _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)))))) goto tmp3_end;
4443#line 769 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4444 tmp1 = 1;
4445#line 4445 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4446 goto tmp3_done;
4447 }
4448 case 2: {
4449
4450 /* Pattern matching succeeded */
4451#line 770 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4452 tmp1 = 0;
4453#line 4453 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4454 goto tmp3_done;
4455 }
4456 }
4457 goto tmp3_end;
4458 tmp3_end: ;
4459 }
4460 goto goto_2;
4461 goto_2:;
4462 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4463 goto tmp3_done;
4464 tmp3_done:;
4465 }
4466 }
4467 _b = tmp1;
4468 _return: OMC_LABEL_UNUSED__attribute__((unused))
4469 return _b;
4470}
4471modelica_metatype boxptr_FNode_isEncapsulated(threadData_t *threadData, modelica_metatype _inNode)
4472{
4473 modelica_boolean _b;
4474 modelica_metatype out_b;
4475 _b = omc_FNode_isEncapsulated(threadData, _inNode);
4476 out_b = mmc_mk_icon(_b);
4477 return out_b;
4478}
4479
4480DLLExport
4481modelica_boolean omc_FNode_isRefImplicitScope(threadData_t *threadData, modelica_metatype _inRef)
4482{
4483 modelica_boolean _b;
4484 MMC_SO()mmc_check_stackoverflow(threadData);
4485 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4486 // _b has no default value.
4487#line 759 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4488 _b = omc_FNode_isImplicitScope(threadData, omc_FNode_fromRef(threadData, _inRef));
4489#line 4489 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4490 _return: OMC_LABEL_UNUSED__attribute__((unused))
4491 return _b;
4492}
4493modelica_metatype boxptr_FNode_isRefImplicitScope(threadData_t *threadData, modelica_metatype _inRef)
4494{
4495 modelica_boolean _b;
4496 modelica_metatype out_b;
4497 _b = omc_FNode_isRefImplicitScope(threadData, _inRef);
4498 out_b = mmc_mk_icon(_b);
4499 return out_b;
4500}
4501
4502DLLExport
4503modelica_boolean omc_FNode_isImplicitScope(threadData_t *threadData, modelica_metatype _inNode)
4504{
4505 modelica_boolean _b;
4506 modelica_boolean tmp1 = 0;
4507 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
4508 MMC_SO()mmc_check_stackoverflow(threadData);
4509 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4510 // _b has no default value.
4511#line 4511 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4512 { /* match expression */
4513 modelica_metatype tmp4_1;
4514 tmp4_1 = _inNode;
4515 {
4516 volatile mmc_switch_type tmp4;
4517 int tmp5;
4518 tmp4 = 0;
4519 for (; tmp4 < 8; tmp4++) {
4520 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4521 case 0: {
4522 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4523 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],0,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((0 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
4524 /* Pattern matching succeeded */
4525#line 743 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4526 tmp1 = 0;
4527#line 4527 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4528 goto tmp3_done;
4529 }
4530 case 1: {
4531 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4532 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],3,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((5 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
4533
4534 /* Pattern matching succeeded */
4535#line 744 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4536 tmp1 = 0;
4537#line 4537 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4538 goto tmp3_done;
4539 }
4540 case 2: {
4541 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4542 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],4,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((4 +1)
<< 10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
4543
4544 /* Pattern matching succeeded */
4545#line 745 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4546 tmp1 = 0;
4547#line 4547 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4548 goto tmp3_done;
4549 }
4550 case 3: {
4551 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4552 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],19,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((1 +1)
<< 10) + (((19 +3) & 255) << 2)))
== 0) goto tmp3_end;
4553
4554 /* Pattern matching succeeded */
4555#line 746 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4556 tmp1 = 0;
4557#line 4557 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4558 goto tmp3_done;
4559 }
4560 case 4: {
4561 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4562 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],12,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((1 +1)
<< 10) + (((12 +3) & 255) << 2)))
== 0) goto tmp3_end;
4563
4564 /* Pattern matching succeeded */
4565#line 747 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4566 tmp1 = 0;
4567#line 4567 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4568 goto tmp3_done;
4569 }
4570 case 5: {
4571 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4572 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],14,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((1 +1)
<< 10) + (((14 +3) & 255) << 2)))
== 0) goto tmp3_end;
4573
4574 /* Pattern matching succeeded */
4575#line 748 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4576 tmp1 = 0;
4577#line 4577 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4578 goto tmp3_done;
4579 }
4580 case 6: {
4581 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4582 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],22,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((4 +1)
<< 10) + (((22 +3) & 255) << 2)))
== 0) goto tmp3_end;
4583
4584 /* Pattern matching succeeded */
4585#line 749 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4586 tmp1 = 0;
4587#line 4587 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4588 goto tmp3_done;
4589 }
4590 case 7: {
4591
4592 /* Pattern matching succeeded */
4593#line 750 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4594 tmp1 = 1;
4595#line 4595 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4596 goto tmp3_done;
4597 }
4598 }
4599 goto tmp3_end;
4600 tmp3_end: ;
4601 }
4602 goto goto_2;
4603 goto_2:;
4604 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4605 goto tmp3_done;
4606 tmp3_done:;
4607 }
4608 }
4609 _b = tmp1;
4610 _return: OMC_LABEL_UNUSED__attribute__((unused))
4611 return _b;
4612}
4613modelica_metatype boxptr_FNode_isImplicitScope(threadData_t *threadData, modelica_metatype _inNode)
4614{
4615 modelica_boolean _b;
4616 modelica_metatype out_b;
4617 _b = omc_FNode_isImplicitScope(threadData, _inNode);
4618 out_b = mmc_mk_icon(_b);
4619 return out_b;
4620}
4621
4622DLLExport
4623modelica_string omc_FNode_scopeStr(threadData_t *threadData, modelica_metatype _sc)
4624{
4625 modelica_string _s = NULL((void*)0);
4626 MMC_SO()mmc_check_stackoverflow(threadData);
4627 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4628 // _s has no default value.
4629#line 734 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4630 _s = stringDelimitList(omc_List_map(threadData, listReverse(_sc), boxvar_FNode_refName((void*)((char*)(&(boxvar_lit_FNode_refName).header) + 3)
)
), _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)));
4631#line 4631 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4632 _return: OMC_LABEL_UNUSED__attribute__((unused))
4633 return _s;
4634}
4635
4636DLLExport
4637modelica_string omc_FNode_toPathStr(threadData_t *threadData, modelica_metatype _inNode)
4638{
4639 modelica_string _outStr = NULL((void*)0);
4640 modelica_string tmp1 = 0;
4641 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
4642 MMC_SO()mmc_check_stackoverflow(threadData);
4643 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4644 // _outStr has no default value.
4645#line 4645 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4646 { /* matchcontinue expression */
4647 volatile modelica_metatype tmp4_1;
4648 tmp4_1 = _inNode;
4649 {
4650 modelica_metatype _p = NULL((void*)0);
4651 modelica_metatype _nr = NULL((void*)0);
4652 modelica_string _s = NULL((void*)0);
4653 volatile mmc_switch_type tmp4;
4654 int tmp5;
4655 // _p has no default value.
4656 // _nr has no default value.
4657 // _s has no default value.
4658 tmp4 = 0;
4659 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) {
4660 tmp3_top:
4661 threadData->mmc_jumper = &new_mmc_jumper;
4662 for (; tmp4 < 3; tmp4++) {
4663 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4664 case 0: {
4665 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
4666 if (!listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4667
4668 /* Pattern matching succeeded */
4669#line 706 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4670 tmp1 = omc_FNode_name(threadData, _inNode);
4671#line 4671 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4672 goto tmp3_done;
4673 }
4674 case 1: {
4675 modelica_boolean tmp6;
4676 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
4677
4678 _p = tmpMeta[0];
4679 /* Pattern matching succeeded */
4680#line 712 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4681 _nr = omc_FNode_contextual(threadData, _p);
4682#line 4682 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4683
4684#line 713 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4685 /* Pattern-matching assignment */
4686#line 713 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4687 tmp6 = omc_FNode_hasParents(threadData, omc_FNode_fromRef(threadData, _nr));
4688#line 713 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4689 if (1 != tmp6) goto goto_2;
4690#line 4690 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4691
4692#line 714 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4693 _s = omc_FNode_toPathStr(threadData, omc_FNode_fromRef(threadData, _nr));
4694#line 4694 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4695#line 715 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4696 tmpMeta[0] = stringAppend(_s,_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
4697#line 715 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4698 tmpMeta[1] = stringAppend(tmpMeta[0],omc_FNode_name(threadData, _inNode));
4699#line 715 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4700 tmp1 = tmpMeta[1];
4701#line 4701 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4702 goto tmp3_done;
4703 }
4704 case 2: {
4705 modelica_boolean tmp7;
4706 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
4707
4708 _p = tmpMeta[0];
4709 /* Pattern matching succeeded */
4710#line 721 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4711 _nr = omc_FNode_contextual(threadData, _p);
4712#line 4712 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4713
4714#line 722 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4715 /* Pattern-matching assignment */
4716#line 722 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4717 tmp7 = omc_FNode_hasParents(threadData, omc_FNode_fromRef(threadData, _nr));
4718#line 722 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4719 if (0 != tmp7) goto goto_2;
4720#line 4720 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4721#line 723 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4722 tmpMeta[0] = stringAppend(_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),omc_FNode_name(threadData, _inNode));
4723#line 723 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4724 tmp1 = tmpMeta[0];
4725#line 4725 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4726 goto tmp3_done;
4727 }
4728 }
4729 goto tmp3_end;
4730 tmp3_end: ;
4731 }
4732 goto goto_2;
4733 tmp3_done:
4734 (void)tmp4;
4735 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4736 goto tmp3_done2;
4737 goto_2:;
4738 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4739 if (++tmp4 < 3) {
4740 goto tmp3_top;
4741 }
4742 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4743 tmp3_done2:;
4744 }
4745 }
4746 _outStr = tmp1;
4747 _return: OMC_LABEL_UNUSED__attribute__((unused))
4748 return _outStr;
4749}
4750
4751DLLExport
4752modelica_string omc_FNode_toStr(threadData_t *threadData, modelica_metatype _inNode)
4753{
4754 modelica_string _outStr = NULL((void*)0);
4755 modelica_string tmp1 = 0;
4756 modelica_metatype tmpMeta[11] __attribute__((unused)) = {0};
4757 MMC_SO()mmc_check_stackoverflow(threadData);
4758 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4759 // _outStr has no default value.
4760#line 4760 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4761 { /* matchcontinue expression */
4762 volatile modelica_metatype tmp4_1;
4763 tmp4_1 = _inNode;
4764 {
4765 modelica_integer _i;
4766 modelica_metatype _p = NULL((void*)0);
4767 modelica_metatype _d = NULL((void*)0);
4768 volatile mmc_switch_type tmp4;
4769 int tmp5;
4770 // _i has no default value.
4771 // _p has no default value.
4772 // _d has no default value.
4773 tmp4 = 0;
4774 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) {
4775 tmp3_top:
4776 threadData->mmc_jumper = &new_mmc_jumper;
4777 for (; tmp4 < 2; tmp4++) {
4778 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4779 case 0: {
4780 modelica_integer tmp6;
4781 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
4782 tmp6 = mmc_unbox_integer(tmpMeta[0])(((mmc_sint_t) (tmpMeta[0])) >> 1);
4783 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
4784 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4785 _i = tmp6 /* pattern as ty=Integer */;
4786 _p = tmpMeta[1];
4787 _d = tmpMeta[2];
4788 /* Pattern matching succeeded */
4789#line 675 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4790 tmpMeta[0] = stringAppend(_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)),intString(_i));
4791#line 675 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4792 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)));
4793#line 675 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4794 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
4795#line 675 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4796 tmpMeta[3] = stringAppend(tmpMeta[2],stringDelimitList(omc_List_map(threadData, omc_List_map(threadData, omc_List_map(threadData, _p, boxvar_FNode_fromRef((void*)((char*)(&(boxvar_lit_FNode_fromRef).header) + 3)
)
), boxvar_FNode_id((void*)((char*)(&(boxvar_lit_FNode_id).header) + 3))), boxvar_intString((void*)((char*)(&(boxvar_lit_intString).header) + 3))), _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))));
4797#line 675 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4798 tmpMeta[4] = stringAppend(tmpMeta[3],_OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)));
4799#line 675 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4800 tmpMeta[5] = stringAppend(tmpMeta[4],_OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)));
4801#line 675 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4802 tmpMeta[6] = stringAppend(tmpMeta[5],omc_FNode_name(threadData, _inNode));
4803#line 675 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4804 tmpMeta[7] = stringAppend(tmpMeta[6],_OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)));
4805#line 675 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4806 tmpMeta[8] = stringAppend(tmpMeta[7],_OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)));
4807#line 675 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4808 tmpMeta[9] = stringAppend(tmpMeta[8],omc_FNode_dataStr(threadData, _d));
4809#line 675 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4810 tmpMeta[10] = stringAppend(tmpMeta[9],_OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)));
4811#line 675 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4812 tmp1 = tmpMeta[10];
4813#line 4813 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4814 goto tmp3_done;
4815 }
4816 case 1: {
4817
4818 /* Pattern matching succeeded */
4819#line 683 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4820 tmp1 = _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3));
4821#line 4821 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4822 goto tmp3_done;
4823 }
4824 }
4825 goto tmp3_end;
4826 tmp3_end: ;
4827 }
4828 goto goto_2;
4829 tmp3_done:
4830 (void)tmp4;
4831 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4832 goto tmp3_done2;
4833 goto_2:;
4834 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4835 if (++tmp4 < 2) {
4836 goto tmp3_top;
4837 }
4838 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4839 tmp3_done2:;
4840 }
4841 }
4842 _outStr = tmp1;
4843 _return: OMC_LABEL_UNUSED__attribute__((unused))
4844 return _outStr;
4845}
4846
4847DLLExport
4848modelica_string omc_FNode_dataStr(threadData_t *threadData, modelica_metatype _inData)
4849{
4850 modelica_string _outStr = NULL((void*)0);
4851 modelica_string tmp1 = 0;
4852 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
4853 MMC_SO()mmc_check_stackoverflow(threadData);
4854 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4855 // _outStr has no default value.
4856#line 4856 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4857 { /* match expression */
4858 modelica_metatype tmp4_1;
4859 tmp4_1 = _inData;
4860 {
4861 modelica_string _n = NULL((void*)0);
4862 modelica_string _m = NULL((void*)0);
4863 volatile mmc_switch_type tmp4;
4864 int tmp5;
4865 // _n has no default value.
4866 // _m has no default value.
4867 tmp4 = 0;
4868 for (; tmp4 < 26; tmp4++) {
4869 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4870 case 0: {
4871 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,0)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((0 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
4872 /* Pattern matching succeeded */
4873#line 630 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4874 tmp1 = _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3));
4875#line 4875 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4876 goto tmp3_done;
4877 }
4878 case 1: {
4879 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
4880
4881 /* Pattern matching succeeded */
4882#line 631 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4883 tmp1 = _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3));
4884#line 4884 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4885 goto tmp3_done;
4886 }
4887 case 2: {
4888 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,3,5)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((5 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
4889 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4890 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
4891 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (7)))))
;
4892 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],1,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((2 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
4893
4894 /* Pattern matching succeeded */
4895#line 632 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4896 tmp1 = _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3));
4897#line 4897 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4898 goto tmp3_done;
4899 }
4900 case 3: {
4901 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,3,5)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((5 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
4902
4903 /* Pattern matching succeeded */
4904#line 633 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4905 tmp1 = _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3));
4906#line 4906 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4907 goto tmp3_done;
4908 }
4909 case 4: {
4910 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,4,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((4 +1) <<
10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
4911
4912 /* Pattern matching succeeded */
4913#line 634 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4914 tmp1 = _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3));
4915#line 4915 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4916 goto tmp3_done;
4917 }
4918 case 5: {
4919 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,5,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp3_end;
4920
4921 /* Pattern matching succeeded */
4922#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4923 tmp1 = _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3));
4924#line 4924 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4925 goto tmp3_done;
4926 }
4927 case 6: {
4928 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,6,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
4929
4930 /* Pattern matching succeeded */
4931#line 636 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4932 tmp1 = _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3));
4933#line 4933 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4934 goto tmp3_done;
4935 }
4936 case 7: {
4937 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,7,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((7 +3) & 255) << 2)))
== 0) goto tmp3_end;
4938
4939 /* Pattern matching succeeded */
4940#line 637 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4941 tmp1 = _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3));
4942#line 4942 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4943 goto tmp3_done;
4944 }
4945 case 8: {
4946 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,8,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((8 +3) & 255) << 2)))
== 0) goto tmp3_end;
4947
4948 /* Pattern matching succeeded */
4949#line 638 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4950 tmp1 = _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3));
4951#line 4951 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4952 goto tmp3_done;
4953 }
4954 case 9: {
4955 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,9,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((9 +3) & 255) << 2)))
== 0) goto tmp3_end;
4956
4957 /* Pattern matching succeeded */
4958#line 639 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4959 tmp1 = _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3));
4960#line 4960 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4961 goto tmp3_done;
4962 }
4963 case 10: {
4964 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,10,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((10 +3) & 255) << 2)))
== 0) goto tmp3_end;
4965
4966 /* Pattern matching succeeded */
4967#line 640 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4968 tmp1 = _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3));
4969#line 4969 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4970 goto tmp3_done;
4971 }
4972 case 11: {
4973 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,11,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((11 +3) & 255) << 2)))
== 0) goto tmp3_end;
4974
4975 /* Pattern matching succeeded */
4976#line 641 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4977 tmp1 = _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3));
4978#line 4978 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4979 goto tmp3_done;
4980 }
4981 case 12: {
4982 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,12,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((12 +3) & 255) << 2)))
== 0) goto tmp3_end;
4983
4984 /* Pattern matching succeeded */
4985#line 642 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4986 tmp1 = _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3));
4987#line 4987 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4988 goto tmp3_done;
4989 }
4990 case 13: {
4991 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,13,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp3_end;
4992
4993 /* Pattern matching succeeded */
4994#line 643 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
4995 tmp1 = _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3));
4996#line 4996 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
4997 goto tmp3_done;
4998 }
4999 case 14: {
5000 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,14,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((14 +3) & 255) << 2)))
== 0) goto tmp3_end;
5001
5002 /* Pattern matching succeeded */
5003#line 644 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5004 tmp1 = _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3));
5005#line 5005 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5006 goto tmp3_done;
5007 }
5008 case 15: {
5009 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,15,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((15 +3) & 255) << 2)))
== 0) goto tmp3_end;
5010
5011 /* Pattern matching succeeded */
5012#line 645 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5013 tmp1 = _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3));
5014#line 5014 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5015 goto tmp3_done;
5016 }
5017 case 16: {
5018 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,16,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((16 +3) & 255) << 2)))
== 0) goto tmp3_end;
5019 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
5020
5021 _n = tmpMeta[0];
5022 /* Pattern matching succeeded */
5023#line 646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5024 tmp1 = _n;
5025#line 5025 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5026 goto tmp3_done;
5027 }
5028 case 17: {
5029 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,18,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((18 +3) & 255) << 2)))
== 0) goto tmp3_end;
5030 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
5031
5032 _n = tmpMeta[0];
5033 /* Pattern matching succeeded */
5034#line 647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5035 tmp1 = _n;
5036#line 5036 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5037 goto tmp3_done;
5038 }
5039 case 18: {
5040 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,17,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((17 +3) & 255) << 2)))
== 0) goto tmp3_end;
5041
5042 /* Pattern matching succeeded */
5043#line 648 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5044 tmp1 = _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3));
5045#line 5045 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5046 goto tmp3_done;
5047 }
5048 case 19: {
5049 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,19,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((19 +3) & 255) << 2)))
== 0) goto tmp3_end;
5050
5051 /* Pattern matching succeeded */
5052#line 649 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5053 tmp1 = _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3));
5054#line 5054 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5055 goto tmp3_done;
5056 }
5057 case 20: {
5058 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,21,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((21 +3) & 255) << 2)))
== 0) goto tmp3_end;
5059
5060 /* Pattern matching succeeded */
5061#line 650 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5062 tmp1 = _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3));
5063#line 5063 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5064 goto tmp3_done;
5065 }
5066 case 21: {
5067 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,20,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((20 +3) & 255) << 2)))
== 0) goto tmp3_end;
5068
5069 /* Pattern matching succeeded */
5070#line 651 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5071 tmp1 = _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3));
5072#line 5072 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5073 goto tmp3_done;
5074 }
5075 case 22: {
5076 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,22,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((4 +1) <<
10) + (((22 +3) & 255) << 2)))
== 0) goto tmp3_end;
5077
5078 /* Pattern matching succeeded */
5079#line 652 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5080 tmp1 = _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3));
5081#line 5081 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5082 goto tmp3_done;
5083 }
5084 case 23: {
5085 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,2,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
5086
5087 /* Pattern matching succeeded */
5088#line 653 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5089 tmp1 = _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3));
5090#line 5090 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5091 goto tmp3_done;
5092 }
5093 case 24: {
5094 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,23,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((23 +3) & 255) << 2)))
== 0) goto tmp3_end;
5095 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
5096 _m = tmpMeta[0];
5097 /* Pattern matching succeeded */
5098#line 654 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5099 tmpMeta[0] = stringAppend(_OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)),_m);
5100#line 654 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5101 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)));
5102#line 654 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5103 tmp1 = tmpMeta[1];
5104#line 5104 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5105 goto tmp3_done;
5106 }
5107 case 25: {
5108
5109 /* Pattern matching succeeded */
5110#line 656 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5111 tmp1 = _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3));
5112#line 5112 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5113 goto tmp3_done;
5114 }
5115 }
5116 goto tmp3_end;
5117 tmp3_end: ;
5118 }
5119 goto goto_2;
5120 goto_2:;
5121 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5122 goto tmp3_done;
5123 tmp3_done:;
5124 }
5125 }
5126 _outStr = tmp1;
5127 _return: OMC_LABEL_UNUSED__attribute__((unused))
5128 return _outStr;
5129}
5130
5131DLLExport
5132modelica_metatype omc_FNode_element2Data(threadData_t *threadData, modelica_metatype _inElement, modelica_metatype _inKind, modelica_metatype *out_outVar)
5133{
5134 modelica_metatype _outData = NULL((void*)0);
5135 modelica_metatype _outVar = NULL((void*)0);
5136 modelica_metatype tmpMeta[11] __attribute__((unused)) = {0};
5137 MMC_SO()mmc_check_stackoverflow(threadData);
5138 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5139 // _outData has no default value.
5140 // _outVar has no default value.
5141#line 581 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5142
5143#line 581 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5144
5145#line 5145 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5146 { /* match expression */
5147 modelica_metatype tmp4_1;
5148 tmp4_1 = _inElement;
5149 {
5150 modelica_string _n = NULL((void*)0);
5151 modelica_metatype _vis = NULL((void*)0);
5152 modelica_metatype _ct = NULL((void*)0);
5153 modelica_metatype _io = NULL((void*)0);
5154 modelica_metatype _prl = NULL((void*)0);
5155 modelica_metatype _var = NULL((void*)0);
5156 modelica_metatype _dir = NULL((void*)0);
5157 modelica_metatype _nd = NULL((void*)0);
5158 modelica_metatype _i = NULL((void*)0);
5159 volatile mmc_switch_type tmp4;
5160 int tmp5;
5161 // _n has no default value.
5162 // _vis has no default value.
5163 // _ct has no default value.
5164 // _io has no default value.
5165 // _prl has no default value.
5166 // _var has no default value.
5167 // _dir has no default value.
5168 // _nd has no default value.
5169 // _i has no default value.
5170 tmp4 = 0;
5171 for (; tmp4 < 1; tmp4++) {
5172 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
5173 case 0: {
5174 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,3,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((8 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
5175 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
5176 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
5177 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
5178 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (5)))))
;
5179 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
5180 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[6]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (3)))))
;
5181 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[6]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (4)))))
;
5182 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[6]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (5)))))
;
5183 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[6]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (6)))))
;
5184
5185 _n = tmpMeta[2];
5186 _vis = tmpMeta[4];
5187 _io = tmpMeta[5];
5188 _ct = tmpMeta[7];
5189 _prl = tmpMeta[8];
5190 _var = tmpMeta[9];
5191 _dir = tmpMeta[10];
5192 /* Pattern matching succeeded */
5193#line 608 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5194 tmpMeta[2] = mmc_mk_box5(7, &FCore_Data_CO__desc, _inElement, _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)), _inKind, _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)));
5195#line 608 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5196 _nd = tmpMeta[2];
5197#line 5197 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5198
5199#line 609 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5200 tmpMeta[2] = mmc_mk_box7(3, &DAE_Attributes_ATTR__desc, omc_DAEUtil_toConnectorTypeNoState(threadData, _ct, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3))), _prl, _var, _dir, _io, _vis);
5201#line 609 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5202 tmpMeta[3] = mmc_mk_box7(3, &DAE_Var_TYPES__VAR__desc, _n, tmpMeta[2], _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)), _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)), mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
5203#line 609 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5204 _i = tmpMeta[3];
5205#line 5205 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5206#line 614 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5207 tmpMeta[0+0] = _nd;
5208#line 614 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5209 tmpMeta[0+1] = _i;
5210#line 5210 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5211 goto tmp3_done;
5212 }
5213 }
5214 goto tmp3_end;
5215 tmp3_end: ;
5216 }
5217 goto goto_2;
5218 goto_2:;
5219 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5220 goto tmp3_done;
5221 tmp3_done:;
5222 }
5223 }
5224 _outData = tmpMeta[0+0];
5225 _outVar = tmpMeta[0+1];
5226 _return: OMC_LABEL_UNUSED__attribute__((unused))
5227 if (out_outVar) { *out_outVar = _outVar; }
5228 return _outData;
5229}
5230
5231DLLExport
5232modelica_metatype omc_FNode_childFromNode(threadData_t *threadData, modelica_metatype _inNode, modelica_string _inName)
5233{
5234 modelica_metatype _outChildRef = NULL((void*)0);
5235 modelica_metatype _c = NULL((void*)0);
5236 MMC_SO()mmc_check_stackoverflow(threadData);
5237 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5238 // _outChildRef has no default value.
5239 // _c has no default value.
5240#line 571 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5241 _c = omc_FNode_children(threadData, _inNode);
5242#line 5242 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5243
5244#line 572 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5245 _outChildRef = omc_FCore_RefTree_get(threadData, _c, _inName);
5246#line 5246 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5247 _return: OMC_LABEL_UNUSED__attribute__((unused))
5248 return _outChildRef;
5249}
5250
5251DLLExport
5252modelica_metatype omc_FNode_child(threadData_t *threadData, modelica_metatype _inParentRef, modelica_string _inName)
5253{
5254 modelica_metatype _outChildRef = NULL((void*)0);
5255 MMC_SO()mmc_check_stackoverflow(threadData);
5256 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5257 // _outChildRef has no default value.
5258#line 561 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5259 _outChildRef = omc_FNode_childFromNode(threadData, omc_FNode_fromRef(threadData, _inParentRef), _inName);
5260#line 5260 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5261 _return: OMC_LABEL_UNUSED__attribute__((unused))
5262 return _outChildRef;
5263}
5264
5265DLLExport
5266modelica_metatype omc_FNode_setData(threadData_t *threadData, modelica_metatype _inNode, modelica_metatype _inData)
5267{
5268 modelica_metatype _outNode = NULL((void*)0);
5269 modelica_string _n = NULL((void*)0);
5270 modelica_integer _i;
5271 modelica_metatype _p = NULL((void*)0);
5272 modelica_metatype _c = NULL((void*)0);
5273 modelica_metatype _d = NULL((void*)0);
5274 modelica_integer tmp1;
5275 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
5276 MMC_SO()mmc_check_stackoverflow(threadData);
5277 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5278 // _outNode has no default value.
5279 // _n has no default value.
5280 // _i has no default value.
5281 // _p has no default value.
5282 // _c has no default value.
5283 // _d has no default value.
5284#line 552 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5285 /* Pattern-matching assignment */
5286#line 552 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5287 tmpMeta[0] = _inNode;
5288#line 552 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5289 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
5290#line 552 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5291 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
5292#line 552 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5293 tmp1 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
5294#line 552 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5295 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
5296#line 552 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5297 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
5298#line 552 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5299 _n = tmpMeta[1];
5300#line 552 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5301 _i = tmp1 /* pattern as ty=Integer */;
5302#line 552 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5303 _p = tmpMeta[3];
5304#line 552 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5305 _c = tmpMeta[4];
5306#line 5306 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5307
5308#line 553 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5309 tmpMeta[0] = mmc_mk_box6(3, &FCore_Node_N__desc, _n, mmc_mk_integermmc_mk_icon(_i), _p, _c, _inData);
5310#line 553 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5311 _outNode = tmpMeta[0];
5312#line 5312 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5313 _return: OMC_LABEL_UNUSED__attribute__((unused))
5314 return _outNode;
5315}
5316
5317DLLExport
5318modelica_metatype omc_FNode_setChildren(threadData_t *threadData, modelica_metatype _inNode, modelica_metatype _inChildren)
5319{
5320 modelica_metatype _outNode = NULL((void*)0);
5321 modelica_string _n = NULL((void*)0);
5322 modelica_integer _i;
5323 modelica_metatype _p = NULL((void*)0);
5324 modelica_metatype _c = NULL((void*)0);
5325 modelica_metatype _d = NULL((void*)0);
5326 modelica_integer tmp1;
5327 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
5328 MMC_SO()mmc_check_stackoverflow(threadData);
5329 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5330 // _outNode has no default value.
5331 // _n has no default value.
5332 // _i has no default value.
5333 // _p has no default value.
5334 // _c has no default value.
5335 // _d has no default value.
5336#line 537 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5337 /* Pattern-matching assignment */
5338#line 537 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5339 tmpMeta[0] = _inNode;
5340#line 537 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5341 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
5342#line 537 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5343 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
5344#line 537 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5345 tmp1 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
5346#line 537 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5347 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
5348#line 537 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5349 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
5350#line 537 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5351 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (6)))))
;
5352#line 537 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5353 _n = tmpMeta[1];
5354#line 537 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5355 _i = tmp1 /* pattern as ty=Integer */;
5356#line 537 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5357 _p = tmpMeta[3];
5358#line 537 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5359 _c = tmpMeta[4];
5360#line 537 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5361 _d = tmpMeta[5];
5362#line 5362 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5363
5364#line 538 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5365 tmpMeta[0] = mmc_mk_box6(3, &FCore_Node_N__desc, _n, mmc_mk_integermmc_mk_icon(_i), _p, _inChildren, _d);
5366#line 538 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5367 _outNode = tmpMeta[0];
5368#line 5368 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5369 _return: OMC_LABEL_UNUSED__attribute__((unused))
5370 return _outNode;
5371}
5372
5373DLLExport
5374modelica_boolean omc_FNode_refHasChild(threadData_t *threadData, modelica_metatype _inRef, modelica_string _inName)
5375{
5376 modelica_boolean _b;
5377 MMC_SO()mmc_check_stackoverflow(threadData);
5378 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5379 // _b has no default value.
5380#line 523 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5381 _b = omc_FNode_hasChild(threadData, omc_FNode_fromRef(threadData, _inRef), _inName);
5382#line 5382 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5383 _return: OMC_LABEL_UNUSED__attribute__((unused))
5384 return _b;
5385}
5386modelica_metatype boxptr_FNode_refHasChild(threadData_t *threadData, modelica_metatype _inRef, modelica_metatype _inName)
5387{
5388 modelica_boolean _b;
5389 modelica_metatype out_b;
5390 _b = omc_FNode_refHasChild(threadData, _inRef, _inName);
5391 out_b = mmc_mk_icon(_b);
5392 return out_b;
5393}
5394
5395DLLExport
5396modelica_boolean omc_FNode_hasChild(threadData_t *threadData, modelica_metatype _inNode, modelica_string _inName)
5397{
5398 modelica_boolean _b;
5399 modelica_boolean tmp1 = 0;
5400 MMC_SO()mmc_check_stackoverflow(threadData);
5401 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5402 // _b has no default value.
5403#line 5403 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5404 { /* matchcontinue expression */
5405 {
5406 volatile mmc_switch_type tmp4;
5407 int tmp5;
5408 tmp4 = 0;
5409 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) {
5410 tmp3_top:
5411 threadData->mmc_jumper = &new_mmc_jumper;
5412 for (; tmp4 < 2; tmp4++) {
5413 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
5414 case 0: {
5415 /* Pattern matching succeeded */
5416#line 509 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5417 omc_FNode_childFromNode(threadData, _inNode, _inName);
5418#line 5418 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5419#line 510 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5420 tmp1 = 1;
5421#line 5421 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5422 goto tmp3_done;
5423 }
5424 case 1: {
5425 /* Pattern matching succeeded */
5426#line 513 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5427 tmp1 = 0;
5428#line 5428 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5429 goto tmp3_done;
5430 }
5431 }
5432 goto tmp3_end;
5433 tmp3_end: ;
5434 }
5435 goto goto_2;
5436 tmp3_done:
5437 (void)tmp4;
5438 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
5439 goto tmp3_done2;
5440 goto_2:;
5441 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
5442 if (++tmp4 < 2) {
5443 goto tmp3_top;
5444 }
5445 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5446 tmp3_done2:;
5447 }
5448 }
5449 _b = tmp1;
5450 _return: OMC_LABEL_UNUSED__attribute__((unused))
5451 return _b;
5452}
5453modelica_metatype boxptr_FNode_hasChild(threadData_t *threadData, modelica_metatype _inNode, modelica_metatype _inName)
5454{
5455 modelica_boolean _b;
5456 modelica_metatype out_b;
5457 _b = omc_FNode_hasChild(threadData, _inNode, _inName);
5458 out_b = mmc_mk_icon(_b);
5459 return out_b;
5460}
5461
5462DLLExport
5463modelica_metatype omc_FNode_children(threadData_t *threadData, modelica_metatype _inNode)
5464{
5465 modelica_metatype _outChildren = NULL((void*)0);
5466 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
5467 MMC_SO()mmc_check_stackoverflow(threadData);
5468 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5469 // _outChildren has no default value.
5470#line 497 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5471 /* Pattern-matching assignment */
5472#line 497 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5473 tmpMeta[0] = _inNode;
5474#line 497 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5475 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
5476#line 497 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5477 _outChildren = tmpMeta[1];
5478#line 5478 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5479 _return: OMC_LABEL_UNUSED__attribute__((unused))
5480 return _outChildren;
5481}
5482
5483DLLExport
5484modelica_metatype omc_FNode_top(threadData_t *threadData, modelica_metatype _inRef)
5485{
5486 modelica_metatype _outTop = NULL((void*)0);
5487 MMC_SO()mmc_check_stackoverflow(threadData);
5488 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5489 // _outTop has no default value.
5490#line 487 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5491 _outTop = _inRef;
5492#line 5492 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5493
5494#line 488 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5495 while(1)
5496#line 488 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5497 {
5498#line 488 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5499 if(!omc_FNode_hasParents(threadData, omc_FNode_fromRef(threadData, _outTop))) break;
5500#line 489 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5501 _outTop = omc_FNode_original(threadData, omc_FNode_parents(threadData, omc_FNode_fromRef(threadData, _outTop)));
5502#line 5502 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5503 }
5504 _return: OMC_LABEL_UNUSED__attribute__((unused))
5505 return _outTop;
5506}
5507
5508DLLExport
5509modelica_metatype omc_FNode_refData(threadData_t *threadData, modelica_metatype _r)
5510{
5511 modelica_metatype _outData = NULL((void*)0);
5512 MMC_SO()mmc_check_stackoverflow(threadData);
5513 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5514 // _outData has no default value.
5515#line 478 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5516 _outData = omc_FNode_data(threadData, omc_FNode_fromRef(threadData, _r));
5517#line 5517 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5518 _return: OMC_LABEL_UNUSED__attribute__((unused))
5519 return _outData;
5520}
5521
5522DLLExport
5523modelica_metatype omc_FNode_data(threadData_t *threadData, modelica_metatype _n)
5524{
5525 modelica_metatype _d = NULL((void*)0);
5526 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
5527 MMC_SO()mmc_check_stackoverflow(threadData);
5528 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5529 // _d has no default value.
5530#line 5530 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5531 { /* match expression */
5532 modelica_metatype tmp3_1;
5533 tmp3_1 = _n;
5534 {
5535 volatile mmc_switch_type tmp3;
5536 int tmp4;
5537 tmp3 = 0;
5538 for (; tmp3 < 1; tmp3++) {
5539 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
5540 case 0: {
5541 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
5542 _d = tmpMeta[1];
5543 /* Pattern matching succeeded */
5544#line 470 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5545 tmpMeta[0] = _d;
5546#line 5546 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5547 goto tmp2_done;
5548 }
5549 }
5550 goto tmp2_end;
5551 tmp2_end: ;
5552 }
5553 goto goto_1;
5554 goto_1:;
5555 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5556 goto tmp2_done;
5557 tmp2_done:;
5558 }
5559 }
5560 _d = tmpMeta[0];
5561 _return: OMC_LABEL_UNUSED__attribute__((unused))
5562 return _d;
5563}
5564
5565DLLExport
5566modelica_string omc_FNode_refName(threadData_t *threadData, modelica_metatype _r)
5567{
5568 modelica_string _n = NULL((void*)0);
5569 MMC_SO()mmc_check_stackoverflow(threadData);
5570 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5571 // _n has no default value.
5572#line 462 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5573 _n = omc_FNode_name(threadData, omc_FNode_fromRef(threadData, _r));
5574#line 5574 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5575 _return: OMC_LABEL_UNUSED__attribute__((unused))
5576 return _n;
5577}
5578
5579DLLExport
5580modelica_string omc_FNode_name(threadData_t *threadData, modelica_metatype _n)
5581{
5582 modelica_string _name = NULL((void*)0);
5583 modelica_string tmp1 = 0;
5584 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
5585 MMC_SO()mmc_check_stackoverflow(threadData);
5586 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5587 // _name has no default value.
5588#line 5588 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5589 { /* match expression */
5590 modelica_metatype tmp4_1;
5591 tmp4_1 = _n;
5592 {
5593 modelica_string _s = NULL((void*)0);
5594 volatile mmc_switch_type tmp4;
5595 int tmp5;
5596 // _s has no default value.
5597 tmp4 = 0;
5598 for (; tmp4 < 1; tmp4++) {
5599 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
5600 case 0: {
5601 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
5602
5603 _s = tmpMeta[0];
5604 /* Pattern matching succeeded */
5605#line 454 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5606 tmp1 = _s;
5607#line 5607 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5608 goto tmp3_done;
5609 }
5610 }
5611 goto tmp3_end;
5612 tmp3_end: ;
5613 }
5614 goto goto_2;
5615 goto_2:;
5616 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5617 goto tmp3_done;
5618 tmp3_done:;
5619 }
5620 }
5621 _name = tmp1;
5622 _return: OMC_LABEL_UNUSED__attribute__((unused))
5623 return _name;
5624}
5625
5626DLLExport
5627void omc_FNode_addDefinedUnitToRef(threadData_t *threadData, modelica_metatype _ref, modelica_metatype _du)
5628{
5629 modelica_string _n = NULL((void*)0);
5630 modelica_integer _id;
5631 modelica_metatype _p = NULL((void*)0);
5632 modelica_metatype _c = NULL((void*)0);
5633 modelica_metatype _d = NULL((void*)0);
5634 modelica_metatype _e = NULL((void*)0);
5635 modelica_metatype _t = NULL((void*)0);
5636 modelica_metatype _it = NULL((void*)0);
5637 modelica_metatype _r = NULL((void*)0);
5638 modelica_metatype _dus = NULL((void*)0);
5639 modelica_integer tmp1;
5640 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
5641 MMC_SO()mmc_check_stackoverflow(threadData);
5642 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5643 // _n has no default value.
5644 // _id has no default value.
5645 // _p has no default value.
5646 // _c has no default value.
5647 // _d has no default value.
5648 // _e has no default value.
5649 // _t has no default value.
5650 // _it has no default value.
5651 // _r has no default value.
5652 // _dus has no default value.
5653#line 444 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5654 /* Pattern-matching assignment */
5655#line 444 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5656 tmpMeta[0] = omc_FNode_fromRef(threadData, _ref);
5657#line 444 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5658 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
5659#line 444 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5660 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
5661#line 444 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5662 tmp1 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
5663#line 444 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5664 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
5665#line 444 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5666 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
5667#line 444 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5668 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (6)))))
;
5669#line 444 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5670 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],6,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((1 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5671#line 444 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5672 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
5673#line 444 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5674 _n = tmpMeta[1];
5675#line 444 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5676 _id = tmp1 /* pattern as ty=Integer */;
5677#line 444 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5678 _p = tmpMeta[3];
5679#line 444 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5680 _c = tmpMeta[4];
5681#line 444 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5682 _dus = tmpMeta[6];
5683#line 5683 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5684
5685#line 445 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5686 tmpMeta[0] = mmc_mk_cons(_du, _dus);
5687#line 445 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5688 tmpMeta[1] = mmc_mk_box2(9, &FCore_Data_DU__desc, tmpMeta[0]);
5689#line 445 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5690 tmpMeta[2] = mmc_mk_box6(3, &FCore_Node_N__desc, _n, mmc_mk_integermmc_mk_icon(_id), _p, _c, tmpMeta[1]);
5691#line 445 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5692 _r = omc_FNode_updateRef(threadData, _ref, tmpMeta[2]);
5693#line 5693 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5694 _return: OMC_LABEL_UNUSED__attribute__((unused))
5695 return;
5696}
5697
5698DLLExport
5699void omc_FNode_addIteratorsToRef(threadData_t *threadData, modelica_metatype _ref, modelica_metatype _inIterators)
5700{
5701 modelica_string _n = NULL((void*)0);
5702 modelica_integer _id;
5703 modelica_metatype _p = NULL((void*)0);
5704 modelica_metatype _c = NULL((void*)0);
5705 modelica_metatype _d = NULL((void*)0);
5706 modelica_metatype _e = NULL((void*)0);
5707 modelica_metatype _t = NULL((void*)0);
5708 modelica_metatype _it = NULL((void*)0);
5709 modelica_metatype _r = NULL((void*)0);
5710 modelica_integer tmp1;
5711 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
5712 MMC_SO()mmc_check_stackoverflow(threadData);
5713 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5714 // _n has no default value.
5715 // _id has no default value.
5716 // _p has no default value.
5717 // _c has no default value.
5718 // _d has no default value.
5719 // _e has no default value.
5720 // _t has no default value.
5721 // _it has no default value.
5722 // _r has no default value.
5723#line 423 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5724 /* Pattern-matching assignment */
5725#line 423 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5726 tmpMeta[0] = omc_FNode_fromRef(threadData, _ref);
5727#line 423 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5728 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
5729#line 423 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5730 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
5731#line 423 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5732 tmp1 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
5733#line 423 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5734 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
5735#line 423 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5736 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
5737#line 423 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5738 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (6)))))
;
5739#line 423 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5740 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],12,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((1 +1)
<< 10) + (((12 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5741#line 423 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5742 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
5743#line 423 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5744 _n = tmpMeta[1];
5745#line 423 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5746 _id = tmp1 /* pattern as ty=Integer */;
5747#line 423 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5748 _p = tmpMeta[3];
5749#line 423 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5750 _c = tmpMeta[4];
5751#line 423 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5752 _it = tmpMeta[6];
5753#line 5753 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5754
5755#line 424 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5756 /* Pattern-matching assignment */
5757#line 424 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5758 tmpMeta[0] = listAppend(_it, _inIterators);
5759#line 424 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5760 _it = tmpMeta[0];
5761#line 5761 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5762
5763#line 426 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5764 tmpMeta[0] = mmc_mk_box2(15, &FCore_Data_FS__desc, _it);
5765#line 426 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5766 tmpMeta[1] = mmc_mk_box6(3, &FCore_Node_N__desc, _n, mmc_mk_integermmc_mk_icon(_id), _p, _c, tmpMeta[0]);
5767#line 426 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5768 _r = omc_FNode_updateRef(threadData, _ref, tmpMeta[1]);
5769#line 5769 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5770 _return: OMC_LABEL_UNUSED__attribute__((unused))
5771 return;
5772}
5773
5774DLLExport
5775void omc_FNode_addTypesToRef(threadData_t *threadData, modelica_metatype _ref, modelica_metatype _inTys)
5776{
5777 modelica_string _n = NULL((void*)0);
5778 modelica_integer _id;
5779 modelica_metatype _p = NULL((void*)0);
5780 modelica_metatype _c = NULL((void*)0);
5781 modelica_metatype _d = NULL((void*)0);
5782 modelica_metatype _e = NULL((void*)0);
5783 modelica_metatype _t = NULL((void*)0);
5784 modelica_metatype _it = NULL((void*)0);
5785 modelica_metatype _tys = NULL((void*)0);
5786 modelica_metatype _r = NULL((void*)0);
5787 modelica_integer tmp1;
5788 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
5789 MMC_SO()mmc_check_stackoverflow(threadData);
5790 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5791 // _n has no default value.
5792 // _id has no default value.
5793 // _p has no default value.
5794 // _c has no default value.
5795 // _d has no default value.
5796 // _e has no default value.
5797 // _t has no default value.
5798 // _it has no default value.
5799 // _tys has no default value.
5800 // _r has no default value.
5801#line 403 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5802 /* Pattern-matching assignment */
5803#line 403 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5804 tmpMeta[0] = omc_FNode_fromRef(threadData, _ref);
5805#line 403 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5806 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
5807#line 403 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5808 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
5809#line 403 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5810 tmp1 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
5811#line 403 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5812 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
5813#line 403 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5814 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
5815#line 403 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5816 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (6)))))
;
5817#line 403 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5818 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],7,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((1 +1)
<< 10) + (((7 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5819#line 403 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5820 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
5821#line 403 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5822 _n = tmpMeta[1];
5823#line 403 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5824 _id = tmp1 /* pattern as ty=Integer */;
5825#line 403 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5826 _p = tmpMeta[3];
5827#line 403 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5828 _c = tmpMeta[4];
5829#line 403 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5830 _tys = tmpMeta[6];
5831#line 5831 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5832
5833#line 404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5834 _tys = omc_List_unique(threadData, listAppend(_inTys, _tys));
5835#line 5835 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5836
5837#line 406 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5838 tmpMeta[0] = mmc_mk_box2(10, &FCore_Data_FT__desc, _tys);
5839#line 406 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5840 tmpMeta[1] = mmc_mk_box6(3, &FCore_Node_N__desc, _n, mmc_mk_integermmc_mk_icon(_id), _p, _c, tmpMeta[0]);
5841#line 406 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5842 _r = omc_FNode_updateRef(threadData, _ref, tmpMeta[1]);
5843#line 5843 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5844 _return: OMC_LABEL_UNUSED__attribute__((unused))
5845 return;
5846}
5847
5848DLLExport
5849void omc_FNode_addImportToRef(threadData_t *threadData, modelica_metatype _ref, modelica_metatype _imp)
5850{
5851 modelica_string _n = NULL((void*)0);
5852 modelica_integer _id;
5853 modelica_metatype _p = NULL((void*)0);
5854 modelica_metatype _c = NULL((void*)0);
5855 modelica_metatype _d = NULL((void*)0);
5856 modelica_metatype _e = NULL((void*)0);
5857 modelica_metatype _t = NULL((void*)0);
5858 modelica_metatype _it = NULL((void*)0);
5859 modelica_metatype _r = NULL((void*)0);
5860 modelica_integer tmp1;
5861 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
5862 MMC_SO()mmc_check_stackoverflow(threadData);
5863 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5864 // _n has no default value.
5865 // _id has no default value.
5866 // _p has no default value.
5867 // _c has no default value.
5868 // _d has no default value.
5869 // _e has no default value.
5870 // _t has no default value.
5871 // _it has no default value.
5872 // _r has no default value.
5873#line 383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5874 /* Pattern-matching assignment */
5875#line 383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5876 tmpMeta[0] = omc_FNode_fromRef(threadData, _ref);
5877#line 383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5878 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
5879#line 383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5880 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
5881#line 383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5882 tmp1 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
5883#line 383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5884 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
5885#line 383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5886 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
5887#line 383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5888 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (6)))))
;
5889#line 383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5890 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],2,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((1 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5891#line 383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5892 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
5893#line 383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5894 _n = tmpMeta[1];
5895#line 383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5896 _id = tmp1 /* pattern as ty=Integer */;
5897#line 383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5898 _p = tmpMeta[3];
5899#line 383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5900 _c = tmpMeta[4];
5901#line 383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5902 _it = tmpMeta[6];
5903#line 5903 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5904
5905#line 384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5906 _it = omc_FNode_addImport(threadData, _imp, _it);
5907#line 5907 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5908
5909#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5910 tmpMeta[0] = mmc_mk_box2(5, &FCore_Data_IM__desc, _it);
5911#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5912 tmpMeta[1] = mmc_mk_box6(3, &FCore_Node_N__desc, _n, mmc_mk_integermmc_mk_icon(_id), _p, _c, tmpMeta[0]);
5913#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5914 _r = omc_FNode_updateRef(threadData, _ref, tmpMeta[1]);
Value stored to '_r' is never read
5915#line 5915 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5916 _return: OMC_LABEL_UNUSED__attribute__((unused))
5917 return;
5918}
5919
5920PROTECTED_FUNCTION_STATIC modelica_metatype omc_FNode_printElementConflictError(threadData_t *threadData, modelica_metatype _newRef, modelica_metatype _oldRef, modelica_string _name)
5921{
5922 modelica_metatype _dummy = NULL((void*)0);
5923 modelica_metatype _info1 = NULL((void*)0);
5924 modelica_metatype _info2 = NULL((void*)0);
5925 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
5926 MMC_SO()mmc_check_stackoverflow(threadData);
5927 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5928 // _dummy has no default value.
5929 // _info1 has no default value.
5930 // _info2 has no default value.
5931#line 359 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5932 if(omc_Config_acceptMetaModelicaGrammar(threadData))
5933#line 359 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5934 {
5935#line 360 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5936 _dummy = _newRef;
5937#line 5937 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5938 }
5939 else
5940 {
5941#line 362 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5942 _info1 = omc_SCodeUtil_elementInfo(threadData, omc_FNode_getElementFromRef(threadData, _newRef));
5943#line 5943 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5944
5945#line 363 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5946 _info2 = omc_SCodeUtil_elementInfo(threadData, omc_FNode_getElementFromRef(threadData, _oldRef));
5947#line 5947 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5948
5949#line 364 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5950 tmpMeta[0] = mmc_mk_cons(_name, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
5951#line 364 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5952 tmpMeta[1] = mmc_mk_cons(_info2, mmc_mk_cons(_info1, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))));
5953#line 364 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5954 omc_Error_addMultiSourceMessage(threadData, _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)), tmpMeta[0], tmpMeta[1]);
5955#line 5955 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5956
5957#line 365 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5958 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5959#line 5959 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
5960 }
5961 _return: OMC_LABEL_UNUSED__attribute__((unused))
5962 return _dummy;
5963}
5964
5965DLLExport
5966void omc_FNode_addChildRef(threadData_t *threadData, modelica_metatype _inParentRef, modelica_string _inName, modelica_metatype _inChildRef, modelica_boolean _checkDuplicate)
5967{
5968 modelica_string _n = NULL((void*)0);
5969 modelica_integer _i;
5970 modelica_metatype _p = NULL((void*)0);
5971 modelica_metatype _c = NULL((void*)0);
5972 modelica_metatype _d = NULL((void*)0);
5973 modelica_metatype _parent = NULL((void*)0);
5974 modelica_integer tmp1;
5975 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
5976 MMC_SO()mmc_check_stackoverflow(threadData);
5977 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5978 // _n has no default value.
5979 // _i has no default value.
5980 // _p has no default value.
5981 // _c has no default value.
5982 // _d has no default value.
5983 // _parent has no default value.
5984#line 344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5985 /* Pattern-matching assignment */
5986#line 344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5987 tmpMeta[0] = omc_FNode_fromRef(threadData, _inParentRef);
5988#line 344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5989 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
5990#line 344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5991 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
5992#line 344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5993 tmp1 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
5994#line 344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5995 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
5996#line 344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5997 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
5998#line 344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
5999 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (6)))))
;
6000#line 344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6001 _n = tmpMeta[1];
6002#line 344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6003 _i = tmp1 /* pattern as ty=Integer */;
6004#line 344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6005 _p = tmpMeta[3];
6006#line 344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6007 _c = tmpMeta[4];
6008#line 344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6009 _d = tmpMeta[5];
6010#line 6010 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6011
6012#line 345 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6013 _c = omc_FCore_RefTree_add(threadData, _c, _inName, _inChildRef, (_checkDuplicate?boxvar_FNode_printElementConflictError((void*)((char*)(&(boxvar_lit_FNode_printElementConflictError
).header) + 3))
:boxvar_FCore_RefTree_addConflictReplace((void*)((char*)(&(boxvar_lit_FCore_RefTree_addConflictReplace
).header) + 3))
));
6014#line 6014 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6015
6016#line 347 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6017 tmpMeta[0] = mmc_mk_box6(3, &FCore_Node_N__desc, _n, mmc_mk_integermmc_mk_icon(_i), _p, _c, _d);
6018#line 347 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6019 _parent = omc_FNode_updateRef(threadData, _inParentRef, tmpMeta[0]);
6020#line 6020 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6021
6022#line 348 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6023 omc_FGraphStream_edge(threadData, _inName, omc_FNode_fromRef(threadData, _parent), omc_FNode_fromRef(threadData, _inChildRef));
6024#line 6024 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6025 _return: OMC_LABEL_UNUSED__attribute__((unused))
6026 return;
6027}
6028void boxptr_FNode_addChildRef(threadData_t *threadData, modelica_metatype _inParentRef, modelica_metatype _inName, modelica_metatype _inChildRef, modelica_metatype _checkDuplicate)
6029{
6030 modelica_integer tmp1;
6031 tmp1 = mmc_unbox_integer(_checkDuplicate)(((mmc_sint_t) (_checkDuplicate)) >> 1);
6032 omc_FNode_addChildRef(threadData, _inParentRef, _inName, _inChildRef, tmp1);
6033 return;
6034}
6035
6036PROTECTED_FUNCTION_STATIC modelica_boolean omc_FNode_compareQualifiedImportNames(threadData_t *threadData, modelica_metatype _inImport1, modelica_metatype _inImport2)
6037{
6038 modelica_boolean _outEqual;
6039 modelica_boolean tmp1 = 0;
6040 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
6041 MMC_SO()mmc_check_stackoverflow(threadData);
6042 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
6043 // _outEqual has no default value.
6044#line 6044 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6045 { /* match expression */
6046 modelica_metatype tmp4_1;modelica_metatype tmp4_2;
6047 tmp4_1 = _inImport1;
6048 tmp4_2 = _inImport2;
6049 {
6050 modelica_string _name1 = NULL((void*)0);
6051 modelica_string _name2 = NULL((void*)0);
6052 volatile mmc_switch_type tmp4;
6053 int tmp5;
6054 // _name1 has no default value.
6055 // _name2 has no default value.
6056 tmp4 = 0;
6057 for (; tmp4 < 2; tmp4++) {
6058 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
6059 case 0: {
6060 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
6061 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
6062 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((2 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
6063 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
6064
6065 _name1 = tmpMeta[0];
6066 _name2 = tmpMeta[1];
6067 /* Pattern matching succeeded */
6068 /* Check guard condition after assignments */
6069 if (!(stringEqual(_name1, _name2)((((((*(mmc_uint_t*)((void*)((char*)(_name1) - 3)))) >>
(3)) - 8)) == (((((*(mmc_uint_t*)((void*)((char*)(_name2) - 3
)))) >> (3)) - 8)) && !mmc_stringCompare(_name1
,_name2))
)) goto tmp3_end;
6070#line 324 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6071 tmp1 = 1;
6072#line 6072 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6073 goto tmp3_done;
6074 }
6075 case 1: {
6076
6077 /* Pattern matching succeeded */
6078#line 327 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6079 tmp1 = 0;
6080#line 6080 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6081 goto tmp3_done;
6082 }
6083 }
6084 goto tmp3_end;
6085 tmp3_end: ;
6086 }
6087 goto goto_2;
6088 goto_2:;
6089 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
6090 goto tmp3_done;
6091 tmp3_done:;
6092 }
6093 }
6094 _outEqual = tmp1;
6095 _return: OMC_LABEL_UNUSED__attribute__((unused))
6096 return _outEqual;
6097}
6098PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_FNode_compareQualifiedImportNames(threadData_t *threadData, modelica_metatype _inImport1, modelica_metatype _inImport2)
6099{
6100 modelica_boolean _outEqual;
6101 modelica_metatype out_outEqual;
6102 _outEqual = omc_FNode_compareQualifiedImportNames(threadData, _inImport1, _inImport2);
6103 out_outEqual = mmc_mk_icon(_outEqual);
6104 return out_outEqual;
6105}
6106
6107PROTECTED_FUNCTION_STATIC void omc_FNode_checkUniqueQualifiedImport(threadData_t *threadData, modelica_metatype _inImport, modelica_metatype _inImports, modelica_metatype _inInfo)
6108{
6109 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
6110 MMC_SO()mmc_check_stackoverflow(threadData);
6111 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
6112#line 6112 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6113 { /* matchcontinue expression */
6114 volatile modelica_metatype tmp3_1;
6115 tmp3_1 = _inImport;
6116 {
6117 modelica_string _name = NULL((void*)0);
6118 volatile mmc_switch_type tmp3;
6119 int tmp4;
6120 // _name has no default value.
6121 tmp3 = 0;
6122 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) {
6123 tmp2_top:
6124 threadData->mmc_jumper = &new_mmc_jumper;
6125 for (; tmp3 < 2; tmp3++) {
6126 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
6127 case 0: {
6128 modelica_boolean tmp5;
6129
6130 /* Pattern matching succeeded */
6131#line 297 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6132 /* Pattern-matching assignment */
6133#line 297 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6134 tmp5 = omc_List_isMemberOnTrue(threadData, _inImport, _inImports, boxvar_FNode_compareQualifiedImportNames((void*)((char*)(&(boxvar_lit_FNode_compareQualifiedImportNames
).header) + 3))
);
6135#line 297 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6136 if (0 != tmp5) goto goto_1;
6137#line 6137 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6138#line 6138 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6139 goto tmp2_done;
6140 }
6141 case 1: {
6142 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
6143 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
6144
6145 _name = tmpMeta[0];
6146 /* Pattern matching succeeded */
6147#line 304 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6148 tmpMeta[0] = mmc_mk_cons(_name, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
6149#line 304 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6150 omc_Error_addSourceMessage(threadData, _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)), tmpMeta[0], _inInfo);
6151#line 6151 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6152#line 306 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6153 goto goto_1;
6154#line 6154 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6155 goto tmp2_done;
6156 }
6157 }
6158 goto tmp2_end;
6159 tmp2_end: ;
6160 }
6161 goto goto_1;
6162 tmp2_done:
6163 (void)tmp3;
6164 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
6165 goto tmp2_done2;
6166 goto_1:;
6167 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
6168 if (++tmp3 < 2) {
6169 goto tmp2_top;
6170 }
6171 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
6172 tmp2_done2:;
6173 }
6174 }
6175 ;
6176 _return: OMC_LABEL_UNUSED__attribute__((unused))
6177 return;
6178}
6179
6180PROTECTED_FUNCTION_STATIC modelica_metatype omc_FNode_translateQualifiedImportToNamed(threadData_t *threadData, modelica_metatype _inImport)
6181{
6182 modelica_metatype _outImport = NULL((void*)0);
6183 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
6184 MMC_SO()mmc_check_stackoverflow(threadData);
6185 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
6186 // _outImport has no default value.
6187#line 6187 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6188 { /* match expression */
6189 modelica_metatype tmp3_1;
6190 tmp3_1 = _inImport;
6191 {
6192 modelica_string _name = NULL((void*)0);
6193 modelica_metatype _path = NULL((void*)0);
6194 volatile mmc_switch_type tmp3;
6195 int tmp4;
6196 // _name has no default value.
6197 // _path has no default value.
6198 tmp3 = 0;
6199 for (; tmp3 < 2; tmp3++) {
6200 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
6201 case 0: {
6202 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
6203
6204 /* Pattern matching succeeded */
6205#line 273 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6206 tmpMeta[0] = _inImport;
6207#line 6207 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6208 goto tmp2_done;
6209 }
6210 case 1: {
6211 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
6212 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
6213 _path = tmpMeta[1];
6214 /* Pattern matching succeeded */
6215#line 278 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6216 _name = omc_AbsynUtil_pathLastIdent(threadData, _path);
6217#line 6217 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6218#line 279 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6219 tmpMeta[1] = mmc_mk_box3(3, &Absyn_Import_NAMED__IMPORT__desc, _name, _path);
6220#line 279 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6221 tmpMeta[0] = tmpMeta[1];
6222#line 6222 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6223 goto tmp2_done;
6224 }
6225 }
6226 goto tmp2_end;
6227 tmp2_end: ;
6228 }
6229 goto goto_1;
6230 goto_1:;
6231 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
6232 goto tmp2_done;
6233 tmp2_done:;
6234 }
6235 }
6236 _outImport = tmpMeta[0];
6237 _return: OMC_LABEL_UNUSED__attribute__((unused))
6238 return _outImport;
6239}
6240
6241DLLExport
6242modelica_metatype omc_FNode_addImport(threadData_t *threadData, modelica_metatype _inImport, modelica_metatype _inImportTable)
6243{
6244 modelica_metatype _outImportTable = NULL((void*)0);
6245 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
6246 MMC_SO()mmc_check_stackoverflow(threadData);
6247 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
6248 // _outImportTable has no default value.
6249#line 6249 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6250 { /* match expression */
6251 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
6252 tmp3_1 = _inImport;
6253 tmp3_2 = _inImportTable;
6254 {
6255 modelica_metatype _imp = NULL((void*)0);
6256 modelica_metatype _qual_imps = NULL((void*)0);
6257 modelica_metatype _unqual_imps = NULL((void*)0);
6258 modelica_metatype _info = NULL((void*)0);
6259 modelica_boolean _hidden;
6260 volatile mmc_switch_type tmp3;
6261 int tmp4;
6262 // _imp has no default value.
6263 // _qual_imps has no default value.
6264 // _unqual_imps has no default value.
6265 // _info has no default value.
6266 // _hidden has no default value.
6267 tmp3 = 0;
6268 for (; tmp3 < 2; tmp3++) {
6269 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
6270 case 0: {
6271 modelica_integer tmp5;
6272 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
6273 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
6274 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],2,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((1 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
6275 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
6276 tmp5 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
6277 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
6278 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
6279 _imp = tmpMeta[1];
6280 _hidden = tmp5 /* pattern as ty=Boolean */;
6281 _qual_imps = tmpMeta[3];
6282 _unqual_imps = tmpMeta[4];
6283 /* Pattern matching succeeded */
6284#line 246 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6285 _unqual_imps = omc_List_unionElt(threadData, _imp, _unqual_imps);
6286#line 6286 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6287#line 247 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6288 tmpMeta[1] = mmc_mk_box4(3, &FCore_ImportTable_IMPORT__TABLE__desc, mmc_mk_boolean(_hidden)((_hidden) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), _qual_imps, _unqual_imps);
6289#line 247 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6290 tmpMeta[0] = tmpMeta[1];
6291#line 6291 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6292 goto tmp2_done;
6293 }
6294 case 1: {
6295 modelica_integer tmp6;
6296 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
6297 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
6298 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
6299 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
6300 tmp6 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
6301 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
6302 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
6303 _imp = tmpMeta[1];
6304 _info = tmpMeta[2];
6305 _hidden = tmp6 /* pattern as ty=Boolean */;
6306 _qual_imps = tmpMeta[4];
6307 _unqual_imps = tmpMeta[5];
6308 /* Pattern matching succeeded */
6309#line 254 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6310 _imp = omc_FNode_translateQualifiedImportToNamed(threadData, _imp);
6311#line 6311 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6312
6313#line 255 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6314 omc_FNode_checkUniqueQualifiedImport(threadData, _imp, _qual_imps, _info);
6315#line 6315 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6316
6317#line 256 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6318 _qual_imps = omc_List_unionElt(threadData, _imp, _qual_imps);
6319#line 6319 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6320#line 257 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6321 tmpMeta[1] = mmc_mk_box4(3, &FCore_ImportTable_IMPORT__TABLE__desc, mmc_mk_boolean(_hidden)((_hidden) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), _qual_imps, _unqual_imps);
6322#line 257 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6323 tmpMeta[0] = tmpMeta[1];
6324#line 6324 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6325 goto tmp2_done;
6326 }
6327 }
6328 goto tmp2_end;
6329 tmp2_end: ;
6330 }
6331 goto goto_1;
6332 goto_1:;
6333 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
6334 goto tmp2_done;
6335 tmp2_done:;
6336 }
6337 }
6338 _outImportTable = tmpMeta[0];
6339 _return: OMC_LABEL_UNUSED__attribute__((unused))
6340 return _outImportTable;
6341}
6342
6343DLLExport
6344modelica_metatype omc_FNode_new(threadData_t *threadData, modelica_string _inName, modelica_integer _inId, modelica_metatype _inParents, modelica_metatype _inData)
6345{
6346 modelica_metatype _node = NULL((void*)0);
6347 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
6348 MMC_SO()mmc_check_stackoverflow(threadData);
6349 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
6350 // _node has no default value.
6351#line 226 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6352 tmpMeta[0] = mmc_mk_box6(3, &FCore_Node_N__desc, _inName, mmc_mk_integermmc_mk_icon(_inId), _inParents, omc_FCore_RefTree_new(threadData), _inData);
6353#line 226 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6354 _node = tmpMeta[0];
6355#line 6355 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6356 _return: OMC_LABEL_UNUSED__attribute__((unused))
6357 return _node;
6358}
6359modelica_metatype boxptr_FNode_new(threadData_t *threadData, modelica_metatype _inName, modelica_metatype _inId, modelica_metatype _inParents, modelica_metatype _inData)
6360{
6361 modelica_integer tmp1;
6362 modelica_metatype _node = NULL((void*)0);
6363 tmp1 = mmc_unbox_integer(_inId)(((mmc_sint_t) (_inId)) >> 1);
6364 _node = omc_FNode_new(threadData, _inName, tmp1, _inParents, _inData);
6365 /* skip box _node; FCore.Node */
6366 return _node;
6367}
6368
6369DLLExport
6370modelica_metatype omc_FNode_targetScope(threadData_t *threadData, modelica_metatype _inNode)
6371{
6372 modelica_metatype _outScope = NULL((void*)0);
6373 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
6374 MMC_SO()mmc_check_stackoverflow(threadData);
6375 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
6376 // _outScope has no default value.
6377#line 6377 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6378 { /* match expression */
6379 modelica_metatype tmp3_1;
6380 tmp3_1 = _inNode;
6381 {
6382 volatile mmc_switch_type tmp3;
6383 int tmp4;
6384 tmp3 = 0;
6385 for (; tmp3 < 1; tmp3++) {
6386 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
6387 case 0: {
6388 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
6389 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],20,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((1 +1)
<< 10) + (((20 +3) & 255) << 2)))
== 0) goto tmp2_end;
6390 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
6391 _outScope = tmpMeta[2];
6392 /* Pattern matching succeeded */
6393#line 215 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6394 tmpMeta[0] = _outScope;
6395#line 6395 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6396 goto tmp2_done;
6397 }
6398 }
6399 goto tmp2_end;
6400 tmp2_end: ;
6401 }
6402 goto goto_1;
6403 goto_1:;
6404 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
6405 goto tmp2_done;
6406 tmp2_done:;
6407 }
6408 }
6409 _outScope = tmpMeta[0];
6410 _return: OMC_LABEL_UNUSED__attribute__((unused))
6411 return _outScope;
6412}
6413
6414DLLExport
6415modelica_metatype omc_FNode_target(threadData_t *threadData, modelica_metatype _inNode)
6416{
6417 modelica_metatype _outRef = NULL((void*)0);
6418 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
6419 MMC_SO()mmc_check_stackoverflow(threadData);
6420 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
6421 // _outRef has no default value.
6422#line 206 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6423 /* Pattern-matching assignment */
6424#line 206 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6425 tmpMeta[0] = omc_FNode_targetScope(threadData, _inNode);
6426#line 206 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6427 if (listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
6428#line 206 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6429 tmpMeta[1] = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
6430#line 206 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6431 tmpMeta[2] = MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
6432#line 206 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6433 _outRef = tmpMeta[1];
6434#line 6434 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6435 _return: OMC_LABEL_UNUSED__attribute__((unused))
6436 return _outRef;
6437}
6438
6439DLLExport
6440modelica_metatype omc_FNode_setParents(threadData_t *threadData, modelica_metatype _inNode, modelica_metatype _inParents)
6441{
6442 modelica_metatype _outNode = NULL((void*)0);
6443 modelica_string _n = NULL((void*)0);
6444 modelica_integer _i;
6445 modelica_metatype _p = NULL((void*)0);
6446 modelica_metatype _c = NULL((void*)0);
6447 modelica_metatype _d = NULL((void*)0);
6448 modelica_integer tmp1;
6449 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
6450 MMC_SO()mmc_check_stackoverflow(threadData);
6451 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
6452 // _outNode has no default value.
6453 // _n has no default value.
6454 // _i has no default value.
6455 // _p has no default value.
6456 // _c has no default value.
6457 // _d has no default value.
6458#line 197 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6459 /* Pattern-matching assignment */
6460#line 197 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6461 tmpMeta[0] = _inNode;
6462#line 197 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6463 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
6464#line 197 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6465 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
6466#line 197 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6467 tmp1 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
6468#line 197 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6469 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
6470#line 197 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6471 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
6472#line 197 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6473 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (6)))))
;
6474#line 197 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6475 _n = tmpMeta[1];
6476#line 197 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6477 _i = tmp1 /* pattern as ty=Integer */;
6478#line 197 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6479 _p = tmpMeta[3];
6480#line 197 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6481 _c = tmpMeta[4];
6482#line 197 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6483 _d = tmpMeta[5];
6484#line 6484 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6485
6486#line 198 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6487 tmpMeta[0] = mmc_mk_box6(3, &FCore_Node_N__desc, _n, mmc_mk_integermmc_mk_icon(_i), _inParents, _c, _d);
6488#line 198 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6489 _outNode = tmpMeta[0];
6490#line 6490 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6491 _return: OMC_LABEL_UNUSED__attribute__((unused))
6492 return _outNode;
6493}
6494
6495DLLExport
6496modelica_metatype omc_FNode_refPushParents(threadData_t *threadData, modelica_metatype _inRef, modelica_metatype _inParents)
6497{
6498 modelica_metatype _outRef = NULL((void*)0);
6499 modelica_string _n = NULL((void*)0);
6500 modelica_integer _i;
6501 modelica_metatype _p = NULL((void*)0);
6502 modelica_metatype _c = NULL((void*)0);
6503 modelica_metatype _d = NULL((void*)0);
6504 modelica_integer tmp1;
6505 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
6506 MMC_SO()mmc_check_stackoverflow(threadData);
6507 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
6508 // _outRef has no default value.
6509 // _n has no default value.
6510 // _i has no default value.
6511 // _p has no default value.
6512 // _c has no default value.
6513 // _d has no default value.
6514#line 181 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6515 /* Pattern-matching assignment */
6516#line 181 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6517 tmpMeta[0] = omc_FNode_fromRef(threadData, _inRef);
6518#line 181 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6519 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
6520#line 181 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6521 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
6522#line 181 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6523 tmp1 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
6524#line 181 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6525 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
6526#line 181 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6527 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
6528#line 181 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6529 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (6)))))
;
6530#line 181 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6531 _n = tmpMeta[1];
6532#line 181 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6533 _i = tmp1 /* pattern as ty=Integer */;
6534#line 181 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6535 _p = tmpMeta[3];
6536#line 181 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6537 _c = tmpMeta[4];
6538#line 181 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6539 _d = tmpMeta[5];
6540#line 6540 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6541
6542#line 182 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6543 _p = listAppend(_inParents, _p);
6544#line 6544 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6545
6546#line 183 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6547 tmpMeta[0] = mmc_mk_box6(3, &FCore_Node_N__desc, _n, mmc_mk_integermmc_mk_icon(_i), _p, _c, _d);
6548#line 183 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6549 _outRef = omc_FNode_updateRef(threadData, _inRef, tmpMeta[0]);
6550#line 6550 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6551 _return: OMC_LABEL_UNUSED__attribute__((unused))
6552 return _outRef;
6553}
6554
6555DLLExport
6556modelica_metatype omc_FNode_refParents(threadData_t *threadData, modelica_metatype _inRef)
6557{
6558 modelica_metatype _p = NULL((void*)0);
6559 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
6560 MMC_SO()mmc_check_stackoverflow(threadData);
6561 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
6562 // _p has no default value.
6563#line 167 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6564 /* Pattern-matching assignment */
6565#line 167 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6566 tmpMeta[0] = omc_FNode_fromRef(threadData, _inRef);
6567#line 167 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6568 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
6569#line 167 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6570 _p = tmpMeta[1];
6571#line 6571 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6572 _return: OMC_LABEL_UNUSED__attribute__((unused))
6573 return _p;
6574}
6575
6576DLLExport
6577modelica_boolean omc_FNode_hasParents(threadData_t *threadData, modelica_metatype _inNode)
6578{
6579 modelica_boolean _b;
6580 MMC_SO()mmc_check_stackoverflow(threadData);
6581 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
6582 // _b has no default value.
6583#line 160 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6584 _b = (!listEmpty(omc_FNode_parents(threadData, _inNode))((*(mmc_uint_t*)((void*)((char*)(omc_FNode_parents(threadData
, _inNode)) - 3))) == (((0) << 10) + (((0) & 255) <<
2)))
);
6585#line 6585 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6586 _return: OMC_LABEL_UNUSED__attribute__((unused))
6587 return _b;
6588}
6589modelica_metatype boxptr_FNode_hasParents(threadData_t *threadData, modelica_metatype _inNode)
6590{
6591 modelica_boolean _b;
6592 modelica_metatype out_b;
6593 _b = omc_FNode_hasParents(threadData, _inNode);
6594 out_b = mmc_mk_icon(_b);
6595 return out_b;
6596}
6597
6598DLLExport
6599modelica_metatype omc_FNode_parents(threadData_t *threadData, modelica_metatype _inNode)
6600{
6601 modelica_metatype _p = NULL((void*)0);
6602 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
6603 MMC_SO()mmc_check_stackoverflow(threadData);
6604 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
6605 // _p has no default value.
6606#line 153 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6607 /* Pattern-matching assignment */
6608#line 153 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6609 tmpMeta[0] = _inNode;
6610#line 153 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6611 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
6612#line 153 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6613 _p = tmpMeta[1];
6614#line 6614 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6615 _return: OMC_LABEL_UNUSED__attribute__((unused))
6616 return _p;
6617}
6618
6619DLLExport
6620modelica_integer omc_FNode_id(threadData_t *threadData, modelica_metatype _inNode)
6621{
6622 modelica_integer _id;
6623 modelica_integer tmp1;
6624 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
6625 MMC_SO()mmc_check_stackoverflow(threadData);
6626 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
6627 // _id has no default value.
6628#line 146 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6629 /* Pattern-matching assignment */
6630#line 146 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6631 tmpMeta[0] = _inNode;
6632#line 146 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6633 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
6634#line 146 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6635 tmp1 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
6636#line 146 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6637 _id = tmp1 /* pattern as ty=Integer */;
6638#line 6638 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6639 _return: OMC_LABEL_UNUSED__attribute__((unused))
6640 return _id;
6641}
6642modelica_metatype boxptr_FNode_id(threadData_t *threadData, modelica_metatype _inNode)
6643{
6644 modelica_integer _id;
6645 modelica_metatype out_id;
6646 _id = omc_FNode_id(threadData, _inNode);
6647 out_id = mmc_mk_icon(_id);
6648 return out_id;
6649}
6650
6651DLLExport
6652modelica_metatype omc_FNode_updateRef(threadData_t *threadData, modelica_metatype _inRef, modelica_metatype _inNode)
6653{
6654 modelica_metatype _outRef = NULL((void*)0);
6655 MMC_SO()mmc_check_stackoverflow(threadData);
6656 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
6657 // _outRef has no default value.
6658#line 139 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6659 _outRef = arrayUpdate(_inRef, ((modelica_integer) 1), _inNode)boxptr_arrayUpdate(threadData,_inRef,mmc_mk_icon(((modelica_integer
) 1)),_inNode)
;
6660#line 6660 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6661 _return: OMC_LABEL_UNUSED__attribute__((unused))
6662 return _outRef;
6663}
6664
6665DLLExport
6666modelica_metatype omc_FNode_fromRef(threadData_t *threadData, modelica_metatype _inRef)
6667{
6668 modelica_metatype _outNode = NULL((void*)0);
6669 MMC_SO()mmc_check_stackoverflow(threadData);
6670 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
6671 // _outNode has no default value.
6672#line 129 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6673 _outNode = arrayGet(_inRef, ((modelica_integer) 1))nobox_arrayGet(threadData,_inRef,((modelica_integer) 1));
6674#line 6674 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6675 _return: OMC_LABEL_UNUSED__attribute__((unused))
6676 return _outNode;
6677}
6678
6679DLLExport
6680modelica_metatype omc_FNode_toRef(threadData_t *threadData, modelica_metatype _inNode)
6681{
6682 modelica_metatype _outRef = NULL((void*)0);
6683 MMC_SO()mmc_check_stackoverflow(threadData);
6684 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
6685 // _outRef has no default value.
6686#line 120 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FFrontEnd/FNode.mo"
6687 _outRef = arrayCreate(((modelica_integer) 1), _inNode);
6688#line 6688 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/FNode.c"
6689 _return: OMC_LABEL_UNUSED__attribute__((unused))
6690 return _outRef;
6691}
6692