Bug Summary

File:OMCompiler/Compiler/boot/build/VisualXML.c
Warning:line 2829, column 3
Value stored to '_globalKnownVars' is never read

Annotated Source Code

[?] Use j/k keys for keyboard navigation

1#ifdef OMC_BASE_FILE
2 #define OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c" OMC_BASE_FILE
3#else
4 #define OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c" "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "VisualXML.h"
8#define _OMC_LIT0_data"" ""
9static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT0,0,_OMC_LIT0_data)struct { mmc_uint_t header; const char data[(0)+1]; } _OMC_LIT_STRUCT0
= { ((((mmc_uint_t)0)<<(3))+((1<<(3+3))+5)), "" }
;
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"Shape" "Shape"
12static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT1,5,_OMC_LIT1_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT1
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "Shape"
}
;
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"Modelica" "Modelica"
15static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT2,8,_OMC_LIT2_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT2
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "Modelica"
}
;
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"Mechanics" "Mechanics"
18static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT3,9,_OMC_LIT3_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT3
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "Mechanics"
}
;
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"MultiBody" "MultiBody"
21static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT4,9,_OMC_LIT4_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT4
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "MultiBody"
}
;
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"Visualizers" "Visualizers"
24static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT5,11,_OMC_LIT5_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT5
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "Visualizers"
}
;
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"Advanced" "Advanced"
27static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT6,8,_OMC_LIT6_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT6
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "Advanced"
}
;
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"SHAPE " "SHAPE "
30static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT7,6,_OMC_LIT7_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT7
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "SHAPE "
}
;
31#define _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT7)((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))
32#define _OMC_LIT8_data" '" " '"
33static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT8,2,_OMC_LIT8_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT8
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), " '"
}
;
34#define _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT8)((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))
35#define _OMC_LIT9_data"'\n r{" "'\n r{"
36static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT9,5,_OMC_LIT9_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT9
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "'\n r{"
}
;
37#define _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT9)((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))
38#define _OMC_LIT10_data"," ","
39static 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)), ","
}
;
40#define _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT10)((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))
41#define _OMC_LIT11_data"}" "}"
42static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT11,1,_OMC_LIT11_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT11
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "}"
}
;
43#define _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT11)((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))
44#define _OMC_LIT12_data"\nlD{" "\nlD{"
45static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT12,4,_OMC_LIT12_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT12
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "\nlD{"
}
;
46#define _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT12)((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))
47#define _OMC_LIT13_data" wD{" " wD{"
48static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT13,4,_OMC_LIT13_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT13
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), " wD{"
}
;
49#define _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT13)((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))
50#define _OMC_LIT14_data"\ncolor(" "\ncolor("
51static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT14,7,_OMC_LIT14_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT14
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "\ncolor("
}
;
52#define _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT14)((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))
53#define _OMC_LIT15_data")" ")"
54static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT15,1,_OMC_LIT15_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT15
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), ")"
}
;
55#define _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT15)((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))
56#define _OMC_LIT16_data" w: " " w: "
57static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT16,4,_OMC_LIT16_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT16
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), " w: "
}
;
58#define _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT16)((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))
59#define _OMC_LIT17_data" h: " " h: "
60static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT17,4,_OMC_LIT17_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT17
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), " h: "
}
;
61#define _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT17)((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))
62#define _OMC_LIT18_data" l: " " l: "
63static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT18,4,_OMC_LIT18_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT18
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), " l: "
}
;
64#define _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT18)((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))
65#define _OMC_LIT19_data"\nT {" "\nT {"
66static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT19,4,_OMC_LIT19_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT19
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "\nT {"
}
;
67#define _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT19)((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))
68#define _OMC_LIT20_data", " ", "
69static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT20,2,_OMC_LIT20_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT20
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ", "
}
;
70#define _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT20)((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))
71#define _OMC_LIT21_data"\nextra{" "\nextra{"
72static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT21,7,_OMC_LIT21_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT21
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "\nextra{"
}
;
73#define _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT21)((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))
74#define _OMC_LIT22_data"-" "-"
75static 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)), "-"
}
;
76#define _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT22)((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))
77#define _OMC_LIT23_data"shapeType" "shapeType"
78static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT23,9,_OMC_LIT23_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT23
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "shapeType"
}
;
79#define _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT23)((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))
80#define _OMC_LIT24_data"R" "R"
81static 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)), "R"
}
;
82#define _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT24)((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))
83#define _OMC_LIT25_data"T" "T"
84static 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)), "T"
}
;
85#define _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT25)((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))
86#define _OMC_LIT26_data"r" "r"
87static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT26,1,_OMC_LIT26_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT26
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "r"
}
;
88#define _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT26)((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))
89#define _OMC_LIT27_data"r_shape" "r_shape"
90static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT27,7,_OMC_LIT27_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT27
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "r_shape"
}
;
91#define _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT27)((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))
92#define _OMC_LIT28_data"lengthDirection" "lengthDirection"
93static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT28,15,_OMC_LIT28_data)struct { mmc_uint_t header; const char data[(15)+1]; } _OMC_LIT_STRUCT28
= { ((((mmc_uint_t)15)<<(3))+((1<<(3+3))+5)), "lengthDirection"
}
;
94#define _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT28)((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))
95#define _OMC_LIT29_data"widthDirection" "widthDirection"
96static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT29,14,_OMC_LIT29_data)struct { mmc_uint_t header; const char data[(14)+1]; } _OMC_LIT_STRUCT29
= { ((((mmc_uint_t)14)<<(3))+((1<<(3+3))+5)), "widthDirection"
}
;
97#define _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT29)((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3))
98#define _OMC_LIT30_data"length" "length"
99static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT30,6,_OMC_LIT30_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT30
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "length"
}
;
100#define _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT30)((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))
101#define _OMC_LIT31_data"width" "width"
102static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT31,5,_OMC_LIT31_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT31
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "width"
}
;
103#define _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT31)((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))
104#define _OMC_LIT32_data"height" "height"
105static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT32,6,_OMC_LIT32_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT32
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "height"
}
;
106#define _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT32)((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))
107#define _OMC_LIT33_data"extra" "extra"
108static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT33,5,_OMC_LIT33_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT33
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "extra"
}
;
109#define _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT33)((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))
110#define _OMC_LIT34_data"color" "color"
111static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT34,5,_OMC_LIT34_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT34
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "color"
}
;
112#define _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT34)((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))
113#define _OMC_LIT35_data"specularCoefficient" "specularCoefficient"
114static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT35,19,_OMC_LIT35_data)struct { mmc_uint_t header; const char data[(19)+1]; } _OMC_LIT_STRUCT35
= { ((((mmc_uint_t)19)<<(3))+((1<<(3+3))+5)), "specularCoefficient"
}
;
115#define _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT35)((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3))
116#define _OMC_LIT36_data"modelica://" "modelica://"
117static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT36,11,_OMC_LIT36_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT36
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "modelica://"
}
;
118#define _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT36)((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))
119#define _OMC_LIT37_data"." "."
120static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT37,1,_OMC_LIT37_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT37
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "."
}
;
121#define _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT37)((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3))
122static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT38,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT38
= { (((2) << 10) + (((4) & 255) << 2)),
{&DAE_Type_T__REAL__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
123#define _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT38)((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))
124#define _OMC_LIT39_data"DUMMY" "DUMMY"
125static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT39,5,_OMC_LIT39_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT39
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "DUMMY"
}
;
126#define _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT39)((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))
127static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT40,2,5)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT40
= { (((2) << 10) + (((5) & 255) << 2)),
{&DAE_Exp_SCONST__desc,_OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))}};
128#define _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT40)((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))
129static const MMC_DEFREALLIT(_OMC_LIT_STRUCT41,-1.0)struct mmc_real_lit _OMC_LIT_STRUCT41 = {0,(((8/8) << 10
) + 9),-1.0}
;
130#define _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT41)((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))
131static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT42,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT42
= { (((2) << 10) + (((4) & 255) << 2)),
{&DAE_Exp_RCONST__desc,_OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))}};
132#define _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT42)((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))
133static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT43,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT43
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
134#define _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT43)((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))
135static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT44,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT44
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)),_OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))}};
136#define _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT44)((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))
137static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT45,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT45
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)),_OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))}};
138#define _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT45)((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))
139#define _OMC_LIT46_data"fillVisualizationObjects failed! - not yet supported type" "fillVisualizationObjects failed! - not yet supported type"
140static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT46,57,_OMC_LIT46_data)struct { mmc_uint_t header; const char data[(57)+1]; } _OMC_LIT_STRUCT46
= { ((((mmc_uint_t)57)<<(3))+((1<<(3+3))+5)), "fillVisualizationObjects failed! - not yet supported type"
}
;
141#define _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT46)((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))
142static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT47,2,6)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT47
= { (((2) << 10) + (((6) & 255) << 2)),
{&DAE_Exp_BCONST__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
143#define _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT47)((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))
144#define _OMC_LIT48_data"The binding expression " "The binding expression "
145static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT48,23,_OMC_LIT48_data)struct { mmc_uint_t header; const char data[(23)+1]; } _OMC_LIT_STRUCT48
= { ((((mmc_uint_t)23)<<(3))+((1<<(3+3))+5)), "The binding expression "
}
;
146#define _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT48)((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))
147#define _OMC_LIT49_data" of the visualization type component " " of the visualization type component "
148static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT49,37,_OMC_LIT49_data)struct { mmc_uint_t header; const char data[(37)+1]; } _OMC_LIT_STRUCT49
= { ((((mmc_uint_t)37)<<(3))+((1<<(3+3))+5)), " of the visualization type component "
}
;
149#define _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT49)((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))
150#define _OMC_LIT50_data" cannot be evaluated. Please specify a visualization type (CAD files are specified as modelica://packagename/filename.stl)" " cannot be evaluated. Please specify a visualization type (CAD files are specified as modelica://packagename/filename.stl)"
151static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT50,123,_OMC_LIT50_data)struct { mmc_uint_t header; const char data[(123)+1]; } _OMC_LIT_STRUCT50
= { ((((mmc_uint_t)123)<<(3))+((1<<(3+3))+5)), " cannot be evaluated. Please specify a visualization type (CAD files are specified as modelica://packagename/filename.stl)"
}
;
152#define _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT50)((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))
153#define _OMC_LIT51_data"VisualXMl.getConstCrefBinding failed for " "VisualXMl.getConstCrefBinding failed for "
154static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT51,41,_OMC_LIT51_data)struct { mmc_uint_t header; const char data[(41)+1]; } _OMC_LIT_STRUCT51
= { ((((mmc_uint_t)41)<<(3))+((1<<(3+3))+5)), "VisualXMl.getConstCrefBinding failed for "
}
;
155#define _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT51)((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))
156#define _OMC_LIT52_data"\n" "\n"
157static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT52,1,_OMC_LIT52_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT52
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "\n"
}
;
158#define _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT52)((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))
159#define _OMC_LIT53_data"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo" "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
160static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT53,94,_OMC_LIT53_data)struct { mmc_uint_t header; const char data[(94)+1]; } _OMC_LIT_STRUCT53
= { ((((mmc_uint_t)94)<<(3))+((1<<(3+3))+5)), "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
}
;
161#define _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT53)((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))
162static const MMC_DEFREALLIT(_OMC_LIT_STRUCT54_6,1580577680.0)struct mmc_real_lit _OMC_LIT_STRUCT54_6 = {0,(((8/8) <<
10) + 9),1580577680.0}
;
163#define _OMC_LIT54_6((void*)((char*)(&(_OMC_LIT_STRUCT54_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT54_6)((void*)((char*)(&(_OMC_LIT_STRUCT54_6).header) + 3))
164static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT54,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT54
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(199))((void*)(((((mmc_uint_t) (199)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(5))((void*)(((((mmc_uint_t) (5)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(199))((void*)(((((mmc_uint_t) (199)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(122))((void*)(((((mmc_uint_t) (122)) << 1)+0))),_OMC_LIT54_6((void*)((char*)(&(_OMC_LIT_STRUCT54_6).header) + 3))}};
165#define _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT54)((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))
166static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT55,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT55
= { (((2) << 10) + (((0) & 255) << 2)),
{MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
167#define _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT55)((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))
168#define _OMC_LIT56_data"_visual.xml" "_visual.xml"
169static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT56,11,_OMC_LIT56_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT56
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "_visual.xml"
}
;
170#define _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT56)((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3))
171#include "util/modelica.h"
172
173#include "VisualXML_includes.h"
174
175
176/* default, do not make protected functions static */
177#if !defined(PROTECTED_FUNCTION_STATIC)
178#define PROTECTED_FUNCTION_STATIC
179#endif
180PROTECTED_FUNCTION_STATIC modelica_string omc_VisualXML_hasVisPath(threadData_t *threadData, modelica_metatype _pathsIn, modelica_integer _numIn, modelica_integer *out_numOut);
181PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_VisualXML_hasVisPath(threadData_t *threadData, modelica_metatype _pathsIn, modelica_metatype _numIn, modelica_metatype *out_numOut);
182static const MMC_DEFSTRUCTLIT(boxvar_lit_VisualXML_hasVisPath,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_VisualXML_hasVisPath
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_VisualXML_hasVisPath,0}};
183#define boxvar_VisualXML_hasVisPath((void*)((char*)(&(boxvar_lit_VisualXML_hasVisPath).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_VisualXML_hasVisPath)((void*)((char*)(&(boxvar_lit_VisualXML_hasVisPath).header
) + 3))
184PROTECTED_FUNCTION_STATIC modelica_metatype omc_VisualXML_isVisualizationVarFold(threadData_t *threadData, modelica_metatype _var, modelica_metatype _tplIn);
185static const MMC_DEFSTRUCTLIT(boxvar_lit_VisualXML_isVisualizationVarFold,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_VisualXML_isVisualizationVarFold
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_VisualXML_isVisualizationVarFoldomc_VisualXML_isVisualizationVarFold,0}};
186#define boxvar_VisualXML_isVisualizationVarFold((void*)((char*)(&(boxvar_lit_VisualXML_isVisualizationVarFold
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_VisualXML_isVisualizationVarFold)((void*)((char*)(&(boxvar_lit_VisualXML_isVisualizationVarFold
).header) + 3))
187PROTECTED_FUNCTION_STATIC modelica_boolean omc_VisualXML_isVisualizationVar(threadData_t *threadData, modelica_metatype _var);
188PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_VisualXML_isVisualizationVar(threadData_t *threadData, modelica_metatype _var);
189static const MMC_DEFSTRUCTLIT(boxvar_lit_VisualXML_isVisualizationVar,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_VisualXML_isVisualizationVar
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_VisualXML_isVisualizationVar,0}};
190#define boxvar_VisualXML_isVisualizationVar((void*)((char*)(&(boxvar_lit_VisualXML_isVisualizationVar
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_VisualXML_isVisualizationVar)((void*)((char*)(&(boxvar_lit_VisualXML_isVisualizationVar
).header) + 3))
191PROTECTED_FUNCTION_STATIC modelica_string omc_VisualXML_printVisualization(threadData_t *threadData, modelica_metatype _vis);
192static const MMC_DEFSTRUCTLIT(boxvar_lit_VisualXML_printVisualization,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_VisualXML_printVisualization
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_VisualXML_printVisualizationomc_VisualXML_printVisualization,0}};
193#define boxvar_VisualXML_printVisualization((void*)((char*)(&(boxvar_lit_VisualXML_printVisualization
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_VisualXML_printVisualization)((void*)((char*)(&(boxvar_lit_VisualXML_printVisualization
).header) + 3))
194PROTECTED_FUNCTION_STATIC modelica_metatype omc_VisualXML_fillShapeObject(threadData_t *threadData, modelica_metatype _cref, modelica_metatype _var, modelica_boolean _storeProtectedCrefs, modelica_metatype _program, modelica_metatype _visIn);
195PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_VisualXML_fillShapeObject(threadData_t *threadData, modelica_metatype _cref, modelica_metatype _var, modelica_metatype _storeProtectedCrefs, modelica_metatype _program, modelica_metatype _visIn);
196static const MMC_DEFSTRUCTLIT(boxvar_lit_VisualXML_fillShapeObject,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_VisualXML_fillShapeObject
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_VisualXML_fillShapeObject,0}};
197#define boxvar_VisualXML_fillShapeObject((void*)((char*)(&(boxvar_lit_VisualXML_fillShapeObject).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_VisualXML_fillShapeObject)((void*)((char*)(&(boxvar_lit_VisualXML_fillShapeObject).
header) + 3))
198PROTECTED_FUNCTION_STATIC modelica_string omc_VisualXML_getFullCADFilePath(threadData_t *threadData, modelica_string _sIn, modelica_metatype _program);
199static const MMC_DEFSTRUCTLIT(boxvar_lit_VisualXML_getFullCADFilePath,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_VisualXML_getFullCADFilePath
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_VisualXML_getFullCADFilePathomc_VisualXML_getFullCADFilePath,0}};
200#define boxvar_VisualXML_getFullCADFilePath((void*)((char*)(&(boxvar_lit_VisualXML_getFullCADFilePath
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_VisualXML_getFullCADFilePath)((void*)((char*)(&(boxvar_lit_VisualXML_getFullCADFilePath
).header) + 3))
201PROTECTED_FUNCTION_STATIC modelica_metatype omc_VisualXML_fillVisualizationObjects1(threadData_t *threadData, modelica_metatype _varIn, modelica_boolean _storeProtectedCrefs, modelica_metatype _program, modelica_metatype _tplIn);
202PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_VisualXML_fillVisualizationObjects1(threadData_t *threadData, modelica_metatype _varIn, modelica_metatype _storeProtectedCrefs, modelica_metatype _program, modelica_metatype _tplIn);
203static const MMC_DEFSTRUCTLIT(boxvar_lit_VisualXML_fillVisualizationObjects1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_VisualXML_fillVisualizationObjects1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_VisualXML_fillVisualizationObjects1,0}};
204#define boxvar_VisualXML_fillVisualizationObjects1((void*)((char*)(&(boxvar_lit_VisualXML_fillVisualizationObjects1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_VisualXML_fillVisualizationObjects1)((void*)((char*)(&(boxvar_lit_VisualXML_fillVisualizationObjects1
).header) + 3))
205PROTECTED_FUNCTION_STATIC modelica_metatype omc_VisualXML_splitCrefAfter(threadData_t *threadData, modelica_metatype _crefIn, modelica_metatype _crefCut, modelica_boolean *out_wasCut);
206PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_VisualXML_splitCrefAfter(threadData_t *threadData, modelica_metatype _crefIn, modelica_metatype _crefCut, modelica_metatype *out_wasCut);
207static const MMC_DEFSTRUCTLIT(boxvar_lit_VisualXML_splitCrefAfter,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_VisualXML_splitCrefAfter
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_VisualXML_splitCrefAfter,0}};
208#define boxvar_VisualXML_splitCrefAfter((void*)((char*)(&(boxvar_lit_VisualXML_splitCrefAfter).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_VisualXML_splitCrefAfter)((void*)((char*)(&(boxvar_lit_VisualXML_splitCrefAfter).header
) + 3))
209PROTECTED_FUNCTION_STATIC modelica_metatype omc_VisualXML_makeCrefQualFromString(threadData_t *threadData, modelica_string _s);
210static const MMC_DEFSTRUCTLIT(boxvar_lit_VisualXML_makeCrefQualFromString,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_VisualXML_makeCrefQualFromString
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_VisualXML_makeCrefQualFromStringomc_VisualXML_makeCrefQualFromString,0}};
211#define boxvar_VisualXML_makeCrefQualFromString((void*)((char*)(&(boxvar_lit_VisualXML_makeCrefQualFromString
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_VisualXML_makeCrefQualFromString)((void*)((char*)(&(boxvar_lit_VisualXML_makeCrefQualFromString
).header) + 3))
212PROTECTED_FUNCTION_STATIC modelica_metatype omc_VisualXML_fillVisualizationObjects(threadData_t *threadData, modelica_metatype _crefIn, modelica_metatype _allVarsIn, modelica_metatype _programIn, modelica_metatype *out_allVarsOut, modelica_metatype *out_programOut);
213static const MMC_DEFSTRUCTLIT(boxvar_lit_VisualXML_fillVisualizationObjects,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_VisualXML_fillVisualizationObjects
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_VisualXML_fillVisualizationObjectsomc_VisualXML_fillVisualizationObjects,0}};
214#define boxvar_VisualXML_fillVisualizationObjects((void*)((char*)(&(boxvar_lit_VisualXML_fillVisualizationObjects
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_VisualXML_fillVisualizationObjects)((void*)((char*)(&(boxvar_lit_VisualXML_fillVisualizationObjects
).header) + 3))
215PROTECTED_FUNCTION_STATIC modelica_metatype omc_VisualXML_setBindingForProtectedVars1(threadData_t *threadData, modelica_metatype _varIn, modelica_metatype _tplIn, modelica_metatype *out_tplOut);
216static const MMC_DEFSTRUCTLIT(boxvar_lit_VisualXML_setBindingForProtectedVars1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_VisualXML_setBindingForProtectedVars1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_VisualXML_setBindingForProtectedVars1omc_VisualXML_setBindingForProtectedVars1,0}};
217#define boxvar_VisualXML_setBindingForProtectedVars1((void*)((char*)(&(boxvar_lit_VisualXML_setBindingForProtectedVars1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_VisualXML_setBindingForProtectedVars1)((void*)((char*)(&(boxvar_lit_VisualXML_setBindingForProtectedVars1
).header) + 3))
218PROTECTED_FUNCTION_STATIC modelica_metatype omc_VisualXML_setBindingForProtectedVars(threadData_t *threadData, modelica_metatype _eqSysIn);
219static const MMC_DEFSTRUCTLIT(boxvar_lit_VisualXML_setBindingForProtectedVars,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_VisualXML_setBindingForProtectedVars
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_VisualXML_setBindingForProtectedVarsomc_VisualXML_setBindingForProtectedVars,0}};
220#define boxvar_VisualXML_setBindingForProtectedVars((void*)((char*)(&(boxvar_lit_VisualXML_setBindingForProtectedVars
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_VisualXML_setBindingForProtectedVars)((void*)((char*)(&(boxvar_lit_VisualXML_setBindingForProtectedVars
).header) + 3))
221PROTECTED_FUNCTION_STATIC modelica_metatype omc_VisualXML_makeVarPublicHideResultFalse(threadData_t *threadData, modelica_metatype _inVar);
222static const MMC_DEFSTRUCTLIT(boxvar_lit_VisualXML_makeVarPublicHideResultFalse,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_VisualXML_makeVarPublicHideResultFalse
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_VisualXML_makeVarPublicHideResultFalseomc_VisualXML_makeVarPublicHideResultFalse,0}};
223#define boxvar_VisualXML_makeVarPublicHideResultFalse((void*)((char*)(&(boxvar_lit_VisualXML_makeVarPublicHideResultFalse
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_VisualXML_makeVarPublicHideResultFalse)((void*)((char*)(&(boxvar_lit_VisualXML_makeVarPublicHideResultFalse
).header) + 3))
224PROTECTED_FUNCTION_STATIC modelica_metatype omc_VisualXML_getConstCrefBinding(threadData_t *threadData, modelica_metatype _cr, modelica_metatype _vars);
225static const MMC_DEFSTRUCTLIT(boxvar_lit_VisualXML_getConstCrefBinding,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_VisualXML_getConstCrefBinding
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_VisualXML_getConstCrefBindingomc_VisualXML_getConstCrefBinding,0}};
226#define boxvar_VisualXML_getConstCrefBinding((void*)((char*)(&(boxvar_lit_VisualXML_getConstCrefBinding
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_VisualXML_getConstCrefBinding)((void*)((char*)(&(boxvar_lit_VisualXML_getConstCrefBinding
).header) + 3))
227PROTECTED_FUNCTION_STATIC modelica_metatype omc_VisualXML_replaceVisualBinding(threadData_t *threadData, modelica_metatype _visIn, modelica_metatype _varArray, modelica_metatype _program);
228static const MMC_DEFSTRUCTLIT(boxvar_lit_VisualXML_replaceVisualBinding,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_VisualXML_replaceVisualBinding
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_VisualXML_replaceVisualBindingomc_VisualXML_replaceVisualBinding,0}};
229#define boxvar_VisualXML_replaceVisualBinding((void*)((char*)(&(boxvar_lit_VisualXML_replaceVisualBinding
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_VisualXML_replaceVisualBinding)((void*)((char*)(&(boxvar_lit_VisualXML_replaceVisualBinding
).header) + 3))
230
231DLLExport
232void omc_VisualXML_dumpVis(threadData_t *threadData, modelica_metatype _visIn, modelica_string _iFileName)
233{
234 MMC_SO()mmc_check_stackoverflow(threadData);
235 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
236#line 648 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
237 fputs(MMC_STRINGDATA(_OMC_LIT0)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT0).header) + 3))) - 3)))->data)
,stdoutstdout);
238#line 238 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
239
240#line 649 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
241 omc_Tpl_tplNoret2(threadData, boxvar_VisualXMLTpl_dumpVisXML((void*)((char*)(&(boxvar_lit_VisualXMLTpl_dumpVisXML).header
) + 3))
, _visIn, _iFileName);
242#line 242 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
243 _return: OMC_LABEL_UNUSED__attribute__((unused))
244 return;
245}
246
247PROTECTED_FUNCTION_STATIC modelica_string omc_VisualXML_hasVisPath(threadData_t *threadData, modelica_metatype _pathsIn, modelica_integer _numIn, modelica_integer *out_numOut)
248{
249 modelica_string _visPath = NULL((void*)0);
250 modelica_integer _numOut;
251 modelica_string tmp1_c0 __attribute__((unused)) = 0;
252 modelica_integer tmp1_c1 __attribute__((unused)) = 0;
253 modelica_metatype tmpMeta[15] __attribute__((unused)) = {0};
254 MMC_SO()mmc_check_stackoverflow(threadData);
255 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
256 // _visPath has no default value.
257 // _numOut has no default value.
258#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
259
260#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
261
262#line 262 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
263 { /* matchcontinue expression */
264 volatile modelica_metatype tmp4_1;
265 tmp4_1 = _pathsIn;
266 {
267 modelica_string _name = NULL((void*)0);
268 modelica_string _shapeIdent = NULL((void*)0);
269 modelica_metatype _path = NULL((void*)0);
270 modelica_metatype _rest = NULL((void*)0);
271 volatile mmc_switch_type tmp4;
272 int tmp5;
273 // _name has no default value.
274 // _shapeIdent has no default value.
275 // _path has no default value.
276 // _rest has no default value.
277 tmp4 = 0;
278 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) {
279 tmp3_top:
280 threadData->mmc_jumper = &new_mmc_jumper;
281 for (; tmp4 < 4; tmp4++) {
282 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
283 case 0: {
284 if (!listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
285 tmp4 += 3; /* Pattern matching succeeded; we may skip some cases if we fail */
286#line 625 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
287 tmp1_c0 = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
288#line 625 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
289 tmp1_c1 = ((modelica_integer) -1);
290#line 290 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
291 goto tmp3_done;
292 }
293 case 1: {
294 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
295 tmpMeta[2] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
296 tmpMeta[3] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
297 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],2,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
298 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
299 _path = tmpMeta[4];
300 _rest = tmpMeta[3];
301 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
302#line 628 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
303 tmpMeta[2] = mmc_mk_cons(_path, _rest);
304#line 628 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
305 tmp1_c0 = omc_VisualXML_hasVisPath(threadData, tmpMeta[2], _numIn, &tmp1_c1);
306#line 306 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
307 goto tmp3_done;
308 }
309 case 2: {
310 modelica_boolean tmp6;
311 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
312 tmpMeta[2] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
313 tmpMeta[3] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
314 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((2 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
315 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
316 if (8 != MMC_STRLEN(tmpMeta[4])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT2)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT2).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[4])(((struct mmc_string*)((void*)((char*)(tmpMeta[4]) - 3)))->
data)
) != 0) goto tmp3_end;
317 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
318 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],0,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((2 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
319 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
320 if (9 != MMC_STRLEN(tmpMeta[6])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT3)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT3).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[6])(((struct mmc_string*)((void*)((char*)(tmpMeta[6]) - 3)))->
data)
) != 0) goto tmp3_end;
321 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (3)))))
;
322 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[7],0,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3)))==(((2 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
323 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (2)))))
;
324 if (9 != MMC_STRLEN(tmpMeta[8])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT4)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT4).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[8])(((struct mmc_string*)((void*)((char*)(tmpMeta[8]) - 3)))->
data)
) != 0) goto tmp3_end;
325 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (3)))))
;
326 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[9],0,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9]) - 3)))==(((2 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
327 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[9]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[9]) - 3
))) + (2)))))
;
328 if (11 != MMC_STRLEN(tmpMeta[10])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[10]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT5)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT5).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[10])(((struct mmc_string*)((void*)((char*)(tmpMeta[10]) - 3)))->
data)
) != 0) goto tmp3_end;
329 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[9]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[9]) - 3
))) + (3)))))
;
330 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[11],0,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[11]) - 3)))==(((2 +1
) << 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
331 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[11]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[11]) - 3
))) + (2)))))
;
332 if (8 != MMC_STRLEN(tmpMeta[12])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[12]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT6)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT6).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[12])(((struct mmc_string*)((void*)((char*)(tmpMeta[12]) - 3)))->
data)
) != 0) goto tmp3_end;
333 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[11]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[11]) - 3
))) + (3)))))
;
334 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[13],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[13]) - 3)))==(((1 +1
) << 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
335 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[13]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[13]) - 3
))) + (2)))))
;
336 _name = tmpMeta[14];
337 /* Pattern matching succeeded */
338#line 632 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
339 _shapeIdent = substring(_name, ((modelica_integer) 1), ((modelica_integer) 5))boxptr_substring(threadData,_name,mmc_mk_icon(((modelica_integer
) 1)),mmc_mk_icon(((modelica_integer) 5)))
;
340#line 340 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
341
342#line 633 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
343 /* Pattern-matching assignment */
344#line 633 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
345 tmp6 = (stringEqual(_shapeIdent, _OMC_LIT1)((((((*(mmc_uint_t*)((void*)((char*)(_shapeIdent) - 3)))) >>
(3)) - 8)) == (((((*(mmc_uint_t*)((void*)((char*)(((void*)((
char*)(&(_OMC_LIT_STRUCT1).header) + 3))) - 3)))) >>
(3)) - 8)) && !mmc_stringCompare(_shapeIdent,((void*
)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))))
);
346#line 633 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
347 if (1 != tmp6) goto goto_2;
348#line 348 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
349#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
350 tmp1_c0 = _name;
351#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
352 tmp1_c1 = _numIn;
353#line 353 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
354 goto tmp3_done;
355 }
356 case 3: {
357 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
358 tmpMeta[2] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
359 tmpMeta[3] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
360 _rest = tmpMeta[3];
361 /* Pattern matching succeeded */
362#line 637 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
363 tmp1_c0 = omc_VisualXML_hasVisPath(threadData, _rest, ((modelica_integer) 1) + _numIn, &tmp1_c1);
364#line 364 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
365 goto tmp3_done;
366 }
367 }
368 goto tmp3_end;
369 tmp3_end: ;
370 }
371 goto goto_2;
372 tmp3_done:
373 (void)tmp4;
374 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
375 goto tmp3_done2;
376 goto_2:;
377 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
378 if (++tmp4 < 4) {
379 goto tmp3_top;
380 }
381 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
382 tmp3_done2:;
383 }
384 }
385 _visPath = tmp1_c0;
386 _numOut = tmp1_c1;
387 _return: OMC_LABEL_UNUSED__attribute__((unused))
388 if (out_numOut) { *out_numOut = _numOut; }
389 return _visPath;
390}
391PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_VisualXML_hasVisPath(threadData_t *threadData, modelica_metatype _pathsIn, modelica_metatype _numIn, modelica_metatype *out_numOut)
392{
393 modelica_integer tmp1;
394 modelica_integer _numOut;
395 modelica_string _visPath = NULL((void*)0);
396 tmp1 = mmc_unbox_integer(_numIn)(((mmc_sint_t) (_numIn)) >> 1);
397 _visPath = omc_VisualXML_hasVisPath(threadData, _pathsIn, tmp1, &_numOut);
398 /* skip box _visPath; String */
399 if (out_numOut) { *out_numOut = mmc_mk_icon(_numOut); }
400 return _visPath;
401}
402
403PROTECTED_FUNCTION_STATIC modelica_metatype omc_VisualXML_isVisualizationVarFold(threadData_t *threadData, modelica_metatype _var, modelica_metatype _tplIn)
404{
405 modelica_metatype _tplOut = NULL((void*)0);
406 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
407 MMC_SO()mmc_check_stackoverflow(threadData);
408 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
409 // _tplOut has no default value.
410#line 410 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
411 { /* matchcontinue expression */
412 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;
413 tmp3_1 = _var;
414 tmp3_2 = _tplIn;
415 {
416 modelica_integer _idx;
417 modelica_metatype _varName = NULL((void*)0);
418 modelica_metatype _cref = NULL((void*)0);
419 modelica_metatype _crefs = NULL((void*)0);
420 modelica_metatype _source = NULL((void*)0);
421 modelica_metatype _varLst = NULL((void*)0);
422 modelica_string _obj = NULL((void*)0);
423 modelica_metatype _paths = NULL((void*)0);
424 volatile mmc_switch_type tmp3;
425 int tmp4;
426 // _idx has no default value.
427 // _varName has no default value.
428 // _cref has no default value.
429 // _crefs has no default value.
430 // _source has no default value.
431 // _varLst has no default value.
432 // _obj has no default value.
433 // _paths has no default value.
434 tmp3 = 0;
435 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) {
436 tmp2_top:
437 threadData->mmc_jumper = &new_mmc_jumper;
438 for (; tmp3 < 2; tmp3++) {
439 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
440 case 0: {
441 modelica_boolean tmp5;
442 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
443 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(10)))))
;
444 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
445 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
446 _varName = tmpMeta[1];
447 _source = tmpMeta[2];
448 _varLst = tmpMeta[3];
449 _crefs = tmpMeta[4];
450 /* Pattern matching succeeded */
451#line 595 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
452 _paths = omc_ElementSource_getElementSourceTypes(threadData, _source);
453#line 453 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
454
455#line 598 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
456 _obj = omc_VisualXML_hasVisPath(threadData, _paths, ((modelica_integer) 1) ,&_idx);
457#line 457 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
458
459#line 599 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
460 /* Pattern-matching assignment */
461#line 599 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
462 tmp5 = omc_Util_stringNotEqual(threadData, _obj, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)));
463#line 599 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
464 if (1 != tmp5) goto goto_1;
465#line 465 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
466
467#line 601 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
468 _cref = omc_ComponentReference_firstNCrefs(threadData, _varName, ((modelica_integer) -1) + _idx);
469#line 469 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
470
471#line 602 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
472 tmpMeta[1] = mmc_mk_cons(_cref, _crefs);
473#line 602 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
474 _crefs = omc_List_unique(threadData, tmpMeta[1]);
475#line 475 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
476#line 603 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
477 tmpMeta[1] = mmc_mk_cons(_var, _varLst);
478#line 603 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
479 tmpMeta[2] = mmc_mk_box2(0, tmpMeta[1], _crefs);
480#line 603 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
481 tmpMeta[0] = tmpMeta[2];
482#line 482 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
483 goto tmp2_done;
484 }
485 case 1: {
486
487 /* Pattern matching succeeded */
488#line 606 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
489 tmpMeta[0] = _tplIn;
490#line 490 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
491 goto tmp2_done;
492 }
493 }
494 goto tmp2_end;
495 tmp2_end: ;
496 }
497 goto goto_1;
498 tmp2_done:
499 (void)tmp3;
500 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
501 goto tmp2_done2;
502 goto_1:;
503 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
504 if (++tmp3 < 2) {
505 goto tmp2_top;
506 }
507 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
508 tmp2_done2:;
509 }
510 }
511 _tplOut = tmpMeta[0];
512 _return: OMC_LABEL_UNUSED__attribute__((unused))
513 return _tplOut;
514}
515
516PROTECTED_FUNCTION_STATIC modelica_boolean omc_VisualXML_isVisualizationVar(threadData_t *threadData, modelica_metatype _var)
517{
518 modelica_boolean _isVisVar;
519 modelica_boolean tmp1 = 0;
520 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
521 MMC_SO()mmc_check_stackoverflow(threadData);
522 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
523 // _isVisVar has no default value.
524#line 524 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
525 { /* matchcontinue expression */
526 volatile modelica_metatype tmp4_1;
527 tmp4_1 = _var;
528 {
529 modelica_metatype _source = NULL((void*)0);
530 modelica_string _obj = NULL((void*)0);
531 modelica_metatype _paths = NULL((void*)0);
532 volatile mmc_switch_type tmp4;
533 int tmp5;
534 // _source has no default value.
535 // _obj has no default value.
536 // _paths has no default value.
537 tmp4 = 0;
538 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) {
539 tmp3_top:
540 threadData->mmc_jumper = &new_mmc_jumper;
541 for (; tmp4 < 2; tmp4++) {
542 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
543 case 0: {
544 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(10)))))
;
545
546 _source = tmpMeta[0];
547 /* Pattern matching succeeded */
548#line 566 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
549 _paths = omc_ElementSource_getElementSourceTypes(threadData, _source);
550#line 550 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
551
552#line 569 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
553 _obj = omc_VisualXML_hasVisPath(threadData, _paths, ((modelica_integer) 1), NULL((void*)0));
554#line 554 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
555#line 570 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
556 tmp1 = omc_Util_stringNotEqual(threadData, _obj, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)));
557#line 557 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
558 goto tmp3_done;
559 }
560 case 1: {
561
562 /* Pattern matching succeeded */
563#line 572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
564 tmp1 = 0;
565#line 565 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
566 goto tmp3_done;
567 }
568 }
569 goto tmp3_end;
570 tmp3_end: ;
571 }
572 goto goto_2;
573 tmp3_done:
574 (void)tmp4;
575 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
576 goto tmp3_done2;
577 goto_2:;
578 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
579 if (++tmp4 < 2) {
580 goto tmp3_top;
581 }
582 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
583 tmp3_done2:;
584 }
585 }
586 _isVisVar = tmp1;
587 _return: OMC_LABEL_UNUSED__attribute__((unused))
588 return _isVisVar;
589}
590PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_VisualXML_isVisualizationVar(threadData_t *threadData, modelica_metatype _var)
591{
592 modelica_boolean _isVisVar;
593 modelica_metatype out_isVisVar;
594 _isVisVar = omc_VisualXML_isVisualizationVar(threadData, _var);
595 out_isVisVar = mmc_mk_icon(_isVisVar);
596 return out_isVisVar;
597}
598
599PROTECTED_FUNCTION_STATIC modelica_string omc_VisualXML_printVisualization(threadData_t *threadData, modelica_metatype _vis)
600{
601 modelica_string _s = NULL((void*)0);
602 modelica_string tmp1 = 0;
603 modelica_metatype tmpMeta[27] __attribute__((unused)) = {0};
604 MMC_SO()mmc_check_stackoverflow(threadData);
605 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
606 // _s has no default value.
607#line 607 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
608 { /* match expression */
609 modelica_metatype tmp4_1;
610 tmp4_1 = _vis;
611 {
612 modelica_metatype _ident = NULL((void*)0);
613 modelica_metatype _length = NULL((void*)0);
614 modelica_metatype _width = NULL((void*)0);
615 modelica_metatype _height = NULL((void*)0);
616 modelica_metatype _extra = NULL((void*)0);
617 modelica_metatype _shapeType = NULL((void*)0);
618 modelica_metatype _color = NULL((void*)0);
619 modelica_metatype _r = NULL((void*)0);
620 modelica_metatype _widthDir = NULL((void*)0);
621 modelica_metatype _lengthDir = NULL((void*)0);
622 modelica_metatype _T = NULL((void*)0);
623 volatile mmc_switch_type tmp4;
624 int tmp5;
625 // _ident has no default value.
626 // _length has no default value.
627 // _width has no default value.
628 // _height has no default value.
629 // _extra has no default value.
630 // _shapeType has no default value.
631 // _color has no default value.
632 // _r has no default value.
633 // _widthDir has no default value.
634 // _lengthDir has no default value.
635 // _T has no default value.
636 tmp4 = 0;
637 for (; tmp4 < 2; tmp4++) {
638 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
639 case 0: {
640 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
641 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
642 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
643 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(5)))))
;
644 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(7)))))
;
645 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(8)))))
;
646 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(9)))))
;
647 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(10)))))
;
648 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(11)))))
;
649 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 12))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(12)))))
;
650 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 13))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(13)))))
;
651
652 _ident = tmpMeta[0];
653 _shapeType = tmpMeta[1];
654 _T = tmpMeta[2];
655 _r = tmpMeta[3];
656 _lengthDir = tmpMeta[4];
657 _widthDir = tmpMeta[5];
658 _length = tmpMeta[6];
659 _width = tmpMeta[7];
660 _height = tmpMeta[8];
661 _extra = tmpMeta[9];
662 _color = tmpMeta[10];
663 /* Pattern matching succeeded */
664#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
665 tmpMeta[0] = stringAppend(_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)),omc_ComponentReference_printComponentRefStr(threadData, _ident));
666#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
667 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)));
668#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
669 tmpMeta[2] = stringAppend(tmpMeta[1],omc_ExpressionDump_printExpStr(threadData, _shapeType));
670#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
671 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)));
672#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
673 tmpMeta[4] = stringAppend(tmpMeta[3],stringDelimitList(omc_List_map1(threadData, arrayList(_r), boxvar_ExpressionDump_dumpExpStr((void*)((char*)(&(boxvar_lit_ExpressionDump_dumpExpStr).
header) + 3))
, mmc_mk_integermmc_mk_icon(((modelica_integer) 0))), _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))));
674#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
675 tmpMeta[5] = stringAppend(tmpMeta[4],_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)));
676#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
677 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)));
678#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
679 tmpMeta[7] = stringAppend(tmpMeta[6],stringDelimitList(omc_List_map(threadData, arrayList(_lengthDir), boxvar_ExpressionDump_printExpStr((void*)((char*)(&(boxvar_lit_ExpressionDump_printExpStr)
.header) + 3))
), _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))));
680#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
681 tmpMeta[8] = stringAppend(tmpMeta[7],_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)));
682#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
683 tmpMeta[9] = stringAppend(tmpMeta[8],_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
684#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
685 tmpMeta[10] = stringAppend(tmpMeta[9],stringDelimitList(omc_List_map(threadData, arrayList(_widthDir), boxvar_ExpressionDump_printExpStr((void*)((char*)(&(boxvar_lit_ExpressionDump_printExpStr)
.header) + 3))
), _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))));
686#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
687 tmpMeta[11] = stringAppend(tmpMeta[10],_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)));
688#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
689 tmpMeta[12] = stringAppend(tmpMeta[11],_OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)));
690#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
691 tmpMeta[13] = stringAppend(tmpMeta[12],stringDelimitList(omc_List_map(threadData, arrayList(_color), boxvar_ExpressionDump_printExpStr((void*)((char*)(&(boxvar_lit_ExpressionDump_printExpStr)
.header) + 3))
), _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))));
692#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
693 tmpMeta[14] = stringAppend(tmpMeta[13],_OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)));
694#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
695 tmpMeta[15] = stringAppend(tmpMeta[14],_OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)));
696#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
697 tmpMeta[16] = stringAppend(tmpMeta[15],omc_ExpressionDump_printExpStr(threadData, _width));
698#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
699 tmpMeta[17] = stringAppend(tmpMeta[16],_OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)));
700#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
701 tmpMeta[18] = stringAppend(tmpMeta[17],omc_ExpressionDump_printExpStr(threadData, _height));
702#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
703 tmpMeta[19] = stringAppend(tmpMeta[18],_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
704#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
705 tmpMeta[20] = stringAppend(tmpMeta[19],omc_ExpressionDump_printExpStr(threadData, _length));
706#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
707 tmpMeta[21] = stringAppend(tmpMeta[20],_OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
708#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
709 tmpMeta[22] = stringAppend(tmpMeta[21],stringDelimitList(omc_List_map(threadData, omc_List_flatten(threadData, arrayList(_T)), boxvar_ExpressionDump_printExpStr((void*)((char*)(&(boxvar_lit_ExpressionDump_printExpStr)
.header) + 3))
), _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))));
710#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
711 tmpMeta[23] = stringAppend(tmpMeta[22],_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)));
712#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
713 tmpMeta[24] = stringAppend(tmpMeta[23],_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)));
714#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
715 tmpMeta[25] = stringAppend(tmpMeta[24],omc_ExpressionDump_printExpStr(threadData, _extra));
716#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
717 tmpMeta[26] = stringAppend(tmpMeta[25],_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)));
718#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
719 tmp1 = tmpMeta[26];
720#line 720 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
721 goto tmp3_done;
722 }
723 case 1: {
724
725 /* Pattern matching succeeded */
726#line 548 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
727 tmp1 = _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3));
728#line 728 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
729 goto tmp3_done;
730 }
731 }
732 goto tmp3_end;
733 tmp3_end: ;
734 }
735 goto goto_2;
736 goto_2:;
737 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
738 goto tmp3_done;
739 tmp3_done:;
740 }
741 }
742 _s = tmp1;
743 _return: OMC_LABEL_UNUSED__attribute__((unused))
744 return _s;
745}
746
747PROTECTED_FUNCTION_STATIC modelica_metatype omc_VisualXML_fillShapeObject(threadData_t *threadData, modelica_metatype _cref, modelica_metatype _var, modelica_boolean _storeProtectedCrefs, modelica_metatype _program, modelica_metatype _visIn)
748{
749 modelica_metatype _visOut = NULL((void*)0);
750 modelica_metatype tmpMeta[27] __attribute__((unused)) = {0};
751 MMC_SO()mmc_check_stackoverflow(threadData);
752 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
753 // _visOut has no default value.
754#line 754 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
755 { /* matchcontinue expression */
756 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;volatile modelica_metatype tmp3_3;
757 tmp3_1 = _cref;
758 tmp3_2 = _var;
759 tmp3_3 = _visIn;
760 {
761 modelica_metatype _bind = NULL((void*)0);
762 modelica_metatype _ident = NULL((void*)0);
763 modelica_metatype _exp = NULL((void*)0);
764 modelica_metatype _length = NULL((void*)0);
765 modelica_metatype _width = NULL((void*)0);
766 modelica_metatype _height = NULL((void*)0);
767 modelica_metatype _extra = NULL((void*)0);
768 modelica_metatype _specularCoeff = NULL((void*)0);
769 modelica_metatype _shapeType = NULL((void*)0);
770 modelica_integer _pos;
771 modelica_integer _pos1;
772 modelica_metatype _color = NULL((void*)0);
773 modelica_metatype _r = NULL((void*)0);
774 modelica_metatype _lengthDir = NULL((void*)0);
775 modelica_metatype _widthDir = NULL((void*)0);
776 modelica_metatype _r_shape = NULL((void*)0);
777 modelica_metatype _T0 = NULL((void*)0);
778 modelica_metatype _T = NULL((void*)0);
779 volatile mmc_switch_type tmp3;
780 int tmp4;
781 // _bind has no default value.
782 // _ident has no default value.
783 // _exp has no default value.
784 // _length has no default value.
785 // _width has no default value.
786 // _height has no default value.
787 // _extra has no default value.
788 // _specularCoeff has no default value.
789 // _shapeType has no default value.
790 // _pos has no default value.
791 // _pos1 has no default value.
792 // _color has no default value.
793 // _r has no default value.
794 // _lengthDir has no default value.
795 // _widthDir has no default value.
796 // _r_shape has no default value.
797 // _T0 has no default value.
798 // _T has no default value.
799 tmp3 = 0;
800 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) {
801 tmp2_top:
802 threadData->mmc_jumper = &new_mmc_jumper;
803 for (; tmp3 < 13; tmp3++) {
804 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
805 case 0: {
806 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(7)))))
;
807 if (optionNone(tmpMeta[1])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[1]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
808 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
809 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
810 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
811 if (9 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT23)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT23).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp2_end;
812 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(2)))))
;
813 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(4)))))
;
814 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(5)))))
;
815 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(6)))))
;
816 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(7)))))
;
817 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(8)))))
;
818 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(9)))))
;
819 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(10)))))
;
820 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(11)))))
;
821 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 12))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(12)))))
;
822 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 13))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(13)))))
;
823 tmpMeta[15] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 14))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(14)))))
;
824 _exp = tmpMeta[2];
825 _ident = tmpMeta[4];
826 _T = tmpMeta[5];
827 _r = tmpMeta[6];
828 _r_shape = tmpMeta[7];
829 _lengthDir = tmpMeta[8];
830 _widthDir = tmpMeta[9];
831 _length = tmpMeta[10];
832 _width = tmpMeta[11];
833 _height = tmpMeta[12];
834 _extra = tmpMeta[13];
835 _color = tmpMeta[14];
836 _specularCoeff = tmpMeta[15];
837 tmp3 += 11; /* Pattern matching succeeded; we may skip some cases if we fail */
838#line 429 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
839 tmpMeta[1] = mmc_mk_box14(3, &VisualXML_Visualization_SHAPE__desc, _ident, _exp, _T, _r, _r_shape, _lengthDir, _widthDir, _length, _width, _height, _extra, _color, _specularCoeff);
840#line 429 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
841 tmpMeta[0] = tmpMeta[1];
842#line 842 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
843 goto tmp2_done;
844 }
845 case 1: {
846 modelica_integer tmp5;
847 modelica_integer tmp6;
848 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
849 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
850 if (1 != MMC_STRLEN(tmpMeta[1])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT24)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT24).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
) != 0) goto tmp2_end;
851 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
852 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
853 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
854 if (1 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT25)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT25).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp2_end;
855 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
856 if (listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
857 tmpMeta[5] = MMC_CAR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
858 tmpMeta[6] = MMC_CDR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
859 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) goto tmp2_end;
860 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
861 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[7],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
862 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (2)))))
;
863 tmp5 = mmc_unbox_integer(tmpMeta[8])(((mmc_sint_t) (tmpMeta[8])) >> 1);
864 if (listEmpty(tmpMeta[6])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
865 tmpMeta[9] = MMC_CAR(tmpMeta[6])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (1)))))
;
866 tmpMeta[10] = MMC_CDR(tmpMeta[6])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (2)))))
;
867 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[9],2,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9]) - 3)))==(((1 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
868 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[9]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[9]) - 3
))) + (2)))))
;
869 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[11],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[11]) - 3)))==(((1 +1
) << 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
870 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[11]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[11]) - 3
))) + (2)))))
;
871 tmp6 = mmc_unbox_integer(tmpMeta[12])(((mmc_sint_t) (tmpMeta[12])) >> 1);
872 if (!listEmpty(tmpMeta[10])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[10]) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) goto tmp2_end;
873 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(7)))))
;
874 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(2)))))
;
875 tmpMeta[15] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(3)))))
;
876 tmpMeta[16] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(4)))))
;
877 tmpMeta[17] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(5)))))
;
878 tmpMeta[18] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(6)))))
;
879 tmpMeta[19] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(7)))))
;
880 tmpMeta[20] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(8)))))
;
881 tmpMeta[21] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(9)))))
;
882 tmpMeta[22] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(10)))))
;
883 tmpMeta[23] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(11)))))
;
884 tmpMeta[24] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 12))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(12)))))
;
885 tmpMeta[25] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 13))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(13)))))
;
886 tmpMeta[26] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 14))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(14)))))
;
887 _pos = tmp5 /* pattern as ty=Integer */;
888 _pos1 = tmp6 /* pattern as ty=Integer */;
889 _bind = tmpMeta[13];
890 _ident = tmpMeta[14];
891 _shapeType = tmpMeta[15];
892 _T = tmpMeta[16];
893 _r = tmpMeta[17];
894 _r_shape = tmpMeta[18];
895 _lengthDir = tmpMeta[19];
896 _widthDir = tmpMeta[20];
897 _length = tmpMeta[21];
898 _width = tmpMeta[22];
899 _height = tmpMeta[23];
900 _extra = tmpMeta[24];
901 _color = tmpMeta[25];
902 _specularCoeff = tmpMeta[26];
903 tmp3 += 10; /* Pattern matching succeeded; we may skip some cases if we fail */
904#line 433 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
905 if(isSome(_bind)(0==((((((*(mmc_uint_t*)((void*)((char*)(_bind) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(_bind) - 3)
))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(_bind
) - 3)))) >> 10)) ? 0 : 1)
)
906#line 433 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
907 {
908#line 434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
909 _exp = (((!omc_Expression_isConstValue(threadData, omc_Util_getOption(threadData, _bind))) && _storeProtectedCrefs)?omc_BackendVariable_varExp(threadData, _var):omc_Util_getOption(threadData, _bind));
910#line 910 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
911 }
912 else
913 {
914#line 435 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
915 _exp = omc_BackendVariable_varExp(threadData, _var);
916#line 916 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
917 }
918
919#line 437 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
920 _T0 = arrayGet(_T, _pos)nobox_arrayGet(threadData,_T,_pos);
921#line 921 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
922
923#line 438 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
924 _T0 = omc_List_replaceAt(threadData, _exp, _pos1, _T0);
925#line 925 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
926
927#line 439 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
928 _T = arrayUpdate(_T, _pos, _T0)boxptr_arrayUpdate(threadData,_T,mmc_mk_icon(_pos),_T0);
929#line 929 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
930#line 440 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
931 tmpMeta[1] = mmc_mk_box14(3, &VisualXML_Visualization_SHAPE__desc, _ident, _shapeType, _T, _r, _r_shape, _lengthDir, _widthDir, _length, _width, _height, _extra, _color, _specularCoeff);
932#line 440 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
933 tmpMeta[0] = tmpMeta[1];
934#line 934 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
935 goto tmp2_done;
936 }
937 case 2: {
938 modelica_integer tmp7;
939 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
940 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
941 if (1 != MMC_STRLEN(tmpMeta[1])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT26)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT26).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
) != 0) goto tmp2_end;
942 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
943 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
944 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
945 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
946 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],2,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((1 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
947 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
948 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
949 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
950 tmp7 = mmc_unbox_integer(tmpMeta[6])(((mmc_sint_t) (tmpMeta[6])) >> 1);
951 if (!listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
952 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(7)))))
;
953 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(2)))))
;
954 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(3)))))
;
955 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(4)))))
;
956 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(5)))))
;
957 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(6)))))
;
958 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(7)))))
;
959 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(8)))))
;
960 tmpMeta[15] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(9)))))
;
961 tmpMeta[16] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(10)))))
;
962 tmpMeta[17] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(11)))))
;
963 tmpMeta[18] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 12))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(12)))))
;
964 tmpMeta[19] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 13))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(13)))))
;
965 tmpMeta[20] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 14))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(14)))))
;
966 _pos = tmp7 /* pattern as ty=Integer */;
967 _bind = tmpMeta[7];
968 _ident = tmpMeta[8];
969 _shapeType = tmpMeta[9];
970 _T = tmpMeta[10];
971 _r = tmpMeta[11];
972 _r_shape = tmpMeta[12];
973 _lengthDir = tmpMeta[13];
974 _widthDir = tmpMeta[14];
975 _length = tmpMeta[15];
976 _width = tmpMeta[16];
977 _height = tmpMeta[17];
978 _extra = tmpMeta[18];
979 _color = tmpMeta[19];
980 _specularCoeff = tmpMeta[20];
981 tmp3 += 9; /* Pattern matching succeeded; we may skip some cases if we fail */
982#line 444 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
983 if(isSome(_bind)(0==((((((*(mmc_uint_t*)((void*)((char*)(_bind) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(_bind) - 3)
))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(_bind
) - 3)))) >> 10)) ? 0 : 1)
)
984#line 444 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
985 {
986#line 445 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
987 _exp = (((!omc_Expression_isConstValue(threadData, omc_Util_getOption(threadData, _bind))) && _storeProtectedCrefs)?omc_BackendVariable_varExp(threadData, _var):omc_Util_getOption(threadData, _bind));
988#line 988 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
989 }
990 else
991 {
992#line 446 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
993 _exp = omc_BackendVariable_varExp(threadData, _var);
994#line 994 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
995 }
996
997#line 448 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
998 _r = arrayUpdate(_r, _pos, _exp)boxptr_arrayUpdate(threadData,_r,mmc_mk_icon(_pos),_exp);
999#line 999 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1000#line 449 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1001 tmpMeta[1] = mmc_mk_box14(3, &VisualXML_Visualization_SHAPE__desc, _ident, _shapeType, _T, _r, _r_shape, _lengthDir, _widthDir, _length, _width, _height, _extra, _color, _specularCoeff);
1002#line 449 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1003 tmpMeta[0] = tmpMeta[1];
1004#line 1004 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1005 goto tmp2_done;
1006 }
1007 case 3: {
1008 modelica_integer tmp8;
1009 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1010 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1011 if (7 != MMC_STRLEN(tmpMeta[1])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT27)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT27).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
) != 0) goto tmp2_end;
1012 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1013 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1014 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
1015 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1016 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],2,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((1 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
1017 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
1018 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1019 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
1020 tmp8 = mmc_unbox_integer(tmpMeta[6])(((mmc_sint_t) (tmpMeta[6])) >> 1);
1021 if (!listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1022 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(7)))))
;
1023 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(2)))))
;
1024 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(3)))))
;
1025 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(4)))))
;
1026 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(5)))))
;
1027 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(6)))))
;
1028 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(7)))))
;
1029 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(8)))))
;
1030 tmpMeta[15] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(9)))))
;
1031 tmpMeta[16] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(10)))))
;
1032 tmpMeta[17] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(11)))))
;
1033 tmpMeta[18] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 12))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(12)))))
;
1034 tmpMeta[19] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 13))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(13)))))
;
1035 tmpMeta[20] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 14))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(14)))))
;
1036 _pos = tmp8 /* pattern as ty=Integer */;
1037 _bind = tmpMeta[7];
1038 _ident = tmpMeta[8];
1039 _shapeType = tmpMeta[9];
1040 _T = tmpMeta[10];
1041 _r = tmpMeta[11];
1042 _r_shape = tmpMeta[12];
1043 _lengthDir = tmpMeta[13];
1044 _widthDir = tmpMeta[14];
1045 _length = tmpMeta[15];
1046 _width = tmpMeta[16];
1047 _height = tmpMeta[17];
1048 _extra = tmpMeta[18];
1049 _color = tmpMeta[19];
1050 _specularCoeff = tmpMeta[20];
1051 tmp3 += 8; /* Pattern matching succeeded; we may skip some cases if we fail */
1052#line 453 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1053 if(isSome(_bind)(0==((((((*(mmc_uint_t*)((void*)((char*)(_bind) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(_bind) - 3)
))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(_bind
) - 3)))) >> 10)) ? 0 : 1)
)
1054#line 453 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1055 {
1056#line 454 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1057 _exp = (((!omc_Expression_isConstValue(threadData, omc_Util_getOption(threadData, _bind))) && _storeProtectedCrefs)?omc_BackendVariable_varExp(threadData, _var):omc_Util_getOption(threadData, _bind));
1058#line 1058 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1059 }
1060 else
1061 {
1062#line 455 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1063 _exp = omc_BackendVariable_varExp(threadData, _var);
1064#line 1064 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1065 }
1066
1067#line 457 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1068 _r_shape = arrayUpdate(_r_shape, _pos, _exp)boxptr_arrayUpdate(threadData,_r_shape,mmc_mk_icon(_pos),_exp
)
;
1069#line 1069 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1070#line 458 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1071 tmpMeta[1] = mmc_mk_box14(3, &VisualXML_Visualization_SHAPE__desc, _ident, _shapeType, _T, _r, _r_shape, _lengthDir, _widthDir, _length, _width, _height, _extra, _color, _specularCoeff);
1072#line 458 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1073 tmpMeta[0] = tmpMeta[1];
1074#line 1074 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1075 goto tmp2_done;
1076 }
1077 case 4: {
1078 modelica_integer tmp9;
1079 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1080 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1081 if (15 != MMC_STRLEN(tmpMeta[1])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT28)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT28).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
) != 0) goto tmp2_end;
1082 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1083 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1084 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
1085 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1086 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],2,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((1 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
1087 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
1088 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1089 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
1090 tmp9 = mmc_unbox_integer(tmpMeta[6])(((mmc_sint_t) (tmpMeta[6])) >> 1);
1091 if (!listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1092 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(7)))))
;
1093 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(2)))))
;
1094 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(3)))))
;
1095 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(4)))))
;
1096 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(5)))))
;
1097 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(6)))))
;
1098 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(7)))))
;
1099 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(8)))))
;
1100 tmpMeta[15] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(9)))))
;
1101 tmpMeta[16] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(10)))))
;
1102 tmpMeta[17] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(11)))))
;
1103 tmpMeta[18] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 12))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(12)))))
;
1104 tmpMeta[19] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 13))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(13)))))
;
1105 tmpMeta[20] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 14))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(14)))))
;
1106 _pos = tmp9 /* pattern as ty=Integer */;
1107 _bind = tmpMeta[7];
1108 _ident = tmpMeta[8];
1109 _shapeType = tmpMeta[9];
1110 _T = tmpMeta[10];
1111 _r = tmpMeta[11];
1112 _r_shape = tmpMeta[12];
1113 _lengthDir = tmpMeta[13];
1114 _widthDir = tmpMeta[14];
1115 _length = tmpMeta[15];
1116 _width = tmpMeta[16];
1117 _height = tmpMeta[17];
1118 _extra = tmpMeta[18];
1119 _color = tmpMeta[19];
1120 _specularCoeff = tmpMeta[20];
1121 tmp3 += 7; /* Pattern matching succeeded; we may skip some cases if we fail */
1122#line 462 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1123 if(isSome(_bind)(0==((((((*(mmc_uint_t*)((void*)((char*)(_bind) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(_bind) - 3)
))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(_bind
) - 3)))) >> 10)) ? 0 : 1)
)
1124#line 462 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1125 {
1126#line 463 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1127 _exp = (((!omc_Expression_isConstValue(threadData, omc_Util_getOption(threadData, _bind))) && _storeProtectedCrefs)?omc_BackendVariable_varExp(threadData, _var):omc_Util_getOption(threadData, _bind));
1128#line 1128 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1129 }
1130 else
1131 {
1132#line 464 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1133 _exp = omc_BackendVariable_varExp(threadData, _var);
1134#line 1134 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1135 }
1136
1137#line 466 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1138 _lengthDir = arrayUpdate(_lengthDir, _pos, _exp)boxptr_arrayUpdate(threadData,_lengthDir,mmc_mk_icon(_pos),_exp
)
;
1139#line 1139 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1140#line 467 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1141 tmpMeta[1] = mmc_mk_box14(3, &VisualXML_Visualization_SHAPE__desc, _ident, _shapeType, _T, _r, _r_shape, _lengthDir, _widthDir, _length, _width, _height, _extra, _color, _specularCoeff);
1142#line 467 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1143 tmpMeta[0] = tmpMeta[1];
1144#line 1144 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1145 goto tmp2_done;
1146 }
1147 case 5: {
1148 modelica_integer tmp10;
1149 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1150 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1151 if (14 != MMC_STRLEN(tmpMeta[1])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT29)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT29).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
) != 0) goto tmp2_end;
1152 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1153 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1154 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
1155 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1156 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],2,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((1 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
1157 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
1158 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1159 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
1160 tmp10 = mmc_unbox_integer(tmpMeta[6])(((mmc_sint_t) (tmpMeta[6])) >> 1);
1161 if (!listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1162 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(7)))))
;
1163 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(2)))))
;
1164 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(3)))))
;
1165 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(4)))))
;
1166 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(5)))))
;
1167 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(6)))))
;
1168 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(7)))))
;
1169 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(8)))))
;
1170 tmpMeta[15] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(9)))))
;
1171 tmpMeta[16] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(10)))))
;
1172 tmpMeta[17] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(11)))))
;
1173 tmpMeta[18] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 12))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(12)))))
;
1174 tmpMeta[19] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 13))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(13)))))
;
1175 tmpMeta[20] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 14))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(14)))))
;
1176 _pos = tmp10 /* pattern as ty=Integer */;
1177 _bind = tmpMeta[7];
1178 _ident = tmpMeta[8];
1179 _shapeType = tmpMeta[9];
1180 _T = tmpMeta[10];
1181 _r = tmpMeta[11];
1182 _r_shape = tmpMeta[12];
1183 _lengthDir = tmpMeta[13];
1184 _widthDir = tmpMeta[14];
1185 _length = tmpMeta[15];
1186 _width = tmpMeta[16];
1187 _height = tmpMeta[17];
1188 _extra = tmpMeta[18];
1189 _color = tmpMeta[19];
1190 _specularCoeff = tmpMeta[20];
1191 tmp3 += 6; /* Pattern matching succeeded; we may skip some cases if we fail */
1192#line 471 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1193 if(isSome(_bind)(0==((((((*(mmc_uint_t*)((void*)((char*)(_bind) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(_bind) - 3)
))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(_bind
) - 3)))) >> 10)) ? 0 : 1)
)
1194#line 471 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1195 {
1196#line 472 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1197 _exp = (((!omc_Expression_isConstValue(threadData, omc_Util_getOption(threadData, _bind))) && _storeProtectedCrefs)?omc_BackendVariable_varExp(threadData, _var):omc_Util_getOption(threadData, _bind));
1198#line 1198 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1199 }
1200 else
1201 {
1202#line 473 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1203 _exp = omc_BackendVariable_varExp(threadData, _var);
1204#line 1204 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1205 }
1206
1207#line 475 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1208 _widthDir = arrayUpdate(_widthDir, _pos, _exp)boxptr_arrayUpdate(threadData,_widthDir,mmc_mk_icon(_pos),_exp
)
;
1209#line 1209 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1210#line 476 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1211 tmpMeta[1] = mmc_mk_box14(3, &VisualXML_Visualization_SHAPE__desc, _ident, _shapeType, _T, _r, _r_shape, _lengthDir, _widthDir, _length, _width, _height, _extra, _color, _specularCoeff);
1212#line 476 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1213 tmpMeta[0] = tmpMeta[1];
1214#line 1214 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1215 goto tmp2_done;
1216 }
1217 case 6: {
1218 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1219 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1220 if (6 != MMC_STRLEN(tmpMeta[1])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT30)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT30).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
) != 0) goto tmp2_end;
1221 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(7)))))
;
1222 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(2)))))
;
1223 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(3)))))
;
1224 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(4)))))
;
1225 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(5)))))
;
1226 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(6)))))
;
1227 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(7)))))
;
1228 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(8)))))
;
1229 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(10)))))
;
1230 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(11)))))
;
1231 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 12))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(12)))))
;
1232 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 13))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(13)))))
;
1233 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 14))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(14)))))
;
1234 _bind = tmpMeta[2];
1235 _ident = tmpMeta[3];
1236 _shapeType = tmpMeta[4];
1237 _T = tmpMeta[5];
1238 _r = tmpMeta[6];
1239 _r_shape = tmpMeta[7];
1240 _lengthDir = tmpMeta[8];
1241 _widthDir = tmpMeta[9];
1242 _width = tmpMeta[10];
1243 _height = tmpMeta[11];
1244 _extra = tmpMeta[12];
1245 _color = tmpMeta[13];
1246 _specularCoeff = tmpMeta[14];
1247 tmp3 += 5; /* Pattern matching succeeded; we may skip some cases if we fail */
1248#line 480 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1249 if(isSome(_bind)(0==((((((*(mmc_uint_t*)((void*)((char*)(_bind) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(_bind) - 3)
))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(_bind
) - 3)))) >> 10)) ? 0 : 1)
)
1250#line 480 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1251 {
1252#line 481 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1253 _exp = (((!omc_Expression_isConstValue(threadData, omc_Util_getOption(threadData, _bind))) && _storeProtectedCrefs)?omc_BackendVariable_varExp(threadData, _var):omc_Util_getOption(threadData, _bind));
1254#line 1254 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1255 }
1256 else
1257 {
1258#line 482 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1259 _exp = omc_BackendVariable_varExp(threadData, _var);
1260#line 1260 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1261 }
1262#line 484 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1263 tmpMeta[1] = mmc_mk_box14(3, &VisualXML_Visualization_SHAPE__desc, _ident, _shapeType, _T, _r, _r_shape, _lengthDir, _widthDir, _exp, _width, _height, _extra, _color, _specularCoeff);
1264#line 484 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1265 tmpMeta[0] = tmpMeta[1];
1266#line 1266 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1267 goto tmp2_done;
1268 }
1269 case 7: {
1270 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1271 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1272 if (5 != MMC_STRLEN(tmpMeta[1])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT31)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT31).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
) != 0) goto tmp2_end;
1273 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(7)))))
;
1274 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(2)))))
;
1275 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(3)))))
;
1276 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(4)))))
;
1277 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(5)))))
;
1278 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(6)))))
;
1279 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(7)))))
;
1280 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(8)))))
;
1281 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(9)))))
;
1282 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(11)))))
;
1283 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 12))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(12)))))
;
1284 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 13))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(13)))))
;
1285 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 14))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(14)))))
;
1286 _bind = tmpMeta[2];
1287 _ident = tmpMeta[3];
1288 _shapeType = tmpMeta[4];
1289 _T = tmpMeta[5];
1290 _r = tmpMeta[6];
1291 _r_shape = tmpMeta[7];
1292 _lengthDir = tmpMeta[8];
1293 _widthDir = tmpMeta[9];
1294 _length = tmpMeta[10];
1295 _height = tmpMeta[11];
1296 _extra = tmpMeta[12];
1297 _color = tmpMeta[13];
1298 _specularCoeff = tmpMeta[14];
1299 tmp3 += 4; /* Pattern matching succeeded; we may skip some cases if we fail */
1300#line 488 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1301 if(isSome(_bind)(0==((((((*(mmc_uint_t*)((void*)((char*)(_bind) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(_bind) - 3)
))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(_bind
) - 3)))) >> 10)) ? 0 : 1)
)
1302#line 488 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1303 {
1304#line 489 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1305 _exp = (((!omc_Expression_isConstValue(threadData, omc_Util_getOption(threadData, _bind))) && _storeProtectedCrefs)?omc_BackendVariable_varExp(threadData, _var):omc_Util_getOption(threadData, _bind));
1306#line 1306 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1307 }
1308 else
1309 {
1310#line 490 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1311 _exp = omc_BackendVariable_varExp(threadData, _var);
1312#line 1312 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1313 }
1314#line 492 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1315 tmpMeta[1] = mmc_mk_box14(3, &VisualXML_Visualization_SHAPE__desc, _ident, _shapeType, _T, _r, _r_shape, _lengthDir, _widthDir, _length, _exp, _height, _extra, _color, _specularCoeff);
1316#line 492 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1317 tmpMeta[0] = tmpMeta[1];
1318#line 1318 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1319 goto tmp2_done;
1320 }
1321 case 8: {
1322 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1323 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1324 if (6 != MMC_STRLEN(tmpMeta[1])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT32)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT32).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
) != 0) goto tmp2_end;
1325 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(7)))))
;
1326 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(2)))))
;
1327 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(3)))))
;
1328 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(4)))))
;
1329 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(5)))))
;
1330 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(6)))))
;
1331 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(7)))))
;
1332 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(8)))))
;
1333 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(9)))))
;
1334 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(10)))))
;
1335 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 12))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(12)))))
;
1336 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 13))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(13)))))
;
1337 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 14))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(14)))))
;
1338 _bind = tmpMeta[2];
1339 _ident = tmpMeta[3];
1340 _shapeType = tmpMeta[4];
1341 _T = tmpMeta[5];
1342 _r = tmpMeta[6];
1343 _r_shape = tmpMeta[7];
1344 _lengthDir = tmpMeta[8];
1345 _widthDir = tmpMeta[9];
1346 _length = tmpMeta[10];
1347 _width = tmpMeta[11];
1348 _extra = tmpMeta[12];
1349 _color = tmpMeta[13];
1350 _specularCoeff = tmpMeta[14];
1351 tmp3 += 3; /* Pattern matching succeeded; we may skip some cases if we fail */
1352#line 496 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1353 if(isSome(_bind)(0==((((((*(mmc_uint_t*)((void*)((char*)(_bind) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(_bind) - 3)
))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(_bind
) - 3)))) >> 10)) ? 0 : 1)
)
1354#line 496 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1355 {
1356#line 497 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1357 _exp = (((!omc_Expression_isConstValue(threadData, omc_Util_getOption(threadData, _bind))) && _storeProtectedCrefs)?omc_BackendVariable_varExp(threadData, _var):omc_Util_getOption(threadData, _bind));
1358#line 1358 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1359 }
1360 else
1361 {
1362#line 498 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1363 _exp = omc_BackendVariable_varExp(threadData, _var);
1364#line 1364 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1365 }
1366#line 500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1367 tmpMeta[1] = mmc_mk_box14(3, &VisualXML_Visualization_SHAPE__desc, _ident, _shapeType, _T, _r, _r_shape, _lengthDir, _widthDir, _length, _width, _exp, _extra, _color, _specularCoeff);
1368#line 500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1369 tmpMeta[0] = tmpMeta[1];
1370#line 1370 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1371 goto tmp2_done;
1372 }
1373 case 9: {
1374 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1375 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1376 if (5 != MMC_STRLEN(tmpMeta[1])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT33)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT33).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
) != 0) goto tmp2_end;
1377 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(7)))))
;
1378 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(2)))))
;
1379 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(3)))))
;
1380 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(4)))))
;
1381 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(5)))))
;
1382 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(6)))))
;
1383 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(7)))))
;
1384 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(8)))))
;
1385 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(9)))))
;
1386 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(10)))))
;
1387 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(11)))))
;
1388 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 13))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(13)))))
;
1389 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 14))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(14)))))
;
1390 _bind = tmpMeta[2];
1391 _ident = tmpMeta[3];
1392 _shapeType = tmpMeta[4];
1393 _T = tmpMeta[5];
1394 _r = tmpMeta[6];
1395 _r_shape = tmpMeta[7];
1396 _lengthDir = tmpMeta[8];
1397 _widthDir = tmpMeta[9];
1398 _length = tmpMeta[10];
1399 _width = tmpMeta[11];
1400 _height = tmpMeta[12];
1401 _color = tmpMeta[13];
1402 _specularCoeff = tmpMeta[14];
1403 tmp3 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
1404#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1405 if(isSome(_bind)(0==((((((*(mmc_uint_t*)((void*)((char*)(_bind) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(_bind) - 3)
))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(_bind
) - 3)))) >> 10)) ? 0 : 1)
)
1406#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1407 {
1408#line 505 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1409 _exp = (((!omc_Expression_isConstValue(threadData, omc_Util_getOption(threadData, _bind))) && _storeProtectedCrefs)?omc_BackendVariable_varExp(threadData, _var):omc_Util_getOption(threadData, _bind));
1410#line 1410 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1411 }
1412 else
1413 {
1414#line 506 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1415 _exp = omc_BackendVariable_varExp(threadData, _var);
1416#line 1416 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1417 }
1418#line 508 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1419 tmpMeta[1] = mmc_mk_box14(3, &VisualXML_Visualization_SHAPE__desc, _ident, _shapeType, _T, _r, _r_shape, _lengthDir, _widthDir, _length, _width, _height, _exp, _color, _specularCoeff);
1420#line 508 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1421 tmpMeta[0] = tmpMeta[1];
1422#line 1422 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1423 goto tmp2_done;
1424 }
1425 case 10: {
1426 modelica_integer tmp11;
1427 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1428 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1429 if (5 != MMC_STRLEN(tmpMeta[1])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT34)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT34).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
) != 0) goto tmp2_end;
1430 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1431 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1432 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
1433 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1434 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],2,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((1 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
1435 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
1436 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1437 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
1438 tmp11 = mmc_unbox_integer(tmpMeta[6])(((mmc_sint_t) (tmpMeta[6])) >> 1);
1439 if (!listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1440 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(7)))))
;
1441 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(2)))))
;
1442 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(3)))))
;
1443 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(4)))))
;
1444 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(5)))))
;
1445 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(6)))))
;
1446 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(7)))))
;
1447 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(8)))))
;
1448 tmpMeta[15] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(9)))))
;
1449 tmpMeta[16] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(10)))))
;
1450 tmpMeta[17] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(11)))))
;
1451 tmpMeta[18] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 12))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(12)))))
;
1452 tmpMeta[19] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 13))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(13)))))
;
1453 tmpMeta[20] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 14))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(14)))))
;
1454 _pos = tmp11 /* pattern as ty=Integer */;
1455 _bind = tmpMeta[7];
1456 _ident = tmpMeta[8];
1457 _shapeType = tmpMeta[9];
1458 _T = tmpMeta[10];
1459 _r = tmpMeta[11];
1460 _r_shape = tmpMeta[12];
1461 _lengthDir = tmpMeta[13];
1462 _widthDir = tmpMeta[14];
1463 _length = tmpMeta[15];
1464 _width = tmpMeta[16];
1465 _height = tmpMeta[17];
1466 _extra = tmpMeta[18];
1467 _color = tmpMeta[19];
1468 _specularCoeff = tmpMeta[20];
1469 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
1470#line 512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1471 if(isSome(_bind)(0==((((((*(mmc_uint_t*)((void*)((char*)(_bind) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(_bind) - 3)
))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(_bind
) - 3)))) >> 10)) ? 0 : 1)
)
1472#line 512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1473 {
1474#line 513 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1475 _exp = (((!omc_Expression_isConstValue(threadData, omc_Util_getOption(threadData, _bind))) && _storeProtectedCrefs)?omc_BackendVariable_varExp(threadData, _var):omc_Util_getOption(threadData, _bind));
1476#line 1476 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1477 }
1478 else
1479 {
1480#line 514 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1481 _exp = omc_BackendVariable_varExp(threadData, _var);
1482#line 1482 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1483 }
1484
1485#line 516 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1486 _color = arrayUpdate(_color, _pos, _exp)boxptr_arrayUpdate(threadData,_color,mmc_mk_icon(_pos),_exp);
1487#line 1487 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1488#line 517 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1489 tmpMeta[1] = mmc_mk_box14(3, &VisualXML_Visualization_SHAPE__desc, _ident, _shapeType, _T, _r, _r_shape, _lengthDir, _widthDir, _length, _width, _height, _extra, _color, _specularCoeff);
1490#line 517 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1491 tmpMeta[0] = tmpMeta[1];
1492#line 1492 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1493 goto tmp2_done;
1494 }
1495 case 11: {
1496 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1497 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1498 if (19 != MMC_STRLEN(tmpMeta[1])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT35)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT35).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
) != 0) goto tmp2_end;
1499 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(7)))))
;
1500 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(2)))))
;
1501 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(3)))))
;
1502 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(4)))))
;
1503 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(5)))))
;
1504 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(6)))))
;
1505 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(7)))))
;
1506 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(8)))))
;
1507 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(9)))))
;
1508 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(10)))))
;
1509 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(11)))))
;
1510 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 12))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(12)))))
;
1511 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_3), 13))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(13)))))
;
1512
1513 _bind = tmpMeta[2];
1514 _ident = tmpMeta[3];
1515 _shapeType = tmpMeta[4];
1516 _T = tmpMeta[5];
1517 _r = tmpMeta[6];
1518 _r_shape = tmpMeta[7];
1519 _lengthDir = tmpMeta[8];
1520 _widthDir = tmpMeta[9];
1521 _length = tmpMeta[10];
1522 _width = tmpMeta[11];
1523 _height = tmpMeta[12];
1524 _extra = tmpMeta[13];
1525 _color = tmpMeta[14];
1526 /* Pattern matching succeeded */
1527#line 521 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1528 if(isSome(_bind)(0==((((((*(mmc_uint_t*)((void*)((char*)(_bind) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(_bind) - 3)
))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(_bind
) - 3)))) >> 10)) ? 0 : 1)
)
1529#line 521 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1530 {
1531#line 522 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1532 _exp = (((!omc_Expression_isConstValue(threadData, omc_Util_getOption(threadData, _bind))) && _storeProtectedCrefs)?omc_BackendVariable_varExp(threadData, _var):omc_Util_getOption(threadData, _bind));
1533#line 1533 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1534 }
1535 else
1536 {
1537#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1538 _exp = omc_BackendVariable_varExp(threadData, _var);
1539#line 1539 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1540 }
1541#line 525 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1542 tmpMeta[1] = mmc_mk_box14(3, &VisualXML_Visualization_SHAPE__desc, _ident, _shapeType, _T, _r, _r_shape, _lengthDir, _widthDir, _length, _width, _height, _extra, _color, _exp);
1543#line 525 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1544 tmpMeta[0] = tmpMeta[1];
1545#line 1545 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1546 goto tmp2_done;
1547 }
1548 case 12: {
1549
1550 /* Pattern matching succeeded */
1551#line 527 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1552 tmpMeta[0] = _visIn;
1553#line 1553 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1554 goto tmp2_done;
1555 }
1556 }
1557 goto tmp2_end;
1558 tmp2_end: ;
1559 }
1560 goto goto_1;
1561 tmp2_done:
1562 (void)tmp3;
1563 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1564 goto tmp2_done2;
1565 goto_1:;
1566 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1567 if (++tmp3 < 13) {
1568 goto tmp2_top;
1569 }
1570 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1571 tmp2_done2:;
1572 }
1573 }
1574 _visOut = tmpMeta[0];
1575 _return: OMC_LABEL_UNUSED__attribute__((unused))
1576 return _visOut;
1577}
1578PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_VisualXML_fillShapeObject(threadData_t *threadData, modelica_metatype _cref, modelica_metatype _var, modelica_metatype _storeProtectedCrefs, modelica_metatype _program, modelica_metatype _visIn)
1579{
1580 modelica_integer tmp1;
1581 modelica_metatype _visOut = NULL((void*)0);
1582 tmp1 = mmc_unbox_integer(_storeProtectedCrefs)(((mmc_sint_t) (_storeProtectedCrefs)) >> 1);
1583 _visOut = omc_VisualXML_fillShapeObject(threadData, _cref, _var, tmp1, _program, _visIn);
1584 /* skip box _visOut; VisualXML.Visualization */
1585 return _visOut;
1586}
1587
1588PROTECTED_FUNCTION_STATIC modelica_string omc_VisualXML_getFullCADFilePath(threadData_t *threadData, modelica_string _sIn, modelica_metatype _program)
1589{
1590 modelica_string _sOut = NULL((void*)0);
1591 modelica_string _head = NULL((void*)0);
1592 modelica_string _packName = NULL((void*)0);
1593 modelica_string _file = NULL((void*)0);
1594 modelica_string _path = NULL((void*)0);
1595 modelica_metatype _hierarchy = NULL((void*)0);
1596 modelica_metatype _chars = NULL((void*)0);
1597 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
1598 MMC_SO()mmc_check_stackoverflow(threadData);
1599 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1600 _sOut = _sIn;
1601 // _head has no default value.
1602 // _packName has no default value.
1603 // _file has no default value.
1604 // _path has no default value.
1605 // _hierarchy has no default value.
1606 // _chars has no default value.
1607#line 401 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1608 _chars = stringListStringChar(_sIn);
1609#line 1609 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1610
1611#line 402 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1612 if(((listLength(_chars) > ((modelica_integer) 11)) && (stringEqual(stringDelimitList(omc_List_firstN(threadData, _chars, ((modelica_integer) 11)), _OMC_LIT0), _OMC_LIT36)((((((*(mmc_uint_t*)((void*)((char*)(stringDelimitList(omc_List_firstN
(threadData, _chars, ((modelica_integer) 11)), ((void*)((char
*)(&(_OMC_LIT_STRUCT0).header) + 3)))) - 3)))) >> (
3)) - 8)) == (((((*(mmc_uint_t*)((void*)((char*)(((void*)((char
*)(&(_OMC_LIT_STRUCT36).header) + 3))) - 3)))) >> (
3)) - 8)) && !mmc_stringCompare(stringDelimitList(omc_List_firstN
(threadData, _chars, ((modelica_integer) 11)), ((void*)((char
*)(&(_OMC_LIT_STRUCT0).header) + 3))),((void*)((char*)(&
(_OMC_LIT_STRUCT36).header) + 3))))
)))
1613#line 402 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1614 {
1615#line 403 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1616 tmpMeta[0] = stringAppend(_OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)),omc_CevalScript_getFullPathFromUri(threadData, _program, _sIn, 1));
1617#line 403 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1618 _sOut = tmpMeta[0];
1619#line 1619 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1620 }
1621 _return: OMC_LABEL_UNUSED__attribute__((unused))
1622 return _sOut;
1623}
1624
1625PROTECTED_FUNCTION_STATIC modelica_metatype omc_VisualXML_fillVisualizationObjects1(threadData_t *threadData, modelica_metatype _varIn, modelica_boolean _storeProtectedCrefs, modelica_metatype _program, modelica_metatype _tplIn)
1626{
1627 modelica_metatype _tplOut = NULL((void*)0);
1628 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
1629 MMC_SO()mmc_check_stackoverflow(threadData);
1630 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1631 // _tplOut has no default value.
1632#line 1632 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1633 { /* matchcontinue expression */
1634 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;
1635 tmp3_1 = _varIn;
1636 tmp3_2 = _tplIn;
1637 {
1638 modelica_metatype _vars = NULL((void*)0);
1639 modelica_metatype _cref = NULL((void*)0);
1640 modelica_metatype _cref1 = NULL((void*)0);
1641 modelica_metatype _ident = NULL((void*)0);
1642 modelica_metatype _vis = NULL((void*)0);
1643 volatile mmc_switch_type tmp3;
1644 int tmp4;
1645 // _vars has no default value.
1646 // _cref has no default value.
1647 // _cref1 has no default value.
1648 // _ident has no default value.
1649 // _vis has no default value.
1650 tmp3 = 0;
1651 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) {
1652 tmp2_top:
1653 threadData->mmc_jumper = &new_mmc_jumper;
1654 for (; tmp3 < 2; tmp3++) {
1655 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1656 case 0: {
1657 modelica_boolean tmp5;
1658 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1659 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
1660 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
1661 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
1662
1663 _cref = tmpMeta[1];
1664 _vars = tmpMeta[2];
1665 _vis = tmpMeta[3];
1666 _ident = tmpMeta[4];
1667 /* Pattern matching succeeded */
1668#line 382 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1669 /* Pattern-matching tuple assignment */
1670#line 382 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1671 tmpMeta[1] = omc_VisualXML_splitCrefAfter(threadData, _cref, _ident, &tmp5);
1672#line 382 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1673 _cref1 = tmpMeta[1];
1674#line 382 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1675 if (1 != tmp5) goto goto_1;
1676#line 1676 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1677
1678#line 383 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1679 _vis = omc_VisualXML_fillShapeObject(threadData, _cref1, _varIn, _storeProtectedCrefs, _program, _vis);
1680#line 1680 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1681#line 384 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1682 tmpMeta[1] = mmc_mk_box2(0, _vars, _vis);
1683#line 384 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1684 tmpMeta[0] = tmpMeta[1];
1685#line 1685 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1686 goto tmp2_done;
1687 }
1688 case 1: {
1689
1690 /* Pattern matching succeeded */
1691#line 387 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1692 /* Pattern-matching assignment */
1693#line 387 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1694 tmpMeta[1] = _tplIn;
1695#line 387 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1696 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
1697#line 387 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1698 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
1699#line 387 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1700 _vars = tmpMeta[2];
1701#line 387 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1702 _vis = tmpMeta[3];
1703#line 1703 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1704#line 388 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1705 tmpMeta[1] = mmc_mk_cons(_varIn, _vars);
1706#line 388 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1707 tmpMeta[2] = mmc_mk_box2(0, tmpMeta[1], _vis);
1708#line 388 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1709 tmpMeta[0] = tmpMeta[2];
1710#line 1710 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1711 goto tmp2_done;
1712 }
1713 }
1714 goto tmp2_end;
1715 tmp2_end: ;
1716 }
1717 goto goto_1;
1718 tmp2_done:
1719 (void)tmp3;
1720 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1721 goto tmp2_done2;
1722 goto_1:;
1723 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1724 if (++tmp3 < 2) {
1725 goto tmp2_top;
1726 }
1727 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1728 tmp2_done2:;
1729 }
1730 }
1731 _tplOut = tmpMeta[0];
1732 _return: OMC_LABEL_UNUSED__attribute__((unused))
1733 return _tplOut;
1734}
1735PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_VisualXML_fillVisualizationObjects1(threadData_t *threadData, modelica_metatype _varIn, modelica_metatype _storeProtectedCrefs, modelica_metatype _program, modelica_metatype _tplIn)
1736{
1737 modelica_integer tmp1;
1738 modelica_metatype _tplOut = NULL((void*)0);
1739 tmp1 = mmc_unbox_integer(_storeProtectedCrefs)(((mmc_sint_t) (_storeProtectedCrefs)) >> 1);
1740 _tplOut = omc_VisualXML_fillVisualizationObjects1(threadData, _varIn, tmp1, _program, _tplIn);
1741 /* skip box _tplOut; tuple<list<BackendDAE.Var>, VisualXML.Visualization> */
1742 return _tplOut;
1743}
1744
1745PROTECTED_FUNCTION_STATIC modelica_metatype omc_VisualXML_splitCrefAfter(threadData_t *threadData, modelica_metatype _crefIn, modelica_metatype _crefCut, modelica_boolean *out_wasCut)
1746{
1747 modelica_metatype _crefOut = NULL((void*)0);
1748 modelica_boolean _wasCut;
1749 modelica_boolean tmp1_c1 __attribute__((unused)) = 0;
1750 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1751 MMC_SO()mmc_check_stackoverflow(threadData);
1752 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1753 // _crefOut has no default value.
1754 // _wasCut has no default value.
1755#line 336 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1756
1757#line 336 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1758
1759#line 1759 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1760 { /* matchcontinue expression */
1761 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
1762 tmp4_1 = _crefIn;
1763 tmp4_2 = _crefCut;
1764 {
1765 modelica_metatype _crefCut1 = NULL((void*)0);
1766 modelica_metatype _crefIn1 = NULL((void*)0);
1767 volatile mmc_switch_type tmp4;
1768 int tmp5;
1769 // _crefCut1 has no default value.
1770 // _crefIn1 has no default value.
1771 tmp4 = 0;
1772 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) {
1773 tmp3_top:
1774 threadData->mmc_jumper = &new_mmc_jumper;
1775 for (; tmp4 < 5; tmp4++) {
1776 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1777 case 0: {
1778 modelica_boolean tmp6;
1779 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
1780 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(5)))))
;
1781 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
1782
1783 _crefIn1 = tmpMeta[2];
1784 /* Pattern matching succeeded */
1785#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1786 /* Pattern-matching assignment */
1787#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1788 tmp6 = (!omc_ComponentReference_crefFirstCrefEqual(threadData, _crefIn, _crefCut));
1789#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1790 if (1 != tmp6) goto goto_2;
1791#line 1791 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1792#line 343 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1793 tmpMeta[0+0] = omc_VisualXML_splitCrefAfter(threadData, _crefIn1, _crefCut, &tmp1_c1);
1794#line 1794 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1795 goto tmp3_done;
1796 }
1797 case 1: {
1798 modelica_boolean tmp7;
1799 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
1800 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(5)))))
;
1801 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
1802 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(5)))))
;
1803 _crefIn1 = tmpMeta[2];
1804 _crefCut1 = tmpMeta[3];
1805 tmp4 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
1806#line 347 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1807 /* Pattern-matching assignment */
1808#line 347 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1809 tmp7 = omc_ComponentReference_crefFirstCrefEqual(threadData, _crefIn, _crefCut);
1810#line 347 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1811 if (1 != tmp7) goto goto_2;
1812#line 1812 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1813#line 348 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1814 tmpMeta[0+0] = omc_VisualXML_splitCrefAfter(threadData, _crefIn1, _crefCut1, &tmp1_c1);
1815#line 1815 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1816 goto tmp3_done;
1817 }
1818 case 2: {
1819 modelica_boolean tmp8;
1820 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
1821 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(5)))))
;
1822 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
1823
1824 _crefIn1 = tmpMeta[2];
1825 /* Pattern matching succeeded */
1826#line 352 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1827 /* Pattern-matching assignment */
1828#line 352 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1829 tmp8 = omc_ComponentReference_crefFirstCrefEqual(threadData, _crefIn, _crefCut);
1830#line 352 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1831 if (1 != tmp8) goto goto_2;
1832#line 1832 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1833#line 353 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1834 tmpMeta[0+0] = _crefIn1;
1835#line 353 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1836 tmp1_c1 = 1;
1837#line 1837 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1838 goto tmp3_done;
1839 }
1840 case 3: {
1841 modelica_boolean tmp9;
1842 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
1843 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(5)))))
;
1844 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
1845
1846 _crefIn1 = tmpMeta[2];
1847 /* Pattern matching succeeded */
1848#line 357 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1849 /* Pattern-matching assignment */
1850#line 357 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1851 tmp9 = (!omc_ComponentReference_crefFirstCrefEqual(threadData, _crefIn, _crefCut));
1852#line 357 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1853 if (1 != tmp9) goto goto_2;
1854#line 1854 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1855#line 358 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1856 tmpMeta[0+0] = _crefIn1;
1857#line 358 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1858 tmp1_c1 = 0;
1859#line 1859 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1860 goto tmp3_done;
1861 }
1862 case 4: {
1863
1864 /* Pattern matching succeeded */
1865#line 360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1866 tmpMeta[0+0] = _crefCut;
1867#line 360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1868 tmp1_c1 = 0;
1869#line 1869 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1870 goto tmp3_done;
1871 }
1872 }
1873 goto tmp3_end;
1874 tmp3_end: ;
1875 }
1876 goto goto_2;
1877 tmp3_done:
1878 (void)tmp4;
1879 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1880 goto tmp3_done2;
1881 goto_2:;
1882 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1883 if (++tmp4 < 5) {
1884 goto tmp3_top;
1885 }
1886 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1887 tmp3_done2:;
1888 }
1889 }
1890 _crefOut = tmpMeta[0+0];
1891 _wasCut = tmp1_c1;
1892 _return: OMC_LABEL_UNUSED__attribute__((unused))
1893 if (out_wasCut) { *out_wasCut = _wasCut; }
1894 return _crefOut;
1895}
1896PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_VisualXML_splitCrefAfter(threadData_t *threadData, modelica_metatype _crefIn, modelica_metatype _crefCut, modelica_metatype *out_wasCut)
1897{
1898 modelica_boolean _wasCut;
1899 modelica_metatype _crefOut = NULL((void*)0);
1900 _crefOut = omc_VisualXML_splitCrefAfter(threadData, _crefIn, _crefCut, &_wasCut);
1901 /* skip box _crefOut; DAE.ComponentRef */
1902 if (out_wasCut) { *out_wasCut = mmc_mk_icon(_wasCut); }
1903 return _crefOut;
1904}
1905
1906PROTECTED_FUNCTION_STATIC modelica_metatype omc_VisualXML_makeCrefQualFromString(threadData_t *threadData, modelica_string _s)
1907{
1908 modelica_metatype _crefOut = NULL((void*)0);
1909 modelica_metatype _sLst = NULL((void*)0);
1910 modelica_metatype _cref = NULL((void*)0);
1911 modelica_metatype _crefs = NULL((void*)0);
1912 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1913 MMC_SO()mmc_check_stackoverflow(threadData);
1914 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1915 // _crefOut has no default value.
1916 // _sLst has no default value.
1917 // _cref has no default value.
1918 // _crefs has no default value.
1919#line 323 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1920 _sLst = omc_Util_stringSplitAtChar(threadData, _s, _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)));
1921#line 1921 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1922
1923#line 324 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1924 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1925#line 324 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1926 _crefs = omc_List_map2(threadData, _sLst, boxvar_ComponentReference_makeCrefIdent((void*)((char*)(&(boxvar_lit_ComponentReference_makeCrefIdent
).header) + 3))
, _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)), tmpMeta[0]);
1927#line 1927 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1928
1929#line 325 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1930 /* Pattern-matching assignment */
1931#line 325 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1932 tmpMeta[0] = _crefs;
1933#line 325 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1934 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);};
1935#line 325 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1936 tmpMeta[1] = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1937#line 325 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1938 tmpMeta[2] = MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1939#line 325 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1940 _cref = tmpMeta[1];
1941#line 325 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1942 _crefs = tmpMeta[2];
1943#line 1943 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1944
1945#line 326 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1946 _crefOut = omc_List_foldr(threadData, _crefs, boxvar_ComponentReference_joinCrefs((void*)((char*)(&(boxvar_lit_ComponentReference_joinCrefs
).header) + 3))
, _cref);
1947#line 1947 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1948 _return: OMC_LABEL_UNUSED__attribute__((unused))
1949 return _crefOut;
1950}
1951
1952PROTECTED_FUNCTION_STATIC modelica_metatype omc_VisualXML_fillVisualizationObjects(threadData_t *threadData, modelica_metatype _crefIn, modelica_metatype _allVarsIn, modelica_metatype _programIn, modelica_metatype *out_allVarsOut, modelica_metatype *out_programOut)
1953{
1954 modelica_metatype _visOut = NULL((void*)0);
1955 modelica_metatype _allVarsOut = NULL((void*)0);
1956 modelica_metatype _programOut = NULL((void*)0);
1957 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
1958 MMC_SO()mmc_check_stackoverflow(threadData);
1959 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1960 // _visOut has no default value.
1961 // _allVarsOut has no default value.
1962 // _programOut has no default value.
1963#line 288 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1964
1965#line 288 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1966
1967#line 288 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1968
1969#line 1969 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1970 { /* matchcontinue expression */
1971 {
1972 modelica_metatype _vis = NULL((void*)0);
1973 volatile mmc_switch_type tmp4;
1974 int tmp5;
1975 // _vis has no default value.
1976 tmp4 = 0;
1977 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) {
1978 tmp3_top:
1979 threadData->mmc_jumper = &new_mmc_jumper;
1980 for (; tmp4 < 2; tmp4++) {
1981 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1982 case 0: {
1983 /* Pattern matching succeeded */
1984#line 302 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1985 tmpMeta[3] = mmc_mk_box14(3, &VisualXML_Visualization_SHAPE__desc, _crefIn, _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)), arrayCreate(((modelica_integer) 3), _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))), arrayCreate(((modelica_integer) 3), _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))), arrayCreate(((modelica_integer) 3), _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))), arrayCreate(((modelica_integer) 3), _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))), arrayCreate(((modelica_integer) 3), _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))), _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)), _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)), _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)), _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)), arrayCreate(((modelica_integer) 3), _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))), _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)));
1986#line 302 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1987 _vis = tmpMeta[3];
1988#line 1988 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
1989
1990#line 305 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1991 /* Pattern-matching assignment */
1992#line 305 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1993 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1994#line 305 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1995 tmpMeta[4] = mmc_mk_box2(0, tmpMeta[3], _vis);
1996#line 305 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1997 tmpMeta[5] = omc_List_fold2(threadData, _allVarsIn, boxvar_VisualXML_fillVisualizationObjects1((void*)((char*)(&(boxvar_lit_VisualXML_fillVisualizationObjects1
).header) + 3))
, mmc_mk_boolean(1)((1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), _programIn, tmpMeta[4]);
1998#line 305 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
1999 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
2000#line 305 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2001 _vis = tmpMeta[6];
2002#line 2002 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2003#line 306 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2004 tmpMeta[0+0] = _vis;
2005#line 306 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2006 tmpMeta[0+1] = _allVarsIn;
2007#line 306 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2008 tmpMeta[0+2] = _programIn;
2009#line 2009 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2010 goto tmp3_done;
2011 }
2012 case 1: {
2013 /* Pattern matching succeeded */
2014#line 309 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2015 fputs(MMC_STRINGDATA(_OMC_LIT46)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT46).header) + 3))) - 3)))->data)
,stdoutstdout);
2016#line 2016 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2017#line 310 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2018 goto goto_2;
2019#line 2019 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2020 goto tmp3_done;
2021 }
2022 }
2023 goto tmp3_end;
2024 tmp3_end: ;
2025 }
2026 goto goto_2;
2027 tmp3_done:
2028 (void)tmp4;
2029 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2030 goto tmp3_done2;
2031 goto_2:;
2032 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2033 if (++tmp4 < 2) {
2034 goto tmp3_top;
2035 }
2036 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2037 tmp3_done2:;
2038 }
2039 }
2040 _visOut = tmpMeta[0+0];
2041 _allVarsOut = tmpMeta[0+1];
2042 _programOut = tmpMeta[0+2];
2043 _return: OMC_LABEL_UNUSED__attribute__((unused))
2044 if (out_allVarsOut) { *out_allVarsOut = _allVarsOut; }
2045 if (out_programOut) { *out_programOut = _programOut; }
2046 return _visOut;
2047}
2048
2049PROTECTED_FUNCTION_STATIC modelica_metatype omc_VisualXML_setBindingForProtectedVars1(threadData_t *threadData, modelica_metatype _varIn, modelica_metatype _tplIn, modelica_metatype *out_tplOut)
2050{
2051 modelica_metatype _varOut = NULL((void*)0);
2052 modelica_metatype _tplOut = NULL((void*)0);
2053 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
2054 MMC_SO()mmc_check_stackoverflow(threadData);
2055 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2056 // _varOut has no default value.
2057 // _tplOut has no default value.
2058#line 251 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2059
2060#line 251 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2061
2062#line 2062 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2063 { /* matchcontinue expression */
2064 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
2065 tmp4_1 = _varIn;
2066 tmp4_2 = _tplIn;
2067 {
2068 modelica_integer _idx;
2069 modelica_metatype _ass1 = NULL((void*)0);
2070 modelica_metatype _eqs = NULL((void*)0);
2071 modelica_metatype _eq = NULL((void*)0);
2072 modelica_metatype _var = NULL((void*)0);
2073 modelica_metatype _exp1 = NULL((void*)0);
2074 modelica_metatype _exp2 = NULL((void*)0);
2075 volatile mmc_switch_type tmp4;
2076 int tmp5;
2077 // _idx has no default value.
2078 // _ass1 has no default value.
2079 // _eqs has no default value.
2080 // _eq has no default value.
2081 // _var has no default value.
2082 // _exp1 has no default value.
2083 // _exp2 has no default value.
2084 tmp4 = 0;
2085 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) {
2086 tmp3_top:
2087 threadData->mmc_jumper = &new_mmc_jumper;
2088 for (; tmp4 < 2; tmp4++) {
2089 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2090 case 0: {
2091 modelica_integer tmp6;
2092 modelica_boolean tmp7;
2093 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(7)))))
;
2094 if (!optionNone(tmpMeta[2])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[2]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
2095 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(11)))))
;
2096 if (optionNone(tmpMeta[3])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[3]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
2097 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
2098 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2099 tmp6 = mmc_unbox_integer(tmpMeta[5])(((mmc_sint_t) (tmpMeta[5])) >> 1);
2100 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2101 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
2102 _idx = tmp6 /* pattern as ty=Integer */;
2103 _ass1 = tmpMeta[6];
2104 _eqs = tmpMeta[7];
2105 /* Pattern matching succeeded */
2106#line 261 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2107 /* Pattern-matching assignment */
2108#line 261 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2109 tmp7 = (omc_BackendVariable_isProtectedVar(threadData, _varIn) && omc_VisualXML_isVisualizationVar(threadData, _varIn));
2110#line 261 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2111 if (1 != tmp7) goto goto_2;
2112#line 2112 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2113
2114#line 262 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2115 _eq = omc_BackendEquation_get(threadData, _eqs, mmc_unbox_integer(arrayGet(_ass1, _idx))(((mmc_sint_t) (nobox_arrayGet(threadData,_ass1,_idx))) >>
1)
);
2116#line 2116 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2117
2118#line 263 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2119 /* Pattern-matching assignment */
2120#line 263 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2121 tmpMeta[2] = _eq;
2122#line 263 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2123 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((4 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto goto_2;
2124#line 263 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2125 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2126#line 263 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2127 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
2128#line 263 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2129 _exp1 = tmpMeta[3];
2130#line 263 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2131 _exp2 = tmpMeta[4];
2132#line 2132 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2133
2134#line 264 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2135 _exp1 = omc_ExpressionSolve_solve(threadData, _exp1, _exp2, omc_BackendVariable_varExp(threadData, _varIn), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), NULL((void*)0));
2136#line 2136 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2137
2138#line 265 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2139 _var = omc_BackendVariable_setBindExp(threadData, _varIn, mmc_mk_some(_exp1));
2140#line 2140 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2141
2142#line 266 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2143 _var = omc_VisualXML_makeVarPublicHideResultFalse(threadData, _var);
2144#line 2144 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2145#line 267 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2146 tmpMeta[2] = mmc_mk_box3(0, mmc_mk_integermmc_mk_icon(((modelica_integer) 1) + _idx), _ass1, _eqs);
2147#line 267 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2148 tmpMeta[0+0] = _var;
2149#line 267 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2150 tmpMeta[0+1] = tmpMeta[2];
2151#line 2151 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2152 goto tmp3_done;
2153 }
2154 case 1: {
2155 modelica_integer tmp8;
2156 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2157 tmp8 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
2158 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2159 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
2160 _idx = tmp8 /* pattern as ty=Integer */;
2161 _ass1 = tmpMeta[3];
2162 _eqs = tmpMeta[4];
2163 /* Pattern matching succeeded */
2164#line 270 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2165 if((omc_BackendVariable_isProtectedVar(threadData, _varIn) && omc_VisualXML_isVisualizationVar(threadData, _varIn)))
2166#line 270 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2167 {
2168#line 271 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2169 _var = omc_VisualXML_makeVarPublicHideResultFalse(threadData, _varIn);
2170#line 2170 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2171 }
2172 else
2173 {
2174#line 273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2175 _var = _varIn;
2176#line 2176 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2177 }
2178#line 275 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2179 tmpMeta[2] = mmc_mk_box3(0, mmc_mk_integermmc_mk_icon(((modelica_integer) 1) + _idx), _ass1, _eqs);
2180#line 275 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2181 tmpMeta[0+0] = _var;
2182#line 275 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2183 tmpMeta[0+1] = tmpMeta[2];
2184#line 2184 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2185 goto tmp3_done;
2186 }
2187 }
2188 goto tmp3_end;
2189 tmp3_end: ;
2190 }
2191 goto goto_2;
2192 tmp3_done:
2193 (void)tmp4;
2194 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2195 goto tmp3_done2;
2196 goto_2:;
2197 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2198 if (++tmp4 < 2) {
2199 goto tmp3_top;
2200 }
2201 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2202 tmp3_done2:;
2203 }
2204 }
2205 _varOut = tmpMeta[0+0];
2206 _tplOut = tmpMeta[0+1];
2207 _return: OMC_LABEL_UNUSED__attribute__((unused))
2208 if (out_tplOut) { *out_tplOut = _tplOut; }
2209 return _varOut;
2210}
2211
2212PROTECTED_FUNCTION_STATIC modelica_metatype omc_VisualXML_setBindingForProtectedVars(threadData_t *threadData, modelica_metatype _eqSysIn)
2213{
2214 modelica_metatype _eqSysOut = NULL((void*)0);
2215 modelica_metatype _ass1 = NULL((void*)0);
2216 modelica_metatype _vars = NULL((void*)0);
2217 modelica_metatype _eqs = NULL((void*)0);
2218 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
2219 MMC_SO()mmc_check_stackoverflow(threadData);
2220 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2221 // _eqSysOut has no default value.
2222 // _ass1 has no default value.
2223 // _vars has no default value.
2224 // _eqs has no default value.
2225#line 2225 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2226 { /* matchcontinue expression */
2227 {
2228 volatile mmc_switch_type tmp3;
2229 int tmp4;
2230 tmp3 = 0;
2231 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) {
2232 tmp2_top:
2233 threadData->mmc_jumper = &new_mmc_jumper;
2234 for (; tmp3 < 2; tmp3++) {
2235 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2236 case 0: {
2237 /* Pattern matching succeeded */
2238#line 238 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2239 /* Pattern-matching assignment */
2240#line 238 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2241 tmpMeta[0] = _eqSysIn;
2242#line 238 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2243 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2244#line 238 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2245 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
2246#line 238 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2247 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (7)))))
;
2248#line 238 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2249 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto goto_1;
2250#line 238 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2251 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
2252#line 238 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2253 _vars = tmpMeta[1];
2254#line 238 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2255 _eqs = tmpMeta[2];
2256#line 238 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2257 _ass1 = tmpMeta[4];
2258#line 2258 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2259
2260#line 239 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2261 tmpMeta[0] = mmc_mk_box3(0, mmc_mk_integermmc_mk_icon(((modelica_integer) 1)), _ass1, _eqs);
2262#line 239 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2263 omc_BackendVariable_traverseBackendDAEVarsWithUpdate(threadData, _vars, boxvar_VisualXML_setBindingForProtectedVars1((void*)((char*)(&(boxvar_lit_VisualXML_setBindingForProtectedVars1
).header) + 3))
, tmpMeta[0], NULL((void*)0));
2264#line 2264 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2265#line 2265 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2266 goto tmp2_done;
2267 }
2268 case 1: {
2269 /* Pattern matching succeeded */
2270#line 2270 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2271 goto tmp2_done;
2272 }
2273 }
2274 goto tmp2_end;
2275 tmp2_end: ;
2276 }
2277 goto goto_1;
2278 tmp2_done:
2279 (void)tmp3;
2280 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2281 goto tmp2_done2;
2282 goto_1:;
2283 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2284 if (++tmp3 < 2) {
2285 goto tmp2_top;
2286 }
2287 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2288 tmp2_done2:;
2289 }
2290 }
2291 ;
2292
2293#line 242 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2294 _eqSysOut = _eqSysIn;
2295#line 2295 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2296 _return: OMC_LABEL_UNUSED__attribute__((unused))
2297 return _eqSysOut;
2298}
2299
2300PROTECTED_FUNCTION_STATIC modelica_metatype omc_VisualXML_makeVarPublicHideResultFalse(threadData_t *threadData, modelica_metatype _inVar)
2301{
2302 modelica_metatype _outVar = NULL((void*)0);
2303 modelica_metatype _vals = NULL((void*)0);
2304 MMC_SO()mmc_check_stackoverflow(threadData);
2305 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2306 // _outVar has no default value.
2307 // _vals has no default value.
2308#line 222 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2309 _vals = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inVar), 11))(*(void**)(((void*)((void**)(((void*)((char*)(_inVar) - 3))) +
(11)))))
);
2310#line 2310 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2311
2312#line 223 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2313 _vals = omc_DAEUtil_setProtectedAttr(threadData, _vals, 0);
2314#line 2314 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2315
2316#line 224 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2317 _outVar = omc_BackendVariable_setVarAttributes(threadData, _inVar, _vals);
2318#line 2318 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2319
2320#line 225 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2321 _outVar = omc_BackendVariable_setHideResult(threadData, _outVar, _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)));
2322#line 2322 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2323 _return: OMC_LABEL_UNUSED__attribute__((unused))
2324 return _outVar;
2325}
2326
2327DLLExport
2328modelica_metatype omc_VisualXML_setVisVarsPublic(threadData_t *threadData, modelica_metatype _inVar, modelica_string _dummyArgIn, modelica_string *out_dummyArgOut)
2329{
2330 modelica_metatype _outVar = NULL((void*)0);
2331 modelica_string _dummyArgOut = NULL((void*)0);
2332 MMC_SO()mmc_check_stackoverflow(threadData);
2333 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2334 _outVar = _inVar;
2335 _dummyArgOut = _dummyArgIn;
2336#line 210 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2337 if(omc_VisualXML_isVisualizationVar(threadData, _inVar))
2338#line 210 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2339 {
2340#line 211 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2341 _outVar = omc_VisualXML_makeVarPublicHideResultFalse(threadData, _inVar);
2342#line 2342 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2343 }
2344 _return: OMC_LABEL_UNUSED__attribute__((unused))
2345 if (out_dummyArgOut) { *out_dummyArgOut = _dummyArgOut; }
2346 return _outVar;
2347}
2348
2349PROTECTED_FUNCTION_STATIC modelica_metatype omc_VisualXML_getConstCrefBinding(threadData_t *threadData, modelica_metatype _cr, modelica_metatype _vars)
2350{
2351 modelica_metatype _eOut = NULL((void*)0);
2352 modelica_string _s = NULL((void*)0);
2353 modelica_metatype _e = NULL((void*)0);
2354 modelica_metatype _var = NULL((void*)0);
2355 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
2356 MMC_SO()mmc_check_stackoverflow(threadData);
2357 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2358 // _eOut has no default value.
2359 // _s has no default value.
2360 // _e has no default value.
2361 // _var has no default value.
2362#line 2362 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2363 { /* matchcontinue expression */
2364 {
2365 volatile mmc_switch_type tmp3;
2366 int tmp4;
2367 tmp3 = 0;
2368 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) {
2369 tmp2_top:
2370 threadData->mmc_jumper = &new_mmc_jumper;
2371 for (; tmp3 < 2; tmp3++) {
2372 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2373 case 0: {
2374 /* Pattern matching succeeded */
2375#line 178 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2376 /* Pattern-matching tuple assignment */
2377#line 178 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2378 tmpMeta[0] = omc_BackendVariable_getVar(threadData, _cr, _vars, NULL((void*)0));
2379#line 178 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2380 if (listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto goto_1;
2381#line 178 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2382 tmpMeta[1] = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2383#line 178 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2384 tmpMeta[2] = MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2385#line 178 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2386 if (!listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto goto_1;
2387#line 178 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2388 _var = tmpMeta[1];
2389#line 2389 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2390
2391#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2392 _e = omc_BackendVariable_varBindExp(threadData, _var);
2393#line 2393 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2394
2395#line 2395 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2396 { /* matchcontinue expression */
2397 volatile modelica_metatype tmp7_1;
2398 tmp7_1 = _e;
2399 {
2400 volatile mmc_switch_type tmp7;
2401 int tmp8;
2402 tmp7 = 0;
2403 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) {
2404 tmp6_top:
2405 threadData->mmc_jumper = &new_mmc_jumper;
2406 for (; tmp7 < 3; tmp7++) {
2407 switch (MMC_SWITCH_CAST(tmp7)(tmp7)) {
2408 case 0: {
2409 modelica_boolean tmp9;
2410
2411 /* Pattern matching succeeded */
2412#line 183 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2413 /* Pattern-matching assignment */
2414#line 183 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2415 tmp9 = omc_Expression_isConst(threadData, _e);
2416#line 183 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2417 if (1 != tmp9) goto goto_5;
2418#line 2418 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2419#line 184 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2420 tmpMeta[0] = _e;
2421#line 2421 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2422 goto tmp6_done;
2423 }
2424 case 1: {
2425 if (mmc__uniontype__metarecord__typedef__equal(tmp7_1,6,2)((*(mmc_uint_t*)((void*)((char*)(tmp7_1) - 3)))==(((2 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp6_end;
2426
2427 /* Pattern matching succeeded */
2428#line 187 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2429 tmpMeta[0] = omc_VisualXML_getConstCrefBinding(threadData, omc_Expression_expCref(threadData, _e), _vars);
2430#line 2430 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2431 goto tmp6_done;
2432 }
2433 case 2: {
2434
2435 /* Pattern matching succeeded */
2436#line 195 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2437 tmpMeta[1] = stringAppend(_OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)),omc_ExpressionDump_printExpStr(threadData, _e));
2438#line 195 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2439 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)));
2440#line 195 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2441 tmpMeta[3] = stringAppend(tmpMeta[2],omc_ComponentReference_crefStr(threadData, _cr));
2442#line 195 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2443 tmpMeta[4] = stringAppend(tmpMeta[3],_OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)));
2444#line 195 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2445 omc_Error_addCompilerWarning(threadData, tmpMeta[4]);
2446#line 2446 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2447#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2448 tmpMeta[0] = _e;
2449#line 2449 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2450 goto tmp6_done;
2451 }
2452 }
2453 goto tmp6_end;
2454 tmp6_end: ;
2455 }
2456 goto goto_5;
2457 tmp6_done:
2458 (void)tmp7;
2459 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2460 goto tmp6_done2;
2461 goto_5:;
2462 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2463 if (++tmp7 < 3) {
2464 goto tmp6_top;
2465 }
2466 goto goto_1;
2467 tmp6_done2:;
2468 }
2469 }
2470 _eOut = tmpMeta[0];
2471#line 2471 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2472 goto tmp2_done;
2473 }
2474 case 1: {
2475 /* Pattern matching succeeded */
2476#line 199 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2477 tmpMeta[0] = stringAppend(_OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)),omc_ComponentReference_crefStr(threadData, _cr));
2478#line 199 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2479 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)));
2480#line 199 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2481 omc_Error_addInternalError(threadData, tmpMeta[1], _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)));
2482#line 2482 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2483#line 2483 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2484 goto tmp2_done;
2485 }
2486 }
2487 goto tmp2_end;
2488 tmp2_end: ;
2489 }
2490 goto goto_1;
2491 tmp2_done:
2492 (void)tmp3;
2493 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2494 goto tmp2_done2;
2495 goto_1:;
2496 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2497 if (++tmp3 < 2) {
2498 goto tmp2_top;
2499 }
2500 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2501 tmp2_done2:;
2502 }
2503 }
2504 ;
2505 _return: OMC_LABEL_UNUSED__attribute__((unused))
2506 return _eOut;
2507}
2508
2509PROTECTED_FUNCTION_STATIC modelica_metatype omc_VisualXML_replaceVisualBinding(threadData_t *threadData, modelica_metatype _visIn, modelica_metatype _varArray, modelica_metatype _program)
2510{
2511 modelica_metatype _visOut = NULL((void*)0);
2512 modelica_metatype tmpMeta[15] __attribute__((unused)) = {0};
2513 MMC_SO()mmc_check_stackoverflow(threadData);
2514 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2515 // _visOut has no default value.
2516#line 2516 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2517 { /* matchcontinue expression */
2518 volatile modelica_metatype tmp3_1;
2519 tmp3_1 = _visIn;
2520 {
2521 modelica_metatype _cr = NULL((void*)0);
2522 modelica_metatype _ident = NULL((void*)0);
2523 modelica_metatype _length = NULL((void*)0);
2524 modelica_metatype _width = NULL((void*)0);
2525 modelica_metatype _height = NULL((void*)0);
2526 modelica_metatype _extra = NULL((void*)0);
2527 modelica_metatype _specularCoeff = NULL((void*)0);
2528 modelica_string _s = NULL((void*)0);
2529 modelica_metatype _color = NULL((void*)0);
2530 modelica_metatype _r = NULL((void*)0);
2531 modelica_metatype _lengthDir = NULL((void*)0);
2532 modelica_metatype _widthDir = NULL((void*)0);
2533 modelica_metatype _r_shape = NULL((void*)0);
2534 modelica_metatype _T = NULL((void*)0);
2535 volatile mmc_switch_type tmp3;
2536 int tmp4;
2537 // _cr has no default value.
2538 // _ident has no default value.
2539 // _length has no default value.
2540 // _width has no default value.
2541 // _height has no default value.
2542 // _extra has no default value.
2543 // _specularCoeff has no default value.
2544 // _s has no default value.
2545 // _color has no default value.
2546 // _r has no default value.
2547 // _lengthDir has no default value.
2548 // _widthDir has no default value.
2549 // _r_shape has no default value.
2550 // _T has no default value.
2551 tmp3 = 0;
2552 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) {
2553 tmp2_top:
2554 threadData->mmc_jumper = &new_mmc_jumper;
2555 for (; tmp3 < 3; tmp3++) {
2556 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2557 case 0: {
2558 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2559 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2560 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
2561 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2562 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
2563 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
2564 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
2565 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
2566 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(8)))))
;
2567 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(9)))))
;
2568 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(10)))))
;
2569 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(11)))))
;
2570 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 12))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(12)))))
;
2571 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 13))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(13)))))
;
2572 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 14))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(14)))))
;
2573 _ident = tmpMeta[1];
2574 _cr = tmpMeta[3];
2575 _T = tmpMeta[4];
2576 _r = tmpMeta[5];
2577 _r_shape = tmpMeta[6];
2578 _lengthDir = tmpMeta[7];
2579 _widthDir = tmpMeta[8];
2580 _length = tmpMeta[9];
2581 _width = tmpMeta[10];
2582 _height = tmpMeta[11];
2583 _extra = tmpMeta[12];
2584 _color = tmpMeta[13];
2585 _specularCoeff = tmpMeta[14];
2586 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
2587#line 154 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2588 /* Pattern-matching assignment */
2589#line 154 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2590 tmpMeta[1] = omc_VisualXML_getConstCrefBinding(threadData, _cr, _varArray);
2591#line 154 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2592 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 goto_1;
2593#line 154 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2594 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
2595#line 154 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2596 _s = tmpMeta[2];
2597#line 2597 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2598
2599#line 155 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2600 _s = omc_VisualXML_getFullCADFilePath(threadData, _s, _program);
2601#line 2601 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2602#line 156 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2603 tmpMeta[1] = mmc_mk_box2(5, &DAE_Exp_SCONST__desc, _s);
2604#line 156 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2605 tmpMeta[2] = mmc_mk_box14(3, &VisualXML_Visualization_SHAPE__desc, _ident, tmpMeta[1], _T, _r, _r_shape, _lengthDir, _widthDir, _length, _width, _height, _extra, _color, _specularCoeff);
2606#line 156 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2607 tmpMeta[0] = tmpMeta[2];
2608#line 2608 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2609 goto tmp2_done;
2610 }
2611 case 1: {
2612 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2613 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2614 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],2,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
2615 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2616 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
2617 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
2618 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
2619 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
2620 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(8)))))
;
2621 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(9)))))
;
2622 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(10)))))
;
2623 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 11))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(11)))))
;
2624 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 12))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(12)))))
;
2625 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 13))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(13)))))
;
2626 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 14))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(14)))))
;
2627 _ident = tmpMeta[1];
2628 _s = tmpMeta[3];
2629 _T = tmpMeta[4];
2630 _r = tmpMeta[5];
2631 _r_shape = tmpMeta[6];
2632 _lengthDir = tmpMeta[7];
2633 _widthDir = tmpMeta[8];
2634 _length = tmpMeta[9];
2635 _width = tmpMeta[10];
2636 _height = tmpMeta[11];
2637 _extra = tmpMeta[12];
2638 _color = tmpMeta[13];
2639 _specularCoeff = tmpMeta[14];
2640 /* Pattern matching succeeded */
2641#line 160 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2642 _s = omc_VisualXML_getFullCADFilePath(threadData, _s, _program);
2643#line 2643 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2644#line 161 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2645 tmpMeta[1] = mmc_mk_box2(5, &DAE_Exp_SCONST__desc, _s);
2646#line 161 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2647 tmpMeta[2] = mmc_mk_box14(3, &VisualXML_Visualization_SHAPE__desc, _ident, tmpMeta[1], _T, _r, _r_shape, _lengthDir, _widthDir, _length, _width, _height, _extra, _color, _specularCoeff);
2648#line 161 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2649 tmpMeta[0] = tmpMeta[2];
2650#line 2650 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2651 goto tmp2_done;
2652 }
2653 case 2: {
2654
2655 /* Pattern matching succeeded */
2656#line 163 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2657 tmpMeta[0] = _visIn;
2658#line 2658 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2659 goto tmp2_done;
2660 }
2661 }
2662 goto tmp2_end;
2663 tmp2_end: ;
2664 }
2665 goto goto_1;
2666 tmp2_done:
2667 (void)tmp3;
2668 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2669 goto tmp2_done2;
2670 goto_1:;
2671 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2672 if (++tmp3 < 3) {
2673 goto tmp2_top;
2674 }
2675 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2676 tmp2_done2:;
2677 }
2678 }
2679 _visOut = tmpMeta[0];
2680 _return: OMC_LABEL_UNUSED__attribute__((unused))
2681 return _visOut;
2682}
2683
2684DLLExport
2685modelica_metatype omc_VisualXML_visualizationInfoXML(threadData_t *threadData, modelica_metatype _daeIn, modelica_string _fileName, modelica_metatype _program)
2686{
2687 modelica_metatype _daeOut = NULL((void*)0);
2688 modelica_metatype _eqs = NULL((void*)0);
2689 modelica_metatype _eqs0 = NULL((void*)0);
2690 modelica_metatype _shared = NULL((void*)0);
2691 modelica_metatype _globalKnownVars = NULL((void*)0);
2692 modelica_metatype _aliasVars = NULL((void*)0);
2693 modelica_metatype _globalKnownVarLst = NULL((void*)0);
2694 modelica_metatype _allVarLst = NULL((void*)0);
2695 modelica_metatype _aliasVarLst = NULL((void*)0);
2696 modelica_metatype _visuals = NULL((void*)0);
2697 modelica_metatype _allVisuals = NULL((void*)0);
2698 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
2699 MMC_SO()mmc_check_stackoverflow(threadData);
2700 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2701 // _daeOut has no default value.
2702 // _eqs has no default value.
2703 // _eqs0 has no default value.
2704 // _shared has no default value.
2705 // _globalKnownVars has no default value.
2706 // _aliasVars has no default value.
2707 // _globalKnownVarLst has no default value.
2708 // _allVarLst has no default value.
2709 // _aliasVarLst has no default value.
2710 // _visuals has no default value.
2711 // _allVisuals has no default value.
2712#line 103 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2713 /* Pattern-matching assignment */
2714#line 103 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2715 tmpMeta[0] = _daeIn;
2716#line 103 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2717 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2718#line 103 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2719 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
2720#line 103 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2721 _eqs0 = tmpMeta[1];
2722#line 103 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2723 _shared = tmpMeta[2];
2724#line 2724 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2725
2726#line 104 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2727 /* Pattern-matching assignment */
2728#line 104 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2729 tmpMeta[0] = _shared;
2730#line 104 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2731 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2732#line 104 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2733 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
2734#line 104 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2735 _globalKnownVars = tmpMeta[1];
2736#line 104 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2737 _aliasVars = tmpMeta[2];
2738#line 2738 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2739
2740#line 106 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2741 _eqs = omc_List_map(threadData, _eqs0, boxvar_BackendDAEUtil_copyEqSystem((void*)((char*)(&(boxvar_lit_BackendDAEUtil_copyEqSystem
).header) + 3))
);
2742#line 2742 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2743
2744#line 107 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2745 _eqs = omc_List_map(threadData, _eqs, boxvar_VisualXML_setBindingForProtectedVars((void*)((char*)(&(boxvar_lit_VisualXML_setBindingForProtectedVars
).header) + 3))
);
2746#line 2746 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2747
2748#line 110 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2749 _globalKnownVarLst = omc_BackendVariable_varList(threadData, _globalKnownVars);
2750#line 2750 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2751
2752#line 111 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2753 _aliasVarLst = omc_BackendVariable_varList(threadData, _aliasVars);
2754#line 2754 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2755
2756#line 112 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2757 _allVarLst = omc_List_flatten(threadData, omc_List_mapMap(threadData, _eqs, boxvar_BackendVariable_daeVars((void*)((char*)(&(boxvar_lit_BackendVariable_daeVars).header
) + 3))
, boxvar_BackendVariable_varList((void*)((char*)(&(boxvar_lit_BackendVariable_varList).header
) + 3))
));
2758#line 2758 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2759
2760#line 115 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2761 /* Pattern-matching assignment */
2762#line 115 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2763 tmpMeta[0] = omc_List_fold(threadData, _globalKnownVarLst, boxvar_VisualXML_isVisualizationVarFold((void*)((char*)(&(boxvar_lit_VisualXML_isVisualizationVarFold
).header) + 3))
, _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)));
2764#line 115 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2765 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2766#line 115 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2767 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2768#line 115 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2769 _globalKnownVarLst = tmpMeta[1];
2770#line 115 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2771 _allVisuals = tmpMeta[2];
2772#line 2772 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2773
2774#line 116 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2775 /* Pattern-matching assignment */
2776#line 116 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2777 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2778#line 116 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2779 tmpMeta[1] = mmc_mk_box2(0, tmpMeta[0], _allVisuals);
2780#line 116 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2781 tmpMeta[2] = omc_List_fold(threadData, _allVarLst, boxvar_VisualXML_isVisualizationVarFold((void*)((char*)(&(boxvar_lit_VisualXML_isVisualizationVarFold
).header) + 3))
, tmpMeta[1]);
2782#line 116 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2783 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
2784#line 116 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2785 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2786#line 116 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2787 _allVarLst = tmpMeta[3];
2788#line 116 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2789 _allVisuals = tmpMeta[4];
2790#line 2790 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2791
2792#line 117 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2793 /* Pattern-matching assignment */
2794#line 117 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2795 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2796#line 117 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2797 tmpMeta[1] = mmc_mk_box2(0, tmpMeta[0], _allVisuals);
2798#line 117 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2799 tmpMeta[2] = omc_List_fold(threadData, _aliasVarLst, boxvar_VisualXML_isVisualizationVarFold((void*)((char*)(&(boxvar_lit_VisualXML_isVisualizationVarFold
).header) + 3))
, tmpMeta[1]);
2800#line 117 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2801 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
2802#line 117 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2803 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2804#line 117 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2805 _aliasVarLst = tmpMeta[3];
2806#line 117 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2807 _allVisuals = tmpMeta[4];
2808#line 2808 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2809
2810#line 121 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2811 _allVarLst = listAppend(_globalKnownVarLst, listAppend(_allVarLst, _aliasVarLst));
2812#line 2812 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2813
2814#line 122 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2815 _visuals = omc_List_mapFold2(threadData, _allVisuals, boxvar_VisualXML_fillVisualizationObjects((void*)((char*)(&(boxvar_lit_VisualXML_fillVisualizationObjects
).header) + 3))
, _allVarLst, _program, NULL((void*)0), NULL((void*)0));
2816#line 2816 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2817
2818#line 124 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2819 _visuals = omc_List_map2(threadData, _visuals, boxvar_VisualXML_replaceVisualBinding((void*)((char*)(&(boxvar_lit_VisualXML_replaceVisualBinding
).header) + 3))
, _globalKnownVars, _program);
2820#line 2820 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2821
2822#line 128 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2823 tmpMeta[0] = stringAppend(_fileName,_OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)));
2824#line 128 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2825 omc_VisualXML_dumpVis(threadData, listArray(_visuals), tmpMeta[0]);
2826#line 2826 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2827
2828#line 131 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2829 _globalKnownVars = omc_BackendVariable_traverseBackendDAEVarsWithUpdate(threadData, _globalKnownVars, boxvar_VisualXML_setVisVarsPublic((void*)((char*)(&(boxvar_lit_VisualXML_setVisVarsPublic)
.header) + 3))
, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), NULL((void*)0))
;
Value stored to '_globalKnownVars' is never read
2830#line 2830 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2831
2832#line 132 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2833 _aliasVars = omc_BackendVariable_traverseBackendDAEVarsWithUpdate(threadData, _aliasVars, boxvar_VisualXML_setVisVarsPublic((void*)((char*)(&(boxvar_lit_VisualXML_setVisVarsPublic)
.header) + 3))
, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), NULL((void*)0));
2834#line 2834 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2835
2836#line 133 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2837 tmpMeta[0] = mmc_mk_box3(3, &BackendDAE_BackendDAE_DAE__desc, _eqs, _shared);
2838#line 133 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/VisualXML.mo"
2839 _daeOut = tmpMeta[0];
2840#line 2840 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/VisualXML.c"
2841 _return: OMC_LABEL_UNUSED__attribute__((unused))
2842 return _daeOut;
2843}
2844