Bug Summary

File:OMCompiler/Compiler/boot/build/ConnectionGraph.c
Warning:line 4183, column 11
Value stored to '_table' is never read

Annotated Source Code

[?] Use j/k keys for keyboard navigation

1#ifdef OMC_BASE_FILE
2 #define OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c" OMC_BASE_FILE
3#else
4 #define OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c" "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "ConnectionGraph.h"
8#define _OMC_LIT0_data"- ConnectionGraph.filterFromSet: " "- ConnectionGraph.filterFromSet: "
9static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT0,33,_OMC_LIT0_data)struct { mmc_uint_t header; const char data[(33)+1]; } _OMC_LIT_STRUCT0
= { ((((mmc_uint_t)33)<<(3))+((1<<(3+3))+5)), "- ConnectionGraph.filterFromSet: "
}
;
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" connect(" " connect("
12static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT1,9,_OMC_LIT1_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT1
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), " connect("
}
;
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", " ", "
15static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT2,2,_OMC_LIT2_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT2
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ", "
}
;
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")" ")"
18static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT3,1,_OMC_LIT3_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT3
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), ")"
}
;
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"cgraph" "cgraph"
21static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT4,6,_OMC_LIT4_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT4
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "cgraph"
}
;
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"Prints out connection graph information." "Prints out connection graph information."
24static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT5,40,_OMC_LIT5_data)struct { mmc_uint_t header; const char data[(40)+1]; } _OMC_LIT_STRUCT5
= { ((((mmc_uint_t)40)<<(3))+((1<<(3+3))+5)), "Prints out connection graph information."
}
;
25#define _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT5)((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))
26static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT6,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT6
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))}};
27#define _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT6)((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))
28static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT7,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT7
= { (((5) << 10) + (((3) & 255) << 2)),
{&Flags_DebugFlag_DEBUG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(63))((void*)(((((mmc_uint_t) (63)) << 1)+0))),_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))}};
29#define _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT7)((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))
30#define _OMC_LIT8_data"removed" "removed"
31static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT8,7,_OMC_LIT8_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT8
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "removed"
}
;
32#define _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT8)((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))
33#define _OMC_LIT9_data"allowed" "allowed"
34static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT9,7,_OMC_LIT9_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT9
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "allowed"
}
;
35#define _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT9)((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))
36#define _OMC_LIT10_data"- ConnectionGraph.removeBrokenConnects: CS: " "- ConnectionGraph.removeBrokenConnects: CS: "
37static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT10,44,_OMC_LIT10_data)struct { mmc_uint_t header; const char data[(44)+1]; } _OMC_LIT_STRUCT10
= { ((((mmc_uint_t)44)<<(3))+((1<<(3+3))+5)), "- ConnectionGraph.removeBrokenConnects: CS: "
}
;
38#define _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT10)((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))
39#define _OMC_LIT11_data"\n" "\n"
40static 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)), "\n"
}
;
41#define _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT11)((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))
42#define _OMC_LIT12_data"- ConnectionGraph.removeBrokenConnects: keep: " "- ConnectionGraph.removeBrokenConnects: keep: "
43static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT12,46,_OMC_LIT12_data)struct { mmc_uint_t header; const char data[(46)+1]; } _OMC_LIT_STRUCT12
= { ((((mmc_uint_t)46)<<(3))+((1<<(3+3))+5)), "- ConnectionGraph.removeBrokenConnects: keep: "
}
;
44#define _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT12)((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))
45#define _OMC_LIT13_data"- ConnectionGraph.removeBrokenConnects: delete: " "- ConnectionGraph.removeBrokenConnects: delete: "
46static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT13,48,_OMC_LIT13_data)struct { mmc_uint_t header; const char data[(48)+1]; } _OMC_LIT_STRUCT13
= { ((((mmc_uint_t)48)<<(3))+((1<<(3+3))+5)), "- ConnectionGraph.removeBrokenConnects: delete: "
}
;
47#define _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT13)((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))
48#define _OMC_LIT14_data"- ConnectionGraph.removeBrokenConnects: allow = remove - keep: " "- ConnectionGraph.removeBrokenConnects: allow = remove - keep: "
49static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT14,63,_OMC_LIT14_data)struct { mmc_uint_t header; const char data[(63)+1]; } _OMC_LIT_STRUCT14
= { ((((mmc_uint_t)63)<<(3))+((1<<(3+3))+5)), "- ConnectionGraph.removeBrokenConnects: allow = remove - keep: "
}
;
50#define _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT14)((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))
51#define _OMC_LIT15_data"- ConnectionGraph.removeBrokenConnects: allow - delete: " "- ConnectionGraph.removeBrokenConnects: allow - delete: "
52static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT15,56,_OMC_LIT15_data)struct { mmc_uint_t header; const char data[(56)+1]; } _OMC_LIT_STRUCT15
= { ((((mmc_uint_t)56)<<(3))+((1<<(3+3))+5)), "- ConnectionGraph.removeBrokenConnects: allow - delete: "
}
;
53#define _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT15)((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))
54#define _OMC_LIT16_data"cgraphGraphVizShow" "cgraphGraphVizShow"
55static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT16,18,_OMC_LIT16_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT16
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), "cgraphGraphVizShow"
}
;
56#define _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT16)((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))
57#define _OMC_LIT17_data"Displays the connection graph with the GraphViz lefty tool." "Displays the connection graph with the GraphViz lefty tool."
58static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT17,59,_OMC_LIT17_data)struct { mmc_uint_t header; const char data[(59)+1]; } _OMC_LIT_STRUCT17
= { ((((mmc_uint_t)59)<<(3))+((1<<(3+3))+5)), "Displays the connection graph with the GraphViz lefty tool."
}
;
59#define _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT17)((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))
60static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT18,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT18
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))}};
61#define _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT18)((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))
62static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT19,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT19
= { (((5) << 10) + (((3) & 255) << 2)),
{&Flags_DebugFlag_DEBUG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(13))((void*)(((((mmc_uint_t) (13)) << 1)+0))),_OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))}};
63#define _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT19)((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))
64#define _OMC_LIT20_data"" ""
65static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT20,0,_OMC_LIT20_data)struct { mmc_uint_t header; const char data[(0)+1]; } _OMC_LIT_STRUCT20
= { ((((mmc_uint_t)0)<<(3))+((1<<(3+3))+5)), "" }
;
66#define _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT20)((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))
67#define _OMC_LIT21_data"_removed_connections.txt" "_removed_connections.txt"
68static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT21,24,_OMC_LIT21_data)struct { mmc_uint_t header; const char data[(24)+1]; } _OMC_LIT_STRUCT21
= { ((((mmc_uint_t)24)<<(3))+((1<<(3+3))+5)), "_removed_connections.txt"
}
;
69#define _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT21)((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))
70#define _OMC_LIT22_data"Tyring to start GraphViz *lefty* to visualize the graph. You need to have lefty in your PATH variable" "Tyring to start GraphViz *lefty* to visualize the graph. You need to have lefty in your PATH variable"
71static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT22,101,_OMC_LIT22_data)struct { mmc_uint_t header; const char data[(101)+1]; } _OMC_LIT_STRUCT22
= { ((((mmc_uint_t)101)<<(3))+((1<<(3+3))+5)), "Tyring to start GraphViz *lefty* to visualize the graph. You need to have lefty in your PATH variable"
}
;
72#define _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT22)((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))
73#define _OMC_LIT23_data"Make sure you quit GraphViz *lefty* via Right Click->quit to be sure the process will be exited." "Make sure you quit GraphViz *lefty* via Right Click->quit to be sure the process will be exited."
74static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT23,96,_OMC_LIT23_data)struct { mmc_uint_t header; const char data[(96)+1]; } _OMC_LIT_STRUCT23
= { ((((mmc_uint_t)96)<<(3))+((1<<(3+3))+5)), "Make sure you quit GraphViz *lefty* via Right Click->quit to be sure the process will be exited."
}
;
75#define _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT23)((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))
76#define _OMC_LIT24_data"If you quit the GraphViz *lefty* window via X, please kill the process in task manager to continue." "If you quit the GraphViz *lefty* window via X, please kill the process in task manager to continue."
77static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT24,99,_OMC_LIT24_data)struct { mmc_uint_t header; const char data[(99)+1]; } _OMC_LIT_STRUCT24
= { ((((mmc_uint_t)99)<<(3))+((1<<(3+3))+5)), "If you quit the GraphViz *lefty* window via X, please kill the process in task manager to continue."
}
;
78#define _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT24)((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))
79#define _OMC_LIT25_data"\"" "\""
80static 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)), "\""
}
;
81#define _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT25)((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))
82#define _OMC_LIT26_data"load('" "load('"
83static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT26,6,_OMC_LIT26_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT26
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "load('"
}
;
84#define _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT26)((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))
85#define _OMC_LIT27_data"/share/omc/scripts/openmodelica.lefty');" "/share/omc/scripts/openmodelica.lefty');"
86static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT27,40,_OMC_LIT27_data)struct { mmc_uint_t header; const char data[(40)+1]; } _OMC_LIT_STRUCT27
= { ((((mmc_uint_t)40)<<(3))+((1<<(3+3))+5)), "/share/omc/scripts/openmodelica.lefty');"
}
;
87#define _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT27)((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))
88#define _OMC_LIT28_data"openmodelica.init();openmodelica.createviewandgraph('" "openmodelica.init();openmodelica.createviewandgraph('"
89static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT28,53,_OMC_LIT28_data)struct { mmc_uint_t header; const char data[(53)+1]; } _OMC_LIT_STRUCT28
= { ((((mmc_uint_t)53)<<(3))+((1<<(3+3))+5)), "openmodelica.init();openmodelica.createviewandgraph('"
}
;
90#define _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT28)((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))
91#define _OMC_LIT29_data"','file',null,null);txtview('off');" "','file',null,null);txtview('off');"
92static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT29,35,_OMC_LIT29_data)struct { mmc_uint_t header; const char data[(35)+1]; } _OMC_LIT_STRUCT29
= { ((((mmc_uint_t)35)<<(3))+((1<<(3+3))+5)), "','file',null,null);txtview('off');"
}
;
93#define _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT29)((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3))
94#define _OMC_LIT30_data"Running command: lefty -e " "Running command: lefty -e "
95static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT30,26,_OMC_LIT30_data)struct { mmc_uint_t header; const char data[(26)+1]; } _OMC_LIT_STRUCT30
= { ((((mmc_uint_t)26)<<(3))+((1<<(3+3))+5)), "Running command: lefty -e "
}
;
96#define _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT30)((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))
97#define _OMC_LIT31_data" > " " > "
98static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT31,3,_OMC_LIT31_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT31
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), " > "
}
;
99#define _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT31)((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))
100#define _OMC_LIT32_data"lefty -e " "lefty -e "
101static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT32,9,_OMC_LIT32_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT32
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "lefty -e "
}
;
102#define _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT32)((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))
103#define _OMC_LIT33_data"GraphViz *lefty* exited with status:" "GraphViz *lefty* exited with status:"
104static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT33,36,_OMC_LIT33_data)struct { mmc_uint_t header; const char data[(36)+1]; } _OMC_LIT_STRUCT33
= { ((((mmc_uint_t)36)<<(3))+((1<<(3+3))+5)), "GraphViz *lefty* exited with status:"
}
;
105#define _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT33)((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))
106#define _OMC_LIT34_data"GraphViz OpenModelica assistant returned the following broken connects: " "GraphViz OpenModelica assistant returned the following broken connects: "
107static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT34,72,_OMC_LIT34_data)struct { mmc_uint_t header; const char data[(72)+1]; } _OMC_LIT_STRUCT34
= { ((((mmc_uint_t)72)<<(3))+((1<<(3+3))+5)), "GraphViz OpenModelica assistant returned the following broken connects: "
}
;
108#define _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT34)((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))
109#define _OMC_LIT35_data"cgraphGraphVizFile" "cgraphGraphVizFile"
110static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT35,18,_OMC_LIT35_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT35
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), "cgraphGraphVizFile"
}
;
111#define _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT35)((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3))
112#define _OMC_LIT36_data"Generates a graphviz file of the connection graph." "Generates a graphviz file of the connection graph."
113static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT36,50,_OMC_LIT36_data)struct { mmc_uint_t header; const char data[(50)+1]; } _OMC_LIT_STRUCT36
= { ((((mmc_uint_t)50)<<(3))+((1<<(3+3))+5)), "Generates a graphviz file of the connection graph."
}
;
114#define _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT36)((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))
115static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT37,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT37
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))}};
116#define _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT37)((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3))
117static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT38,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT38
= { (((5) << 10) + (((3) & 255) << 2)),
{&Flags_DebugFlag_DEBUG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(12))((void*)(((((mmc_uint_t) (12)) << 1)+0))),_OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3))}};
118#define _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT38)((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))
119#define _OMC_LIT39_data" " " "
120static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT39,1,_OMC_LIT39_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT39
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), " "
}
;
121#define _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT39)((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))
122#define _OMC_LIT40_data".gv" ".gv"
123static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT40,3,_OMC_LIT40_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT40
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), ".gv"
}
;
124#define _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT40)((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))
125static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT41,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT41
= { (((1) << 10) + (((4) & 255) << 2)),
{&IOStream_IOStreamType_LIST__desc,}};
126#define _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT41)((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))
127#define _OMC_LIT42_data"// Generated by OpenModelica. \n" "// Generated by OpenModelica. \n"
128static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT42,31,_OMC_LIT42_data)struct { mmc_uint_t header; const char data[(31)+1]; } _OMC_LIT_STRUCT42
= { ((((mmc_uint_t)31)<<(3))+((1<<(3+3))+5)), "// Generated by OpenModelica. \n"
}
;
129#define _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT42)((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))
130#define _OMC_LIT43_data"// Overconstrained connection graph for model: \n// " "// Overconstrained connection graph for model: \n// "
131static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT43,54,_OMC_LIT43_data)struct { mmc_uint_t header; const char data[(54)+1]; } _OMC_LIT_STRUCT43
= { ((((mmc_uint_t)54)<<(3))+((1<<(3+3))+5)), "// Overconstrained connection graph for model: \n// "
}
;
132#define _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT43)((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))
133#define _OMC_LIT44_data"// \n" "// \n"
134static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT44,4,_OMC_LIT44_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT44
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "// \n"
}
;
135#define _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT44)((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))
136#define _OMC_LIT45_data"// Summary: \n" "// Summary: \n"
137static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT45,13,_OMC_LIT45_data)struct { mmc_uint_t header; const char data[(13)+1]; } _OMC_LIT_STRUCT45
= { ((((mmc_uint_t)13)<<(3))+((1<<(3+3))+5)), "// Summary: \n"
}
;
138#define _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT45)((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))
139#define _OMC_LIT46_data"// Roots: " "// Roots: "
140static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT46,25,_OMC_LIT46_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT46
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), "// Roots: "
}
;
141#define _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT46)((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))
142#define _OMC_LIT47_data"// Potential Roots: " "// Potential Roots: "
143static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT47,25,_OMC_LIT47_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT47
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), "// Potential Roots: "
}
;
144#define _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT47)((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))
145#define _OMC_LIT48_data"// Unique Roots: " "// Unique Roots: "
146static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT48,25,_OMC_LIT48_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT48
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), "// Unique Roots: "
}
;
147#define _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT48)((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))
148#define _OMC_LIT49_data"// Branches: " "// Branches: "
149static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT49,25,_OMC_LIT49_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT49
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), "// Branches: "
}
;
150#define _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT49)((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))
151#define _OMC_LIT50_data"// Connections: " "// Connections: "
152static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT50,25,_OMC_LIT50_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT50
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), "// Connections: "
}
;
153#define _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT50)((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))
154#define _OMC_LIT51_data"// Final Roots: " "// Final Roots: "
155static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT51,25,_OMC_LIT51_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT51
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), "// Final Roots: "
}
;
156#define _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT51)((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))
157#define _OMC_LIT52_data"// Broken Connections: " "// Broken Connections: "
158static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT52,25,_OMC_LIT52_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT52
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), "// Broken Connections: "
}
;
159#define _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT52)((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))
160#define _OMC_LIT53_data"\\l" "\\l"
161static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT53,2,_OMC_LIT53_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT53
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "\\l"
}
;
162#define _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT53)((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))
163#define _OMC_LIT54_data" " " "
164static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT54,1,_OMC_LIT54_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT54
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), " "
}
;
165#define _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT54)((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))
166#define _OMC_LIT55_data"/" "/"
167static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT55,1,_OMC_LIT55_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT55
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "/"
}
;
168#define _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT55)((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))
169#define _OMC_LIT56_data"\n\n" "\n\n"
170static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT56,2,_OMC_LIT56_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT56
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "\n\n"
}
;
171#define _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT56)((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3))
172static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT57,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT57
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
173#define _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT57)((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3))
174#define _OMC_LIT58_data"graph \"" "graph \""
175static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT58,7,_OMC_LIT58_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT58
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "graph \""
}
;
176#define _OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT58)((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))
177#define _OMC_LIT59_data"\"\n{\n\n" "\"\n{\n\n"
178static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT59,5,_OMC_LIT59_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT59
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "\"\n{\n\n"
}
;
179#define _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT59)((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3))
180#define _OMC_LIT60_data"overlap=false;\n" "overlap=false;\n"
181static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT60,15,_OMC_LIT60_data)struct { mmc_uint_t header; const char data[(15)+1]; } _OMC_LIT_STRUCT60
= { ((((mmc_uint_t)15)<<(3))+((1<<(3+3))+5)), "overlap=false;\n"
}
;
182#define _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT60)((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3))
183#define _OMC_LIT61_data"layout=dot;\n\n" "layout=dot;\n\n"
184static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT61,13,_OMC_LIT61_data)struct { mmc_uint_t header; const char data[(13)+1]; } _OMC_LIT_STRUCT61
= { ((((mmc_uint_t)13)<<(3))+((1<<(3+3))+5)), "layout=dot;\n\n"
}
;
185#define _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT61)((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3))
186#define _OMC_LIT62_data"node [" "node ["
187static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT62,6,_OMC_LIT62_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT62
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "node ["
}
;
188#define _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT62)((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3))
189#define _OMC_LIT63_data"fillcolor = \"lightsteelblue1\", " "fillcolor = \"lightsteelblue1\", "
190static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT63,31,_OMC_LIT63_data)struct { mmc_uint_t header; const char data[(31)+1]; } _OMC_LIT_STRUCT63
= { ((((mmc_uint_t)31)<<(3))+((1<<(3+3))+5)), "fillcolor = \"lightsteelblue1\", "
}
;
191#define _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT63)((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3))
192#define _OMC_LIT64_data"shape = box, " "shape = box, "
193static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT64,13,_OMC_LIT64_data)struct { mmc_uint_t header; const char data[(13)+1]; } _OMC_LIT_STRUCT64
= { ((((mmc_uint_t)13)<<(3))+((1<<(3+3))+5)), "shape = box, "
}
;
194#define _OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT64)((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))
195#define _OMC_LIT65_data"style = \"bold, filled\", " "style = \"bold, filled\", "
196static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT65,24,_OMC_LIT65_data)struct { mmc_uint_t header; const char data[(24)+1]; } _OMC_LIT_STRUCT65
= { ((((mmc_uint_t)24)<<(3))+((1<<(3+3))+5)), "style = \"bold, filled\", "
}
;
197#define _OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT65)((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3))
198#define _OMC_LIT66_data"rank = \"max\"" "rank = \"max\""
199static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT66,12,_OMC_LIT66_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT66
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), "rank = \"max\""
}
;
200#define _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT66)((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3))
201#define _OMC_LIT67_data"]\n\n" "]\n\n"
202static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT67,3,_OMC_LIT67_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT67
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "]\n\n"
}
;
203#define _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT67)((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3))
204#define _OMC_LIT68_data"edge [" "edge ["
205static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT68,6,_OMC_LIT68_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT68
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "edge ["
}
;
206#define _OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT68)((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3))
207#define _OMC_LIT69_data"color = \"black\", " "color = \"black\", "
208static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT69,17,_OMC_LIT69_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT69
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "color = \"black\", "
}
;
209#define _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT69)((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3))
210#define _OMC_LIT70_data"style = bold" "style = bold"
211static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT70,12,_OMC_LIT70_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT70
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), "style = bold"
}
;
212#define _OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT70)((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3))
213#define _OMC_LIT71_data"graph [fontsize=20, fontname = \"Courier Bold\" label= \"\\n\\n" "graph [fontsize=20, fontname = \"Courier Bold\" label= \"\\n\\n"
214static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT71,58,_OMC_LIT71_data)struct { mmc_uint_t header; const char data[(58)+1]; } _OMC_LIT_STRUCT71
= { ((((mmc_uint_t)58)<<(3))+((1<<(3+3))+5)), "graph [fontsize=20, fontname = \"Courier Bold\" label= \"\\n\\n"
}
;
215#define _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT71)((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3))
216#define _OMC_LIT72_data"\", size=\"6,6\"];\n" "\", size=\"6,6\"];\n"
217static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT72,16,_OMC_LIT72_data)struct { mmc_uint_t header; const char data[(16)+1]; } _OMC_LIT_STRUCT72
= { ((((mmc_uint_t)16)<<(3))+((1<<(3+3))+5)), "\", size=\"6,6\"];\n"
}
;
218#define _OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT72)((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3))
219#define _OMC_LIT73_data"// Definite Roots (Connections.root)" "// Definite Roots (Connections.root)"
220static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT73,36,_OMC_LIT73_data)struct { mmc_uint_t header; const char data[(36)+1]; } _OMC_LIT_STRUCT73
= { ((((mmc_uint_t)36)<<(3))+((1<<(3+3))+5)), "// Definite Roots (Connections.root)"
}
;
221#define _OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT73)((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3))
222#define _OMC_LIT74_data"// Potential Roots (Connections.potentialRoot)" "// Potential Roots (Connections.potentialRoot)"
223static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT74,46,_OMC_LIT74_data)struct { mmc_uint_t header; const char data[(46)+1]; } _OMC_LIT_STRUCT74
= { ((((mmc_uint_t)46)<<(3))+((1<<(3+3))+5)), "// Potential Roots (Connections.potentialRoot)"
}
;
224#define _OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT74)((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3))
225#define _OMC_LIT75_data"// Branches (Connections.branch)" "// Branches (Connections.branch)"
226static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT75,32,_OMC_LIT75_data)struct { mmc_uint_t header; const char data[(32)+1]; } _OMC_LIT_STRUCT75
= { ((((mmc_uint_t)32)<<(3))+((1<<(3+3))+5)), "// Branches (Connections.branch)"
}
;
227#define _OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT75)((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3))
228#define _OMC_LIT76_data"// Connections (connect)" "// Connections (connect)"
229static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT76,24,_OMC_LIT76_data)struct { mmc_uint_t header; const char data[(24)+1]; } _OMC_LIT_STRUCT76
= { ((((mmc_uint_t)24)<<(3))+((1<<(3+3))+5)), "// Connections (connect)"
}
;
230#define _OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT76)((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3))
231#define _OMC_LIT77_data"\n}\n" "\n}\n"
232static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT77,3,_OMC_LIT77_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT77
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "\n}\n"
}
;
233#define _OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT77)((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3))
234static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT78,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT78
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
235#define _OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT78)((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3))
236#define _OMC_LIT79_data"\n\n\n// graph generation took: " "\n\n\n// graph generation took: "
237static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT79,29,_OMC_LIT79_data)struct { mmc_uint_t header; const char data[(29)+1]; } _OMC_LIT_STRUCT79
= { ((((mmc_uint_t)29)<<(3))+((1<<(3+3))+5)), "\n\n\n// graph generation took: "
}
;
238#define _OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT79)((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3))
239#define _OMC_LIT80_data" seconds\n" " seconds\n"
240static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT80,9,_OMC_LIT80_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT80
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), " seconds\n"
}
;
241#define _OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT80)((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3))
242#define _OMC_LIT81_data"GraphViz with connection graph for model: " "GraphViz with connection graph for model: "
243static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT81,42,_OMC_LIT81_data)struct { mmc_uint_t header; const char data[(42)+1]; } _OMC_LIT_STRUCT81
= { ((((mmc_uint_t)42)<<(3))+((1<<(3+3))+5)), "GraphViz with connection graph for model: "
}
;
244#define _OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT81)((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3))
245#define _OMC_LIT82_data" was writen to file: " " was writen to file: "
246static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT82,21,_OMC_LIT82_data)struct { mmc_uint_t header; const char data[(21)+1]; } _OMC_LIT_STRUCT82
= { ((((mmc_uint_t)21)<<(3))+((1<<(3+3))+5)), " was writen to file: "
}
;
247#define _OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT82)((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3))
248#define _OMC_LIT83_data" [fillcolor = orangered, rank = \"min\" label = " " [fillcolor = orangered, rank = \"min\" label = "
249static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT83,46,_OMC_LIT83_data)struct { mmc_uint_t header; const char data[(46)+1]; } _OMC_LIT_STRUCT83
= { ((((mmc_uint_t)46)<<(3))+((1<<(3+3))+5)), " [fillcolor = orangered, rank = \"min\" label = "
}
;
250#define _OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT83)((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3))
251#define _OMC_LIT84_data"\\n" "\\n"
252static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT84,2,_OMC_LIT84_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT84
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "\\n"
}
;
253#define _OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT84)((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3))
254#define _OMC_LIT85_data"\", " "\", "
255static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT85,3,_OMC_LIT85_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT85
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "\", "
}
;
256#define _OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT85)((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3))
257#define _OMC_LIT86_data"shape=ploygon, sides=7, distortion=\"0.265084\", orientation=26, skew=\"0.403659\"" "shape=ploygon, sides=7, distortion=\"0.265084\", orientation=26, skew=\"0.403659\""
258static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT86,78,_OMC_LIT86_data)struct { mmc_uint_t header; const char data[(78)+1]; } _OMC_LIT_STRUCT86
= { ((((mmc_uint_t)78)<<(3))+((1<<(3+3))+5)), "shape=ploygon, sides=7, distortion=\"0.265084\", orientation=26, skew=\"0.403659\""
}
;
259#define _OMC_LIT86((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT86)((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3))
260#define _OMC_LIT87_data"shape=box" "shape=box"
261static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT87,9,_OMC_LIT87_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT87
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "shape=box"
}
;
262#define _OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT87)((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))
263#define _OMC_LIT88_data"];\n " "];\n "
264static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT88,4,_OMC_LIT88_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT88
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "];\n "
}
;
265#define _OMC_LIT88((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT88)((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3))
266#define _OMC_LIT89_data" [fillcolor = red, rank = \"source\", label = " " [fillcolor = red, rank = \"source\", label = "
267static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT89,44,_OMC_LIT89_data)struct { mmc_uint_t header; const char data[(44)+1]; } _OMC_LIT_STRUCT89
= { ((((mmc_uint_t)44)<<(3))+((1<<(3+3))+5)), " [fillcolor = red, rank = \"source\", label = "
}
;
268#define _OMC_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT89)((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3))
269#define _OMC_LIT90_data"shape=polygon, sides=8, distortion=\"0.265084\", orientation=26, skew=\"0.403659\"" "shape=polygon, sides=8, distortion=\"0.265084\", orientation=26, skew=\"0.403659\""
270static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT90,78,_OMC_LIT90_data)struct { mmc_uint_t header; const char data[(78)+1]; } _OMC_LIT_STRUCT90
= { ((((mmc_uint_t)78)<<(3))+((1<<(3+3))+5)), "shape=polygon, sides=8, distortion=\"0.265084\", orientation=26, skew=\"0.403659\""
}
;
271#define _OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT90)((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3))
272#define _OMC_LIT91_data"[[broken connect]]" "[[broken connect]]"
273static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT91,18,_OMC_LIT91_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT91
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), "[[broken connect]]"
}
;
274#define _OMC_LIT91((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT91)((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3))
275#define _OMC_LIT92_data"connect" "connect"
276static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT92,7,_OMC_LIT92_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT92
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "connect"
}
;
277#define _OMC_LIT92((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT92)((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3))
278#define _OMC_LIT93_data"red" "red"
279static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT93,3,_OMC_LIT93_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT93
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "red"
}
;
280#define _OMC_LIT93((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT93)((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3))
281#define _OMC_LIT94_data"green" "green"
282static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT94,5,_OMC_LIT94_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT94
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "green"
}
;
283#define _OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT94)((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3))
284#define _OMC_LIT95_data"\"bold, dashed\"" "\"bold, dashed\""
285static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT95,14,_OMC_LIT95_data)struct { mmc_uint_t header; const char data[(14)+1]; } _OMC_LIT_STRUCT95
= { ((((mmc_uint_t)14)<<(3))+((1<<(3+3))+5)), "\"bold, dashed\""
}
;
286#define _OMC_LIT95((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT95)((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3))
287#define _OMC_LIT96_data"solid" "solid"
288static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT96,5,_OMC_LIT96_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT96
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "solid"
}
;
289#define _OMC_LIT96((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT96)((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3))
290#define _OMC_LIT97_data"true" "true"
291static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT97,4,_OMC_LIT97_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT97
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "true"
}
;
292#define _OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT97)((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3))
293#define _OMC_LIT98_data"false" "false"
294static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT98,5,_OMC_LIT98_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT98
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "false"
}
;
295#define _OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT98)((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3))
296#define _OMC_LIT99_data"labelfontsize = 20.0, " "labelfontsize = 20.0, "
297static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT99,22,_OMC_LIT99_data)struct { mmc_uint_t header; const char data[(22)+1]; } _OMC_LIT_STRUCT99
= { ((((mmc_uint_t)22)<<(3))+((1<<(3+3))+5)), "labelfontsize = 20.0, "
}
;
298#define _OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT99)((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3))
299#define _OMC_LIT100_data"\" -- \"" "\" -- \""
300static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT100,6,_OMC_LIT100_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT100
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "\" -- \""
}
;
301#define _OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT100)((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3))
302#define _OMC_LIT101_data"\" [dir = \"none\", style = " "\" [dir = \"none\", style = "
303static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT101,25,_OMC_LIT101_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT101
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), "\" [dir = \"none\", style = "
}
;
304#define _OMC_LIT101((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT101)((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3))
305#define _OMC_LIT102_data", decorate = " ", decorate = "
306static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT102,13,_OMC_LIT102_data)struct { mmc_uint_t header; const char data[(13)+1]; } _OMC_LIT_STRUCT102
= { ((((mmc_uint_t)13)<<(3))+((1<<(3+3))+5)), ", decorate = "
}
;
307#define _OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT102)((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3))
308#define _OMC_LIT103_data", color = " ", color = "
309static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT103,10,_OMC_LIT103_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT103
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), ", color = "
}
;
310#define _OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT103)((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3))
311#define _OMC_LIT104_data"fontcolor = " "fontcolor = "
312static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT104,12,_OMC_LIT104_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT104
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), "fontcolor = "
}
;
313#define _OMC_LIT104((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT104)((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3))
314#define _OMC_LIT105_data", label = \"" ", label = \""
315static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT105,11,_OMC_LIT105_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT105
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), ", label = \""
}
;
316#define _OMC_LIT105((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT105)((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3))
317#define _OMC_LIT106_data"\"];\n " "\"];\n "
318static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT106,5,_OMC_LIT106_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT106
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "\"];\n "
}
;
319#define _OMC_LIT106((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT106)((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3))
320#define _OMC_LIT107_data" [color = blue, dir = \"none\", fontcolor=blue, label = \"branch\"];\n " " [color = blue, dir = \"none\", fontcolor=blue, label = \"branch\"];\n "
321static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT107,66,_OMC_LIT107_data)struct { mmc_uint_t header; const char data[(66)+1]; } _OMC_LIT_STRUCT107
= { ((((mmc_uint_t)66)<<(3))+((1<<(3+3))+5)), " [color = blue, dir = \"none\", fontcolor=blue, label = \"branch\"];\n "
}
;
322#define _OMC_LIT107((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT107)((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3))
323#define _OMC_LIT108_data"- ConnectionGraph.merge()\n" "- ConnectionGraph.merge()\n"
324static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT108,26,_OMC_LIT108_data)struct { mmc_uint_t header; const char data[(26)+1]; } _OMC_LIT_STRUCT108
= { ((((mmc_uint_t)26)<<(3))+((1<<(3+3))+5)), "- ConnectionGraph.merge()\n"
}
;
325#define _OMC_LIT108((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT108)((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3))
326#define _OMC_LIT109_data"Connections:\n" "Connections:\n"
327static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT109,13,_OMC_LIT109_data)struct { mmc_uint_t header; const char data[(13)+1]; } _OMC_LIT_STRUCT109
= { ((((mmc_uint_t)13)<<(3))+((1<<(3+3))+5)), "Connections:\n"
}
;
328#define _OMC_LIT109((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT109)((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3))
329#define _OMC_LIT110_data"Branches:\n" "Branches:\n"
330static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT110,10,_OMC_LIT110_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT110
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "Branches:\n"
}
;
331#define _OMC_LIT110((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT110)((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3))
332#define _OMC_LIT111_data" " " "
333static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT111,4,_OMC_LIT111_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT111
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), " "
}
;
334#define _OMC_LIT111((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT111)((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3))
335#define _OMC_LIT112_data" -- " " -- "
336static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT112,4,_OMC_LIT112_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT112
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), " -- "
}
;
337#define _OMC_LIT112((void*)((char*)(&(_OMC_LIT_STRUCT112).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT112)((void*)((char*)(&(_OMC_LIT_STRUCT112).header) + 3))
338#define _OMC_LIT113_data"(" "("
339static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT113,1,_OMC_LIT113_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT113
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "("
}
;
340#define _OMC_LIT113((void*)((char*)(&(_OMC_LIT_STRUCT113).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT113)((void*)((char*)(&(_OMC_LIT_STRUCT113).header) + 3))
341#define _OMC_LIT114_data"- ConnectionGraph.evalConnectionsOperatorsHelper: " "- ConnectionGraph.evalConnectionsOperatorsHelper: "
342static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT114,50,_OMC_LIT114_data)struct { mmc_uint_t header; const char data[(50)+1]; } _OMC_LIT_STRUCT114
= { ((((mmc_uint_t)50)<<(3))+((1<<(3+3))+5)), "- ConnectionGraph.evalConnectionsOperatorsHelper: "
}
;
343#define _OMC_LIT114((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT114)((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3))
344#define _OMC_LIT115_data" = false" " = false"
345static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT115,8,_OMC_LIT115_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT115
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), " = false"
}
;
346#define _OMC_LIT115((void*)((char*)(&(_OMC_LIT_STRUCT115).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT115)((void*)((char*)(&(_OMC_LIT_STRUCT115).header) + 3))
347static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT116,2,6)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT116
= { (((2) << 10) + (((6) & 255) << 2)),
{&DAE_Exp_BCONST__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
348#define _OMC_LIT116((void*)((char*)(&(_OMC_LIT_STRUCT116).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT116)((void*)((char*)(&(_OMC_LIT_STRUCT116).header) + 3))
349#define _OMC_LIT117_data"- ConnectionGraph.evalConnectionsOperatorsHelper: Found Branche Partner " "- ConnectionGraph.evalConnectionsOperatorsHelper: Found Branche Partner "
350static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT117,72,_OMC_LIT117_data)struct { mmc_uint_t header; const char data[(72)+1]; } _OMC_LIT_STRUCT117
= { ((((mmc_uint_t)72)<<(3))+((1<<(3+3))+5)), "- ConnectionGraph.evalConnectionsOperatorsHelper: Found Branche Partner "
}
;
351#define _OMC_LIT117((void*)((char*)(&(_OMC_LIT_STRUCT117).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT117)((void*)((char*)(&(_OMC_LIT_STRUCT117).header) + 3))
352#define _OMC_LIT118_data" = " " = "
353static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT118,3,_OMC_LIT118_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT118
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), " = "
}
;
354#define _OMC_LIT118((void*)((char*)(&(_OMC_LIT_STRUCT118).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT118)((void*)((char*)(&(_OMC_LIT_STRUCT118).header) + 3))
355#define _OMC_LIT119_data"- ConnectionGraph.evalConnectionsOperatorsHelper: Connections.uniqueRootsIndicies(" "- ConnectionGraph.evalConnectionsOperatorsHelper: Connections.uniqueRootsIndicies("
356static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT119,82,_OMC_LIT119_data)struct { mmc_uint_t header; const char data[(82)+1]; } _OMC_LIT_STRUCT119
= { ((((mmc_uint_t)82)<<(3))+((1<<(3+3))+5)), "- ConnectionGraph.evalConnectionsOperatorsHelper: Connections.uniqueRootsIndicies("
}
;
357#define _OMC_LIT119((void*)((char*)(&(_OMC_LIT_STRUCT119).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT119)((void*)((char*)(&(_OMC_LIT_STRUCT119).header) + 3))
358#define _OMC_LIT120_data"," ","
359static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT120,1,_OMC_LIT120_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT120
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), ","
}
;
360#define _OMC_LIT120((void*)((char*)(&(_OMC_LIT_STRUCT120).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT120)((void*)((char*)(&(_OMC_LIT_STRUCT120).header) + 3))
361static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT121,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT121
= { (((2) << 10) + (((3) & 255) << 2)),
{&DAE_Exp_ICONST__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
362#define _OMC_LIT121((void*)((char*)(&(_OMC_LIT_STRUCT121).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT121)((void*)((char*)(&(_OMC_LIT_STRUCT121).header) + 3))
363static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT122,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT122
= { (((2) << 10) + (((3) & 255) << 2)),
{&DAE_Type_T__INTEGER__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
364#define _OMC_LIT122((void*)((char*)(&(_OMC_LIT_STRUCT122).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT122)((void*)((char*)(&(_OMC_LIT_STRUCT122).header) + 3))
365#define _OMC_LIT123_data"rooted" "rooted"
366static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT123,6,_OMC_LIT123_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT123
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "rooted"
}
;
367#define _OMC_LIT123((void*)((char*)(&(_OMC_LIT_STRUCT123).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT123)((void*)((char*)(&(_OMC_LIT_STRUCT123).header) + 3))
368#define _OMC_LIT124_data"Connections" "Connections"
369static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT124,11,_OMC_LIT124_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT124
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "Connections"
}
;
370#define _OMC_LIT124((void*)((char*)(&(_OMC_LIT_STRUCT124).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT124)((void*)((char*)(&(_OMC_LIT_STRUCT124).header) + 3))
371#define _OMC_LIT125_data"isRoot" "isRoot"
372static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT125,6,_OMC_LIT125_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT125
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "isRoot"
}
;
373#define _OMC_LIT125((void*)((char*)(&(_OMC_LIT_STRUCT125).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT125)((void*)((char*)(&(_OMC_LIT_STRUCT125).header) + 3))
374#define _OMC_LIT126_data"uniqueRootIndices" "uniqueRootIndices"
375static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT126,17,_OMC_LIT126_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT126
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "uniqueRootIndices"
}
;
376#define _OMC_LIT126((void*)((char*)(&(_OMC_LIT_STRUCT126).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT126)((void*)((char*)(&(_OMC_LIT_STRUCT126).header) + 3))
377#define _OMC_LIT127_data"The following output from GraphViz OpenModelica assistant cannot be parsed:" "The following output from GraphViz OpenModelica assistant cannot be parsed:"
378static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT127,75,_OMC_LIT127_data)struct { mmc_uint_t header; const char data[(75)+1]; } _OMC_LIT_STRUCT127
= { ((((mmc_uint_t)75)<<(3))+((1<<(3+3))+5)), "The following output from GraphViz OpenModelica assistant cannot be parsed:"
}
;
379#define _OMC_LIT127((void*)((char*)(&(_OMC_LIT_STRUCT127).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT127)((void*)((char*)(&(_OMC_LIT_STRUCT127).header) + 3))
380#define _OMC_LIT128_data"\nExpected format from GrapViz: cref1|cref2#cref3|cref4#. Ignoring malformed input." "\nExpected format from GrapViz: cref1|cref2#cref3|cref4#. Ignoring malformed input."
381static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT128,82,_OMC_LIT128_data)struct { mmc_uint_t header; const char data[(82)+1]; } _OMC_LIT_STRUCT128
= { ((((mmc_uint_t)82)<<(3))+((1<<(3+3))+5)), "\nExpected format from GrapViz: cref1|cref2#cref3|cref4#. Ignoring malformed input."
}
;
382#define _OMC_LIT128((void*)((char*)(&(_OMC_LIT_STRUCT128).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT128)((void*)((char*)(&(_OMC_LIT_STRUCT128).header) + 3))
383#define _OMC_LIT129_data"Ordered Potential Roots: " "Ordered Potential Roots: "
384static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT129,25,_OMC_LIT129_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT129
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), "Ordered Potential Roots: "
}
;
385#define _OMC_LIT129((void*)((char*)(&(_OMC_LIT_STRUCT129).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT129)((void*)((char*)(&(_OMC_LIT_STRUCT129).header) + 3))
386#define _OMC_LIT130_data"__DUMMY_ROOT" "__DUMMY_ROOT"
387static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT130,12,_OMC_LIT130_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT130
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), "__DUMMY_ROOT"
}
;
388#define _OMC_LIT130((void*)((char*)(&(_OMC_LIT_STRUCT130).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT130)((void*)((char*)(&(_OMC_LIT_STRUCT130).header) + 3))
389#define _OMC_LIT131_data"#" "#"
390static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT131,1,_OMC_LIT131_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT131
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "#"
}
;
391#define _OMC_LIT131((void*)((char*)(&(_OMC_LIT_STRUCT131).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT131)((void*)((char*)(&(_OMC_LIT_STRUCT131).header) + 3))
392#define _OMC_LIT132_data"|" "|"
393static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT132,1,_OMC_LIT132_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT132
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "|"
}
;
394#define _OMC_LIT132((void*)((char*)(&(_OMC_LIT_STRUCT132).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT132)((void*)((char*)(&(_OMC_LIT_STRUCT132).header) + 3))
395#define _OMC_LIT133_data"User selected the following connect edges for breaking:\n " "User selected the following connect edges for breaking:\n "
396static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT133,57,_OMC_LIT133_data)struct { mmc_uint_t header; const char data[(57)+1]; } _OMC_LIT_STRUCT133
= { ((((mmc_uint_t)57)<<(3))+((1<<(3+3))+5)), "User selected the following connect edges for breaking:\n "
}
;
397#define _OMC_LIT133((void*)((char*)(&(_OMC_LIT_STRUCT133).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT133)((void*)((char*)(&(_OMC_LIT_STRUCT133).header) + 3))
398#define _OMC_LIT134_data"\n " "\n "
399static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT134,2,_OMC_LIT134_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT134
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "\n "
}
;
400#define _OMC_LIT134((void*)((char*)(&(_OMC_LIT_STRUCT134).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT134)((void*)((char*)(&(_OMC_LIT_STRUCT134).header) + 3))
401#define _OMC_LIT135_data"\nAfer ordering:\n" "\nAfer ordering:\n"
402static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT135,16,_OMC_LIT135_data)struct { mmc_uint_t header; const char data[(16)+1]; } _OMC_LIT_STRUCT135
= { ((((mmc_uint_t)16)<<(3))+((1<<(3+3))+5)), "\nAfer ordering:\n"
}
;
403#define _OMC_LIT135((void*)((char*)(&(_OMC_LIT_STRUCT135).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT135)((void*)((char*)(&(_OMC_LIT_STRUCT135).header) + 3))
404#define _OMC_LIT136_data"- ConnectionGraph.connectComponents: should remove equations generated from: connect(" "- ConnectionGraph.connectComponents: should remove equations generated from: connect("
405static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT136,85,_OMC_LIT136_data)struct { mmc_uint_t header; const char data[(85)+1]; } _OMC_LIT_STRUCT136
= { ((((mmc_uint_t)85)<<(3))+((1<<(3+3))+5)), "- ConnectionGraph.connectComponents: should remove equations generated from: connect("
}
;
406#define _OMC_LIT136((void*)((char*)(&(_OMC_LIT_STRUCT136).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT136)((void*)((char*)(&(_OMC_LIT_STRUCT136).header) + 3))
407#define _OMC_LIT137_data") and add {0, ..., 0} = equalityConstraint(cr1, cr2) instead.\n" ") and add {0, ..., 0} = equalityConstraint(cr1, cr2) instead.\n"
408static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT137,62,_OMC_LIT137_data)struct { mmc_uint_t header; const char data[(62)+1]; } _OMC_LIT_STRUCT137
= { ((((mmc_uint_t)62)<<(3))+((1<<(3+3))+5)), ") and add {0, ..., 0} = equalityConstraint(cr1, cr2) instead.\n"
}
;
409#define _OMC_LIT137((void*)((char*)(&(_OMC_LIT_STRUCT137).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT137)((void*)((char*)(&(_OMC_LIT_STRUCT137).header) + 3))
410#define _OMC_LIT138_data"- ConnectionGraph.addConnection(" "- ConnectionGraph.addConnection("
411static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT138,32,_OMC_LIT138_data)struct { mmc_uint_t header; const char data[(32)+1]; } _OMC_LIT_STRUCT138
= { ((((mmc_uint_t)32)<<(3))+((1<<(3+3))+5)), "- ConnectionGraph.addConnection("
}
;
412#define _OMC_LIT138((void*)((char*)(&(_OMC_LIT_STRUCT138).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT138)((void*)((char*)(&(_OMC_LIT_STRUCT138).header) + 3))
413#define _OMC_LIT139_data")\n" ")\n"
414static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT139,2,_OMC_LIT139_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT139
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ")\n"
}
;
415#define _OMC_LIT139((void*)((char*)(&(_OMC_LIT_STRUCT139).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT139)((void*)((char*)(&(_OMC_LIT_STRUCT139).header) + 3))
416#define _OMC_LIT140_data"- ConnectionGraph.addBranch(" "- ConnectionGraph.addBranch("
417static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT140,28,_OMC_LIT140_data)struct { mmc_uint_t header; const char data[(28)+1]; } _OMC_LIT_STRUCT140
= { ((((mmc_uint_t)28)<<(3))+((1<<(3+3))+5)), "- ConnectionGraph.addBranch("
}
;
418#define _OMC_LIT140((void*)((char*)(&(_OMC_LIT_STRUCT140).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT140)((void*)((char*)(&(_OMC_LIT_STRUCT140).header) + 3))
419#define _OMC_LIT141_data"- ConnectionGraph.addUniqueRoots(" "- ConnectionGraph.addUniqueRoots("
420static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT141,33,_OMC_LIT141_data)struct { mmc_uint_t header; const char data[(33)+1]; } _OMC_LIT_STRUCT141
= { ((((mmc_uint_t)33)<<(3))+((1<<(3+3))+5)), "- ConnectionGraph.addUniqueRoots("
}
;
421#define _OMC_LIT141((void*)((char*)(&(_OMC_LIT_STRUCT141).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT141)((void*)((char*)(&(_OMC_LIT_STRUCT141).header) + 3))
422#define _OMC_LIT142_data"- ConnectionGraph.addPotentialRoot(" "- ConnectionGraph.addPotentialRoot("
423static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT142,35,_OMC_LIT142_data)struct { mmc_uint_t header; const char data[(35)+1]; } _OMC_LIT_STRUCT142
= { ((((mmc_uint_t)35)<<(3))+((1<<(3+3))+5)), "- ConnectionGraph.addPotentialRoot("
}
;
424#define _OMC_LIT142((void*)((char*)(&(_OMC_LIT_STRUCT142).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT142)((void*)((char*)(&(_OMC_LIT_STRUCT142).header) + 3))
425#define _OMC_LIT143_data"- ConnectionGraph.addDefiniteRoot(" "- ConnectionGraph.addDefiniteRoot("
426static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT143,34,_OMC_LIT143_data)struct { mmc_uint_t header; const char data[(34)+1]; } _OMC_LIT_STRUCT143
= { ((((mmc_uint_t)34)<<(3))+((1<<(3+3))+5)), "- ConnectionGraph.addDefiniteRoot("
}
;
427#define _OMC_LIT143((void*)((char*)(&(_OMC_LIT_STRUCT143).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT143)((void*)((char*)(&(_OMC_LIT_STRUCT143).header) + 3))
428#define _OMC_LIT144_data"Summary: \n Nr Roots: " "Summary: \n Nr Roots: "
429static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT144,31,_OMC_LIT144_data)struct { mmc_uint_t header; const char data[(31)+1]; } _OMC_LIT_STRUCT144
= { ((((mmc_uint_t)31)<<(3))+((1<<(3+3))+5)), "Summary: \n Nr Roots: "
}
;
430#define _OMC_LIT144((void*)((char*)(&(_OMC_LIT_STRUCT144).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT144)((void*)((char*)(&(_OMC_LIT_STRUCT144).header) + 3))
431#define _OMC_LIT145_data"Nr Potential Roots: " "Nr Potential Roots: "
432static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT145,20,_OMC_LIT145_data)struct { mmc_uint_t header; const char data[(20)+1]; } _OMC_LIT_STRUCT145
= { ((((mmc_uint_t)20)<<(3))+((1<<(3+3))+5)), "Nr Potential Roots: "
}
;
433#define _OMC_LIT145((void*)((char*)(&(_OMC_LIT_STRUCT145).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT145)((void*)((char*)(&(_OMC_LIT_STRUCT145).header) + 3))
434#define _OMC_LIT146_data"Nr Unique Roots: " "Nr Unique Roots: "
435static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT146,20,_OMC_LIT146_data)struct { mmc_uint_t header; const char data[(20)+1]; } _OMC_LIT_STRUCT146
= { ((((mmc_uint_t)20)<<(3))+((1<<(3+3))+5)), "Nr Unique Roots: "
}
;
436#define _OMC_LIT146((void*)((char*)(&(_OMC_LIT_STRUCT146).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT146)((void*)((char*)(&(_OMC_LIT_STRUCT146).header) + 3))
437#define _OMC_LIT147_data"Nr Branches: " "Nr Branches: "
438static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT147,20,_OMC_LIT147_data)struct { mmc_uint_t header; const char data[(20)+1]; } _OMC_LIT_STRUCT147
= { ((((mmc_uint_t)20)<<(3))+((1<<(3+3))+5)), "Nr Branches: "
}
;
439#define _OMC_LIT147((void*)((char*)(&(_OMC_LIT_STRUCT147).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT147)((void*)((char*)(&(_OMC_LIT_STRUCT147).header) + 3))
440#define _OMC_LIT148_data"Nr Connections: " "Nr Connections: "
441static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT148,20,_OMC_LIT148_data)struct { mmc_uint_t header; const char data[(20)+1]; } _OMC_LIT_STRUCT148
= { ((((mmc_uint_t)20)<<(3))+((1<<(3+3))+5)), "Nr Connections: "
}
;
442#define _OMC_LIT148((void*)((char*)(&(_OMC_LIT_STRUCT148).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT148)((void*)((char*)(&(_OMC_LIT_STRUCT148).header) + 3))
443#define _OMC_LIT149_data"Roots: " "Roots: "
444static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT149,7,_OMC_LIT149_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT149
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "Roots: "
}
;
445#define _OMC_LIT149((void*)((char*)(&(_OMC_LIT_STRUCT149).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT149)((void*)((char*)(&(_OMC_LIT_STRUCT149).header) + 3))
446#define _OMC_LIT150_data"Broken connections: " "Broken connections: "
447static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT150,20,_OMC_LIT150_data)struct { mmc_uint_t header; const char data[(20)+1]; } _OMC_LIT_STRUCT150
= { ((((mmc_uint_t)20)<<(3))+((1<<(3+3))+5)), "Broken connections: "
}
;
448#define _OMC_LIT150((void*)((char*)(&(_OMC_LIT_STRUCT150).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT150)((void*)((char*)(&(_OMC_LIT_STRUCT150).header) + 3))
449#define _OMC_LIT151_data"broken" "broken"
450static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT151,6,_OMC_LIT151_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT151
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "broken"
}
;
451#define _OMC_LIT151((void*)((char*)(&(_OMC_LIT_STRUCT151).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT151)((void*)((char*)(&(_OMC_LIT_STRUCT151).header) + 3))
452#define _OMC_LIT152_data"Allowed connections: " "Allowed connections: "
453static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT152,21,_OMC_LIT152_data)struct { mmc_uint_t header; const char data[(21)+1]; } _OMC_LIT_STRUCT152
= { ((((mmc_uint_t)21)<<(3))+((1<<(3+3))+5)), "Allowed connections: "
}
;
454#define _OMC_LIT152((void*)((char*)(&(_OMC_LIT_STRUCT152).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT152)((void*)((char*)(&(_OMC_LIT_STRUCT152).header) + 3))
455#define _OMC_LIT153_data"- ConnectionGraph.handleOverconstrainedConnections failed for model: " "- ConnectionGraph.handleOverconstrainedConnections failed for model: "
456static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT153,69,_OMC_LIT153_data)struct { mmc_uint_t header; const char data[(69)+1]; } _OMC_LIT_STRUCT153
= { ((((mmc_uint_t)69)<<(3))+((1<<(3+3))+5)), "- ConnectionGraph.handleOverconstrainedConnections failed for model: "
}
;
457#define _OMC_LIT153((void*)((char*)(&(_OMC_LIT_STRUCT153).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT153)((void*)((char*)(&(_OMC_LIT_STRUCT153).header) + 3))
458#include "util/modelica.h"
459
460#include "ConnectionGraph_includes.h"
461
462
463/* default, do not make protected functions static */
464#if !defined(PROTECTED_FUNCTION_STATIC)
465#define PROTECTED_FUNCTION_STATIC
466#endif
467PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_removeFromConnects(threadData_t *threadData, modelica_metatype _inConnects, modelica_metatype _inToRemove);
468static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_removeFromConnects,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_removeFromConnects
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_removeFromConnectsomc_ConnectionGraph_removeFromConnects,0}};
469#define boxvar_ConnectionGraph_removeFromConnects((void*)((char*)(&(boxvar_lit_ConnectionGraph_removeFromConnects
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_removeFromConnects)((void*)((char*)(&(boxvar_lit_ConnectionGraph_removeFromConnects
).header) + 3))
470PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_filterFromSet(threadData_t *threadData, modelica_metatype _inConnects, modelica_metatype _inFilter, modelica_metatype _inAcc, modelica_string _msg);
471static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_filterFromSet,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_filterFromSet
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_filterFromSetomc_ConnectionGraph_filterFromSet,0}};
472#define boxvar_ConnectionGraph_filterFromSet((void*)((char*)(&(boxvar_lit_ConnectionGraph_filterFromSet
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_filterFromSet)((void*)((char*)(&(boxvar_lit_ConnectionGraph_filterFromSet
).header) + 3))
473PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_splitSetByAllowed(threadData_t *threadData, modelica_metatype _inConnects, modelica_metatype _inConnected);
474static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_splitSetByAllowed,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_splitSetByAllowed
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_splitSetByAllowedomc_ConnectionGraph_splitSetByAllowed,0}};
475#define boxvar_ConnectionGraph_splitSetByAllowed((void*)((char*)(&(boxvar_lit_ConnectionGraph_splitSetByAllowed
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_splitSetByAllowed)((void*)((char*)(&(boxvar_lit_ConnectionGraph_splitSetByAllowed
).header) + 3))
476PROTECTED_FUNCTION_STATIC modelica_string omc_ConnectionGraph_showGraphViz(threadData_t *threadData, modelica_string _fileNameGraphViz, modelica_string _modelNameQualified);
477static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_showGraphViz,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_showGraphViz
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_showGraphVizomc_ConnectionGraph_showGraphViz,0}};
478#define boxvar_ConnectionGraph_showGraphViz((void*)((char*)(&(boxvar_lit_ConnectionGraph_showGraphViz
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_showGraphViz)((void*)((char*)(&(boxvar_lit_ConnectionGraph_showGraphViz
).header) + 3))
479PROTECTED_FUNCTION_STATIC modelica_string omc_ConnectionGraph_generateGraphViz(threadData_t *threadData, modelica_string _modelNameQualified, modelica_metatype _definiteRoots, modelica_metatype _potentialRoots, modelica_metatype _uniqueRoots, modelica_metatype _branches, modelica_metatype _connections, modelica_metatype _finalRoots, modelica_metatype _broken);
480static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_generateGraphViz,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_generateGraphViz
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_generateGraphVizomc_ConnectionGraph_generateGraphViz,0}};
481#define boxvar_ConnectionGraph_generateGraphViz((void*)((char*)(&(boxvar_lit_ConnectionGraph_generateGraphViz
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_generateGraphViz)((void*)((char*)(&(boxvar_lit_ConnectionGraph_generateGraphViz
).header) + 3))
482PROTECTED_FUNCTION_STATIC modelica_string omc_ConnectionGraph_graphVizPotentialRoot(threadData_t *threadData, modelica_metatype _inPotentialRoot, modelica_metatype _inFinalRoots);
483static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_graphVizPotentialRoot,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_graphVizPotentialRoot
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_graphVizPotentialRootomc_ConnectionGraph_graphVizPotentialRoot,0}};
484#define boxvar_ConnectionGraph_graphVizPotentialRoot((void*)((char*)(&(boxvar_lit_ConnectionGraph_graphVizPotentialRoot
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_graphVizPotentialRoot)((void*)((char*)(&(boxvar_lit_ConnectionGraph_graphVizPotentialRoot
).header) + 3))
485PROTECTED_FUNCTION_STATIC modelica_string omc_ConnectionGraph_graphVizDefiniteRoot(threadData_t *threadData, modelica_metatype _inDefiniteRoot, modelica_metatype _inFinalRoots);
486static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_graphVizDefiniteRoot,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_graphVizDefiniteRoot
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_graphVizDefiniteRootomc_ConnectionGraph_graphVizDefiniteRoot,0}};
487#define boxvar_ConnectionGraph_graphVizDefiniteRoot((void*)((char*)(&(boxvar_lit_ConnectionGraph_graphVizDefiniteRoot
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_graphVizDefiniteRoot)((void*)((char*)(&(boxvar_lit_ConnectionGraph_graphVizDefiniteRoot
).header) + 3))
488PROTECTED_FUNCTION_STATIC modelica_string omc_ConnectionGraph_graphVizDaeEdge(threadData_t *threadData, modelica_metatype _inDaeEdge, modelica_metatype _inBrokenDaeEdges);
489static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_graphVizDaeEdge,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_graphVizDaeEdge
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_graphVizDaeEdgeomc_ConnectionGraph_graphVizDaeEdge,0}};
490#define boxvar_ConnectionGraph_graphVizDaeEdge((void*)((char*)(&(boxvar_lit_ConnectionGraph_graphVizDaeEdge
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_graphVizDaeEdge)((void*)((char*)(&(boxvar_lit_ConnectionGraph_graphVizDaeEdge
).header) + 3))
491PROTECTED_FUNCTION_STATIC modelica_string omc_ConnectionGraph_graphVizEdge(threadData_t *threadData, modelica_metatype _inEdge);
492static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_graphVizEdge,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_graphVizEdge
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_graphVizEdgeomc_ConnectionGraph_graphVizEdge,0}};
493#define boxvar_ConnectionGraph_graphVizEdge((void*)((char*)(&(boxvar_lit_ConnectionGraph_graphVizEdge
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_graphVizEdge)((void*)((char*)(&(boxvar_lit_ConnectionGraph_graphVizEdge
).header) + 3))
494PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_getConnections(threadData_t *threadData, modelica_metatype _inGraph);
495static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_getConnections,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_getConnections
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_getConnectionsomc_ConnectionGraph_getConnections,0}};
496#define boxvar_ConnectionGraph_getConnections((void*)((char*)(&(boxvar_lit_ConnectionGraph_getConnections
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_getConnections)((void*)((char*)(&(boxvar_lit_ConnectionGraph_getConnections
).header) + 3))
497PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_getBranches(threadData_t *threadData, modelica_metatype _inGraph);
498static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_getBranches,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_getBranches
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_getBranchesomc_ConnectionGraph_getBranches,0}};
499#define boxvar_ConnectionGraph_getBranches((void*)((char*)(&(boxvar_lit_ConnectionGraph_getBranches
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_getBranches)((void*)((char*)(&(boxvar_lit_ConnectionGraph_getBranches
).header) + 3))
500PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_getPotentialRoots(threadData_t *threadData, modelica_metatype _inGraph);
501static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_getPotentialRoots,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_getPotentialRoots
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_getPotentialRootsomc_ConnectionGraph_getPotentialRoots,0}};
502#define boxvar_ConnectionGraph_getPotentialRoots((void*)((char*)(&(boxvar_lit_ConnectionGraph_getPotentialRoots
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_getPotentialRoots)((void*)((char*)(&(boxvar_lit_ConnectionGraph_getPotentialRoots
).header) + 3))
503PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_getUniqueRoots(threadData_t *threadData, modelica_metatype _inGraph);
504static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_getUniqueRoots,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_getUniqueRoots
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_getUniqueRootsomc_ConnectionGraph_getUniqueRoots,0}};
505#define boxvar_ConnectionGraph_getUniqueRoots((void*)((char*)(&(boxvar_lit_ConnectionGraph_getUniqueRoots
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_getUniqueRoots)((void*)((char*)(&(boxvar_lit_ConnectionGraph_getUniqueRoots
).header) + 3))
506PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_getDefiniteRoots(threadData_t *threadData, modelica_metatype _inGraph);
507static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_getDefiniteRoots,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_getDefiniteRoots
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_getDefiniteRootsomc_ConnectionGraph_getDefiniteRoots,0}};
508#define boxvar_ConnectionGraph_getDefiniteRoots((void*)((char*)(&(boxvar_lit_ConnectionGraph_getDefiniteRoots
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_getDefiniteRoots)((void*)((char*)(&(boxvar_lit_ConnectionGraph_getDefiniteRoots
).header) + 3))
509PROTECTED_FUNCTION_STATIC void omc_ConnectionGraph_printConnectionGraph(threadData_t *threadData, modelica_metatype _inGraph);
510static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_printConnectionGraph,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_printConnectionGraph
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_printConnectionGraphomc_ConnectionGraph_printConnectionGraph,0}};
511#define boxvar_ConnectionGraph_printConnectionGraph((void*)((char*)(&(boxvar_lit_ConnectionGraph_printConnectionGraph
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_printConnectionGraph)((void*)((char*)(&(boxvar_lit_ConnectionGraph_printConnectionGraph
).header) + 3))
512PROTECTED_FUNCTION_STATIC void omc_ConnectionGraph_printDaeEdges(threadData_t *threadData, modelica_metatype _inEdges);
513static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_printDaeEdges,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_printDaeEdges
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_printDaeEdgesomc_ConnectionGraph_printDaeEdges,0}};
514#define boxvar_ConnectionGraph_printDaeEdges((void*)((char*)(&(boxvar_lit_ConnectionGraph_printDaeEdges
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_printDaeEdges)((void*)((char*)(&(boxvar_lit_ConnectionGraph_printDaeEdges
).header) + 3))
515PROTECTED_FUNCTION_STATIC void omc_ConnectionGraph_printEdges(threadData_t *threadData, modelica_metatype _inEdges);
516static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_printEdges,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_printEdges
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_printEdgesomc_ConnectionGraph_printEdges,0}};
517#define boxvar_ConnectionGraph_printEdges((void*)((char*)(&(boxvar_lit_ConnectionGraph_printEdges)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_printEdges)((void*)((char*)(&(boxvar_lit_ConnectionGraph_printEdges)
.header) + 3))
518PROTECTED_FUNCTION_STATIC modelica_string omc_ConnectionGraph_printConnectionStr(threadData_t *threadData, modelica_metatype _connectTuple, modelica_string _ty);
519static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_printConnectionStr,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_printConnectionStr
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_printConnectionStromc_ConnectionGraph_printConnectionStr,0}};
520#define boxvar_ConnectionGraph_printConnectionStr((void*)((char*)(&(boxvar_lit_ConnectionGraph_printConnectionStr
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_printConnectionStr)((void*)((char*)(&(boxvar_lit_ConnectionGraph_printConnectionStr
).header) + 3))
521PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_getEdge1(threadData_t *threadData, modelica_metatype _cr, modelica_metatype _cref1, modelica_metatype _cref2);
522static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_getEdge1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_getEdge1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_getEdge1omc_ConnectionGraph_getEdge1,0}};
523#define boxvar_ConnectionGraph_getEdge1((void*)((char*)(&(boxvar_lit_ConnectionGraph_getEdge1).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_getEdge1)((void*)((char*)(&(boxvar_lit_ConnectionGraph_getEdge1).header
) + 3))
524PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_getEdge(threadData_t *threadData, modelica_metatype _cr, modelica_metatype _edges);
525static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_getEdge,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_getEdge
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_getEdgeomc_ConnectionGraph_getEdge,0}};
526#define boxvar_ConnectionGraph_getEdge((void*)((char*)(&(boxvar_lit_ConnectionGraph_getEdge).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_getEdge)((void*)((char*)(&(boxvar_lit_ConnectionGraph_getEdge).header
) + 3))
527PROTECTED_FUNCTION_STATIC modelica_boolean omc_ConnectionGraph_getRooted(threadData_t *threadData, modelica_metatype _cref1, modelica_metatype _cref2, modelica_metatype _rooted);
528PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ConnectionGraph_getRooted(threadData_t *threadData, modelica_metatype _cref1, modelica_metatype _cref2, modelica_metatype _rooted);
529static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_getRooted,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_getRooted
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_getRooted,0}};
530#define boxvar_ConnectionGraph_getRooted((void*)((char*)(&(boxvar_lit_ConnectionGraph_getRooted).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_getRooted)((void*)((char*)(&(boxvar_lit_ConnectionGraph_getRooted).
header) + 3))
531PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_evalConnectionsOperatorsHelper(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inRoots, modelica_metatype *out_outRoots);
532static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_evalConnectionsOperatorsHelper,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_evalConnectionsOperatorsHelper
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_evalConnectionsOperatorsHelperomc_ConnectionGraph_evalConnectionsOperatorsHelper,0}};
533#define boxvar_ConnectionGraph_evalConnectionsOperatorsHelper((void*)((char*)(&(boxvar_lit_ConnectionGraph_evalConnectionsOperatorsHelper
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_evalConnectionsOperatorsHelper)((void*)((char*)(&(boxvar_lit_ConnectionGraph_evalConnectionsOperatorsHelper
).header) + 3))
534PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_evalConnectionsOperators(threadData_t *threadData, modelica_metatype _inRoots, modelica_metatype _graph, modelica_metatype _inDae);
535static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_evalConnectionsOperators,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_evalConnectionsOperators
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_evalConnectionsOperatorsomc_ConnectionGraph_evalConnectionsOperators,0}};
536#define boxvar_ConnectionGraph_evalConnectionsOperators((void*)((char*)(&(boxvar_lit_ConnectionGraph_evalConnectionsOperators
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_evalConnectionsOperators)((void*)((char*)(&(boxvar_lit_ConnectionGraph_evalConnectionsOperators
).header) + 3))
537PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_addConnectionRooted(threadData_t *threadData, modelica_metatype _cref1, modelica_metatype _cref2, modelica_metatype _itable);
538static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_addConnectionRooted,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_addConnectionRooted
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_addConnectionRootedomc_ConnectionGraph_addConnectionRooted,0}};
539#define boxvar_ConnectionGraph_addConnectionRooted((void*)((char*)(&(boxvar_lit_ConnectionGraph_addConnectionRooted
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_addConnectionRooted)((void*)((char*)(&(boxvar_lit_ConnectionGraph_addConnectionRooted
).header) + 3))
540PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_addConnectionsRooted(threadData_t *threadData, modelica_metatype _connection, modelica_metatype _itable);
541static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_addConnectionsRooted,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_addConnectionsRooted
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_addConnectionsRootedomc_ConnectionGraph_addConnectionsRooted,0}};
542#define boxvar_ConnectionGraph_addConnectionsRooted((void*)((char*)(&(boxvar_lit_ConnectionGraph_addConnectionsRooted
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_addConnectionsRooted)((void*)((char*)(&(boxvar_lit_ConnectionGraph_addConnectionsRooted
).header) + 3))
543PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_addBranches(threadData_t *threadData, modelica_metatype _edge, modelica_metatype _itable);
544static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_addBranches,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_addBranches
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_addBranchesomc_ConnectionGraph_addBranches,0}};
545#define boxvar_ConnectionGraph_addBranches((void*)((char*)(&(boxvar_lit_ConnectionGraph_addBranches
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_addBranches)((void*)((char*)(&(boxvar_lit_ConnectionGraph_addBranches
).header) + 3))
546PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_setRootDistance(threadData_t *threadData, modelica_metatype _finalRoots, modelica_metatype _table, modelica_integer _distance, modelica_metatype _nextLevel, modelica_metatype _irooted);
547PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ConnectionGraph_setRootDistance(threadData_t *threadData, modelica_metatype _finalRoots, modelica_metatype _table, modelica_metatype _distance, modelica_metatype _nextLevel, modelica_metatype _irooted);
548static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_setRootDistance,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_setRootDistance
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_setRootDistance,0}};
549#define boxvar_ConnectionGraph_setRootDistance((void*)((char*)(&(boxvar_lit_ConnectionGraph_setRootDistance
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_setRootDistance)((void*)((char*)(&(boxvar_lit_ConnectionGraph_setRootDistance
).header) + 3))
550PROTECTED_FUNCTION_STATIC modelica_string omc_ConnectionGraph_printPotentialRootTuple(threadData_t *threadData, modelica_metatype _potentialRoot);
551static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_printPotentialRootTuple,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_printPotentialRootTuple
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_printPotentialRootTupleomc_ConnectionGraph_printPotentialRootTuple,0}};
552#define boxvar_ConnectionGraph_printPotentialRootTuple((void*)((char*)(&(boxvar_lit_ConnectionGraph_printPotentialRootTuple
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_printPotentialRootTuple)((void*)((char*)(&(boxvar_lit_ConnectionGraph_printPotentialRootTuple
).header) + 3))
553PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_makeTuple(threadData_t *threadData, modelica_metatype _inLstLst);
554static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_makeTuple,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_makeTuple
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_makeTupleomc_ConnectionGraph_makeTuple,0}};
555#define boxvar_ConnectionGraph_makeTuple((void*)((char*)(&(boxvar_lit_ConnectionGraph_makeTuple).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_makeTuple)((void*)((char*)(&(boxvar_lit_ConnectionGraph_makeTuple).
header) + 3))
556PROTECTED_FUNCTION_STATIC modelica_string omc_ConnectionGraph_printTupleStr(threadData_t *threadData, modelica_metatype _inTpl);
557static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_printTupleStr,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_printTupleStr
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_printTupleStromc_ConnectionGraph_printTupleStr,0}};
558#define boxvar_ConnectionGraph_printTupleStr((void*)((char*)(&(boxvar_lit_ConnectionGraph_printTupleStr
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_printTupleStr)((void*)((char*)(&(boxvar_lit_ConnectionGraph_printTupleStr
).header) + 3))
559PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_orderConnectsGuidedByUser(threadData_t *threadData, modelica_metatype _inConnections, modelica_metatype _inUserSelectedBreaking);
560static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_orderConnectsGuidedByUser,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_orderConnectsGuidedByUser
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_orderConnectsGuidedByUseromc_ConnectionGraph_orderConnectsGuidedByUser,0}};
561#define boxvar_ConnectionGraph_orderConnectsGuidedByUser((void*)((char*)(&(boxvar_lit_ConnectionGraph_orderConnectsGuidedByUser
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_orderConnectsGuidedByUser)((void*)((char*)(&(boxvar_lit_ConnectionGraph_orderConnectsGuidedByUser
).header) + 3))
562PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_findResultGraph(threadData_t *threadData, modelica_metatype _inGraph, modelica_string _modelNameQualified, modelica_metatype *out_outConnectedConnections, modelica_metatype *out_outBrokenConnections);
563static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_findResultGraph,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_findResultGraph
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_findResultGraphomc_ConnectionGraph_findResultGraph,0}};
564#define boxvar_ConnectionGraph_findResultGraph((void*)((char*)(&(boxvar_lit_ConnectionGraph_findResultGraph
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_findResultGraph)((void*)((char*)(&(boxvar_lit_ConnectionGraph_findResultGraph
).header) + 3))
565PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_addConnections(threadData_t *threadData, modelica_metatype _inTable, modelica_metatype _inConnections, modelica_metatype *out_outConnectedConnections, modelica_metatype *out_outBrokenConnections);
566static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_addConnections,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_addConnections
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_addConnectionsomc_ConnectionGraph_addConnections,0}};
567#define boxvar_ConnectionGraph_addConnections((void*)((char*)(&(boxvar_lit_ConnectionGraph_addConnections
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_addConnections)((void*)((char*)(&(boxvar_lit_ConnectionGraph_addConnections
).header) + 3))
568PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_addPotentialRootsToTable(threadData_t *threadData, modelica_metatype _inTable, modelica_metatype _inPotentialRoots, modelica_metatype _inRoots, modelica_metatype _inFirstRoot, modelica_metatype *out_outRoots);
569static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_addPotentialRootsToTable,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_addPotentialRootsToTable
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_addPotentialRootsToTableomc_ConnectionGraph_addPotentialRootsToTable,0}};
570#define boxvar_ConnectionGraph_addPotentialRootsToTable((void*)((char*)(&(boxvar_lit_ConnectionGraph_addPotentialRootsToTable
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_addPotentialRootsToTable)((void*)((char*)(&(boxvar_lit_ConnectionGraph_addPotentialRootsToTable
).header) + 3))
571PROTECTED_FUNCTION_STATIC modelica_boolean omc_ConnectionGraph_ord(threadData_t *threadData, modelica_metatype _inEl1, modelica_metatype _inEl2);
572PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ConnectionGraph_ord(threadData_t *threadData, modelica_metatype _inEl1, modelica_metatype _inEl2);
573static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_ord,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_ord
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_ord,0}};
574#define boxvar_ConnectionGraph_ord((void*)((char*)(&(boxvar_lit_ConnectionGraph_ord).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_ord)((void*)((char*)(&(boxvar_lit_ConnectionGraph_ord).header
) + 3))
575PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_addBranchesToTable(threadData_t *threadData, modelica_metatype _inTable, modelica_metatype _inBranches);
576static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_addBranchesToTable,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_addBranchesToTable
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_addBranchesToTableomc_ConnectionGraph_addBranchesToTable,0}};
577#define boxvar_ConnectionGraph_addBranchesToTable((void*)((char*)(&(boxvar_lit_ConnectionGraph_addBranchesToTable
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_addBranchesToTable)((void*)((char*)(&(boxvar_lit_ConnectionGraph_addBranchesToTable
).header) + 3))
578PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_resultGraphWithRoots(threadData_t *threadData, modelica_metatype _roots);
579static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_resultGraphWithRoots,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_resultGraphWithRoots
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_resultGraphWithRootsomc_ConnectionGraph_resultGraphWithRoots,0}};
580#define boxvar_ConnectionGraph_resultGraphWithRoots((void*)((char*)(&(boxvar_lit_ConnectionGraph_resultGraphWithRoots
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_resultGraphWithRoots)((void*)((char*)(&(boxvar_lit_ConnectionGraph_resultGraphWithRoots
).header) + 3))
581PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_addRootsToTable(threadData_t *threadData, modelica_metatype _inTable, modelica_metatype _inRoots, modelica_metatype _inFirstRoot);
582static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_addRootsToTable,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_addRootsToTable
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_addRootsToTableomc_ConnectionGraph_addRootsToTable,0}};
583#define boxvar_ConnectionGraph_addRootsToTable((void*)((char*)(&(boxvar_lit_ConnectionGraph_addRootsToTable
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_addRootsToTable)((void*)((char*)(&(boxvar_lit_ConnectionGraph_addRootsToTable
).header) + 3))
584PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_connectCanonicalComponents(threadData_t *threadData, modelica_metatype _inPartition, modelica_metatype _inRef1, modelica_metatype _inRef2, modelica_boolean *out_outReallyConnected);
585PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ConnectionGraph_connectCanonicalComponents(threadData_t *threadData, modelica_metatype _inPartition, modelica_metatype _inRef1, modelica_metatype _inRef2, modelica_metatype *out_outReallyConnected);
586static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_connectCanonicalComponents,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_connectCanonicalComponents
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_connectCanonicalComponents,0}};
587#define boxvar_ConnectionGraph_connectCanonicalComponents((void*)((char*)(&(boxvar_lit_ConnectionGraph_connectCanonicalComponents
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_connectCanonicalComponents)((void*)((char*)(&(boxvar_lit_ConnectionGraph_connectCanonicalComponents
).header) + 3))
588PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_connectComponents(threadData_t *threadData, modelica_metatype _inPartition, modelica_metatype _inDaeEdge, modelica_metatype *out_outConnectedConnections, modelica_metatype *out_outBrokenConnections);
589static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_connectComponents,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_connectComponents
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_connectComponentsomc_ConnectionGraph_connectComponents,0}};
590#define boxvar_ConnectionGraph_connectComponents((void*)((char*)(&(boxvar_lit_ConnectionGraph_connectComponents
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_connectComponents)((void*)((char*)(&(boxvar_lit_ConnectionGraph_connectComponents
).header) + 3))
591PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_connectBranchComponents(threadData_t *threadData, modelica_metatype _inPartition, modelica_metatype _inRef1, modelica_metatype _inRef2);
592static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_connectBranchComponents,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_connectBranchComponents
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_connectBranchComponentsomc_ConnectionGraph_connectBranchComponents,0}};
593#define boxvar_ConnectionGraph_connectBranchComponents((void*)((char*)(&(boxvar_lit_ConnectionGraph_connectBranchComponents
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_connectBranchComponents)((void*)((char*)(&(boxvar_lit_ConnectionGraph_connectBranchComponents
).header) + 3))
594PROTECTED_FUNCTION_STATIC modelica_boolean omc_ConnectionGraph_areInSameComponent(threadData_t *threadData, modelica_metatype _inPartition, modelica_metatype _inRef1, modelica_metatype _inRef2);
595PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ConnectionGraph_areInSameComponent(threadData_t *threadData, modelica_metatype _inPartition, modelica_metatype _inRef1, modelica_metatype _inRef2);
596static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_areInSameComponent,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_areInSameComponent
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_areInSameComponent,0}};
597#define boxvar_ConnectionGraph_areInSameComponent((void*)((char*)(&(boxvar_lit_ConnectionGraph_areInSameComponent
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_areInSameComponent)((void*)((char*)(&(boxvar_lit_ConnectionGraph_areInSameComponent
).header) + 3))
598PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_canonical(threadData_t *threadData, modelica_metatype _inPartition, modelica_metatype _inRef);
599static const MMC_DEFSTRUCTLIT(boxvar_lit_ConnectionGraph_canonical,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ConnectionGraph_canonical
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ConnectionGraph_canonicalomc_ConnectionGraph_canonical,0}};
600#define boxvar_ConnectionGraph_canonical((void*)((char*)(&(boxvar_lit_ConnectionGraph_canonical).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ConnectionGraph_canonical)((void*)((char*)(&(boxvar_lit_ConnectionGraph_canonical).
header) + 3))
601
602DLLExport
603modelica_metatype omc_ConnectionGraph_addBrokenEqualityConstraintEquations(threadData_t *threadData, modelica_metatype _inDAE, modelica_metatype _inBroken)
604{
605 modelica_metatype _outDAE = NULL((void*)0);
606 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
607 MMC_SO()mmc_check_stackoverflow(threadData);
608 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
609 // _outDAE has no default value.
610#line 610 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
611 { /* matchcontinue expression */
612 volatile modelica_metatype tmp3_1;
613 tmp3_1 = _inBroken;
614 {
615 modelica_metatype _equalityConstraintElements = NULL((void*)0);
616 volatile mmc_switch_type tmp3;
617 int tmp4;
618 // _equalityConstraintElements has no default value.
619 tmp3 = 0;
620 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) {
621 tmp2_top:
622 threadData->mmc_jumper = &new_mmc_jumper;
623 for (; tmp3 < 2; tmp3++) {
624 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
625 case 0: {
626 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
627 /* Pattern matching succeeded */
628#line 1778 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
629 tmpMeta[0] = _inDAE;
630#line 630 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
631 goto tmp2_done;
632 }
633 case 1: {
634
635 /* Pattern matching succeeded */
636#line 1782 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
637 _equalityConstraintElements = omc_List_flatten(threadData, omc_List_map(threadData, _inBroken, boxvar_Util_tuple33((void*)((char*)(&(boxvar_lit_Util_tuple33).header) + 3))));
638#line 638 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
639#line 1783 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
640 tmpMeta[1] = mmc_mk_box2(3, &DAE_DAElist_DAE__desc, _equalityConstraintElements);
641#line 1783 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
642 tmpMeta[0] = omc_DAEUtil_joinDaes(threadData, tmpMeta[1], _inDAE);
643#line 643 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
644 goto tmp2_done;
645 }
646 }
647 goto tmp2_end;
648 tmp2_end: ;
649 }
650 goto goto_1;
651 tmp2_done:
652 (void)tmp3;
653 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
654 goto tmp2_done2;
655 goto_1:;
656 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
657 if (++tmp3 < 2) {
658 goto tmp2_top;
659 }
660 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
661 tmp2_done2:;
662 }
663 }
664 _outDAE = tmpMeta[0];
665 _return: OMC_LABEL_UNUSED__attribute__((unused))
666 return _outDAE;
667}
668
669PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_removeFromConnects(threadData_t *threadData, modelica_metatype _inConnects, modelica_metatype _inToRemove)
670{
671 modelica_metatype _outConnects = NULL((void*)0);
672 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
673 MMC_SO()mmc_check_stackoverflow(threadData);
674 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
675 // _outConnects has no default value.
676#line 676 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
677 { /* match expression */
678 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
679 tmp3_1 = _inConnects;
680 tmp3_2 = _inToRemove;
681 {
682 modelica_metatype _c = NULL((void*)0);
683 modelica_metatype _rest = NULL((void*)0);
684 modelica_metatype _cset = NULL((void*)0);
685 volatile mmc_switch_type tmp3;
686 int tmp4;
687 // _c has no default value.
688 // _rest has no default value.
689 // _cset has no default value.
690 tmp3 = 0;
691 for (; tmp3 < 2; tmp3++) {
692 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
693 case 0: {
694 if (!listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
695
696 /* Pattern matching succeeded */
697#line 1755 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
698 tmpMeta[0] = _inConnects;
699#line 699 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
700 goto tmp2_done;
701 }
702 case 1: {
703 modelica_boolean tmp5;
704 if (listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
705 tmpMeta[1] = MMC_CAR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
706 tmpMeta[2] = MMC_CDR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
707
708 _c = tmpMeta[1];
709 _rest = tmpMeta[2];
710 _cset = tmp3_1;
711 /* Pattern matching succeeded */
712#line 1759 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
713 /* Pattern-matching tuple assignment */
714#line 1759 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
715 tmpMeta[1] = omc_ConnectUtil_removeReferenceFromConnects(threadData, _cset, _c, &tmp5);
716#line 1759 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
717 _cset = tmpMeta[1];
718#line 1759 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
719 if (1 != tmp5) goto goto_1;
720#line 720 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
721#line 1760 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
722 /* Tail recursive call */
723#line 1760 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
724 _inConnects = _cset;
725#line 1760 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
726 _inToRemove = _rest;
727#line 1760 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
728 goto _tailrecursive;
729#line 1760 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
730 /* TODO: Make sure any eventual dead code below is never generated */
731#line 731 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
732 goto tmp2_done;
733 }
734 }
735 goto tmp2_end;
736 tmp2_end: ;
737 }
738 goto goto_1;
739 goto_1:;
740 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
741 goto tmp2_done;
742 tmp2_done:;
743 }
744 }
745 _outConnects = tmpMeta[0];
746 _return: OMC_LABEL_UNUSED__attribute__((unused))
747 return _outConnects;
748}
749
750PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_filterFromSet(threadData_t *threadData, modelica_metatype _inConnects, modelica_metatype _inFilter, modelica_metatype _inAcc, modelica_string _msg)
751{
752 modelica_metatype _filteredCrefs = NULL((void*)0);
753 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
754 MMC_SO()mmc_check_stackoverflow(threadData);
755 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
756 // _filteredCrefs has no default value.
757#line 757 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
758 { /* matchcontinue expression */
759 volatile modelica_metatype tmp3_1;
760 tmp3_1 = _inFilter;
761 {
762 modelica_metatype _c1 = NULL((void*)0);
763 modelica_metatype _c2 = NULL((void*)0);
764 modelica_metatype _rest = NULL((void*)0);
765 volatile mmc_switch_type tmp3;
766 int tmp4;
767 // _c1 has no default value.
768 // _c2 has no default value.
769 // _rest has no default value.
770 tmp3 = 0;
771 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) {
772 tmp2_top:
773 threadData->mmc_jumper = &new_mmc_jumper;
774 for (; tmp3 < 3; tmp3++) {
775 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
776 case 0: {
777 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
778 tmp3 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
779#line 1721 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
780 tmpMeta[0] = omc_List_unique(threadData, _inAcc);
781#line 781 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
782 goto tmp2_done;
783 }
784 case 1: {
785 modelica_boolean tmp5;
786 modelica_boolean tmp6;
787 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
788 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
789 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
790 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
791 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
792
793 _c1 = tmpMeta[3];
794 _c2 = tmpMeta[4];
795 _rest = tmpMeta[2];
796 /* Pattern matching succeeded */
797#line 1726 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
798 /* Pattern-matching assignment */
799#line 1726 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
800 tmp5 = omc_ConnectUtil_isReferenceInConnects(threadData, _inConnects, _c1);
801#line 1726 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
802 if (1 != tmp5) goto goto_1;
803#line 803 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
804
805#line 1727 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
806 /* Pattern-matching assignment */
807#line 1727 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
808 tmp6 = omc_ConnectUtil_isReferenceInConnects(threadData, _inConnects, _c2);
809#line 1727 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
810 if (1 != tmp6) goto goto_1;
811#line 811 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
812
813#line 1728 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
814 if(omc_Flags_isSet(threadData, _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))))
815#line 1728 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
816 {
817#line 1729 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
818 tmpMeta[1] = stringAppend(_OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)),_msg);
819#line 1729 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
820 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
821#line 1729 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
822 tmpMeta[3] = stringAppend(tmpMeta[2],omc_ComponentReference_printComponentRefStr(threadData, _c1));
823#line 1729 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
824 tmpMeta[4] = stringAppend(tmpMeta[3],_OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)));
825#line 1729 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
826 tmpMeta[5] = stringAppend(tmpMeta[4],omc_ComponentReference_printComponentRefStr(threadData, _c2));
827#line 1729 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
828 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
829#line 1729 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
830 omc_Debug_traceln(threadData, tmpMeta[6]);
831#line 831 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
832 }
833#line 1731 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
834 tmpMeta[2] = mmc_mk_cons(_c2, _inAcc);
835#line 1731 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
836 tmpMeta[1] = mmc_mk_cons(_c1, tmpMeta[2]);
837#line 1731 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
838 tmpMeta[0] = omc_ConnectionGraph_filterFromSet(threadData, _inConnects, _rest, tmpMeta[1], _msg);
839#line 839 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
840 goto tmp2_done;
841 }
842 case 2: {
843 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
844 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
845 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
846 _rest = tmpMeta[2];
847 /* Pattern matching succeeded */
848#line 1738 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
849 tmpMeta[0] = omc_ConnectionGraph_filterFromSet(threadData, _inConnects, _rest, _inAcc, _msg);
850#line 850 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
851 goto tmp2_done;
852 }
853 }
854 goto tmp2_end;
855 tmp2_end: ;
856 }
857 goto goto_1;
858 tmp2_done:
859 (void)tmp3;
860 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
861 goto tmp2_done2;
862 goto_1:;
863 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
864 if (++tmp3 < 3) {
865 goto tmp2_top;
866 }
867 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
868 tmp2_done2:;
869 }
870 }
871 _filteredCrefs = tmpMeta[0];
872 _return: OMC_LABEL_UNUSED__attribute__((unused))
873 return _filteredCrefs;
874}
875
876PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_splitSetByAllowed(threadData_t *threadData, modelica_metatype _inConnects, modelica_metatype _inConnected)
877{
878 modelica_metatype _outConnects = NULL((void*)0);
879 modelica_metatype _cset = NULL((void*)0);
880 modelica_metatype _csets = NULL((void*)0);
881 modelica_metatype _e = NULL((void*)0);
882 modelica_metatype _cr1 = NULL((void*)0);
883 modelica_metatype _cr2 = NULL((void*)0);
884 modelica_metatype _ce = NULL((void*)0);
885 modelica_metatype _ce1 = NULL((void*)0);
886 modelica_metatype _ce2 = NULL((void*)0);
887 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
888 MMC_SO()mmc_check_stackoverflow(threadData);
889 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
890 // _outConnects has no default value.
891 // _cset has no default value.
892 // _csets has no default value.
893 // _e has no default value.
894 // _cr1 has no default value.
895 // _cr2 has no default value.
896 // _ce has no default value.
897 // _ce1 has no default value.
898 // _ce2 has no default value.
899#line 1686 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
900 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
901#line 1686 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
902 _csets = tmpMeta[0];
903#line 903 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
904
905#line 1687 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
906 {
907#line 1687 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
908 modelica_metatype _e;
909#line 1687 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
910 for (tmpMeta[0] = _inConnected; !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
911#line 1687 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
912 {
913#line 1687 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
914 _e = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
915#line 1688 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
916 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
917#line 1688 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
918 _cset = tmpMeta[1];
919#line 919 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
920
921#line 1689 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
922 /* Pattern-matching assignment */
923#line 1689 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
924 tmpMeta[1] = _e;
925#line 1689 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
926 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
927#line 1689 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
928 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
929#line 1689 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
930 _cr1 = tmpMeta[2];
931#line 1689 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
932 _cr2 = tmpMeta[3];
933#line 933 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
934
935#line 1690 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
936 {
937#line 1690 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
938 modelica_metatype _ce;
939#line 1690 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
940 for (tmpMeta[1] = _inConnects; !listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[1]=MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
)
941#line 1690 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
942 {
943#line 1690 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
944 _ce = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
945#line 1691 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
946 if(omc_ComponentReference_crefPrefixOf(threadData, _cr1, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_ce), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_ce) - 3))) + (
2)))))
)))
947#line 1691 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
948 {
949#line 1692 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
950 tmpMeta[2] = mmc_mk_cons(_ce, _cset);
951#line 1692 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
952 _cset = tmpMeta[2];
953#line 953 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
954 }
955
956#line 1694 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
957 if(omc_ComponentReference_crefPrefixOf(threadData, _cr2, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_ce), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_ce) - 3))) + (
2)))))
)))
958#line 1694 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
959 {
960#line 1695 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
961 tmpMeta[2] = mmc_mk_cons(_ce, _cset);
962#line 1695 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
963 _cset = tmpMeta[2];
964#line 964 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
965 }
966 }
967 }
968
969#line 1698 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
970 if((!listEmpty(_cset)((*(mmc_uint_t*)((void*)((char*)(_cset) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
))
971#line 1698 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
972 {
973#line 1700 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
974 tmpMeta[1] = mmc_mk_cons(_cset, _csets);
975#line 1700 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
976 _csets = tmpMeta[1];
977#line 977 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
978 }
979 }
980 }
981
982#line 1703 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
983 _outConnects = _csets;
984#line 984 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
985 _return: OMC_LABEL_UNUSED__attribute__((unused))
986 return _outConnects;
987}
988
989DLLExport
990modelica_metatype omc_ConnectionGraph_removeBrokenConnects(threadData_t *threadData, modelica_metatype _inConnects, modelica_metatype _inConnected, modelica_metatype _inBroken)
991{
992 modelica_metatype _outConnects = NULL((void*)0);
993 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
994 MMC_SO()mmc_check_stackoverflow(threadData);
995 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
996 // _outConnects has no default value.
997#line 997 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
998 { /* match expression */
999 modelica_metatype tmp3_1;
1000 tmp3_1 = _inBroken;
1001 {
1002 modelica_metatype _toRemove = NULL((void*)0);
1003 modelica_metatype _toKeep = NULL((void*)0);
1004 modelica_metatype _intersect = NULL((void*)0);
1005 modelica_metatype _cset = NULL((void*)0);
1006 modelica_metatype _csets = NULL((void*)0);
1007 volatile mmc_switch_type tmp3;
1008 int tmp4;
1009 // _toRemove has no default value.
1010 // _toKeep has no default value.
1011 // _intersect has no default value.
1012 // _cset has no default value.
1013 // _csets has no default value.
1014 tmp3 = 0;
1015 for (; tmp3 < 2; tmp3++) {
1016 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1017 case 0: {
1018 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1019 /* Pattern matching succeeded */
1020#line 1623 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1021 tmpMeta[1] = mmc_mk_cons(_inConnects, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1022#line 1623 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1023 tmpMeta[0] = tmpMeta[1];
1024#line 1024 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1025 goto tmp2_done;
1026 }
1027 case 1: {
1028
1029 /* Pattern matching succeeded */
1030#line 1628 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1031 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1032#line 1628 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1033 _toRemove = omc_ConnectionGraph_filterFromSet(threadData, _inConnects, _inBroken, tmpMeta[1], _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)));
1034#line 1034 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1035
1036#line 1630 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1037 if(listEmpty(_toRemove)((*(mmc_uint_t*)((void*)((char*)(_toRemove) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
)
1038#line 1630 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1039 {
1040#line 1632 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1041 tmpMeta[1] = mmc_mk_cons(_inConnects, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1042#line 1632 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1043 _csets = tmpMeta[1];
1044#line 1044 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1045 }
1046 else
1047 {
1048#line 1634 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1049 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1050#line 1634 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1051 _toKeep = omc_ConnectionGraph_filterFromSet(threadData, _inConnects, _inConnected, tmpMeta[1], _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)));
1052#line 1052 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1053
1054#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1055 _intersect = omc_List_intersectionOnTrue(threadData, _toRemove, _toKeep, boxvar_ComponentReference_crefEqualNoStringCompare((void*)((char*)(&(boxvar_lit_ComponentReference_crefEqualNoStringCompare
).header) + 3))
);
1056#line 1056 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1057
1058#line 1637 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1059 if(omc_Flags_isSet(threadData, _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))))
1060#line 1637 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1061 {
1062#line 1639 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1063 tmpMeta[1] = stringAppend(_OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)),stringDelimitList(omc_List_map(threadData, _inConnects, boxvar_ConnectUtil_printElementStr((void*)((char*)(&(boxvar_lit_ConnectUtil_printElementStr
).header) + 3))
), _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))));
1064#line 1639 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1065 omc_Debug_traceln(threadData, tmpMeta[1]);
1066#line 1066 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1067
1068#line 1641 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1069 tmpMeta[1] = stringAppend(_OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)),stringDelimitList(omc_List_map(threadData, _toKeep, boxvar_ComponentReference_printComponentRefStr((void*)((char*)(&(boxvar_lit_ComponentReference_printComponentRefStr
).header) + 3))
), _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))));
1070#line 1641 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1071 omc_Debug_traceln(threadData, tmpMeta[1]);
1072#line 1072 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1073
1074#line 1643 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1075 tmpMeta[1] = stringAppend(_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)),stringDelimitList(omc_List_map(threadData, _toRemove, boxvar_ComponentReference_printComponentRefStr((void*)((char*)(&(boxvar_lit_ComponentReference_printComponentRefStr
).header) + 3))
), _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))));
1076#line 1643 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1077 omc_Debug_traceln(threadData, tmpMeta[1]);
1078#line 1078 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1079
1080#line 1645 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1081 tmpMeta[1] = stringAppend(_OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)),stringDelimitList(omc_List_map(threadData, _intersect, boxvar_ComponentReference_printComponentRefStr((void*)((char*)(&(boxvar_lit_ComponentReference_printComponentRefStr
).header) + 3))
), _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))));
1082#line 1645 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1083 omc_Debug_traceln(threadData, tmpMeta[1]);
1084#line 1084 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1085 }
1086
1087#line 1649 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1088 _toRemove = omc_List_setDifference(threadData, _toRemove, _intersect);
1089#line 1089 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1090
1091#line 1651 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1092 if(omc_Flags_isSet(threadData, _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))))
1093#line 1651 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1094 {
1095#line 1652 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1096 tmpMeta[1] = stringAppend(_OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)),stringDelimitList(omc_List_map(threadData, _toRemove, boxvar_ComponentReference_printComponentRefStr((void*)((char*)(&(boxvar_lit_ComponentReference_printComponentRefStr
).header) + 3))
), _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))));
1097#line 1652 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1098 omc_Debug_traceln(threadData, tmpMeta[1]);
1099#line 1099 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1100 }
1101
1102#line 1656 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1103 _cset = omc_ConnectionGraph_removeFromConnects(threadData, _inConnects, _toRemove);
1104#line 1104 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1105
1106#line 1657 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1107 _csets = omc_ConnectionGraph_splitSetByAllowed(threadData, _cset, _inConnected);
1108#line 1108 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1109 }
1110#line 1670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1111 tmpMeta[0] = _csets;
1112#line 1112 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1113 goto tmp2_done;
1114 }
1115 }
1116 goto tmp2_end;
1117 tmp2_end: ;
1118 }
1119 goto goto_1;
1120 goto_1:;
1121 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1122 goto tmp2_done;
1123 tmp2_done:;
1124 }
1125 }
1126 _outConnects = tmpMeta[0];
1127 _return: OMC_LABEL_UNUSED__attribute__((unused))
1128 return _outConnects;
1129}
1130
1131PROTECTED_FUNCTION_STATIC modelica_string omc_ConnectionGraph_showGraphViz(threadData_t *threadData, modelica_string _fileNameGraphViz, modelica_string _modelNameQualified)
1132{
1133 modelica_string _brokenConnectsViaGraphViz = NULL((void*)0);
1134 modelica_string tmp1 = 0;
1135 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
1136 MMC_SO()mmc_check_stackoverflow(threadData);
1137 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1138 // _brokenConnectsViaGraphViz has no default value.
1139#line 1139 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1140 { /* matchcontinue expression */
1141 {
1142 modelica_string _leftyCMD = NULL((void*)0);
1143 modelica_string _fileNameTraceRemovedConnections = NULL((void*)0);
1144 modelica_string _omhome = NULL((void*)0);
1145 modelica_string _brokenConnects = NULL((void*)0);
1146 modelica_integer _leftyExitStatus;
1147 volatile mmc_switch_type tmp4;
1148 int tmp5;
1149 // _leftyCMD has no default value.
1150 // _fileNameTraceRemovedConnections has no default value.
1151 // _omhome has no default value.
1152 // _brokenConnects has no default value.
1153 // _leftyExitStatus has no default value.
1154 tmp4 = 0;
1155 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) {
1156 tmp3_top:
1157 threadData->mmc_jumper = &new_mmc_jumper;
1158 for (; tmp4 < 2; tmp4++) {
1159 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1160 case 0: {
1161 modelica_boolean tmp6;
1162 /* Pattern matching succeeded */
1163#line 1575 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1164 /* Pattern-matching assignment */
1165#line 1575 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1166 tmp6 = omc_Flags_isSet(threadData, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
1167#line 1575 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1168 if (0 != tmp6) goto goto_2;
1169#line 1169 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1170#line 1576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1171 tmp1 = _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3));
1172#line 1172 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1173 goto tmp3_done;
1174 }
1175 case 1: {
1176 /* Pattern matching succeeded */
1177#line 1581 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1178 tmpMeta[0] = stringAppend(_modelNameQualified,_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)));
1179#line 1581 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1180 _fileNameTraceRemovedConnections = tmpMeta[0];
1181#line 1181 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1182
1183#line 1582 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1184 omc_Debug_traceln(threadData, _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)));
1185#line 1185 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1186
1187#line 1583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1188 omc_Debug_traceln(threadData, _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)));
1189#line 1189 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1190
1191#line 1584 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1192 omc_Debug_traceln(threadData, _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)));
1193#line 1193 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1194
1195#line 1585 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1196 _omhome = omc_Settings_getInstallationDirectoryPath(threadData);
1197#line 1197 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1198
1199#line 1586 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1200 _omhome = omc_System_stringReplace(threadData, _omhome, _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)), _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)));
1201#line 1201 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1202
1203#line 1590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1204 tmpMeta[0] = stringAppend(_OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)),_omhome);
1205#line 1590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1206 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)));
1207#line 1590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1208 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)));
1209#line 1590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1210 tmpMeta[3] = stringAppend(tmpMeta[2],_fileNameGraphViz);
1211#line 1590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1212 tmpMeta[4] = stringAppend(tmpMeta[3],_OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)));
1213#line 1590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1214 _leftyCMD = tmpMeta[4];
1215#line 1215 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1216
1217#line 1592 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1218 tmpMeta[0] = stringAppend(_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)),_leftyCMD);
1219#line 1592 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1220 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)));
1221#line 1592 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1222 tmpMeta[2] = stringAppend(tmpMeta[1],_fileNameTraceRemovedConnections);
1223#line 1592 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1224 omc_Debug_traceln(threadData, tmpMeta[2]);
1225#line 1225 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1226
1227#line 1594 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1228 tmpMeta[0] = stringAppend(_OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)),_leftyCMD);
1229#line 1594 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1230 _leftyExitStatus = omc_System_systemCall(threadData, tmpMeta[0], _fileNameTraceRemovedConnections);
1231#line 1231 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1232
1233#line 1596 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1234 tmpMeta[0] = stringAppend(_OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)),intString(_leftyExitStatus));
1235#line 1596 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1236 omc_Debug_traceln(threadData, tmpMeta[0]);
1237#line 1237 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1238
1239#line 1597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1240 _brokenConnects = omc_System_readFile(threadData, _fileNameTraceRemovedConnections);
1241#line 1241 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1242
1243#line 1598 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1244 tmpMeta[0] = stringAppend(_OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)),_brokenConnects);
1245#line 1598 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1246 omc_Debug_traceln(threadData, tmpMeta[0]);
1247#line 1247 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1248#line 1599 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1249 tmp1 = _brokenConnects;
1250#line 1250 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1251 goto tmp3_done;
1252 }
1253 }
1254 goto tmp3_end;
1255 tmp3_end: ;
1256 }
1257 goto goto_2;
1258 tmp3_done:
1259 (void)tmp4;
1260 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1261 goto tmp3_done2;
1262 goto_2:;
1263 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1264 if (++tmp4 < 2) {
1265 goto tmp3_top;
1266 }
1267 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1268 tmp3_done2:;
1269 }
1270 }
1271 _brokenConnectsViaGraphViz = tmp1;
1272 _return: OMC_LABEL_UNUSED__attribute__((unused))
1273 return _brokenConnectsViaGraphViz;
1274}
1275
1276PROTECTED_FUNCTION_STATIC modelica_string omc_ConnectionGraph_generateGraphViz(threadData_t *threadData, modelica_string _modelNameQualified, modelica_metatype _definiteRoots, modelica_metatype _potentialRoots, modelica_metatype _uniqueRoots, modelica_metatype _branches, modelica_metatype _connections, modelica_metatype _finalRoots, modelica_metatype _broken)
1277{
1278 modelica_string _brokenConnectsViaGraphViz = NULL((void*)0);
1279 modelica_string tmp1 = 0;
1280 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1281 MMC_SO()mmc_check_stackoverflow(threadData);
1282 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1283 // _brokenConnectsViaGraphViz has no default value.
1284#line 1284 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1285 { /* matchcontinue expression */
1286 {
1287 modelica_string _fileName = NULL((void*)0);
1288 modelica_string _i = NULL((void*)0);
1289 modelica_string _nrDR = NULL((void*)0);
1290 modelica_string _nrPR = NULL((void*)0);
1291 modelica_string _nrUR = NULL((void*)0);
1292 modelica_string _nrBR = NULL((void*)0);
1293 modelica_string _nrCO = NULL((void*)0);
1294 modelica_string _nrFR = NULL((void*)0);
1295 modelica_string _nrBC = NULL((void*)0);
1296 modelica_string _timeStr = NULL((void*)0);
1297 modelica_string _infoNodeStr = NULL((void*)0);
1298 modelica_real _tStart;
1299 modelica_real _tEnd;
1300 modelica_real _t;
1301 modelica_metatype _graphVizStream = NULL((void*)0);
1302 modelica_metatype _infoNode = NULL((void*)0);
1303 volatile mmc_switch_type tmp4;
1304 int tmp5;
1305 // _fileName has no default value.
1306 // _i has no default value.
1307 // _nrDR has no default value.
1308 // _nrPR has no default value.
1309 // _nrUR has no default value.
1310 // _nrBR has no default value.
1311 // _nrCO has no default value.
1312 // _nrFR has no default value.
1313 // _nrBC has no default value.
1314 // _timeStr has no default value.
1315 // _infoNodeStr has no default value.
1316 // _tStart has no default value.
1317 // _tEnd has no default value.
1318 // _t has no default value.
1319 // _graphVizStream has no default value.
1320 // _infoNode has no default value.
1321 tmp4 = 0;
1322 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
1323 tmp3_top:
1324 threadData->mmc_jumper = &new_mmc_jumper;
1325 for (; tmp4 < 2; tmp4++) {
1326 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1327 case 0: {
1328 modelica_boolean tmp6;
1329 /* Pattern matching succeeded */
1330#line 1467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1331 /* Pattern-matching assignment */
1332#line 1467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1333 tmp6 = (omc_Flags_isSet(threadData, _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))) || omc_Flags_isSet(threadData, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))));
1334#line 1467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1335 if (0 != tmp6) goto goto_2;
1336#line 1336 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1337#line 1468 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1338 tmp1 = _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3));
1339#line 1339 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1340 goto tmp3_done;
1341 }
1342 case 1: {
1343 /* Pattern matching succeeded */
1344#line 1473 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1345 _tStart = mmc_clock();
1346#line 1346 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1347
1348#line 1474 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1349 _i = _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3));
1350#line 1350 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1351
1352#line 1475 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1353 tmpMeta[0] = stringAppend(_modelNameQualified,_OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)));
1354#line 1475 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1355 _fileName = tmpMeta[0];
1356#line 1356 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1357
1358#line 1477 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1359 _graphVizStream = omc_IOStream_create(threadData, _fileName, _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)));
1360#line 1360 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1361
1362#line 1478 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1363 _nrDR = intString(listLength(_definiteRoots));
1364#line 1364 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1365
1366#line 1479 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1367 _nrPR = intString(listLength(_potentialRoots));
1368#line 1368 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1369
1370#line 1480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1371 _nrUR = intString(listLength(_uniqueRoots));
1372#line 1372 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1373
1374#line 1481 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1375 _nrBR = intString(listLength(_branches));
1376#line 1376 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1377
1378#line 1482 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1379 _nrCO = intString(listLength(_connections));
1380#line 1380 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1381
1382#line 1483 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1383 _nrFR = intString(listLength(_finalRoots));
1384#line 1384 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1385
1386#line 1484 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1387 _nrBC = intString(listLength(_broken));
1388#line 1388 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1389
1390#line 1486 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1391 tmpMeta[0] = mmc_mk_cons(_OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)), mmc_mk_cons(_OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)), mmc_mk_cons(_modelNameQualified, mmc_mk_cons(_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), mmc_mk_cons(_OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)), mmc_mk_cons(_OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)), mmc_mk_cons(_OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)), mmc_mk_cons(_nrDR, mmc_mk_cons(_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), mmc_mk_cons(_OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)), mmc_mk_cons(_nrPR, mmc_mk_cons(_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), mmc_mk_cons(_OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)), mmc_mk_cons(_nrUR, mmc_mk_cons(_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), mmc_mk_cons(_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)), mmc_mk_cons(_nrBR, mmc_mk_cons(_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), mmc_mk_cons(_OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)), mmc_mk_cons(_nrCO, mmc_mk_cons(_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), mmc_mk_cons(_OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)), mmc_mk_cons(_nrFR, mmc_mk_cons(_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), mmc_mk_cons(_OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)), mmc_mk_cons(_nrBC, mmc_mk_cons(_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))))))))))))))))))))))))))));
1392#line 1486 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1393 _infoNode = tmpMeta[0];
1394#line 1394 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1395
1396#line 1500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1397 _infoNodeStr = stringAppendList(_infoNode);
1398#line 1398 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1399
1400#line 1502 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1401 _infoNodeStr = omc_System_stringReplace(threadData, _infoNodeStr, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)));
1402#line 1402 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1403
1404#line 1502 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1405 _infoNodeStr = omc_System_stringReplace(threadData, _infoNodeStr, _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)), _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)));
1406#line 1406 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1407
1408#line 1504 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1409 _infoNodeStr = omc_System_stringReplace(threadData, _infoNodeStr, _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)), _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)));
1410#line 1410 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1411
1412#line 1507 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1413 _graphVizStream = omc_IOStream_appendList(threadData, _graphVizStream, _infoNode);
1414#line 1414 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1415
1416#line 1510 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1417 _graphVizStream = omc_IOStream_appendList(threadData, _graphVizStream, _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)));
1418#line 1418 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1419
1420#line 1511 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1421 tmpMeta[0] = mmc_mk_cons(_OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)), mmc_mk_cons(_modelNameQualified, mmc_mk_cons(_OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))));
1422#line 1511 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1423 _graphVizStream = omc_IOStream_appendList(threadData, _graphVizStream, tmpMeta[0]);
1424#line 1424 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1425
1426#line 1514 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1427 tmpMeta[0] = mmc_mk_cons(_i, mmc_mk_cons(_OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))));
1428#line 1514 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1429 _graphVizStream = omc_IOStream_appendList(threadData, _graphVizStream, tmpMeta[0]);
1430#line 1430 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1431
1432#line 1515 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1433 tmpMeta[0] = mmc_mk_cons(_i, mmc_mk_cons(_OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))));
1434#line 1515 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1435 _graphVizStream = omc_IOStream_appendList(threadData, _graphVizStream, tmpMeta[0]);
1436#line 1436 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1437
1438#line 1518 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1439 tmpMeta[0] = mmc_mk_cons(_i, mmc_mk_cons(_OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)), mmc_mk_cons(_OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)), mmc_mk_cons(_OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)), mmc_mk_cons(_OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)), mmc_mk_cons(_OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)), mmc_mk_cons(_OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))))))));
1440#line 1518 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1441 _graphVizStream = omc_IOStream_appendList(threadData, _graphVizStream, tmpMeta[0]);
1442#line 1442 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1443
1444#line 1524 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1445 tmpMeta[0] = mmc_mk_cons(_i, mmc_mk_cons(_OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)), mmc_mk_cons(_OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)), mmc_mk_cons(_OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)), mmc_mk_cons(_OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))))));
1446#line 1524 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1447 _graphVizStream = omc_IOStream_appendList(threadData, _graphVizStream, tmpMeta[0]);
1448#line 1448 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1449
1450#line 1530 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1451 tmpMeta[0] = mmc_mk_cons(_i, mmc_mk_cons(_OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)), mmc_mk_cons(_infoNodeStr, mmc_mk_cons(_OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)), mmc_mk_cons(_i, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))))));
1452#line 1530 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1453 _graphVizStream = omc_IOStream_appendList(threadData, _graphVizStream, tmpMeta[0]);
1454#line 1454 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1455
1456#line 1533 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1457 tmpMeta[0] = mmc_mk_cons(_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), mmc_mk_cons(_i, mmc_mk_cons(_OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3)), mmc_mk_cons(_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), mmc_mk_cons(_i, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))))));
1458#line 1533 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1459 _graphVizStream = omc_IOStream_appendList(threadData, _graphVizStream, tmpMeta[0]);
1460#line 1460 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1461
1462#line 1534 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1463 _graphVizStream = omc_IOStream_appendList(threadData, _graphVizStream, omc_List_map1(threadData, _definiteRoots, boxvar_ConnectionGraph_graphVizDefiniteRoot((void*)((char*)(&(boxvar_lit_ConnectionGraph_graphVizDefiniteRoot
).header) + 3))
, _finalRoots));
1464#line 1464 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1465
1466#line 1536 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1467 tmpMeta[0] = mmc_mk_cons(_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), mmc_mk_cons(_i, mmc_mk_cons(_OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3)), mmc_mk_cons(_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), mmc_mk_cons(_i, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))))));
1468#line 1536 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1469 _graphVizStream = omc_IOStream_appendList(threadData, _graphVizStream, tmpMeta[0]);
1470#line 1470 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1471
1472#line 1537 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1473 _graphVizStream = omc_IOStream_appendList(threadData, _graphVizStream, omc_List_map1(threadData, _potentialRoots, boxvar_ConnectionGraph_graphVizPotentialRoot((void*)((char*)(&(boxvar_lit_ConnectionGraph_graphVizPotentialRoot
).header) + 3))
, _finalRoots));
1474#line 1474 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1475
1476#line 1540 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1477 tmpMeta[0] = mmc_mk_cons(_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), mmc_mk_cons(_i, mmc_mk_cons(_OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)), mmc_mk_cons(_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), mmc_mk_cons(_i, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))))));
1478#line 1540 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1479 _graphVizStream = omc_IOStream_appendList(threadData, _graphVizStream, tmpMeta[0]);
1480#line 1480 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1481
1482#line 1541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1483 _graphVizStream = omc_IOStream_appendList(threadData, _graphVizStream, omc_List_map(threadData, _branches, boxvar_ConnectionGraph_graphVizEdge((void*)((char*)(&(boxvar_lit_ConnectionGraph_graphVizEdge
).header) + 3))
));
1484#line 1484 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1485
1486#line 1544 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1487 tmpMeta[0] = mmc_mk_cons(_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), mmc_mk_cons(_i, mmc_mk_cons(_OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)), mmc_mk_cons(_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), mmc_mk_cons(_i, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))))));
1488#line 1544 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1489 _graphVizStream = omc_IOStream_appendList(threadData, _graphVizStream, tmpMeta[0]);
1490#line 1490 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1491
1492#line 1545 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1493 _graphVizStream = omc_IOStream_appendList(threadData, _graphVizStream, omc_List_map1(threadData, _connections, boxvar_ConnectionGraph_graphVizDaeEdge((void*)((char*)(&(boxvar_lit_ConnectionGraph_graphVizDaeEdge
).header) + 3))
, _broken));
1494#line 1494 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1495
1496#line 1548 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1497 _graphVizStream = omc_IOStream_appendList(threadData, _graphVizStream, _OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)));
1498#line 1498 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1499
1500#line 1549 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1501 _tEnd = mmc_clock();
1502#line 1502 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1503
1504#line 1550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1505 _t = _tEnd - _tStart;
1506#line 1506 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1507
1508#line 1551 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1509 _timeStr = realString(_t);
1510#line 1510 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1511
1512#line 1552 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1513 tmpMeta[0] = mmc_mk_cons(_OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)), mmc_mk_cons(_timeStr, mmc_mk_cons(_OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3)), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))));
1514#line 1552 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1515 _graphVizStream = omc_IOStream_appendList(threadData, _graphVizStream, tmpMeta[0]);
1516#line 1516 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1517
1518#line 1553 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1519 omc_System_writeFile(threadData, _fileName, omc_IOStream_string(threadData, _graphVizStream));
1520#line 1520 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1521
1522#line 1554 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1523 tmpMeta[0] = stringAppend(_OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3)),_modelNameQualified);
1524#line 1554 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1525 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3)));
1526#line 1554 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1527 tmpMeta[2] = stringAppend(tmpMeta[1],_fileName);
1528#line 1554 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1529 omc_Debug_traceln(threadData, tmpMeta[2]);
1530#line 1530 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1531#line 1555 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1532 tmp1 = omc_ConnectionGraph_showGraphViz(threadData, _fileName, _modelNameQualified);
1533#line 1533 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1534 goto tmp3_done;
1535 }
1536 }
1537 goto tmp3_end;
1538 tmp3_end: ;
1539 }
1540 goto goto_2;
1541 tmp3_done:
1542 (void)tmp4;
1543 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1544 goto tmp3_done2;
1545 goto_2:;
1546 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1547 if (++tmp4 < 2) {
1548 goto tmp3_top;
1549 }
1550 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1551 tmp3_done2:;
1552 }
1553 }
1554 _brokenConnectsViaGraphViz = tmp1;
1555 _return: OMC_LABEL_UNUSED__attribute__((unused))
1556 return _brokenConnectsViaGraphViz;
1557}
1558
1559PROTECTED_FUNCTION_STATIC modelica_string omc_ConnectionGraph_graphVizPotentialRoot(threadData_t *threadData, modelica_metatype _inPotentialRoot, modelica_metatype _inFinalRoots)
1560{
1561 modelica_string _out = NULL((void*)0);
1562 modelica_string tmp1 = 0;
1563 modelica_metatype tmpMeta[10] __attribute__((unused)) = {0};
1564 MMC_SO()mmc_check_stackoverflow(threadData);
1565 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1566 // _out has no default value.
1567#line 1567 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1568 { /* match expression */
1569 modelica_metatype tmp4_1;
1570 tmp4_1 = _inPotentialRoot;
1571 {
1572 modelica_metatype _c = NULL((void*)0);
1573 modelica_real _priority;
1574 modelica_boolean _isSelectedRoot;
1575 volatile mmc_switch_type tmp4;
1576 int tmp5;
1577 // _c has no default value.
1578 // _priority has no default value.
1579 // _isSelectedRoot has no default value.
1580 tmp4 = 0;
1581 for (; tmp4 < 1; tmp4++) {
1582 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1583 case 0: {
1584 modelica_real tmp6;
1585 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
1586 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
1587 tmp6 = mmc_unbox_real(tmpMeta[1])mmc_prim_get_real(tmpMeta[1]);
1588 _c = tmpMeta[0];
1589 _priority = tmp6 /* pattern as ty=Real */;
1590 /* Pattern matching succeeded */
1591#line 1435 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1592 _isSelectedRoot = listMember(_c, _inFinalRoots);
1593#line 1593 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1594#line 1436 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1595 tmpMeta[0] = stringAppend(_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)),omc_ComponentReference_printComponentRefStr(threadData, _c));
1596#line 1436 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1597 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)));
1598#line 1436 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1599 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3)));
1600#line 1436 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1601 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)));
1602#line 1436 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1603 tmpMeta[4] = stringAppend(tmpMeta[3],omc_ComponentReference_printComponentRefStr(threadData, _c));
1604#line 1436 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1605 tmpMeta[5] = stringAppend(tmpMeta[4],_OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3)));
1606#line 1436 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1607 tmpMeta[6] = stringAppend(tmpMeta[5],realString(_priority));
1608#line 1436 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1609 tmpMeta[7] = stringAppend(tmpMeta[6],_OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)));
1610#line 1436 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1611 tmpMeta[8] = stringAppend(tmpMeta[7],(_isSelectedRoot?_OMC_LIT86((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3)):_OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))));
1612#line 1436 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1613 tmpMeta[9] = stringAppend(tmpMeta[8],_OMC_LIT88((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3)));
1614#line 1436 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1615 tmp1 = tmpMeta[9];
1616#line 1616 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1617 goto tmp3_done;
1618 }
1619 }
1620 goto tmp3_end;
1621 tmp3_end: ;
1622 }
1623 goto goto_2;
1624 goto_2:;
1625 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1626 goto tmp3_done;
1627 tmp3_done:;
1628 }
1629 }
1630 _out = tmp1;
1631 _return: OMC_LABEL_UNUSED__attribute__((unused))
1632 return _out;
1633}
1634
1635PROTECTED_FUNCTION_STATIC modelica_string omc_ConnectionGraph_graphVizDefiniteRoot(threadData_t *threadData, modelica_metatype _inDefiniteRoot, modelica_metatype _inFinalRoots)
1636{
1637 modelica_string _out = NULL((void*)0);
1638 modelica_string tmp1 = 0;
1639 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
1640 MMC_SO()mmc_check_stackoverflow(threadData);
1641 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1642 // _out has no default value.
1643#line 1643 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1644 { /* match expression */
1645 modelica_metatype tmp4_1;
1646 tmp4_1 = _inDefiniteRoot;
1647 {
1648 modelica_metatype _c = NULL((void*)0);
1649 modelica_boolean _isSelectedRoot;
1650 volatile mmc_switch_type tmp4;
1651 int tmp5;
1652 // _c has no default value.
1653 // _isSelectedRoot has no default value.
1654 tmp4 = 0;
1655 for (; tmp4 < 1; tmp4++) {
1656 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1657 case 0: {
1658
1659 _c = tmp4_1;
1660 /* Pattern matching succeeded */
1661#line 1417 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1662 _isSelectedRoot = listMember(_c, _inFinalRoots);
1663#line 1663 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1664#line 1418 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1665 tmpMeta[0] = stringAppend(_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)),omc_ComponentReference_printComponentRefStr(threadData, _c));
1666#line 1418 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1667 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)));
1668#line 1418 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1669 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3)));
1670#line 1418 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1671 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)));
1672#line 1418 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1673 tmpMeta[4] = stringAppend(tmpMeta[3],omc_ComponentReference_printComponentRefStr(threadData, _c));
1674#line 1418 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1675 tmpMeta[5] = stringAppend(tmpMeta[4],_OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)));
1676#line 1418 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1677 tmpMeta[6] = stringAppend(tmpMeta[5],(_isSelectedRoot?_OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3)):_OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))));
1678#line 1418 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1679 tmpMeta[7] = stringAppend(tmpMeta[6],_OMC_LIT88((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3)));
1680#line 1418 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1681 tmp1 = tmpMeta[7];
1682#line 1682 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1683 goto tmp3_done;
1684 }
1685 }
1686 goto tmp3_end;
1687 tmp3_end: ;
1688 }
1689 goto goto_2;
1690 goto_2:;
1691 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1692 goto tmp3_done;
1693 tmp3_done:;
1694 }
1695 }
1696 _out = tmp1;
1697 _return: OMC_LABEL_UNUSED__attribute__((unused))
1698 return _out;
1699}
1700
1701PROTECTED_FUNCTION_STATIC modelica_string omc_ConnectionGraph_graphVizDaeEdge(threadData_t *threadData, modelica_metatype _inDaeEdge, modelica_metatype _inBrokenDaeEdges)
1702{
1703 modelica_string _out = NULL((void*)0);
1704 modelica_string tmp1 = 0;
1705 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1706 MMC_SO()mmc_check_stackoverflow(threadData);
1707 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1708 // _out has no default value.
1709#line 1709 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1710 { /* match expression */
1711 modelica_metatype tmp4_1;
1712 tmp4_1 = _inDaeEdge;
1713 {
1714 modelica_metatype _c1 = NULL((void*)0);
1715 modelica_metatype _c2 = NULL((void*)0);
1716 modelica_string _sc1 = NULL((void*)0);
1717 modelica_string _sc2 = NULL((void*)0);
1718 modelica_string _label = NULL((void*)0);
1719 modelica_string _labelFontSize = NULL((void*)0);
1720 modelica_string _decorate = NULL((void*)0);
1721 modelica_string _color = NULL((void*)0);
1722 modelica_string _style = NULL((void*)0);
1723 modelica_string _fontColor = NULL((void*)0);
1724 modelica_boolean _isBroken;
1725 volatile mmc_switch_type tmp4;
1726 int tmp5;
1727 // _c1 has no default value.
1728 // _c2 has no default value.
1729 // _sc1 has no default value.
1730 // _sc2 has no default value.
1731 // _label has no default value.
1732 // _labelFontSize has no default value.
1733 // _decorate has no default value.
1734 // _color has no default value.
1735 // _style has no default value.
1736 // _fontColor has no default value.
1737 // _isBroken has no default value.
1738 tmp4 = 0;
1739 for (; tmp4 < 1; tmp4++) {
1740 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1741 case 0: {
1742 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
1743 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
1744
1745 _c1 = tmpMeta[0];
1746 _c2 = tmpMeta[1];
1747 /* Pattern matching succeeded */
1748#line 1385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1749 _isBroken = listMember(_inDaeEdge, _inBrokenDaeEdges);
1750#line 1750 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1751
1752#line 1386 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1753 _label = (_isBroken?_OMC_LIT91((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3)):_OMC_LIT92((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3)));
1754#line 1754 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1755
1756#line 1387 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1757 _color = (_isBroken?_OMC_LIT93((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3)):_OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)));
1758#line 1758 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1759
1760#line 1388 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1761 _style = (_isBroken?_OMC_LIT95((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3)):_OMC_LIT96((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3)));
1762#line 1762 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1763
1764#line 1389 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1765 _decorate = (_isBroken?_OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)):_OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3)));
1766#line 1766 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1767
1768#line 1390 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1769 _fontColor = (_isBroken?_OMC_LIT93((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3)):_OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)));
1770#line 1770 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1771
1772#line 1391 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1773 _labelFontSize = (_isBroken?_OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3)):_OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)));
1774#line 1774 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1775
1776#line 1392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1777 _sc1 = omc_ComponentReference_printComponentRefStr(threadData, _c1);
1778#line 1778 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1779
1780#line 1393 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1781 _sc2 = omc_ComponentReference_printComponentRefStr(threadData, _c2);
1782#line 1782 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1783#line 1394 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1784 tmpMeta[0] = mmc_mk_cons(_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)), mmc_mk_cons(_sc1, mmc_mk_cons(_OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3)), mmc_mk_cons(_sc2, mmc_mk_cons(_OMC_LIT101((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3)), mmc_mk_cons(_style, mmc_mk_cons(_OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3)), mmc_mk_cons(_decorate, mmc_mk_cons(_OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)), mmc_mk_cons(_color, mmc_mk_cons(_OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)), mmc_mk_cons(_labelFontSize, mmc_mk_cons(_OMC_LIT104((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3)), mmc_mk_cons(_fontColor, mmc_mk_cons(_OMC_LIT105((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3)), mmc_mk_cons(_label, mmc_mk_cons(_OMC_LIT106((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3)), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))))))))))))))))));
1785#line 1394 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1786 tmp1 = stringAppendList(tmpMeta[0]);
1787#line 1787 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1788 goto tmp3_done;
1789 }
1790 }
1791 goto tmp3_end;
1792 tmp3_end: ;
1793 }
1794 goto goto_2;
1795 goto_2:;
1796 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1797 goto tmp3_done;
1798 tmp3_done:;
1799 }
1800 }
1801 _out = tmp1;
1802 _return: OMC_LABEL_UNUSED__attribute__((unused))
1803 return _out;
1804}
1805
1806PROTECTED_FUNCTION_STATIC modelica_string omc_ConnectionGraph_graphVizEdge(threadData_t *threadData, modelica_metatype _inEdge)
1807{
1808 modelica_string _out = NULL((void*)0);
1809 modelica_string tmp1 = 0;
1810 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
1811 MMC_SO()mmc_check_stackoverflow(threadData);
1812 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1813 // _out has no default value.
1814#line 1814 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1815 { /* match expression */
1816 modelica_metatype tmp4_1;
1817 tmp4_1 = _inEdge;
1818 {
1819 modelica_metatype _c1 = NULL((void*)0);
1820 modelica_metatype _c2 = NULL((void*)0);
1821 volatile mmc_switch_type tmp4;
1822 int tmp5;
1823 // _c1 has no default value.
1824 // _c2 has no default value.
1825 tmp4 = 0;
1826 for (; tmp4 < 1; tmp4++) {
1827 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1828 case 0: {
1829 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
1830 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
1831 _c1 = tmpMeta[0];
1832 _c2 = tmpMeta[1];
1833 /* Pattern matching succeeded */
1834#line 1366 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1835 tmpMeta[0] = stringAppend(_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)),omc_ComponentReference_printComponentRefStr(threadData, _c1));
1836#line 1366 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1837 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3)));
1838#line 1366 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1839 tmpMeta[2] = stringAppend(tmpMeta[1],omc_ComponentReference_printComponentRefStr(threadData, _c2));
1840#line 1366 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1841 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)));
1842#line 1366 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1843 tmpMeta[4] = stringAppend(tmpMeta[3],_OMC_LIT107((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3)));
1844#line 1366 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1845 tmp1 = tmpMeta[4];
1846#line 1846 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1847 goto tmp3_done;
1848 }
1849 }
1850 goto tmp3_end;
1851 tmp3_end: ;
1852 }
1853 goto goto_2;
1854 goto_2:;
1855 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1856 goto tmp3_done;
1857 tmp3_done:;
1858 }
1859 }
1860 _out = tmp1;
1861 _return: OMC_LABEL_UNUSED__attribute__((unused))
1862 return _out;
1863}
1864
1865DLLExport
1866modelica_metatype omc_ConnectionGraph_merge(threadData_t *threadData, modelica_metatype _inGraph1, modelica_metatype _inGraph2)
1867{
1868 modelica_metatype _outGraph = NULL((void*)0);
1869 modelica_metatype tmpMeta[13] __attribute__((unused)) = {0};
1870 MMC_SO()mmc_check_stackoverflow(threadData);
1871 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1872 // _outGraph has no default value.
1873#line 1873 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1874 { /* matchcontinue expression */
1875 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;
1876 tmp3_1 = _inGraph1;
1877 tmp3_2 = _inGraph2;
1878 {
1879 modelica_boolean _updateGraph;
1880 modelica_boolean _updateGraph1;
1881 modelica_boolean _updateGraph2;
1882 modelica_metatype _definiteRoots = NULL((void*)0);
1883 modelica_metatype _definiteRoots1 = NULL((void*)0);
1884 modelica_metatype _definiteRoots2 = NULL((void*)0);
1885 modelica_metatype _uniqueRoots = NULL((void*)0);
1886 modelica_metatype _uniqueRoots1 = NULL((void*)0);
1887 modelica_metatype _uniqueRoots2 = NULL((void*)0);
1888 modelica_metatype _potentialRoots = NULL((void*)0);
1889 modelica_metatype _potentialRoots1 = NULL((void*)0);
1890 modelica_metatype _potentialRoots2 = NULL((void*)0);
1891 modelica_metatype _branches = NULL((void*)0);
1892 modelica_metatype _branches1 = NULL((void*)0);
1893 modelica_metatype _branches2 = NULL((void*)0);
1894 modelica_metatype _connections = NULL((void*)0);
1895 modelica_metatype _connections1 = NULL((void*)0);
1896 modelica_metatype _connections2 = NULL((void*)0);
1897 volatile mmc_switch_type tmp3;
1898 int tmp4;
1899 // _updateGraph has no default value.
1900 // _updateGraph1 has no default value.
1901 // _updateGraph2 has no default value.
1902 // _definiteRoots has no default value.
1903 // _definiteRoots1 has no default value.
1904 // _definiteRoots2 has no default value.
1905 // _uniqueRoots has no default value.
1906 // _uniqueRoots1 has no default value.
1907 // _uniqueRoots2 has no default value.
1908 // _potentialRoots has no default value.
1909 // _potentialRoots1 has no default value.
1910 // _potentialRoots2 has no default value.
1911 // _branches has no default value.
1912 // _branches1 has no default value.
1913 // _branches2 has no default value.
1914 // _connections has no default value.
1915 // _connections1 has no default value.
1916 // _connections2 has no default value.
1917 tmp3 = 0;
1918 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) {
1919 tmp2_top:
1920 threadData->mmc_jumper = &new_mmc_jumper;
1921 for (; tmp3 < 4; tmp3++) {
1922 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1923 case 0: {
1924 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
1925 if (!listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1926 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
1927 if (!listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1928 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(5)))))
;
1929 if (!listEmpty(tmpMeta[3])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1930 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(6)))))
;
1931 if (!listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1932 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(7)))))
;
1933 if (!listEmpty(tmpMeta[5])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1934
1935 /* Pattern matching succeeded */
1936#line 1319 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1937 tmpMeta[0] = _inGraph1;
1938#line 1938 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1939 goto tmp2_done;
1940 }
1941 case 1: {
1942 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1943 if (!listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1944 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1945 if (!listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1946 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
1947 if (!listEmpty(tmpMeta[3])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1948 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
1949 if (!listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1950 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
1951 if (!listEmpty(tmpMeta[5])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1952
1953 /* Pattern matching succeeded */
1954#line 1324 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1955 tmpMeta[0] = _inGraph2;
1956#line 1956 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1957 goto tmp2_done;
1958 }
1959 case 2: {
1960
1961 /* Pattern matching succeeded */
1962#line 1330 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1963 equality(_inGraph1, _inGraph2)boxptr_equality(threadData,_inGraph1,_inGraph2);
1964#line 1964 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1965#line 1331 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
1966 tmpMeta[0] = _inGraph1;
1967#line 1967 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
1968 goto tmp2_done;
1969 }
1970 case 3: {
1971 modelica_integer tmp5;
1972 modelica_integer tmp6;
1973 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1974 tmp5 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
1975 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1976 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1977 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
1978 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
1979 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
1980 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
1981 tmp6 = mmc_unbox_integer(tmpMeta[7])(((mmc_sint_t) (tmpMeta[7])) >> 1);
1982 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
1983 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
1984 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(5)))))
;
1985 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(6)))))
;
1986 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(7)))))
;
1987 _updateGraph1 = tmp5 /* pattern as ty=Boolean */;
1988 _definiteRoots1 = tmpMeta[2];
1989 _potentialRoots1 = tmpMeta[3];
1990 _uniqueRoots1 = tmpMeta[4];
1991 _branches1 = tmpMeta[5];
1992 _connections1 = tmpMeta[6];
1993 _updateGraph2 = tmp6 /* pattern as ty=Boolean */;
1994 _definiteRoots2 = tmpMeta[8];
1995 _potentialRoots2 = tmpMeta[9];
1996 _uniqueRoots2 = tmpMeta[10];
1997 _branches2 = tmpMeta[11];
1998 _connections2 = tmpMeta[12];
1999 /* Pattern matching succeeded */
2000#line 1340 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2001 if(omc_Flags_isSet(threadData, _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))))
2002#line 1340 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2003 {
2004#line 1341 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2005 omc_Debug_trace(threadData, _OMC_LIT108((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3)));
2006#line 2006 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2007 }
2008
2009#line 1343 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2010 _updateGraph = (_updateGraph1 || _updateGraph2);
2011#line 2011 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2012
2013#line 1344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2014 _definiteRoots = omc_List_union(threadData, _definiteRoots1, _definiteRoots2);
2015#line 2015 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2016
2017#line 1345 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2018 _potentialRoots = omc_List_union(threadData, _potentialRoots1, _potentialRoots2);
2019#line 2019 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2020
2021#line 1346 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2022 _uniqueRoots = omc_List_union(threadData, _uniqueRoots1, _uniqueRoots2);
2023#line 2023 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2024
2025#line 1347 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2026 _branches = omc_List_union(threadData, _branches1, _branches2);
2027#line 2027 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2028
2029#line 1348 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2030 _connections = omc_List_union(threadData, _connections1, _connections2);
2031#line 2031 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2032#line 1349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2033 tmpMeta[1] = mmc_mk_box7(3, &ConnectionGraph_ConnectionGraph_GRAPH__desc, mmc_mk_boolean(_updateGraph)((_updateGraph) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), _definiteRoots, _potentialRoots, _uniqueRoots, _branches, _connections);
2034#line 1349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2035 tmpMeta[0] = tmpMeta[1];
2036#line 2036 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2037 goto tmp2_done;
2038 }
2039 }
2040 goto tmp2_end;
2041 tmp2_end: ;
2042 }
2043 goto goto_1;
2044 tmp2_done:
2045 (void)tmp3;
2046 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2047 goto tmp2_done2;
2048 goto_1:;
2049 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2050 if (++tmp3 < 4) {
2051 goto tmp2_top;
2052 }
2053 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2054 tmp2_done2:;
2055 }
2056 }
2057 _outGraph = tmpMeta[0];
2058 _return: OMC_LABEL_UNUSED__attribute__((unused))
2059 return _outGraph;
2060}
2061
2062PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_getConnections(threadData_t *threadData, modelica_metatype _inGraph)
2063{
2064 modelica_metatype _outResult = NULL((void*)0);
2065 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2066 MMC_SO()mmc_check_stackoverflow(threadData);
2067 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2068 // _outResult has no default value.
2069#line 2069 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2070 { /* match expression */
2071 modelica_metatype tmp3_1;
2072 tmp3_1 = _inGraph;
2073 {
2074 modelica_metatype _result = NULL((void*)0);
2075 volatile mmc_switch_type tmp3;
2076 int tmp4;
2077 // _result has no default value.
2078 tmp3 = 0;
2079 for (; tmp3 < 1; tmp3++) {
2080 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2081 case 0: {
2082 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
2083 _result = tmpMeta[1];
2084 /* Pattern matching succeeded */
2085#line 1298 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2086 tmpMeta[0] = _result;
2087#line 2087 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2088 goto tmp2_done;
2089 }
2090 }
2091 goto tmp2_end;
2092 tmp2_end: ;
2093 }
2094 goto goto_1;
2095 goto_1:;
2096 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2097 goto tmp2_done;
2098 tmp2_done:;
2099 }
2100 }
2101 _outResult = tmpMeta[0];
2102 _return: OMC_LABEL_UNUSED__attribute__((unused))
2103 return _outResult;
2104}
2105
2106PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_getBranches(threadData_t *threadData, modelica_metatype _inGraph)
2107{
2108 modelica_metatype _outResult = NULL((void*)0);
2109 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2110 MMC_SO()mmc_check_stackoverflow(threadData);
2111 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2112 // _outResult has no default value.
2113#line 2113 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2114 { /* match expression */
2115 modelica_metatype tmp3_1;
2116 tmp3_1 = _inGraph;
2117 {
2118 modelica_metatype _result = NULL((void*)0);
2119 volatile mmc_switch_type tmp3;
2120 int tmp4;
2121 // _result has no default value.
2122 tmp3 = 0;
2123 for (; tmp3 < 1; tmp3++) {
2124 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2125 case 0: {
2126 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
2127
2128 _result = tmpMeta[1];
2129 /* Pattern matching succeeded */
2130#line 1287 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2131 tmpMeta[0] = _result;
2132#line 2132 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2133 goto tmp2_done;
2134 }
2135 }
2136 goto tmp2_end;
2137 tmp2_end: ;
2138 }
2139 goto goto_1;
2140 goto_1:;
2141 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2142 goto tmp2_done;
2143 tmp2_done:;
2144 }
2145 }
2146 _outResult = tmpMeta[0];
2147 _return: OMC_LABEL_UNUSED__attribute__((unused))
2148 return _outResult;
2149}
2150
2151PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_getPotentialRoots(threadData_t *threadData, modelica_metatype _inGraph)
2152{
2153 modelica_metatype _outResult = NULL((void*)0);
2154 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2155 MMC_SO()mmc_check_stackoverflow(threadData);
2156 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2157 // _outResult has no default value.
2158#line 2158 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2159 { /* match expression */
2160 modelica_metatype tmp3_1;
2161 tmp3_1 = _inGraph;
2162 {
2163 modelica_metatype _result = NULL((void*)0);
2164 volatile mmc_switch_type tmp3;
2165 int tmp4;
2166 // _result has no default value.
2167 tmp3 = 0;
2168 for (; tmp3 < 1; tmp3++) {
2169 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2170 case 0: {
2171 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
2172
2173 _result = tmpMeta[1];
2174 /* Pattern matching succeeded */
2175#line 1276 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2176 tmpMeta[0] = _result;
2177#line 2177 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2178 goto tmp2_done;
2179 }
2180 }
2181 goto tmp2_end;
2182 tmp2_end: ;
2183 }
2184 goto goto_1;
2185 goto_1:;
2186 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2187 goto tmp2_done;
2188 tmp2_done:;
2189 }
2190 }
2191 _outResult = tmpMeta[0];
2192 _return: OMC_LABEL_UNUSED__attribute__((unused))
2193 return _outResult;
2194}
2195
2196PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_getUniqueRoots(threadData_t *threadData, modelica_metatype _inGraph)
2197{
2198 modelica_metatype _outResult = NULL((void*)0);
2199 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2200 MMC_SO()mmc_check_stackoverflow(threadData);
2201 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2202 // _outResult has no default value.
2203#line 2203 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2204 { /* match expression */
2205 modelica_metatype tmp3_1;
2206 tmp3_1 = _inGraph;
2207 {
2208 modelica_metatype _result = NULL((void*)0);
2209 volatile mmc_switch_type tmp3;
2210 int tmp4;
2211 // _result has no default value.
2212 tmp3 = 0;
2213 for (; tmp3 < 1; tmp3++) {
2214 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2215 case 0: {
2216 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
2217
2218 _result = tmpMeta[1];
2219 /* Pattern matching succeeded */
2220#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2221 tmpMeta[0] = _result;
2222#line 2222 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2223 goto tmp2_done;
2224 }
2225 }
2226 goto tmp2_end;
2227 tmp2_end: ;
2228 }
2229 goto goto_1;
2230 goto_1:;
2231 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2232 goto tmp2_done;
2233 tmp2_done:;
2234 }
2235 }
2236 _outResult = tmpMeta[0];
2237 _return: OMC_LABEL_UNUSED__attribute__((unused))
2238 return _outResult;
2239}
2240
2241PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_getDefiniteRoots(threadData_t *threadData, modelica_metatype _inGraph)
2242{
2243 modelica_metatype _outResult = NULL((void*)0);
2244 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2245 MMC_SO()mmc_check_stackoverflow(threadData);
2246 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2247 // _outResult has no default value.
2248#line 2248 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2249 { /* match expression */
2250 modelica_metatype tmp3_1;
2251 tmp3_1 = _inGraph;
2252 {
2253 modelica_metatype _result = NULL((void*)0);
2254 volatile mmc_switch_type tmp3;
2255 int tmp4;
2256 // _result has no default value.
2257 tmp3 = 0;
2258 for (; tmp3 < 1; tmp3++) {
2259 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2260 case 0: {
2261 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2262
2263 _result = tmpMeta[1];
2264 /* Pattern matching succeeded */
2265#line 1253 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2266 tmpMeta[0] = _result;
2267#line 2267 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2268 goto tmp2_done;
2269 }
2270 }
2271 goto tmp2_end;
2272 tmp2_end: ;
2273 }
2274 goto goto_1;
2275 goto_1:;
2276 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2277 goto tmp2_done;
2278 tmp2_done:;
2279 }
2280 }
2281 _outResult = tmpMeta[0];
2282 _return: OMC_LABEL_UNUSED__attribute__((unused))
2283 return _outResult;
2284}
2285
2286PROTECTED_FUNCTION_STATIC void omc_ConnectionGraph_printConnectionGraph(threadData_t *threadData, modelica_metatype _inGraph)
2287{
2288 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2289 MMC_SO()mmc_check_stackoverflow(threadData);
2290 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2291#line 2291 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2292 { /* match expression */
2293 modelica_metatype tmp3_1;
2294 tmp3_1 = _inGraph;
2295 {
2296 modelica_metatype _connections = NULL((void*)0);
2297 modelica_metatype _branches = NULL((void*)0);
2298 volatile mmc_switch_type tmp3;
2299 int tmp4;
2300 // _connections has no default value.
2301 // _branches has no default value.
2302 tmp3 = 0;
2303 for (; tmp3 < 1; tmp3++) {
2304 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2305 case 0: {
2306 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
2307 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
2308 _branches = tmpMeta[0];
2309 _connections = tmpMeta[1];
2310 /* Pattern matching succeeded */
2311#line 1237 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2312 fputs(MMC_STRINGDATA(_OMC_LIT109)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT109).header) + 3))) - 3)))->data)
,stdoutstdout);
2313#line 2313 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2314
2315#line 1238 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2316 omc_ConnectionGraph_printDaeEdges(threadData, _connections);
2317#line 2317 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2318
2319#line 1239 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2320 fputs(MMC_STRINGDATA(_OMC_LIT110)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT110).header) + 3))) - 3)))->data)
,stdoutstdout);
2321#line 2321 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2322
2323#line 1240 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2324 omc_ConnectionGraph_printEdges(threadData, _branches);
2325#line 2325 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2326#line 2326 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2327 goto tmp2_done;
2328 }
2329 }
2330 goto tmp2_end;
2331 tmp2_end: ;
2332 }
2333 goto goto_1;
2334 goto_1:;
2335 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2336 goto tmp2_done;
2337 tmp2_done:;
2338 }
2339 }
2340 ;
2341 _return: OMC_LABEL_UNUSED__attribute__((unused))
2342 return;
2343}
2344
2345PROTECTED_FUNCTION_STATIC void omc_ConnectionGraph_printDaeEdges(threadData_t *threadData, modelica_metatype _inEdges)
2346{
2347 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2348 MMC_SO()mmc_check_stackoverflow(threadData);
2349 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2350#line 2350 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2351 { /* match expression */
2352 modelica_metatype tmp3_1;
2353 tmp3_1 = _inEdges;
2354 {
2355 modelica_metatype _c1 = NULL((void*)0);
2356 modelica_metatype _c2 = NULL((void*)0);
2357 modelica_metatype _tail = NULL((void*)0);
2358 volatile mmc_switch_type tmp3;
2359 int tmp4;
2360 // _c1 has no default value.
2361 // _c2 has no default value.
2362 // _tail has no default value.
2363 tmp3 = 0;
2364 for (; tmp3 < 2; tmp3++) {
2365 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2366 case 0: {
2367 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2368 /* Pattern matching succeeded */
2369#line 2369 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2370 goto tmp2_done;
2371 }
2372 case 1: {
2373 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2374 tmpMeta[0] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
2375 tmpMeta[1] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2376 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2377 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2378
2379 _c1 = tmpMeta[2];
2380 _c2 = tmpMeta[3];
2381 _tail = tmpMeta[1];
2382 /* Pattern matching succeeded */
2383#line 1216 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2384 fputs(MMC_STRINGDATA(_OMC_LIT111)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT111).header) + 3))) - 3)))->data)
,stdoutstdout);
2385#line 2385 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2386
2387#line 1217 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2388 fputs(MMC_STRINGDATA(omc_ComponentReference_printComponentRefStr(threadData, _c1))(((struct mmc_string*)((void*)((char*)(omc_ComponentReference_printComponentRefStr
(threadData, _c1)) - 3)))->data)
,stdoutstdout);
2389#line 2389 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2390
2391#line 1218 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2392 fputs(MMC_STRINGDATA(_OMC_LIT112)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT112).header) + 3))) - 3)))->data)
,stdoutstdout);
2393#line 2393 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2394
2395#line 1219 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2396 fputs(MMC_STRINGDATA(omc_ComponentReference_printComponentRefStr(threadData, _c2))(((struct mmc_string*)((void*)((char*)(omc_ComponentReference_printComponentRefStr
(threadData, _c2)) - 3)))->data)
,stdoutstdout);
2397#line 2397 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2398
2399#line 1220 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2400 fputs(MMC_STRINGDATA(_OMC_LIT11)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT11).header) + 3))) - 3)))->data)
,stdoutstdout);
2401#line 2401 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2402
2403#line 1221 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2404 /* Tail recursive call */
2405#line 1221 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2406 _inEdges = _tail;
2407#line 1221 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2408 goto _tailrecursive;
2409#line 1221 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2410 /* TODO: Make sure any eventual dead code below is never generated */
2411#line 1221 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2412 ;
2413#line 2413 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2414#line 2414 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2415 goto tmp2_done;
2416 }
2417 }
2418 goto tmp2_end;
2419 tmp2_end: ;
2420 }
2421 goto goto_1;
2422 goto_1:;
2423 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2424 goto tmp2_done;
2425 tmp2_done:;
2426 }
2427 }
2428 ;
2429 _return: OMC_LABEL_UNUSED__attribute__((unused))
2430 return;
2431}
2432
2433PROTECTED_FUNCTION_STATIC void omc_ConnectionGraph_printEdges(threadData_t *threadData, modelica_metatype _inEdges)
2434{
2435 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2436 MMC_SO()mmc_check_stackoverflow(threadData);
2437 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2438#line 2438 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2439 { /* match expression */
2440 modelica_metatype tmp3_1;
2441 tmp3_1 = _inEdges;
2442 {
2443 modelica_metatype _c1 = NULL((void*)0);
2444 modelica_metatype _c2 = NULL((void*)0);
2445 modelica_metatype _tail = NULL((void*)0);
2446 volatile mmc_switch_type tmp3;
2447 int tmp4;
2448 // _c1 has no default value.
2449 // _c2 has no default value.
2450 // _tail has no default value.
2451 tmp3 = 0;
2452 for (; tmp3 < 2; tmp3++) {
2453 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2454 case 0: {
2455 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2456 /* Pattern matching succeeded */
2457#line 2457 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2458 goto tmp2_done;
2459 }
2460 case 1: {
2461 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2462 tmpMeta[0] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
2463 tmpMeta[1] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2464 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2465 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2466 _c1 = tmpMeta[2];
2467 _c2 = tmpMeta[3];
2468 _tail = tmpMeta[1];
2469 /* Pattern matching succeeded */
2470#line 1193 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2471 fputs(MMC_STRINGDATA(_OMC_LIT111)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT111).header) + 3))) - 3)))->data)
,stdoutstdout);
2472#line 2472 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2473
2474#line 1194 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2475 fputs(MMC_STRINGDATA(omc_ComponentReference_printComponentRefStr(threadData, _c1))(((struct mmc_string*)((void*)((char*)(omc_ComponentReference_printComponentRefStr
(threadData, _c1)) - 3)))->data)
,stdoutstdout);
2476#line 2476 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2477
2478#line 1195 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2479 fputs(MMC_STRINGDATA(_OMC_LIT112)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT112).header) + 3))) - 3)))->data)
,stdoutstdout);
2480#line 2480 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2481
2482#line 1196 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2483 fputs(MMC_STRINGDATA(omc_ComponentReference_printComponentRefStr(threadData, _c2))(((struct mmc_string*)((void*)((char*)(omc_ComponentReference_printComponentRefStr
(threadData, _c2)) - 3)))->data)
,stdoutstdout);
2484#line 2484 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2485
2486#line 1197 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2487 fputs(MMC_STRINGDATA(_OMC_LIT11)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT11).header) + 3))) - 3)))->data)
,stdoutstdout);
2488#line 2488 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2489
2490#line 1198 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2491 /* Tail recursive call */
2492#line 1198 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2493 _inEdges = _tail;
2494#line 1198 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2495 goto _tailrecursive;
2496#line 1198 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2497 /* TODO: Make sure any eventual dead code below is never generated */
2498#line 1198 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2499 ;
2500#line 2500 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2501#line 2501 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2502 goto tmp2_done;
2503 }
2504 }
2505 goto tmp2_end;
2506 tmp2_end: ;
2507 }
2508 goto goto_1;
2509 goto_1:;
2510 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2511 goto tmp2_done;
2512 tmp2_done:;
2513 }
2514 }
2515 ;
2516 _return: OMC_LABEL_UNUSED__attribute__((unused))
2517 return;
2518}
2519
2520PROTECTED_FUNCTION_STATIC modelica_string omc_ConnectionGraph_printConnectionStr(threadData_t *threadData, modelica_metatype _connectTuple, modelica_string _ty)
2521{
2522 modelica_string _outStr = NULL((void*)0);
2523 modelica_string tmp1 = 0;
2524 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
2525 MMC_SO()mmc_check_stackoverflow(threadData);
2526 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2527 // _outStr has no default value.
2528#line 2528 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2529 { /* match expression */
2530 modelica_metatype tmp4_1;
2531 tmp4_1 = _connectTuple;
2532 {
2533 modelica_metatype _c1 = NULL((void*)0);
2534 modelica_metatype _c2 = NULL((void*)0);
2535 volatile mmc_switch_type tmp4;
2536 int tmp5;
2537 // _c1 has no default value.
2538 // _c2 has no default value.
2539 tmp4 = 0;
2540 for (; tmp4 < 1; tmp4++) {
2541 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2542 case 0: {
2543 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
2544 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2545
2546 _c1 = tmpMeta[0];
2547 _c2 = tmpMeta[1];
2548 /* Pattern matching succeeded */
2549#line 1172 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2550 tmpMeta[0] = stringAppend(_ty,_OMC_LIT113((void*)((char*)(&(_OMC_LIT_STRUCT113).header) + 3)));
2551#line 1172 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2552 tmpMeta[1] = stringAppend(tmpMeta[0],omc_ComponentReference_printComponentRefStr(threadData, _c1));
2553#line 1172 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2554 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)));
2555#line 1172 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2556 tmpMeta[3] = stringAppend(tmpMeta[2],omc_ComponentReference_printComponentRefStr(threadData, _c2));
2557#line 1172 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2558 tmpMeta[4] = stringAppend(tmpMeta[3],_OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
2559#line 1172 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2560 tmp1 = tmpMeta[4];
2561#line 2561 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2562 goto tmp3_done;
2563 }
2564 }
2565 goto tmp3_end;
2566 tmp3_end: ;
2567 }
2568 goto goto_2;
2569 goto_2:;
2570 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2571 goto tmp3_done;
2572 tmp3_done:;
2573 }
2574 }
2575 _outStr = tmp1;
2576 _return: OMC_LABEL_UNUSED__attribute__((unused))
2577 return _outStr;
2578}
2579
2580PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_getEdge1(threadData_t *threadData, modelica_metatype _cr, modelica_metatype _cref1, modelica_metatype _cref2)
2581{
2582 modelica_metatype _ocr = NULL((void*)0);
2583 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
2584 MMC_SO()mmc_check_stackoverflow(threadData);
2585 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2586 // _ocr has no default value.
2587#line 2587 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2588 { /* matchcontinue expression */
2589 {
2590 volatile mmc_switch_type tmp3;
2591 int tmp4;
2592 tmp3 = 0;
2593 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) {
2594 tmp2_top:
2595 threadData->mmc_jumper = &new_mmc_jumper;
2596 for (; tmp3 < 2; tmp3++) {
2597 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2598 case 0: {
2599 modelica_boolean tmp5;
2600 /* Pattern matching succeeded */
2601#line 1148 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2602 /* Pattern-matching assignment */
2603#line 1148 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2604 tmp5 = omc_ComponentReference_crefEqualNoStringCompare(threadData, _cr, _cref1);
2605#line 1148 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2606 if (1 != tmp5) goto goto_1;
2607#line 2607 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2608#line 1149 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2609 tmpMeta[0] = _cref2;
2610#line 2610 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2611 goto tmp2_done;
2612 }
2613 case 1: {
2614 modelica_boolean tmp6;
2615 /* Pattern matching succeeded */
2616#line 1153 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2617 /* Pattern-matching assignment */
2618#line 1153 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2619 tmp6 = omc_ComponentReference_crefEqualNoStringCompare(threadData, _cr, _cref2);
2620#line 1153 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2621 if (1 != tmp6) goto goto_1;
2622#line 2622 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2623#line 1154 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2624 tmpMeta[0] = _cref1;
2625#line 2625 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2626 goto tmp2_done;
2627 }
2628 }
2629 goto tmp2_end;
2630 tmp2_end: ;
2631 }
2632 goto goto_1;
2633 tmp2_done:
2634 (void)tmp3;
2635 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2636 goto tmp2_done2;
2637 goto_1:;
2638 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2639 if (++tmp3 < 2) {
2640 goto tmp2_top;
2641 }
2642 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2643 tmp2_done2:;
2644 }
2645 }
2646 _ocr = tmpMeta[0];
2647 _return: OMC_LABEL_UNUSED__attribute__((unused))
2648 return _ocr;
2649}
2650
2651PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_getEdge(threadData_t *threadData, modelica_metatype _cr, modelica_metatype _edges)
2652{
2653 modelica_metatype _ocr = NULL((void*)0);
2654 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
2655 MMC_SO()mmc_check_stackoverflow(threadData);
2656 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2657 // _ocr has no default value.
2658#line 2658 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2659 { /* matchcontinue expression */
2660 volatile modelica_metatype tmp3_1;
2661 tmp3_1 = _edges;
2662 {
2663 modelica_metatype _rest = NULL((void*)0);
2664 modelica_metatype _cref1 = NULL((void*)0);
2665 modelica_metatype _cref2 = NULL((void*)0);
2666 volatile mmc_switch_type tmp3;
2667 int tmp4;
2668 // _rest has no default value.
2669 // _cref1 has no default value.
2670 // _cref2 has no default value.
2671 tmp3 = 0;
2672 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) {
2673 tmp2_top:
2674 threadData->mmc_jumper = &new_mmc_jumper;
2675 for (; tmp3 < 2; tmp3++) {
2676 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2677 case 0: {
2678 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2679 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
2680 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2681 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
2682 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
2683 _cref1 = tmpMeta[3];
2684 _cref2 = tmpMeta[4];
2685 /* Pattern matching succeeded */
2686#line 1129 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2687 tmpMeta[0] = omc_ConnectionGraph_getEdge1(threadData, _cr, _cref1, _cref2);
2688#line 2688 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2689 goto tmp2_done;
2690 }
2691 case 1: {
2692 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2693 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
2694 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2695 _rest = tmpMeta[2];
2696 /* Pattern matching succeeded */
2697#line 1133 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2698 tmpMeta[0] = omc_ConnectionGraph_getEdge(threadData, _cr, _rest);
2699#line 2699 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2700 goto tmp2_done;
2701 }
2702 }
2703 goto tmp2_end;
2704 tmp2_end: ;
2705 }
2706 goto goto_1;
2707 tmp2_done:
2708 (void)tmp3;
2709 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2710 goto tmp2_done2;
2711 goto_1:;
2712 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2713 if (++tmp3 < 2) {
2714 goto tmp2_top;
2715 }
2716 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2717 tmp2_done2:;
2718 }
2719 }
2720 _ocr = tmpMeta[0];
2721 _return: OMC_LABEL_UNUSED__attribute__((unused))
2722 return _ocr;
2723}
2724
2725PROTECTED_FUNCTION_STATIC modelica_boolean omc_ConnectionGraph_getRooted(threadData_t *threadData, modelica_metatype _cref1, modelica_metatype _cref2, modelica_metatype _rooted)
2726{
2727 modelica_boolean _result;
2728 modelica_boolean tmp1 = 0;
2729 MMC_SO()mmc_check_stackoverflow(threadData);
2730 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2731 // _result has no default value.
2732#line 2732 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2733 { /* matchcontinue expression */
2734 {
2735 modelica_integer _i1;
2736 modelica_integer _i2;
2737 volatile mmc_switch_type tmp4;
2738 int tmp5;
2739 // _i1 has no default value.
2740 // _i2 has no default value.
2741 tmp4 = 0;
2742 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) {
2743 tmp3_top:
2744 threadData->mmc_jumper = &new_mmc_jumper;
2745 for (; tmp4 < 2; tmp4++) {
2746 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2747 case 0: {
2748 /* Pattern matching succeeded */
2749#line 1106 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2750 _i1 = mmc_unbox_integer(omc_BaseHashTable_get(threadData, _cref1, _rooted))(((mmc_sint_t) (omc_BaseHashTable_get(threadData, _cref1, _rooted
))) >> 1)
;
2751#line 2751 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2752
2753#line 1107 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2754 _i2 = mmc_unbox_integer(omc_BaseHashTable_get(threadData, _cref2, _rooted))(((mmc_sint_t) (omc_BaseHashTable_get(threadData, _cref2, _rooted
))) >> 1)
;
2755#line 2755 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2756#line 1108 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2757 tmp1 = (_i1 < _i2);
2758#line 2758 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2759 goto tmp3_done;
2760 }
2761 case 1: {
2762 /* Pattern matching succeeded */
2763#line 1112 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2764 tmp1 = 1;
2765#line 2765 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2766 goto tmp3_done;
2767 }
2768 }
2769 goto tmp3_end;
2770 tmp3_end: ;
2771 }
2772 goto goto_2;
2773 tmp3_done:
2774 (void)tmp4;
2775 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2776 goto tmp3_done2;
2777 goto_2:;
2778 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2779 if (++tmp4 < 2) {
2780 goto tmp3_top;
2781 }
2782 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2783 tmp3_done2:;
2784 }
2785 }
2786 _result = tmp1;
2787 _return: OMC_LABEL_UNUSED__attribute__((unused))
2788 return _result;
2789}
2790PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ConnectionGraph_getRooted(threadData_t *threadData, modelica_metatype _cref1, modelica_metatype _cref2, modelica_metatype _rooted)
2791{
2792 modelica_boolean _result;
2793 modelica_metatype out_result;
2794 _result = omc_ConnectionGraph_getRooted(threadData, _cref1, _cref2, _rooted);
2795 out_result = mmc_mk_icon(_result);
2796 return out_result;
2797}
2798
2799PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_evalConnectionsOperatorsHelper(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inRoots, modelica_metatype *out_outRoots)
2800{
2801 modelica_metatype _outExp = NULL((void*)0);
2802 modelica_metatype _outRoots = NULL((void*)0);
2803 modelica_metatype tmpMeta[17] __attribute__((unused)) = {0};
2804 MMC_SO()mmc_check_stackoverflow(threadData);
2805 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2806 // _outExp has no default value.
2807 // _outRoots has no default value.
2808#line 995 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2809
2810#line 995 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2811
2812#line 2812 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2813 { /* matchcontinue expression */
2814 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
2815 tmp4_1 = _inExp;
2816 tmp4_2 = _inRoots;
2817 {
2818 modelica_metatype _graph = NULL((void*)0);
2819 modelica_metatype _exp = NULL((void*)0);
2820 modelica_metatype _uroots = NULL((void*)0);
2821 modelica_metatype _nodes = NULL((void*)0);
2822 modelica_metatype _message = NULL((void*)0);
2823 modelica_metatype _rooted = NULL((void*)0);
2824 modelica_metatype _cref = NULL((void*)0);
2825 modelica_metatype _cref1 = NULL((void*)0);
2826 modelica_boolean _result;
2827 modelica_metatype _branches = NULL((void*)0);
2828 modelica_metatype _roots = NULL((void*)0);
2829 modelica_metatype _lst = NULL((void*)0);
2830 volatile mmc_switch_type tmp4;
2831 int tmp5;
2832 // _graph has no default value.
2833 // _exp has no default value.
2834 // _uroots has no default value.
2835 // _nodes has no default value.
2836 // _message has no default value.
2837 // _rooted has no default value.
2838 // _cref has no default value.
2839 // _cref1 has no default value.
2840 // _result has no default value.
2841 // _branches has no default value.
2842 // _roots has no default value.
2843 // _lst has no default value.
2844 tmp4 = 0;
2845 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) {
2846 tmp3_top:
2847 threadData->mmc_jumper = &new_mmc_jumper;
2848 for (; tmp4 < 9; tmp4++) {
2849 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2850 case 0: {
2851 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,13,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp3_end;
2852 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2853 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2854 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2855 if (6 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT123)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT123).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp3_end;
2856 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
2857 if (listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2858 tmpMeta[5] = MMC_CAR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
2859 tmpMeta[6] = MMC_CDR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
2860 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],16,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((3 +1)
<< 10) + (((16 +3) & 255) << 2)))
== 0) goto tmp3_end;
2861 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (4)))))
;
2862 if (!listEmpty(tmpMeta[7])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2863 if (!listEmpty(tmpMeta[6])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2864 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2865 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2866 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
2867 _rooted = tmpMeta[8];
2868 _roots = tmpMeta[9];
2869 _graph = tmpMeta[10];
2870 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
2871#line 1009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2872 if(omc_Flags_isSet(threadData, _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))))
2873#line 1009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2874 {
2875#line 1010 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2876 tmpMeta[2] = stringAppend(_OMC_LIT114((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3)),omc_ExpressionDump_printExpStr(threadData, _inExp));
2877#line 1010 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2878 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT115((void*)((char*)(&(_OMC_LIT_STRUCT115).header) + 3)));
2879#line 1010 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2880 omc_Debug_traceln(threadData, tmpMeta[3]);
2881#line 2881 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2882 }
2883#line 1012 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2884 tmpMeta[2] = mmc_mk_box3(0, _rooted, _roots, _graph);
2885#line 1012 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2886 tmpMeta[0+0] = _OMC_LIT116((void*)((char*)(&(_OMC_LIT_STRUCT116).header) + 3));
2887#line 1012 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2888 tmpMeta[0+1] = tmpMeta[2];
2889#line 2889 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2890 goto tmp3_done;
2891 }
2892 case 1: {
2893 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,13,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp3_end;
2894 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2895 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2896 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2897 if (6 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT123)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT123).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp3_end;
2898 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
2899 if (listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2900 tmpMeta[5] = MMC_CAR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
2901 tmpMeta[6] = MMC_CDR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
2902 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
2903 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
2904 if (!listEmpty(tmpMeta[6])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2905 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2906 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2907 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
2908 _cref = tmpMeta[7];
2909 _rooted = tmpMeta[8];
2910 _roots = tmpMeta[9];
2911 _graph = tmpMeta[10];
2912 /* Pattern matching succeeded */
2913#line 1019 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2914 _branches = omc_ConnectionGraph_getBranches(threadData, _graph);
2915#line 2915 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2916
2917#line 1020 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2918 _cref1 = omc_ConnectionGraph_getEdge(threadData, _cref, _branches);
2919#line 2919 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2920
2921#line 1023 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2922 if(omc_Flags_isSet(threadData, _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))))
2923#line 1023 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2924 {
2925#line 1024 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2926 tmpMeta[2] = stringAppend(_OMC_LIT117((void*)((char*)(&(_OMC_LIT_STRUCT117).header) + 3)),omc_ComponentReference_printComponentRefStr(threadData, _cref));
2927#line 1024 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2928 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)));
2929#line 1024 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2930 tmpMeta[4] = stringAppend(tmpMeta[3],omc_ComponentReference_printComponentRefStr(threadData, _cref1));
2931#line 1024 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2932 omc_Debug_traceln(threadData, tmpMeta[4]);
2933#line 2933 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2934 }
2935
2936#line 1027 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2937 _result = omc_ConnectionGraph_getRooted(threadData, _cref, _cref1, _rooted);
2938#line 2938 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2939
2940#line 1030 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2941 if(omc_Flags_isSet(threadData, _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))))
2942#line 1030 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2943 {
2944#line 1031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2945 tmpMeta[2] = stringAppend(_OMC_LIT114((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3)),omc_ExpressionDump_printExpStr(threadData, _inExp));
2946#line 1031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2947 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT118((void*)((char*)(&(_OMC_LIT_STRUCT118).header) + 3)));
2948#line 1031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2949 tmpMeta[4] = stringAppend(tmpMeta[3],(_result?_OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)):_OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3))));
2950#line 1031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2951 omc_Debug_traceln(threadData, tmpMeta[4]);
2952#line 2952 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2953 }
2954#line 1033 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2955 tmpMeta[2] = mmc_mk_box2(6, &DAE_Exp_BCONST__desc, mmc_mk_boolean(_result)((_result) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
2956#line 1033 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2957 tmpMeta[3] = mmc_mk_box3(0, _rooted, _roots, _graph);
2958#line 1033 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2959 tmpMeta[0+0] = tmpMeta[2];
2960#line 1033 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2961 tmpMeta[0+1] = tmpMeta[3];
2962#line 2962 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2963 goto tmp3_done;
2964 }
2965 case 2: {
2966 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2967 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2968 if (!listEmpty(tmpMeta[3])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2969 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
2970
2971 _rooted = tmpMeta[2];
2972 _roots = tmpMeta[3];
2973 _graph = tmpMeta[4];
2974 _exp = tmp4_1;
2975 /* Pattern matching succeeded */
2976#line 1036 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2977 tmpMeta[2] = mmc_mk_box3(0, _rooted, _roots, _graph);
2978#line 1036 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2979 tmpMeta[0+0] = _exp;
2980#line 1036 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
2981 tmpMeta[0+1] = tmpMeta[2];
2982#line 2982 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
2983 goto tmp3_done;
2984 }
2985 case 3: {
2986 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,13,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp3_end;
2987 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2988 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;
2989 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2990 if (11 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT124)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT124).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp3_end;
2991 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
2992 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2993 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
2994 if (6 != MMC_STRLEN(tmpMeta[5])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT125)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT125).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[5])(((struct mmc_string*)((void*)((char*)(tmpMeta[5]) - 3)))->
data)
) != 0) goto tmp3_end;
2995 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
2996 if (listEmpty(tmpMeta[6])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2997 tmpMeta[7] = MMC_CAR(tmpMeta[6])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (1)))))
;
2998 tmpMeta[8] = MMC_CDR(tmpMeta[6])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (2)))))
;
2999 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[7],16,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3)))==(((3 +1)
<< 10) + (((16 +3) & 255) << 2)))
== 0) goto tmp3_end;
3000 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (4)))))
;
3001 if (!listEmpty(tmpMeta[9])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3002 if (!listEmpty(tmpMeta[8])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3003 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
3004 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
3005 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
3006 _rooted = tmpMeta[10];
3007 _roots = tmpMeta[11];
3008 _graph = tmpMeta[12];
3009 tmp4 += 4; /* Pattern matching succeeded; we may skip some cases if we fail */
3010#line 1041 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3011 if(omc_Flags_isSet(threadData, _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))))
3012#line 1041 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3013 {
3014#line 1042 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3015 tmpMeta[2] = stringAppend(_OMC_LIT114((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3)),omc_ExpressionDump_printExpStr(threadData, _inExp));
3016#line 1042 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3017 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT115((void*)((char*)(&(_OMC_LIT_STRUCT115).header) + 3)));
3018#line 1042 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3019 omc_Debug_traceln(threadData, tmpMeta[3]);
3020#line 3020 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3021 }
3022#line 1044 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3023 tmpMeta[2] = mmc_mk_box3(0, _rooted, _roots, _graph);
3024#line 1044 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3025 tmpMeta[0+0] = _OMC_LIT116((void*)((char*)(&(_OMC_LIT_STRUCT116).header) + 3));
3026#line 1044 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3027 tmpMeta[0+1] = tmpMeta[2];
3028#line 3028 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3029 goto tmp3_done;
3030 }
3031 case 4: {
3032 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,10,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((10 +3) & 255) << 2)))
== 0) goto tmp3_end;
3033 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3034 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],24,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((24 +3) & 255) << 2)))
== 0) goto tmp3_end;
3035 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
3036 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],13,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((3 +1)
<< 10) + (((13 +3) & 255) << 2)))
== 0) goto tmp3_end;
3037 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
3038 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],0,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((2 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
3039 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
3040 if (11 != MMC_STRLEN(tmpMeta[5])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT124)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT124).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[5])(((struct mmc_string*)((void*)((char*)(tmpMeta[5]) - 3)))->
data)
) != 0) goto tmp3_end;
3041 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (3)))))
;
3042 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[6],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3043 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[6]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (2)))))
;
3044 if (6 != MMC_STRLEN(tmpMeta[7])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT125)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT125).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[7])(((struct mmc_string*)((void*)((char*)(tmpMeta[7]) - 3)))->
data)
) != 0) goto tmp3_end;
3045 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (3)))))
;
3046 if (listEmpty(tmpMeta[8])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3047 tmpMeta[9] = MMC_CAR(tmpMeta[8])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (1)))))
;
3048 tmpMeta[10] = MMC_CDR(tmpMeta[8])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (2)))))
;
3049 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[9],16,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9]) - 3)))==(((3 +1)
<< 10) + (((16 +3) & 255) << 2)))
== 0) goto tmp3_end;
3050 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[9]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[9]) - 3
))) + (4)))))
;
3051 if (!listEmpty(tmpMeta[11])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[11]) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) goto tmp3_end;
3052 if (!listEmpty(tmpMeta[10])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[10]) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) goto tmp3_end;
3053 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
3054 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
3055 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
3056 _rooted = tmpMeta[12];
3057 _roots = tmpMeta[13];
3058 _graph = tmpMeta[14];
3059 tmp4 += 3; /* Pattern matching succeeded; we may skip some cases if we fail */
3060#line 1050 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3061 if(omc_Flags_isSet(threadData, _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))))
3062#line 1050 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3063 {
3064#line 1051 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3065 tmpMeta[2] = stringAppend(_OMC_LIT114((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3)),omc_ExpressionDump_printExpStr(threadData, _inExp));
3066#line 1051 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3067 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT115((void*)((char*)(&(_OMC_LIT_STRUCT115).header) + 3)));
3068#line 1051 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3069 omc_Debug_traceln(threadData, tmpMeta[3]);
3070#line 3070 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3071 }
3072#line 1053 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3073 tmpMeta[2] = mmc_mk_box3(0, _rooted, _roots, _graph);
3074#line 1053 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3075 tmpMeta[0+0] = _OMC_LIT116((void*)((char*)(&(_OMC_LIT_STRUCT116).header) + 3));
3076#line 1053 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3077 tmpMeta[0+1] = tmpMeta[2];
3078#line 3078 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3079 goto tmp3_done;
3080 }
3081 case 5: {
3082 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,13,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp3_end;
3083 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3084 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;
3085 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
3086 if (11 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT124)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT124).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp3_end;
3087 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
3088 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3089 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
3090 if (6 != MMC_STRLEN(tmpMeta[5])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT125)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT125).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[5])(((struct mmc_string*)((void*)((char*)(tmpMeta[5]) - 3)))->
data)
) != 0) goto tmp3_end;
3091 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
3092 if (listEmpty(tmpMeta[6])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3093 tmpMeta[7] = MMC_CAR(tmpMeta[6])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (1)))))
;
3094 tmpMeta[8] = MMC_CDR(tmpMeta[6])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (2)))))
;
3095 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[7],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
3096 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (2)))))
;
3097 if (!listEmpty(tmpMeta[8])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3098 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
3099 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
3100 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
3101 _cref = tmpMeta[9];
3102 _rooted = tmpMeta[10];
3103 _roots = tmpMeta[11];
3104 _graph = tmpMeta[12];
3105 tmp4 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
3106#line 1059 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3107 _result = omc_List_isMemberOnTrue(threadData, _cref, _roots, boxvar_ComponentReference_crefEqualNoStringCompare((void*)((char*)(&(boxvar_lit_ComponentReference_crefEqualNoStringCompare
).header) + 3))
);
3108#line 3108 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3109
3110#line 1060 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3111 if(omc_Flags_isSet(threadData, _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))))
3112#line 1060 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3113 {
3114#line 1061 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3115 tmpMeta[2] = stringAppend(_OMC_LIT114((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3)),omc_ExpressionDump_printExpStr(threadData, _inExp));
3116#line 1061 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3117 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT118((void*)((char*)(&(_OMC_LIT_STRUCT118).header) + 3)));
3118#line 1061 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3119 tmpMeta[4] = stringAppend(tmpMeta[3],(_result?_OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)):_OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3))));
3120#line 1061 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3121 omc_Debug_traceln(threadData, tmpMeta[4]);
3122#line 3122 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3123 }
3124#line 1063 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3125 tmpMeta[2] = mmc_mk_box2(6, &DAE_Exp_BCONST__desc, mmc_mk_boolean(_result)((_result) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
3126#line 1063 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3127 tmpMeta[3] = mmc_mk_box3(0, _rooted, _roots, _graph);
3128#line 1063 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3129 tmpMeta[0+0] = tmpMeta[2];
3130#line 1063 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3131 tmpMeta[0+1] = tmpMeta[3];
3132#line 3132 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3133 goto tmp3_done;
3134 }
3135 case 6: {
3136 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,10,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((10 +3) & 255) << 2)))
== 0) goto tmp3_end;
3137 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3138 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],24,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((24 +3) & 255) << 2)))
== 0) goto tmp3_end;
3139 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
3140 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],13,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((3 +1)
<< 10) + (((13 +3) & 255) << 2)))
== 0) goto tmp3_end;
3141 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
3142 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],0,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((2 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
3143 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
3144 if (11 != MMC_STRLEN(tmpMeta[5])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT124)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT124).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[5])(((struct mmc_string*)((void*)((char*)(tmpMeta[5]) - 3)))->
data)
) != 0) goto tmp3_end;
3145 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (3)))))
;
3146 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[6],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3147 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[6]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (2)))))
;
3148 if (6 != MMC_STRLEN(tmpMeta[7])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT125)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT125).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[7])(((struct mmc_string*)((void*)((char*)(tmpMeta[7]) - 3)))->
data)
) != 0) goto tmp3_end;
3149 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (3)))))
;
3150 if (listEmpty(tmpMeta[8])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3151 tmpMeta[9] = MMC_CAR(tmpMeta[8])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (1)))))
;
3152 tmpMeta[10] = MMC_CDR(tmpMeta[8])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (2)))))
;
3153 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[9],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
3154 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[9]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[9]) - 3
))) + (2)))))
;
3155 if (!listEmpty(tmpMeta[10])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[10]) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) goto tmp3_end;
3156 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
3157 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
3158 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
3159 _cref = tmpMeta[11];
3160 _rooted = tmpMeta[12];
3161 _roots = tmpMeta[13];
3162 _graph = tmpMeta[14];
3163 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
3164#line 1068 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3165 _result = omc_List_isMemberOnTrue(threadData, _cref, _roots, boxvar_ComponentReference_crefEqualNoStringCompare((void*)((char*)(&(boxvar_lit_ComponentReference_crefEqualNoStringCompare
).header) + 3))
);
3166#line 3166 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3167
3168#line 1069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3169 _result = (!_result);
3170#line 3170 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3171
3172#line 1070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3173 if(omc_Flags_isSet(threadData, _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))))
3174#line 1070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3175 {
3176#line 1071 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3177 tmpMeta[2] = stringAppend(_OMC_LIT114((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3)),omc_ExpressionDump_printExpStr(threadData, _inExp));
3178#line 1071 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3179 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT118((void*)((char*)(&(_OMC_LIT_STRUCT118).header) + 3)));
3180#line 1071 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3181 tmpMeta[4] = stringAppend(tmpMeta[3],(_result?_OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)):_OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3))));
3182#line 1071 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3183 omc_Debug_traceln(threadData, tmpMeta[4]);
3184#line 3184 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3185 }
3186#line 1073 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3187 tmpMeta[2] = mmc_mk_box2(6, &DAE_Exp_BCONST__desc, mmc_mk_boolean(_result)((_result) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
3188#line 1073 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3189 tmpMeta[3] = mmc_mk_box3(0, _rooted, _roots, _graph);
3190#line 1073 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3191 tmpMeta[0+0] = tmpMeta[2];
3192#line 1073 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3193 tmpMeta[0+1] = tmpMeta[3];
3194#line 3194 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3195 goto tmp3_done;
3196 }
3197 case 7: {
3198 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,13,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp3_end;
3199 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3200 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;
3201 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
3202 if (11 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT124)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT124).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp3_end;
3203 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
3204 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3205 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
3206 if (17 != MMC_STRLEN(tmpMeta[5])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT126)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT126).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[5])(((struct mmc_string*)((void*)((char*)(tmpMeta[5]) - 3)))->
data)
) != 0) goto tmp3_end;
3207 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
3208 if (listEmpty(tmpMeta[6])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3209 tmpMeta[7] = MMC_CAR(tmpMeta[6])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (1)))))
;
3210 tmpMeta[8] = MMC_CDR(tmpMeta[6])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (2)))))
;
3211 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[7],16,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3)))==(((3 +1)
<< 10) + (((16 +3) & 255) << 2)))
== 0) goto tmp3_end;
3212 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (4)))))
;
3213 if (listEmpty(tmpMeta[8])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3214 tmpMeta[10] = MMC_CAR(tmpMeta[8])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (1)))))
;
3215 tmpMeta[11] = MMC_CDR(tmpMeta[8])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (2)))))
;
3216 if (listEmpty(tmpMeta[11])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[11]) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) goto tmp3_end;
3217 tmpMeta[12] = MMC_CAR(tmpMeta[11])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[11]) - 3
))) + (1)))))
;
3218 tmpMeta[13] = MMC_CDR(tmpMeta[11])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[11]) - 3
))) + (2)))))
;
3219 if (!listEmpty(tmpMeta[13])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[13]) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) goto tmp3_end;
3220 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
3221 tmpMeta[15] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
3222 tmpMeta[16] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
3223 _uroots = tmpMeta[7];
3224 _lst = tmpMeta[9];
3225 _nodes = tmpMeta[10];
3226 _message = tmpMeta[12];
3227 _rooted = tmpMeta[14];
3228 _roots = tmpMeta[15];
3229 _graph = tmpMeta[16];
3230 /* Pattern matching succeeded */
3231#line 1079 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3232 if(omc_Flags_isSet(threadData, _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))))
3233#line 1079 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3234 {
3235#line 1080 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3236 tmpMeta[2] = stringAppend(_OMC_LIT119((void*)((char*)(&(_OMC_LIT_STRUCT119).header) + 3)),omc_ExpressionDump_printExpStr(threadData, _uroots));
3237#line 1080 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3238 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT120((void*)((char*)(&(_OMC_LIT_STRUCT120).header) + 3)));
3239#line 1080 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3240 tmpMeta[4] = stringAppend(tmpMeta[3],omc_ExpressionDump_printExpStr(threadData, _nodes));
3241#line 1080 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3242 tmpMeta[5] = stringAppend(tmpMeta[4],_OMC_LIT120((void*)((char*)(&(_OMC_LIT_STRUCT120).header) + 3)));
3243#line 1080 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3244 tmpMeta[6] = stringAppend(tmpMeta[5],omc_ExpressionDump_printExpStr(threadData, _message));
3245#line 1080 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3246 tmpMeta[7] = stringAppend(tmpMeta[6],_OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
3247#line 1080 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3248 omc_Debug_traceln(threadData, tmpMeta[7]);
3249#line 3249 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3250 }
3251
3252#line 1085 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3253 _lst = omc_List_fill(threadData, _OMC_LIT121((void*)((char*)(&(_OMC_LIT_STRUCT121).header) + 3)), listLength(_lst));
3254#line 3254 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3255#line 1086 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3256 tmpMeta[2] = mmc_mk_box4(19, &DAE_Exp_ARRAY__desc, _OMC_LIT122((void*)((char*)(&(_OMC_LIT_STRUCT122).header) + 3)), mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), _lst);
3257#line 1086 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3258 tmpMeta[3] = mmc_mk_box3(0, _rooted, _roots, _graph);
3259#line 1086 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3260 tmpMeta[0+0] = tmpMeta[2];
3261#line 1086 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3262 tmpMeta[0+1] = tmpMeta[3];
3263#line 3263 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3264 goto tmp3_done;
3265 }
3266 case 8: {
3267
3268 /* Pattern matching succeeded */
3269#line 1090 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3270 tmpMeta[0+0] = _inExp;
3271#line 1090 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3272 tmpMeta[0+1] = _inRoots;
3273#line 3273 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3274 goto tmp3_done;
3275 }
3276 }
3277 goto tmp3_end;
3278 tmp3_end: ;
3279 }
3280 goto goto_2;
3281 tmp3_done:
3282 (void)tmp4;
3283 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3284 goto tmp3_done2;
3285 goto_2:;
3286 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3287 if (++tmp4 < 9) {
3288 goto tmp3_top;
3289 }
3290 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3291 tmp3_done2:;
3292 }
3293 }
3294 _outExp = tmpMeta[0+0];
3295 _outRoots = tmpMeta[0+1];
3296 _return: OMC_LABEL_UNUSED__attribute__((unused))
3297 if (out_outRoots) { *out_outRoots = _outRoots; }
3298 return _outExp;
3299}
3300
3301PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_evalConnectionsOperators(threadData_t *threadData, modelica_metatype _inRoots, modelica_metatype _graph, modelica_metatype _inDae)
3302{
3303 modelica_metatype _outDae = NULL((void*)0);
3304 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3305 MMC_SO()mmc_check_stackoverflow(threadData);
3306 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3307 // _outDae has no default value.
3308#line 3308 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3309 { /* matchcontinue expression */
3310 volatile modelica_metatype tmp3_1;
3311 tmp3_1 = _inDae;
3312 {
3313 modelica_metatype _rooted = NULL((void*)0);
3314 modelica_metatype _table = NULL((void*)0);
3315 modelica_metatype _branches = NULL((void*)0);
3316 modelica_metatype _connections = NULL((void*)0);
3317 volatile mmc_switch_type tmp3;
3318 int tmp4;
3319 // _rooted has no default value.
3320 // _table has no default value.
3321 // _branches has no default value.
3322 // _connections has no default value.
3323 tmp3 = 0;
3324 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) {
3325 tmp2_top:
3326 threadData->mmc_jumper = &new_mmc_jumper;
3327 for (; tmp3 < 2; tmp3++) {
3328 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3329 case 0: {
3330 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3331 /* Pattern matching succeeded */
3332#line 965 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3333 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3334#line 965 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3335 tmpMeta[0] = tmpMeta[1];
3336#line 3336 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3337 goto tmp2_done;
3338 }
3339 case 1: {
3340
3341 /* Pattern matching succeeded */
3342#line 970 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3343 _table = omc_HashTable3_emptyHashTable(threadData);
3344#line 3344 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3345
3346#line 972 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3347 _branches = omc_ConnectionGraph_getBranches(threadData, _graph);
3348#line 3348 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3349
3350#line 973 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3351 _table = omc_List_fold(threadData, _branches, boxvar_ConnectionGraph_addBranches((void*)((char*)(&(boxvar_lit_ConnectionGraph_addBranches
).header) + 3))
, _table);
3352#line 3352 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3353
3354#line 975 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3355 _connections = omc_ConnectionGraph_getConnections(threadData, _graph);
3356#line 3356 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3357
3358#line 976 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3359 _table = omc_List_fold(threadData, _connections, boxvar_ConnectionGraph_addConnectionsRooted((void*)((char*)(&(boxvar_lit_ConnectionGraph_addConnectionsRooted
).header) + 3))
, _table);
3360#line 3360 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3361
3362#line 980 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3363 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3364#line 980 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3365 _rooted = omc_ConnectionGraph_setRootDistance(threadData, _inRoots, _table, ((modelica_integer) 0), tmpMeta[1], omc_HashTable_emptyHashTable(threadData));
3366#line 3366 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3367#line 982 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3368 tmpMeta[1] = mmc_mk_box3(0, _rooted, _inRoots, _graph);
3369#line 982 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3370 tmpMeta[0] = omc_DAEUtil_traverseDAEElementList(threadData, _inDae, boxvar_ConnectionGraph_evalConnectionsOperatorsHelper((void*)((char*)(&(boxvar_lit_ConnectionGraph_evalConnectionsOperatorsHelper
).header) + 3))
, tmpMeta[1], NULL((void*)0));
3371#line 3371 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3372 goto tmp2_done;
3373 }
3374 }
3375 goto tmp2_end;
3376 tmp2_end: ;
3377 }
3378 goto goto_1;
3379 tmp2_done:
3380 (void)tmp3;
3381 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3382 goto tmp2_done2;
3383 goto_1:;
3384 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3385 if (++tmp3 < 2) {
3386 goto tmp2_top;
3387 }
3388 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3389 tmp2_done2:;
3390 }
3391 }
3392 _outDae = tmpMeta[0];
3393 _return: OMC_LABEL_UNUSED__attribute__((unused))
3394 return _outDae;
3395}
3396
3397PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_addConnectionRooted(threadData_t *threadData, modelica_metatype _cref1, modelica_metatype _cref2, modelica_metatype _itable)
3398{
3399 modelica_metatype _otable = NULL((void*)0);
3400 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
3401 MMC_SO()mmc_check_stackoverflow(threadData);
3402 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3403 // _otable has no default value.
3404#line 3404 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3405 { /* match expression */
3406 {
3407 modelica_metatype _crefs = NULL((void*)0);
3408 volatile mmc_switch_type tmp3;
3409 int tmp4;
3410 // _crefs has no default value.
3411 tmp3 = 0;
3412 for (; tmp3 < 1; tmp3++) {
3413 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3414 case 0: {
3415 /* Pattern matching succeeded */
3416#line 3416 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3417 { /* matchcontinue expression */
3418 {
3419 volatile mmc_switch_type tmp7;
3420 int tmp8;
3421 tmp7 = 0;
3422 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) {
3423 tmp6_top:
3424 threadData->mmc_jumper = &new_mmc_jumper;
3425 for (; tmp7 < 2; tmp7++) {
3426 switch (MMC_SWITCH_CAST(tmp7)(tmp7)) {
3427 case 0: {
3428 /* Pattern matching succeeded */
3429#line 933 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3430 tmpMeta[1] = omc_BaseHashTable_get(threadData, _cref1, _itable);
3431#line 3431 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3432 goto tmp6_done;
3433 }
3434 case 1: {
3435 /* Pattern matching succeeded */
3436#line 934 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3437 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3438#line 934 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3439 tmpMeta[1] = tmpMeta[2];
3440#line 3440 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3441 goto tmp6_done;
3442 }
3443 }
3444 goto tmp6_end;
3445 tmp6_end: ;
3446 }
3447 goto goto_5;
3448 tmp6_done:
3449 (void)tmp7;
3450 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3451 goto tmp6_done2;
3452 goto_5:;
3453 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3454 if (++tmp7 < 2) {
3455 goto tmp6_top;
3456 }
3457 goto goto_1;
3458 tmp6_done2:;
3459 }
3460 }
3461 _crefs = tmpMeta[1];
3462#line 936 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3463 tmpMeta[1] = mmc_mk_cons(_cref2, _crefs);
3464#line 936 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3465 tmpMeta[2] = mmc_mk_box2(0, _cref1, tmpMeta[1]);
3466#line 936 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3467 tmpMeta[0] = omc_BaseHashTable_add(threadData, tmpMeta[2], _itable);
3468#line 3468 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3469 goto tmp2_done;
3470 }
3471 }
3472 goto tmp2_end;
3473 tmp2_end: ;
3474 }
3475 goto goto_1;
3476 goto_1:;
3477 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3478 goto tmp2_done;
3479 tmp2_done:;
3480 }
3481 }
3482 _otable = tmpMeta[0];
3483 _return: OMC_LABEL_UNUSED__attribute__((unused))
3484 return _otable;
3485}
3486
3487PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_addConnectionsRooted(threadData_t *threadData, modelica_metatype _connection, modelica_metatype _itable)
3488{
3489 modelica_metatype _otable = NULL((void*)0);
3490 modelica_metatype _cref1 = NULL((void*)0);
3491 modelica_metatype _cref2 = NULL((void*)0);
3492 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
3493 MMC_SO()mmc_check_stackoverflow(threadData);
3494 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3495 // _otable has no default value.
3496 // _cref1 has no default value.
3497 // _cref2 has no default value.
3498#line 914 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3499 /* Pattern-matching assignment */
3500#line 914 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3501 tmpMeta[0] = _connection;
3502#line 914 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3503 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
3504#line 914 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3505 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3506#line 914 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3507 _cref1 = tmpMeta[1];
3508#line 914 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3509 _cref2 = tmpMeta[2];
3510#line 3510 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3511
3512#line 915 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3513 _otable = omc_ConnectionGraph_addConnectionRooted(threadData, _cref1, _cref2, _itable);
3514#line 3514 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3515
3516#line 916 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3517 _otable = omc_ConnectionGraph_addConnectionRooted(threadData, _cref2, _cref1, _otable);
3518#line 3518 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3519 _return: OMC_LABEL_UNUSED__attribute__((unused))
3520 return _otable;
3521}
3522
3523PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_addBranches(threadData_t *threadData, modelica_metatype _edge, modelica_metatype _itable)
3524{
3525 modelica_metatype _otable = NULL((void*)0);
3526 modelica_metatype _cref1 = NULL((void*)0);
3527 modelica_metatype _cref2 = NULL((void*)0);
3528 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
3529 MMC_SO()mmc_check_stackoverflow(threadData);
3530 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3531 // _otable has no default value.
3532 // _cref1 has no default value.
3533 // _cref2 has no default value.
3534#line 902 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3535 /* Pattern-matching assignment */
3536#line 902 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3537 tmpMeta[0] = _edge;
3538#line 902 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3539 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
3540#line 902 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3541 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3542#line 902 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3543 _cref1 = tmpMeta[1];
3544#line 902 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3545 _cref2 = tmpMeta[2];
3546#line 3546 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3547
3548#line 903 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3549 _otable = omc_ConnectionGraph_addConnectionRooted(threadData, _cref1, _cref2, _itable);
3550#line 3550 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3551
3552#line 904 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3553 _otable = omc_ConnectionGraph_addConnectionRooted(threadData, _cref2, _cref1, _otable);
3554#line 3554 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3555 _return: OMC_LABEL_UNUSED__attribute__((unused))
3556 return _otable;
3557}
3558
3559PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_setRootDistance(threadData_t *threadData, modelica_metatype _finalRoots, modelica_metatype _table, modelica_integer _distance, modelica_metatype _nextLevel, modelica_metatype _irooted)
3560{
3561 modelica_metatype _orooted = NULL((void*)0);
3562 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
3563 MMC_SO()mmc_check_stackoverflow(threadData);
3564 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3565 // _orooted has no default value.
3566#line 3566 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3567 { /* matchcontinue expression */
3568 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;
3569 tmp3_1 = _finalRoots;
3570 tmp3_2 = _nextLevel;
3571 {
3572 modelica_metatype _rooted = NULL((void*)0);
3573 modelica_metatype _rest = NULL((void*)0);
3574 modelica_metatype _next = NULL((void*)0);
3575 modelica_metatype _cr = NULL((void*)0);
3576 volatile mmc_switch_type tmp3;
3577 int tmp4;
3578 // _rooted has no default value.
3579 // _rest has no default value.
3580 // _next has no default value.
3581 // _cr has no default value.
3582 tmp3 = 0;
3583 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) {
3584 tmp2_top:
3585 threadData->mmc_jumper = &new_mmc_jumper;
3586 for (; tmp3 < 5; tmp3++) {
3587 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3588 case 0: {
3589 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3590 if (!listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3591 /* Pattern matching succeeded */
3592#line 855 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3593 tmpMeta[0] = _irooted;
3594#line 3594 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3595 goto tmp2_done;
3596 }
3597 case 1: {
3598 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3599
3600 tmp3 += 3; /* Pattern matching succeeded; we may skip some cases if we fail */
3601#line 857 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3602 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3603#line 857 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3604 tmpMeta[0] = omc_ConnectionGraph_setRootDistance(threadData, _nextLevel, _table, ((modelica_integer) 1) + _distance, tmpMeta[1], _irooted);
3605#line 3605 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3606 goto tmp2_done;
3607 }
3608 case 2: {
3609 modelica_boolean tmp5;
3610 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3611 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
3612 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3613
3614 _cr = tmpMeta[1];
3615 _rest = tmpMeta[2];
3616 /* Pattern matching succeeded */
3617#line 861 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3618 /* Pattern-matching assignment */
3619#line 861 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3620 tmp5 = omc_BaseHashTable_hasKey(threadData, _cr, _irooted);
3621#line 861 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3622 if (0 != tmp5) goto goto_1;
3623#line 3623 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3624
3625#line 862 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3626 tmpMeta[1] = mmc_mk_box2(0, _cr, mmc_mk_integermmc_mk_icon(_distance));
3627#line 862 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3628 _rooted = omc_BaseHashTable_add(threadData, tmpMeta[1], _irooted);
3629#line 3629 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3630
3631#line 863 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3632 _next = omc_BaseHashTable_get(threadData, _cr, _table);
3633#line 3633 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3634
3635#line 868 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3636 _next = listAppend(_nextLevel, _next);
3637#line 3637 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3638#line 869 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3639 tmpMeta[0] = omc_ConnectionGraph_setRootDistance(threadData, _rest, _table, _distance, _next, _rooted);
3640#line 3640 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3641 goto tmp2_done;
3642 }
3643 case 3: {
3644 modelica_boolean tmp6;
3645 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3646 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
3647 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3648
3649 _cr = tmpMeta[1];
3650 _rest = tmpMeta[2];
3651 /* Pattern matching succeeded */
3652#line 873 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3653 /* Pattern-matching assignment */
3654#line 873 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3655 tmp6 = omc_BaseHashTable_hasKey(threadData, _cr, _irooted);
3656#line 873 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3657 if (0 != tmp6) goto goto_1;
3658#line 3658 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3659
3660#line 874 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3661 tmpMeta[1] = mmc_mk_box2(0, _cr, mmc_mk_integermmc_mk_icon(_distance));
3662#line 874 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3663 _rooted = omc_BaseHashTable_add(threadData, tmpMeta[1], _irooted);
3664#line 3664 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3665#line 877 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3666 tmpMeta[0] = omc_ConnectionGraph_setRootDistance(threadData, _rest, _table, _distance, _nextLevel, _rooted);
3667#line 3667 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3668 goto tmp2_done;
3669 }
3670 case 4: {
3671 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3672 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
3673 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3674
3675 _rest = tmpMeta[2];
3676 /* Pattern matching succeeded */
3677#line 890 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3678 tmpMeta[0] = omc_ConnectionGraph_setRootDistance(threadData, _rest, _table, _distance, _nextLevel, _irooted);
3679#line 3679 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3680 goto tmp2_done;
3681 }
3682 }
3683 goto tmp2_end;
3684 tmp2_end: ;
3685 }
3686 goto goto_1;
3687 tmp2_done:
3688 (void)tmp3;
3689 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3690 goto tmp2_done2;
3691 goto_1:;
3692 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3693 if (++tmp3 < 5) {
3694 goto tmp2_top;
3695 }
3696 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3697 tmp2_done2:;
3698 }
3699 }
3700 _orooted = tmpMeta[0];
3701 _return: OMC_LABEL_UNUSED__attribute__((unused))
3702 return _orooted;
3703}
3704PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ConnectionGraph_setRootDistance(threadData_t *threadData, modelica_metatype _finalRoots, modelica_metatype _table, modelica_metatype _distance, modelica_metatype _nextLevel, modelica_metatype _irooted)
3705{
3706 modelica_integer tmp1;
3707 modelica_metatype _orooted = NULL((void*)0);
3708 tmp1 = mmc_unbox_integer(_distance)(((mmc_sint_t) (_distance)) >> 1);
3709 _orooted = omc_ConnectionGraph_setRootDistance(threadData, _finalRoots, _table, tmp1, _nextLevel, _irooted);
3710 /* skip box _orooted; tuple<array<list<tuple<DAE.ComponentRef, #Integer>>>, tuple<#Integer, #Integer, array<Option<tuple<DAE.ComponentRef, #Integer>>>>, #Integer, tuple<.HashTable.FuncHashCref<function>(DAE.ComponentRef cr, #Integer mod) => #Integer, .HashTable.FuncCrefEqual<function>(DAE.ComponentRef cr1, DAE.ComponentRef cr2) => #Boolean, .HashTable.FuncCrefStr<function>(DAE.ComponentRef cr) => String, .HashTable.FuncExpStr<function>(#Integer exp) => String>> */
3711 return _orooted;
3712}
3713
3714PROTECTED_FUNCTION_STATIC modelica_string omc_ConnectionGraph_printPotentialRootTuple(threadData_t *threadData, modelica_metatype _potentialRoot)
3715{
3716 modelica_string _outStr = NULL((void*)0);
3717 modelica_string tmp1 = 0;
3718 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
3719 MMC_SO()mmc_check_stackoverflow(threadData);
3720 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3721 // _outStr has no default value.
3722#line 3722 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3723 { /* match expression */
3724 modelica_metatype tmp4_1;
3725 tmp4_1 = _potentialRoot;
3726 {
3727 modelica_metatype _cr = NULL((void*)0);
3728 modelica_real _priority;
3729 volatile mmc_switch_type tmp4;
3730 int tmp5;
3731 // _cr has no default value.
3732 // _priority has no default value.
3733 tmp4 = 0;
3734 for (; tmp4 < 1; tmp4++) {
3735 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3736 case 0: {
3737 modelica_real tmp6;
3738 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
3739 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3740 tmp6 = mmc_unbox_real(tmpMeta[1])mmc_prim_get_real(tmpMeta[1]);
3741 _cr = tmpMeta[0];
3742 _priority = tmp6 /* pattern as ty=Real */;
3743 /* Pattern matching succeeded */
3744#line 837 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3745 tmpMeta[0] = stringAppend(omc_ComponentReference_printComponentRefStr(threadData, _cr),_OMC_LIT113((void*)((char*)(&(_OMC_LIT_STRUCT113).header) + 3)));
3746#line 837 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3747 tmpMeta[1] = stringAppend(tmpMeta[0],realString(_priority));
3748#line 837 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3749 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
3750#line 837 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3751 tmp1 = tmpMeta[2];
3752#line 3752 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3753 goto tmp3_done;
3754 }
3755 }
3756 goto tmp3_end;
3757 tmp3_end: ;
3758 }
3759 goto goto_2;
3760 goto_2:;
3761 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3762 goto tmp3_done;
3763 tmp3_done:;
3764 }
3765 }
3766 _outStr = tmp1;
3767 _return: OMC_LABEL_UNUSED__attribute__((unused))
3768 return _outStr;
3769}
3770
3771PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_makeTuple(threadData_t *threadData, modelica_metatype _inLstLst)
3772{
3773 modelica_metatype _outLst = NULL((void*)0);
3774 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
3775 MMC_SO()mmc_check_stackoverflow(threadData);
3776 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3777 // _outLst has no default value.
3778#line 3778 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3779 { /* matchcontinue expression */
3780 volatile modelica_metatype tmp3_1;
3781 tmp3_1 = _inLstLst;
3782 {
3783 modelica_string _c1 = NULL((void*)0);
3784 modelica_string _c2 = NULL((void*)0);
3785 modelica_metatype _rest = NULL((void*)0);
3786 modelica_metatype _lst = NULL((void*)0);
3787 modelica_metatype _bad = NULL((void*)0);
3788 volatile mmc_switch_type tmp3;
3789 int tmp4;
3790 // _c1 has no default value.
3791 // _c2 has no default value.
3792 // _rest has no default value.
3793 // _lst has no default value.
3794 // _bad has no default value.
3795 tmp3 = 0;
3796 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
3797 tmp2_top:
3798 threadData->mmc_jumper = &new_mmc_jumper;
3799 for (; tmp3 < 5; tmp3++) {
3800 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3801 case 0: {
3802 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3803 tmp3 += 4; /* Pattern matching succeeded; we may skip some cases if we fail */
3804#line 795 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3805 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3806#line 795 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3807 tmpMeta[0] = tmpMeta[1];
3808#line 3808 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3809 goto tmp2_done;
3810 }
3811 case 1: {
3812 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3813 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
3814 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3815 if (listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3816 tmpMeta[3] = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
3817 tmpMeta[4] = MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3818 if (listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3819 tmpMeta[5] = MMC_CAR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
3820 tmpMeta[6] = MMC_CDR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
3821 if (!listEmpty(tmpMeta[6])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3822 _c1 = tmpMeta[3];
3823 _c2 = tmpMeta[5];
3824 _rest = tmpMeta[2];
3825 tmp3 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
3826#line 799 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3827 _lst = omc_ConnectionGraph_makeTuple(threadData, _rest);
3828#line 3828 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3829#line 800 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3830 tmpMeta[2] = mmc_mk_box2(0, _c1, _c2);
3831#line 800 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3832 tmpMeta[1] = mmc_mk_cons(tmpMeta[2], _lst);
3833#line 800 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3834 tmpMeta[0] = tmpMeta[1];
3835#line 3835 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3836 goto tmp2_done;
3837 }
3838 case 2: {
3839 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3840 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
3841 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3842 if (listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3843 tmpMeta[3] = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
3844 tmpMeta[4] = MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3845 if (0 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT20)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT20).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp2_end;
3846 if (!listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3847 _rest = tmpMeta[2];
3848 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
3849#line 805 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3850 tmpMeta[0] = omc_ConnectionGraph_makeTuple(threadData, _rest);
3851#line 3851 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3852 goto tmp2_done;
3853 }
3854 case 3: {
3855 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3856 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
3857 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3858 if (!listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3859 _rest = tmpMeta[2];
3860 /* Pattern matching succeeded */
3861#line 811 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3862 tmpMeta[0] = omc_ConnectionGraph_makeTuple(threadData, _rest);
3863#line 3863 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3864 goto tmp2_done;
3865 }
3866 case 4: {
3867 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3868 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
3869 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3870 _bad = tmpMeta[1];
3871 _rest = tmpMeta[2];
3872 /* Pattern matching succeeded */
3873#line 817 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3874 tmpMeta[1] = stringAppend(_OMC_LIT127((void*)((char*)(&(_OMC_LIT_STRUCT127).header) + 3)),stringDelimitList(_bad, _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))));
3875#line 817 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3876 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT128((void*)((char*)(&(_OMC_LIT_STRUCT128).header) + 3)));
3877#line 817 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3878 omc_Debug_traceln(threadData, tmpMeta[2]);
3879#line 3879 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3880#line 820 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3881 tmpMeta[0] = omc_ConnectionGraph_makeTuple(threadData, _rest);
3882#line 3882 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3883 goto tmp2_done;
3884 }
3885 }
3886 goto tmp2_end;
3887 tmp2_end: ;
3888 }
3889 goto goto_1;
3890 tmp2_done:
3891 (void)tmp3;
3892 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3893 goto tmp2_done2;
3894 goto_1:;
3895 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3896 if (++tmp3 < 5) {
3897 goto tmp2_top;
3898 }
3899 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3900 tmp2_done2:;
3901 }
3902 }
3903 _outLst = tmpMeta[0];
3904 _return: OMC_LABEL_UNUSED__attribute__((unused))
3905 return _outLst;
3906}
3907
3908PROTECTED_FUNCTION_STATIC modelica_string omc_ConnectionGraph_printTupleStr(threadData_t *threadData, modelica_metatype _inTpl)
3909{
3910 modelica_string _out = NULL((void*)0);
3911 modelica_string tmp1 = 0;
3912 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3913 MMC_SO()mmc_check_stackoverflow(threadData);
3914 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3915 // _out has no default value.
3916#line 3916 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3917 { /* match expression */
3918 modelica_metatype tmp4_1;
3919 tmp4_1 = _inTpl;
3920 {
3921 modelica_string _c1 = NULL((void*)0);
3922 modelica_string _c2 = NULL((void*)0);
3923 volatile mmc_switch_type tmp4;
3924 int tmp5;
3925 // _c1 has no default value.
3926 // _c2 has no default value.
3927 tmp4 = 0;
3928 for (; tmp4 < 1; tmp4++) {
3929 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3930 case 0: {
3931 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
3932 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3933 _c1 = tmpMeta[0];
3934 _c2 = tmpMeta[1];
3935 /* Pattern matching succeeded */
3936#line 779 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3937 tmpMeta[0] = stringAppend(_c1,_OMC_LIT112((void*)((char*)(&(_OMC_LIT_STRUCT112).header) + 3)));
3938#line 779 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3939 tmpMeta[1] = stringAppend(tmpMeta[0],_c2);
3940#line 779 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3941 tmp1 = tmpMeta[1];
3942#line 3942 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
3943 goto tmp3_done;
3944 }
3945 }
3946 goto tmp3_end;
3947 tmp3_end: ;
3948 }
3949 goto goto_2;
3950 goto_2:;
3951 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3952 goto tmp3_done;
3953 tmp3_done:;
3954 }
3955 }
3956 _out = tmp1;
3957 _return: OMC_LABEL_UNUSED__attribute__((unused))
3958 return _out;
3959}
3960
3961PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_orderConnectsGuidedByUser(threadData_t *threadData, modelica_metatype _inConnections, modelica_metatype _inUserSelectedBreaking)
3962{
3963 modelica_metatype _outOrderedConnections = NULL((void*)0);
3964 modelica_metatype _front = NULL((void*)0);
3965 modelica_metatype _back = NULL((void*)0);
3966 modelica_metatype _c1 = NULL((void*)0);
3967 modelica_metatype _c2 = NULL((void*)0);
3968 modelica_string _sc1 = NULL((void*)0);
3969 modelica_string _sc2 = NULL((void*)0);
3970 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
3971 MMC_SO()mmc_check_stackoverflow(threadData);
3972 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3973 // _outOrderedConnections has no default value.
3974 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3975 _front = tmpMeta[0];
3976 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3977 _back = tmpMeta[1];
3978 // _c1 has no default value.
3979 // _c2 has no default value.
3980 // _sc1 has no default value.
3981 // _sc2 has no default value.
3982#line 756 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3983 {
3984#line 756 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3985 modelica_metatype _e;
3986#line 756 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3987 for (tmpMeta[2] = _inConnections; !listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[2]=MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
)
3988#line 756 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3989 {
3990#line 756 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3991 _e = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
3992#line 757 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3993 /* Pattern-matching assignment */
3994#line 757 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3995 tmpMeta[3] = _e;
3996#line 757 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3997 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
3998#line 757 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
3999 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
4000#line 757 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4001 _c1 = tmpMeta[4];
4002#line 757 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4003 _c2 = tmpMeta[5];
4004#line 4004 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4005
4006#line 758 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4007 _sc1 = omc_ComponentReference_printComponentRefStr(threadData, _c1);
4008#line 4008 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4009
4010#line 759 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4011 _sc2 = omc_ComponentReference_printComponentRefStr(threadData, _c2);
4012#line 4012 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4013
4014#line 761 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4015 tmpMeta[3] = mmc_mk_box2(0, _sc1, _sc2);
4016#line 761 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4017 tmpMeta[4] = mmc_mk_box2(0, _sc2, _sc1);
4018#line 761 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4019 if((listMember(tmpMeta[3], _inUserSelectedBreaking) || listMember(tmpMeta[4], _inUserSelectedBreaking)))
4020#line 761 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4021 {
4022#line 763 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4023 tmpMeta[5] = mmc_mk_cons(_e, _back);
4024#line 763 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4025 _back = tmpMeta[5];
4026#line 4026 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4027 }
4028 else
4029 {
4030#line 766 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4031 tmpMeta[5] = mmc_mk_cons(_e, _front);
4032#line 766 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4033 _front = tmpMeta[5];
4034#line 4034 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4035 }
4036 }
4037 }
4038
4039#line 769 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4040 _outOrderedConnections = omc_List_append__reverse(threadData, _front, _back);
4041#line 4041 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4042 _return: OMC_LABEL_UNUSED__attribute__((unused))
4043 return _outOrderedConnections;
4044}
4045
4046PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_findResultGraph(threadData_t *threadData, modelica_metatype _inGraph, modelica_string _modelNameQualified, modelica_metatype *out_outConnectedConnections, modelica_metatype *out_outBrokenConnections)
4047{
4048 modelica_metatype _outRoots = NULL((void*)0);
4049 modelica_metatype _outConnectedConnections = NULL((void*)0);
4050 modelica_metatype _outBrokenConnections = NULL((void*)0);
4051 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
4052 MMC_SO()mmc_check_stackoverflow(threadData);
4053 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4054 // _outRoots has no default value.
4055 // _outConnectedConnections has no default value.
4056 // _outBrokenConnections has no default value.
4057#line 671 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4058
4059#line 671 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4060
4061#line 671 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4062
4063#line 4063 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4064 { /* matchcontinue expression */
4065 volatile modelica_metatype tmp4_1;
4066 tmp4_1 = _inGraph;
4067 {
4068 modelica_metatype _definiteRoots = NULL((void*)0);
4069 modelica_metatype _finalRoots = NULL((void*)0);
4070 modelica_metatype _potentialRoots = NULL((void*)0);
4071 modelica_metatype _orderedPotentialRoots = NULL((void*)0);
4072 modelica_metatype _uniqueRoots = NULL((void*)0);
4073 modelica_metatype _branches = NULL((void*)0);
4074 modelica_metatype _connections = NULL((void*)0);
4075 modelica_metatype _broken = NULL((void*)0);
4076 modelica_metatype _connected = NULL((void*)0);
4077 modelica_metatype _table = NULL((void*)0);
4078 modelica_metatype _dummyRoot = NULL((void*)0);
4079 modelica_string _brokenConnectsViaGraphViz = NULL((void*)0);
4080 modelica_metatype _userBrokenLst = NULL((void*)0);
4081 modelica_metatype _userBrokenLstLst = NULL((void*)0);
4082 modelica_metatype _userBrokenTplLst = NULL((void*)0);
4083 volatile mmc_switch_type tmp4;
4084 int tmp5;
4085 // _definiteRoots has no default value.
4086 // _finalRoots has no default value.
4087 // _potentialRoots has no default value.
4088 // _orderedPotentialRoots has no default value.
4089 // _uniqueRoots has no default value.
4090 // _branches has no default value.
4091 // _connections has no default value.
4092 // _broken has no default value.
4093 // _connected has no default value.
4094 // _table has no default value.
4095 // _dummyRoot has no default value.
4096 // _brokenConnectsViaGraphViz has no default value.
4097 // _userBrokenLst has no default value.
4098 // _userBrokenLstLst has no default value.
4099 // _userBrokenTplLst has no default value.
4100 tmp4 = 0;
4101 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) {
4102 tmp3_top:
4103 threadData->mmc_jumper = &new_mmc_jumper;
4104 for (; tmp4 < 2; tmp4++) {
4105 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4106 case 0: {
4107 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
4108 if (!listEmpty(tmpMeta[3])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4109 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
4110 if (!listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4111 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(5)))))
;
4112 if (!listEmpty(tmpMeta[5])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4113 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4114 if (!listEmpty(tmpMeta[6])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4115 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(7)))))
;
4116 if (!listEmpty(tmpMeta[7])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4117 /* Pattern matching succeeded */
4118#line 687 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4119 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4120#line 687 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4121 tmpMeta[4] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4122#line 687 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4123 tmpMeta[5] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4124#line 687 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4125 tmpMeta[0+0] = tmpMeta[3];
4126#line 687 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4127 tmpMeta[0+1] = tmpMeta[4];
4128#line 687 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4129 tmpMeta[0+2] = tmpMeta[5];
4130#line 4130 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4131 goto tmp3_done;
4132 }
4133 case 1: {
4134 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
4135 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
4136 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(5)))))
;
4137 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4138 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(7)))))
;
4139 _definiteRoots = tmpMeta[3];
4140 _potentialRoots = tmpMeta[4];
4141 _uniqueRoots = tmpMeta[5];
4142 _branches = tmpMeta[6];
4143 _connections = tmpMeta[7];
4144 /* Pattern matching succeeded */
4145#line 694 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4146 _connections = listReverse(_connections);
4147#line 4147 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4148
4149#line 696 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4150 _table = omc_ConnectionGraph_resultGraphWithRoots(threadData, _definiteRoots);
4151#line 4151 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4152
4153#line 698 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4154 _table = omc_ConnectionGraph_addBranchesToTable(threadData, _table, _branches);
4155#line 4155 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4156
4157#line 700 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4158 _orderedPotentialRoots = omc_List_sort(threadData, _potentialRoots, boxvar_ConnectionGraph_ord((void*)((char*)(&(boxvar_lit_ConnectionGraph_ord).header
) + 3))
);
4159#line 4159 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4160
4161#line 702 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4162 if(omc_Flags_isSet(threadData, _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))))
4163#line 702 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4164 {
4165#line 703 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4166 tmpMeta[3] = stringAppend(_OMC_LIT129((void*)((char*)(&(_OMC_LIT_STRUCT129).header) + 3)),stringDelimitList(omc_List_map(threadData, _orderedPotentialRoots, boxvar_ConnectionGraph_printPotentialRootTuple((void*)((char*)(&(boxvar_lit_ConnectionGraph_printPotentialRootTuple
).header) + 3))
), _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))));
4167#line 703 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4168 omc_Debug_traceln(threadData, tmpMeta[3]);
4169#line 4169 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4170 }
4171
4172#line 707 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4173 _table = omc_ConnectionGraph_addConnections(threadData, _table, _connections ,&_connected ,&_broken);
4174#line 4174 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4175
4176#line 710 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4177 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4178#line 710 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4179 _dummyRoot = omc_ComponentReference_makeCrefIdent(threadData, _OMC_LIT130((void*)((char*)(&(_OMC_LIT_STRUCT130).header) + 3)), _OMC_LIT122((void*)((char*)(&(_OMC_LIT_STRUCT122).header) + 3)), tmpMeta[3]);
4180#line 4180 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4181
4182#line 712 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4183 _table = omc_ConnectionGraph_addPotentialRootsToTable(threadData, _table, _orderedPotentialRoots, _definiteRoots, _dummyRoot ,&_finalRoots);
Value stored to '_table' is never read
4184#line 4184 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4185
4186#line 715 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4187 _brokenConnectsViaGraphViz = omc_ConnectionGraph_generateGraphViz(threadData, _modelNameQualified, _definiteRoots, _potentialRoots, _uniqueRoots, _branches, _connections, _finalRoots, _broken);
4188#line 4188 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4189
4190#line 717 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4191 if((stringEqual(_brokenConnectsViaGraphViz, _OMC_LIT20)((((((*(mmc_uint_t*)((void*)((char*)(_brokenConnectsViaGraphViz
) - 3)))) >> (3)) - 8)) == (((((*(mmc_uint_t*)((void*)(
(char*)(((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3
))) - 3)))) >> (3)) - 8)) && !mmc_stringCompare
(_brokenConnectsViaGraphViz,((void*)((char*)(&(_OMC_LIT_STRUCT20
).header) + 3))))
))
4192#line 717 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4193 {
4194#line 717 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4195 }
4196#line 717 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4197 else
4198#line 717 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4199 {
4200#line 723 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4201 _userBrokenLst = omc_Util_stringSplitAtChar(threadData, _brokenConnectsViaGraphViz, _OMC_LIT131((void*)((char*)(&(_OMC_LIT_STRUCT131).header) + 3)));
4202#line 4202 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4203
4204#line 724 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4205 _userBrokenLstLst = omc_List_map1(threadData, _userBrokenLst, boxvar_Util_stringSplitAtChar((void*)((char*)(&(boxvar_lit_Util_stringSplitAtChar).header
) + 3))
, _OMC_LIT132((void*)((char*)(&(_OMC_LIT_STRUCT132).header) + 3)));
4206#line 4206 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4207
4208#line 725 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4209 _userBrokenTplLst = omc_ConnectionGraph_makeTuple(threadData, _userBrokenLstLst);
4210#line 4210 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4211
4212#line 726 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4213 tmpMeta[3] = stringAppend(_OMC_LIT133((void*)((char*)(&(_OMC_LIT_STRUCT133).header) + 3)),stringDelimitList(omc_List_map(threadData, _userBrokenTplLst, boxvar_ConnectionGraph_printTupleStr((void*)((char*)(&(boxvar_lit_ConnectionGraph_printTupleStr
).header) + 3))
), _OMC_LIT134((void*)((char*)(&(_OMC_LIT_STRUCT134).header) + 3))));
4214#line 726 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4215 omc_Debug_traceln(threadData, tmpMeta[3]);
4216#line 4216 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4217
4218#line 728 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4219 omc_ConnectionGraph_printDaeEdges(threadData, _connections);
4220#line 4220 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4221
4222#line 730 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4223 _connections = omc_ConnectionGraph_orderConnectsGuidedByUser(threadData, _connections, _userBrokenTplLst);
4224#line 4224 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4225
4226#line 732 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4227 _connections = listReverse(_connections);
4228#line 4228 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4229
4230#line 733 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4231 fputs(MMC_STRINGDATA(_OMC_LIT135)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT135).header) + 3))) - 3)))->data)
,stdoutstdout);
4232#line 4232 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4233
4234#line 736 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4235 tmpMeta[3] = mmc_mk_box7(3, &ConnectionGraph_ConnectionGraph_GRAPH__desc, mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), _definiteRoots, _potentialRoots, _uniqueRoots, _branches, _connections);
4236#line 736 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4237 _finalRoots = omc_ConnectionGraph_findResultGraph(threadData, tmpMeta[3], _modelNameQualified ,&_connected ,&_broken);
4238#line 4238 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4239 }
4240#line 740 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4241 tmpMeta[0+0] = _finalRoots;
4242#line 740 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4243 tmpMeta[0+1] = _connected;
4244#line 740 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4245 tmpMeta[0+2] = _broken;
4246#line 4246 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4247 goto tmp3_done;
4248 }
4249 }
4250 goto tmp3_end;
4251 tmp3_end: ;
4252 }
4253 goto goto_2;
4254 tmp3_done:
4255 (void)tmp4;
4256 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4257 goto tmp3_done2;
4258 goto_2:;
4259 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4260 if (++tmp4 < 2) {
4261 goto tmp3_top;
4262 }
4263 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4264 tmp3_done2:;
4265 }
4266 }
4267 _outRoots = tmpMeta[0+0];
4268 _outConnectedConnections = tmpMeta[0+1];
4269 _outBrokenConnections = tmpMeta[0+2];
4270 _return: OMC_LABEL_UNUSED__attribute__((unused))
4271 if (out_outConnectedConnections) { *out_outConnectedConnections = _outConnectedConnections; }
4272 if (out_outBrokenConnections) { *out_outBrokenConnections = _outBrokenConnections; }
4273 return _outRoots;
4274}
4275
4276PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_addConnections(threadData_t *threadData, modelica_metatype _inTable, modelica_metatype _inConnections, modelica_metatype *out_outConnectedConnections, modelica_metatype *out_outBrokenConnections)
4277{
4278 modelica_metatype _outTable = NULL((void*)0);
4279 modelica_metatype _outConnectedConnections = NULL((void*)0);
4280 modelica_metatype _outBrokenConnections = NULL((void*)0);
4281 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
4282 MMC_SO()mmc_check_stackoverflow(threadData);
4283 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4284 // _outTable has no default value.
4285 // _outConnectedConnections has no default value.
4286 // _outBrokenConnections has no default value.
4287#line 642 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4288
4289#line 642 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4290
4291#line 642 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4292
4293#line 4293 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4294 { /* match expression */
4295 modelica_metatype tmp4_1;modelica_metatype tmp4_2;
4296 tmp4_1 = _inTable;
4297 tmp4_2 = _inConnections;
4298 {
4299 modelica_metatype _table = NULL((void*)0);
4300 modelica_metatype _tail = NULL((void*)0);
4301 modelica_metatype _broken1 = NULL((void*)0);
4302 modelica_metatype _broken2 = NULL((void*)0);
4303 modelica_metatype _broken = NULL((void*)0);
4304 modelica_metatype _connected1 = NULL((void*)0);
4305 modelica_metatype _connected2 = NULL((void*)0);
4306 modelica_metatype _connected = NULL((void*)0);
4307 modelica_metatype _e = NULL((void*)0);
4308 volatile mmc_switch_type tmp4;
4309 int tmp5;
4310 // _table has no default value.
4311 // _tail has no default value.
4312 // _broken1 has no default value.
4313 // _broken2 has no default value.
4314 // _broken has no default value.
4315 // _connected1 has no default value.
4316 // _connected2 has no default value.
4317 // _connected has no default value.
4318 // _e has no default value.
4319 tmp4 = 0;
4320 for (; tmp4 < 2; tmp4++) {
4321 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4322 case 0: {
4323 if (!listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4324
4325 _table = tmp4_1;
4326 /* Pattern matching succeeded */
4327#line 650 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4328 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4329#line 650 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4330 tmpMeta[4] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4331#line 650 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4332 tmpMeta[0+0] = _table;
4333#line 650 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4334 tmpMeta[0+1] = tmpMeta[3];
4335#line 650 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4336 tmpMeta[0+2] = tmpMeta[4];
4337#line 4337 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4338 goto tmp3_done;
4339 }
4340 case 1: {
4341 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4342 tmpMeta[3] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
4343 tmpMeta[4] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
4344
4345 _e = tmpMeta[3];
4346 _tail = tmpMeta[4];
4347 _table = tmp4_1;
4348 /* Pattern matching succeeded */
4349#line 654 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4350 _table = omc_ConnectionGraph_connectComponents(threadData, _table, _e ,&_connected1 ,&_broken1);
4351#line 4351 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4352
4353#line 655 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4354 _table = omc_ConnectionGraph_addConnections(threadData, _table, _tail ,&_connected2 ,&_broken2);
4355#line 4355 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4356
4357#line 656 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4358 _connected = listAppend(_connected1, _connected2);
4359#line 4359 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4360
4361#line 657 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4362 _broken = listAppend(_broken1, _broken2);
4363#line 4363 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4364#line 658 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4365 tmpMeta[0+0] = _table;
4366#line 658 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4367 tmpMeta[0+1] = _connected;
4368#line 658 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4369 tmpMeta[0+2] = _broken;
4370#line 4370 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4371 goto tmp3_done;
4372 }
4373 }
4374 goto tmp3_end;
4375 tmp3_end: ;
4376 }
4377 goto goto_2;
4378 goto_2:;
4379 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4380 goto tmp3_done;
4381 tmp3_done:;
4382 }
4383 }
4384 _outTable = tmpMeta[0+0];
4385 _outConnectedConnections = tmpMeta[0+1];
4386 _outBrokenConnections = tmpMeta[0+2];
4387 _return: OMC_LABEL_UNUSED__attribute__((unused))
4388 if (out_outConnectedConnections) { *out_outConnectedConnections = _outConnectedConnections; }
4389 if (out_outBrokenConnections) { *out_outBrokenConnections = _outBrokenConnections; }
4390 return _outTable;
4391}
4392
4393PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_addPotentialRootsToTable(threadData_t *threadData, modelica_metatype _inTable, modelica_metatype _inPotentialRoots, modelica_metatype _inRoots, modelica_metatype _inFirstRoot, modelica_metatype *out_outRoots)
4394{
4395 modelica_metatype _outTable = NULL((void*)0);
4396 modelica_metatype _outRoots = NULL((void*)0);
4397 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
4398 MMC_SO()mmc_check_stackoverflow(threadData);
4399 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4400 // _outTable has no default value.
4401 // _outRoots has no default value.
4402#line 612 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4403
4404#line 612 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4405
4406#line 4406 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4407 { /* matchcontinue expression */
4408 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;volatile modelica_metatype tmp4_3;volatile modelica_metatype tmp4_4;
4409 tmp4_1 = _inTable;
4410 tmp4_2 = _inPotentialRoots;
4411 tmp4_3 = _inRoots;
4412 tmp4_4 = _inFirstRoot;
4413 {
4414 modelica_metatype _table = NULL((void*)0);
4415 modelica_metatype _potentialRoot = NULL((void*)0);
4416 modelica_metatype _firstRoot = NULL((void*)0);
4417 modelica_metatype _canon1 = NULL((void*)0);
4418 modelica_metatype _canon2 = NULL((void*)0);
4419 modelica_metatype _roots = NULL((void*)0);
4420 modelica_metatype _tail = NULL((void*)0);
4421 volatile mmc_switch_type tmp4;
4422 int tmp5;
4423 // _table has no default value.
4424 // _potentialRoot has no default value.
4425 // _firstRoot has no default value.
4426 // _canon1 has no default value.
4427 // _canon2 has no default value.
4428 // _roots has no default value.
4429 // _tail has no default value.
4430 tmp4 = 0;
4431 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) {
4432 tmp3_top:
4433 threadData->mmc_jumper = &new_mmc_jumper;
4434 for (; tmp4 < 3; tmp4++) {
4435 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4436 case 0: {
4437 if (!listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4438
4439 _table = tmp4_1;
4440 _roots = tmp4_3;
4441 tmp4 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
4442#line 619 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4443 tmpMeta[0+0] = _table;
4444#line 619 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4445 tmpMeta[0+1] = _roots;
4446#line 4446 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4447 goto tmp3_done;
4448 }
4449 case 1: {
4450 modelica_boolean tmp6;
4451 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4452 tmpMeta[2] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
4453 tmpMeta[3] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
4454 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
4455
4456 _potentialRoot = tmpMeta[4];
4457 _tail = tmpMeta[3];
4458 _table = tmp4_1;
4459 _roots = tmp4_3;
4460 _firstRoot = tmp4_4;
4461 /* Pattern matching succeeded */
4462#line 622 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4463 _canon1 = omc_ConnectionGraph_canonical(threadData, _table, _potentialRoot);
4464#line 4464 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4465
4466#line 623 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4467 _canon2 = omc_ConnectionGraph_canonical(threadData, _table, _firstRoot);
4468#line 4468 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4469
4470#line 624 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4471 /* Pattern-matching tuple assignment */
4472#line 624 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4473 tmpMeta[2] = omc_ConnectionGraph_connectCanonicalComponents(threadData, _table, _canon1, _canon2, &tmp6);
4474#line 624 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4475 _table = tmpMeta[2];
4476#line 624 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4477 if (1 != tmp6) goto goto_2;
4478#line 4478 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4479#line 625 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4480 tmpMeta[2] = mmc_mk_cons(_potentialRoot, _roots);
4481#line 625 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4482 tmpMeta[0+0] = omc_ConnectionGraph_addPotentialRootsToTable(threadData, _table, _tail, tmpMeta[2], _firstRoot, &tmpMeta[0+1]);
4483#line 4483 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4484 goto tmp3_done;
4485 }
4486 case 2: {
4487 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4488 tmpMeta[2] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
4489 tmpMeta[3] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
4490
4491 _tail = tmpMeta[3];
4492 _table = tmp4_1;
4493 _roots = tmp4_3;
4494 _firstRoot = tmp4_4;
4495 /* Pattern matching succeeded */
4496#line 629 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4497 tmpMeta[0+0] = omc_ConnectionGraph_addPotentialRootsToTable(threadData, _table, _tail, _roots, _firstRoot, &tmpMeta[0+1]);
4498#line 4498 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4499 goto tmp3_done;
4500 }
4501 }
4502 goto tmp3_end;
4503 tmp3_end: ;
4504 }
4505 goto goto_2;
4506 tmp3_done:
4507 (void)tmp4;
4508 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4509 goto tmp3_done2;
4510 goto_2:;
4511 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4512 if (++tmp4 < 3) {
4513 goto tmp3_top;
4514 }
4515 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4516 tmp3_done2:;
4517 }
4518 }
4519 _outTable = tmpMeta[0+0];
4520 _outRoots = tmpMeta[0+1];
4521 _return: OMC_LABEL_UNUSED__attribute__((unused))
4522 if (out_outRoots) { *out_outRoots = _outRoots; }
4523 return _outTable;
4524}
4525
4526PROTECTED_FUNCTION_STATIC modelica_boolean omc_ConnectionGraph_ord(threadData_t *threadData, modelica_metatype _inEl1, modelica_metatype _inEl2)
4527{
4528 modelica_boolean _outBoolean;
4529 modelica_boolean tmp1 = 0;
4530 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
4531 MMC_SO()mmc_check_stackoverflow(threadData);
4532 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4533 // _outBoolean has no default value.
4534#line 4534 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4535 { /* matchcontinue expression */
4536 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
4537 tmp4_1 = _inEl1;
4538 tmp4_2 = _inEl2;
4539 {
4540 modelica_real _r1;
4541 modelica_real _r2;
4542 modelica_metatype _c1 = NULL((void*)0);
4543 modelica_metatype _c2 = NULL((void*)0);
4544 modelica_string _s1 = NULL((void*)0);
4545 modelica_string _s2 = NULL((void*)0);
4546 volatile mmc_switch_type tmp4;
4547 int tmp5;
4548 // _r1 has no default value.
4549 // _r2 has no default value.
4550 // _c1 has no default value.
4551 // _c2 has no default value.
4552 // _s1 has no default value.
4553 // _s2 has no default value.
4554 tmp4 = 0;
4555 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) {
4556 tmp3_top:
4557 threadData->mmc_jumper = &new_mmc_jumper;
4558 for (; tmp4 < 2; tmp4++) {
4559 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4560 case 0: {
4561 modelica_real tmp6;
4562 modelica_real tmp7;
4563 modelica_boolean tmp8;
4564 modelica_integer tmp9;
4565 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
4566 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4567 tmp6 = mmc_unbox_real(tmpMeta[1])mmc_prim_get_real(tmpMeta[1]);
4568 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
4569 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
4570 tmp7 = mmc_unbox_real(tmpMeta[3])mmc_prim_get_real(tmpMeta[3]);
4571 _c1 = tmpMeta[0];
4572 _r1 = tmp6 /* pattern as ty=Real */;
4573 _c2 = tmpMeta[2];
4574 _r2 = tmp7 /* pattern as ty=Real */;
4575 /* Pattern matching succeeded */
4576#line 591 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4577 /* Pattern-matching assignment */
4578#line 591 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4579 tmp8 = (_r1 == _r2);
4580#line 591 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4581 if (1 != tmp8) goto goto_2;
4582#line 4582 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4583
4584#line 592 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4585 _s1 = omc_ComponentReference_printComponentRefStr(threadData, _c1);
4586#line 4586 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4587
4588#line 593 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4589 _s2 = omc_ComponentReference_printComponentRefStr(threadData, _c2);
4590#line 4590 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4591
4592#line 594 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4593 /* Pattern-matching assignment */
4594#line 594 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4595 tmp9 = stringCompare(_s1, _s2)mmc_stringCompare(_s1,_s2);
4596#line 594 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4597 if (1 != tmp9) goto goto_2;
4598#line 4598 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4599#line 595 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4600 tmp1 = 1;
4601#line 4601 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4602 goto tmp3_done;
4603 }
4604 case 1: {
4605 modelica_real tmp10;
4606 modelica_real tmp11;
4607 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4608 tmp10 = mmc_unbox_real(tmpMeta[0])mmc_prim_get_real(tmpMeta[0]);
4609 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
4610 tmp11 = mmc_unbox_real(tmpMeta[1])mmc_prim_get_real(tmpMeta[1]);
4611 _r1 = tmp10 /* pattern as ty=Real */;
4612 _r2 = tmp11 /* pattern as ty=Real */;
4613 /* Pattern matching succeeded */
4614#line 599 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4615 tmp1 = (_r1 > _r2);
4616#line 4616 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4617 goto tmp3_done;
4618 }
4619 }
4620 goto tmp3_end;
4621 tmp3_end: ;
4622 }
4623 goto goto_2;
4624 tmp3_done:
4625 (void)tmp4;
4626 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4627 goto tmp3_done2;
4628 goto_2:;
4629 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4630 if (++tmp4 < 2) {
4631 goto tmp3_top;
4632 }
4633 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4634 tmp3_done2:;
4635 }
4636 }
4637 _outBoolean = tmp1;
4638 _return: OMC_LABEL_UNUSED__attribute__((unused))
4639 return _outBoolean;
4640}
4641PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ConnectionGraph_ord(threadData_t *threadData, modelica_metatype _inEl1, modelica_metatype _inEl2)
4642{
4643 modelica_boolean _outBoolean;
4644 modelica_metatype out_outBoolean;
4645 _outBoolean = omc_ConnectionGraph_ord(threadData, _inEl1, _inEl2);
4646 out_outBoolean = mmc_mk_icon(_outBoolean);
4647 return out_outBoolean;
4648}
4649
4650PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_addBranchesToTable(threadData_t *threadData, modelica_metatype _inTable, modelica_metatype _inBranches)
4651{
4652 modelica_metatype _outTable = NULL((void*)0);
4653 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
4654 MMC_SO()mmc_check_stackoverflow(threadData);
4655 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4656 // _outTable has no default value.
4657#line 4657 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4658 { /* match expression */
4659 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
4660 tmp3_1 = _inTable;
4661 tmp3_2 = _inBranches;
4662 {
4663 modelica_metatype _table = NULL((void*)0);
4664 modelica_metatype _table1 = NULL((void*)0);
4665 modelica_metatype _ref1 = NULL((void*)0);
4666 modelica_metatype _ref2 = NULL((void*)0);
4667 modelica_metatype _tail = NULL((void*)0);
4668 volatile mmc_switch_type tmp3;
4669 int tmp4;
4670 // _table has no default value.
4671 // _table1 has no default value.
4672 // _ref1 has no default value.
4673 // _ref2 has no default value.
4674 // _tail has no default value.
4675 tmp3 = 0;
4676 for (; tmp3 < 2; tmp3++) {
4677 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4678 case 0: {
4679 if (listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
4680 tmpMeta[1] = MMC_CAR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
4681 tmpMeta[2] = MMC_CDR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
4682 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
4683 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
4684
4685 _ref1 = tmpMeta[3];
4686 _ref2 = tmpMeta[4];
4687 _tail = tmpMeta[2];
4688 _table = tmp3_1;
4689 /* Pattern matching succeeded */
4690#line 570 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4691 _table1 = omc_ConnectionGraph_connectBranchComponents(threadData, _table, _ref1, _ref2);
4692#line 4692 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4693#line 571 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4694 /* Tail recursive call */
4695#line 571 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4696 _inTable = _table1;
4697#line 571 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4698 _inBranches = _tail;
4699#line 571 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4700 goto _tailrecursive;
4701#line 571 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4702 /* TODO: Make sure any eventual dead code below is never generated */
4703#line 4703 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4704 goto tmp2_done;
4705 }
4706 case 1: {
4707 if (!listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
4708
4709 _table = tmp3_1;
4710 /* Pattern matching succeeded */
4711#line 573 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4712 tmpMeta[0] = _table;
4713#line 4713 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4714 goto tmp2_done;
4715 }
4716 }
4717 goto tmp2_end;
4718 tmp2_end: ;
4719 }
4720 goto goto_1;
4721 goto_1:;
4722 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4723 goto tmp2_done;
4724 tmp2_done:;
4725 }
4726 }
4727 _outTable = tmpMeta[0];
4728 _return: OMC_LABEL_UNUSED__attribute__((unused))
4729 return _outTable;
4730}
4731
4732PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_resultGraphWithRoots(threadData_t *threadData, modelica_metatype _roots)
4733{
4734 modelica_metatype _outTable = NULL((void*)0);
4735 modelica_metatype _table0 = NULL((void*)0);
4736 modelica_metatype _dummyRoot = NULL((void*)0);
4737 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
4738 MMC_SO()mmc_check_stackoverflow(threadData);
4739 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4740 // _outTable has no default value.
4741 // _table0 has no default value.
4742 // _dummyRoot has no default value.
4743#line 551 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4744 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4745#line 551 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4746 _dummyRoot = omc_ComponentReference_makeCrefIdent(threadData, _OMC_LIT130((void*)((char*)(&(_OMC_LIT_STRUCT130).header) + 3)), _OMC_LIT122((void*)((char*)(&(_OMC_LIT_STRUCT122).header) + 3)), tmpMeta[0]);
4747#line 4747 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4748
4749#line 552 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4750 _table0 = omc_HashTableCG_emptyHashTable(threadData);
4751#line 4751 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4752
4753#line 553 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4754 _outTable = omc_ConnectionGraph_addRootsToTable(threadData, _table0, _roots, _dummyRoot);
4755#line 4755 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4756 _return: OMC_LABEL_UNUSED__attribute__((unused))
4757 return _outTable;
4758}
4759
4760PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_addRootsToTable(threadData_t *threadData, modelica_metatype _inTable, modelica_metatype _inRoots, modelica_metatype _inFirstRoot)
4761{
4762 modelica_metatype _outTable = NULL((void*)0);
4763 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
4764 MMC_SO()mmc_check_stackoverflow(threadData);
4765 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4766 // _outTable has no default value.
4767#line 4767 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4768 { /* match expression */
4769 modelica_metatype tmp3_1;modelica_metatype tmp3_2;modelica_metatype tmp3_3;
4770 tmp3_1 = _inTable;
4771 tmp3_2 = _inRoots;
4772 tmp3_3 = _inFirstRoot;
4773 {
4774 modelica_metatype _table = NULL((void*)0);
4775 modelica_metatype _root = NULL((void*)0);
4776 modelica_metatype _firstRoot = NULL((void*)0);
4777 modelica_metatype _tail = NULL((void*)0);
4778 volatile mmc_switch_type tmp3;
4779 int tmp4;
4780 // _table has no default value.
4781 // _root has no default value.
4782 // _firstRoot has no default value.
4783 // _tail has no default value.
4784 tmp3 = 0;
4785 for (; tmp3 < 2; tmp3++) {
4786 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4787 case 0: {
4788 if (listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
4789 tmpMeta[1] = MMC_CAR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
4790 tmpMeta[2] = MMC_CDR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
4791
4792 _root = tmpMeta[1];
4793 _tail = tmpMeta[2];
4794 _table = tmp3_1;
4795 _firstRoot = tmp3_3;
4796 /* Pattern matching succeeded */
4797#line 536 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4798 tmpMeta[1] = mmc_mk_box2(0, _root, _firstRoot);
4799#line 536 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4800 _table = omc_BaseHashTable_add(threadData, tmpMeta[1], _table);
4801#line 4801 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4802#line 537 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4803 /* Tail recursive call */
4804#line 537 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4805 _inTable = _table;
4806#line 537 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4807 _inRoots = _tail;
4808#line 537 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4809 _inFirstRoot = _firstRoot;
4810#line 537 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4811 goto _tailrecursive;
4812#line 537 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4813 /* TODO: Make sure any eventual dead code below is never generated */
4814#line 4814 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4815 goto tmp2_done;
4816 }
4817 case 1: {
4818 if (!listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
4819
4820 _table = tmp3_1;
4821 /* Pattern matching succeeded */
4822#line 539 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4823 tmpMeta[0] = _table;
4824#line 4824 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4825 goto tmp2_done;
4826 }
4827 }
4828 goto tmp2_end;
4829 tmp2_end: ;
4830 }
4831 goto goto_1;
4832 goto_1:;
4833 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4834 goto tmp2_done;
4835 tmp2_done:;
4836 }
4837 }
4838 _outTable = tmpMeta[0];
4839 _return: OMC_LABEL_UNUSED__attribute__((unused))
4840 return _outTable;
4841}
4842
4843PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_connectCanonicalComponents(threadData_t *threadData, modelica_metatype _inPartition, modelica_metatype _inRef1, modelica_metatype _inRef2, modelica_boolean *out_outReallyConnected)
4844{
4845 modelica_metatype _outPartition = NULL((void*)0);
4846 modelica_boolean _outReallyConnected;
4847 modelica_boolean tmp1_c1 __attribute__((unused)) = 0;
4848 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
4849 MMC_SO()mmc_check_stackoverflow(threadData);
4850 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4851 // _outPartition has no default value.
4852 // _outReallyConnected has no default value.
4853#line 502 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4854
4855#line 502 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4856
4857#line 4857 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4858 { /* matchcontinue expression */
4859 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;volatile modelica_metatype tmp4_3;
4860 tmp4_1 = _inPartition;
4861 tmp4_2 = _inRef1;
4862 tmp4_3 = _inRef2;
4863 {
4864 modelica_metatype _partition = NULL((void*)0);
4865 modelica_metatype _ref1 = NULL((void*)0);
4866 modelica_metatype _ref2 = NULL((void*)0);
4867 volatile mmc_switch_type tmp4;
4868 int tmp5;
4869 // _partition has no default value.
4870 // _ref1 has no default value.
4871 // _ref2 has no default value.
4872 tmp4 = 0;
4873 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) {
4874 tmp3_top:
4875 threadData->mmc_jumper = &new_mmc_jumper;
4876 for (; tmp4 < 2; tmp4++) {
4877 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4878 case 0: {
4879 modelica_boolean tmp6;
4880
4881 _partition = tmp4_1;
4882 _ref1 = tmp4_2;
4883 _ref2 = tmp4_3;
4884 /* Pattern matching succeeded */
4885#line 510 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4886 /* Pattern-matching assignment */
4887#line 510 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4888 tmp6 = omc_ComponentReference_crefEqualNoStringCompare(threadData, _ref1, _ref2);
4889#line 510 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4890 if (1 != tmp6) goto goto_2;
4891#line 4891 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4892#line 511 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4893 tmpMeta[0+0] = _partition;
4894#line 511 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4895 tmp1_c1 = 0;
4896#line 4896 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4897 goto tmp3_done;
4898 }
4899 case 1: {
4900
4901 _partition = tmp4_1;
4902 _ref1 = tmp4_2;
4903 _ref2 = tmp4_3;
4904 /* Pattern matching succeeded */
4905#line 516 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4906 tmpMeta[2] = mmc_mk_box2(0, _ref1, _ref2);
4907#line 516 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4908 _partition = omc_BaseHashTable_add(threadData, tmpMeta[2], _partition);
4909#line 4909 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4910#line 517 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4911 tmpMeta[0+0] = _partition;
4912#line 517 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4913 tmp1_c1 = 1;
4914#line 4914 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4915 goto tmp3_done;
4916 }
4917 }
4918 goto tmp3_end;
4919 tmp3_end: ;
4920 }
4921 goto goto_2;
4922 tmp3_done:
4923 (void)tmp4;
4924 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4925 goto tmp3_done2;
4926 goto_2:;
4927 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4928 if (++tmp4 < 2) {
4929 goto tmp3_top;
4930 }
4931 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4932 tmp3_done2:;
4933 }
4934 }
4935 _outPartition = tmpMeta[0+0];
4936 _outReallyConnected = tmp1_c1;
4937 _return: OMC_LABEL_UNUSED__attribute__((unused))
4938 if (out_outReallyConnected) { *out_outReallyConnected = _outReallyConnected; }
4939 return _outPartition;
4940}
4941PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ConnectionGraph_connectCanonicalComponents(threadData_t *threadData, modelica_metatype _inPartition, modelica_metatype _inRef1, modelica_metatype _inRef2, modelica_metatype *out_outReallyConnected)
4942{
4943 modelica_boolean _outReallyConnected;
4944 modelica_metatype _outPartition = NULL((void*)0);
4945 _outPartition = omc_ConnectionGraph_connectCanonicalComponents(threadData, _inPartition, _inRef1, _inRef2, &_outReallyConnected);
4946 /* skip box _outPartition; tuple<array<list<tuple<DAE.ComponentRef, #Integer>>>, tuple<#Integer, #Integer, array<Option<tuple<DAE.ComponentRef, DAE.ComponentRef>>>>, #Integer, tuple<.HashTableCG.FuncHashCref<function>(DAE.ComponentRef cr, #Integer mod) => #Integer, .HashTableCG.FuncCrefEqual<function>(DAE.ComponentRef cr1, DAE.ComponentRef cr2) => #Boolean, .HashTableCG.FuncCrefStr<function>(DAE.ComponentRef cr) => String, .HashTableCG.FuncExpStr<function>(DAE.ComponentRef exp) => String>> */
4947 if (out_outReallyConnected) { *out_outReallyConnected = mmc_mk_icon(_outReallyConnected); }
4948 return _outPartition;
4949}
4950
4951PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_connectComponents(threadData_t *threadData, modelica_metatype _inPartition, modelica_metatype _inDaeEdge, modelica_metatype *out_outConnectedConnections, modelica_metatype *out_outBrokenConnections)
4952{
4953 modelica_metatype _outPartition = NULL((void*)0);
4954 modelica_metatype _outConnectedConnections = NULL((void*)0);
4955 modelica_metatype _outBrokenConnections = NULL((void*)0);
4956 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
4957 MMC_SO()mmc_check_stackoverflow(threadData);
4958 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4959 // _outPartition has no default value.
4960 // _outConnectedConnections has no default value.
4961 // _outBrokenConnections has no default value.
4962#line 455 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4963
4964#line 455 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4965
4966#line 455 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
4967
4968#line 4968 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
4969 { /* matchcontinue expression */
4970 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
4971 tmp4_1 = _inPartition;
4972 tmp4_2 = _inDaeEdge;
4973 {
4974 modelica_metatype _partition = NULL((void*)0);
4975 modelica_metatype _ref1 = NULL((void*)0);
4976 modelica_metatype _ref2 = NULL((void*)0);
4977 modelica_metatype _canon1 = NULL((void*)0);
4978 modelica_metatype _canon2 = NULL((void*)0);
4979 volatile mmc_switch_type tmp4;
4980 int tmp5;
4981 // _partition has no default value.
4982 // _ref1 has no default value.
4983 // _ref2 has no default value.
4984 // _canon1 has no default value.
4985 // _canon2 has no default value.
4986 tmp4 = 0;
4987 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) {
4988 tmp3_top:
4989 threadData->mmc_jumper = &new_mmc_jumper;
4990 for (; tmp4 < 4; tmp4++) {
4991 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4992 case 0: {
4993 modelica_boolean tmp6;
4994 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
4995
4996 _partition = tmp4_1;
4997 _ref1 = tmpMeta[3];
4998 /* Pattern matching succeeded */
4999#line 463 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5000 tmp6 = 0; /* begin failure */
5001#line 463 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5002 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) {
5003#line 463 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5004 omc_ConnectionGraph_canonical(threadData, _partition, _ref1);
5005#line 5005 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5006 tmp6 = 1;
5007 goto goto_7;
5008 goto_7:;
5009 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
5010 if (tmp6) {goto goto_2;} /* end failure */
5011#line 464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5012 tmpMeta[3] = mmc_mk_cons(_inDaeEdge, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
5013#line 464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5014 tmpMeta[4] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5015#line 464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5016 tmpMeta[0+0] = _partition;
5017#line 464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5018 tmpMeta[0+1] = tmpMeta[3];
5019#line 464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5020 tmpMeta[0+2] = tmpMeta[4];
5021#line 5021 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5022 goto tmp3_done;
5023 }
5024 case 1: {
5025 modelica_boolean tmp8;
5026 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
5027
5028 _partition = tmp4_1;
5029 _ref2 = tmpMeta[3];
5030 /* Pattern matching succeeded */
5031#line 469 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5032 tmp8 = 0; /* begin failure */
5033#line 469 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5034 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) {
5035#line 469 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5036 omc_ConnectionGraph_canonical(threadData, _partition, _ref2);
5037#line 5037 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5038 tmp8 = 1;
5039 goto goto_9;
5040 goto_9:;
5041 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
5042 if (tmp8) {goto goto_2;} /* end failure */
5043#line 470 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5044 tmpMeta[3] = mmc_mk_cons(_inDaeEdge, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
5045#line 470 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5046 tmpMeta[4] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5047#line 470 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5048 tmpMeta[0+0] = _partition;
5049#line 470 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5050 tmpMeta[0+1] = tmpMeta[3];
5051#line 470 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5052 tmpMeta[0+2] = tmpMeta[4];
5053#line 5053 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5054 goto tmp3_done;
5055 }
5056 case 2: {
5057 modelica_boolean tmp10;
5058 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
5059 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
5060
5061 _partition = tmp4_1;
5062 _ref1 = tmpMeta[3];
5063 _ref2 = tmpMeta[4];
5064 /* Pattern matching succeeded */
5065#line 475 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5066 _canon1 = omc_ConnectionGraph_canonical(threadData, _partition, _ref1);
5067#line 5067 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5068
5069#line 476 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5070 _canon2 = omc_ConnectionGraph_canonical(threadData, _partition, _ref2);
5071#line 5071 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5072
5073#line 477 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5074 /* Pattern-matching tuple assignment */
5075#line 477 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5076 tmpMeta[3] = omc_ConnectionGraph_connectCanonicalComponents(threadData, _partition, _canon1, _canon2, &tmp10);
5077#line 477 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5078 _partition = tmpMeta[3];
5079#line 477 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5080 if (1 != tmp10) goto goto_2;
5081#line 5081 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5082#line 478 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5083 tmpMeta[3] = mmc_mk_cons(_inDaeEdge, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
5084#line 478 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5085 tmpMeta[4] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5086#line 478 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5087 tmpMeta[0+0] = _partition;
5088#line 478 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5089 tmpMeta[0+1] = tmpMeta[3];
5090#line 478 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5091 tmpMeta[0+2] = tmpMeta[4];
5092#line 5092 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5093 goto tmp3_done;
5094 }
5095 case 3: {
5096 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
5097 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
5098
5099 _partition = tmp4_1;
5100 _ref1 = tmpMeta[3];
5101 _ref2 = tmpMeta[4];
5102 /* Pattern matching succeeded */
5103#line 484 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5104 if(omc_Flags_isSet(threadData, _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))))
5105#line 484 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5106 {
5107#line 485 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5108 tmpMeta[3] = stringAppend(_OMC_LIT136((void*)((char*)(&(_OMC_LIT_STRUCT136).header) + 3)),omc_ComponentReference_printComponentRefStr(threadData, _ref1));
5109#line 485 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5110 tmpMeta[4] = stringAppend(tmpMeta[3],_OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)));
5111#line 485 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5112 tmpMeta[5] = stringAppend(tmpMeta[4],omc_ComponentReference_printComponentRefStr(threadData, _ref2));
5113#line 485 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5114 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT137((void*)((char*)(&(_OMC_LIT_STRUCT137).header) + 3)));
5115#line 485 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5116 omc_Debug_trace(threadData, tmpMeta[6]);
5117#line 5117 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5118 }
5119#line 489 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5120 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5121#line 489 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5122 tmpMeta[4] = mmc_mk_cons(_inDaeEdge, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
5123#line 489 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5124 tmpMeta[0+0] = _partition;
5125#line 489 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5126 tmpMeta[0+1] = tmpMeta[3];
5127#line 489 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5128 tmpMeta[0+2] = tmpMeta[4];
5129#line 5129 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5130 goto tmp3_done;
5131 }
5132 }
5133 goto tmp3_end;
5134 tmp3_end: ;
5135 }
5136 goto goto_2;
5137 tmp3_done:
5138 (void)tmp4;
5139 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
5140 goto tmp3_done2;
5141 goto_2:;
5142 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
5143 if (++tmp4 < 4) {
5144 goto tmp3_top;
5145 }
5146 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5147 tmp3_done2:;
5148 }
5149 }
5150 _outPartition = tmpMeta[0+0];
5151 _outConnectedConnections = tmpMeta[0+1];
5152 _outBrokenConnections = tmpMeta[0+2];
5153 _return: OMC_LABEL_UNUSED__attribute__((unused))
5154 if (out_outConnectedConnections) { *out_outConnectedConnections = _outConnectedConnections; }
5155 if (out_outBrokenConnections) { *out_outBrokenConnections = _outBrokenConnections; }
5156 return _outPartition;
5157}
5158
5159PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_connectBranchComponents(threadData_t *threadData, modelica_metatype _inPartition, modelica_metatype _inRef1, modelica_metatype _inRef2)
5160{
5161 modelica_metatype _outPartition = NULL((void*)0);
5162 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
5163 MMC_SO()mmc_check_stackoverflow(threadData);
5164 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5165 // _outPartition has no default value.
5166#line 5166 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5167 { /* matchcontinue expression */
5168 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;volatile modelica_metatype tmp3_3;
5169 tmp3_1 = _inPartition;
5170 tmp3_2 = _inRef1;
5171 tmp3_3 = _inRef2;
5172 {
5173 modelica_metatype _partition = NULL((void*)0);
5174 modelica_metatype _ref1 = NULL((void*)0);
5175 modelica_metatype _ref2 = NULL((void*)0);
5176 modelica_metatype _canon1 = NULL((void*)0);
5177 modelica_metatype _canon2 = NULL((void*)0);
5178 volatile mmc_switch_type tmp3;
5179 int tmp4;
5180 // _partition has no default value.
5181 // _ref1 has no default value.
5182 // _ref2 has no default value.
5183 // _canon1 has no default value.
5184 // _canon2 has no default value.
5185 tmp3 = 0;
5186 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) {
5187 tmp2_top:
5188 threadData->mmc_jumper = &new_mmc_jumper;
5189 for (; tmp3 < 2; tmp3++) {
5190 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
5191 case 0: {
5192 modelica_boolean tmp5;
5193
5194 _partition = tmp3_1;
5195 _ref1 = tmp3_2;
5196 _ref2 = tmp3_3;
5197 /* Pattern matching succeeded */
5198#line 432 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5199 _canon1 = omc_ConnectionGraph_canonical(threadData, _partition, _ref1);
5200#line 5200 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5201
5202#line 433 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5203 _canon2 = omc_ConnectionGraph_canonical(threadData, _partition, _ref2);
5204#line 5204 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5205
5206#line 434 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5207 /* Pattern-matching tuple assignment */
5208#line 434 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5209 tmpMeta[1] = omc_ConnectionGraph_connectCanonicalComponents(threadData, _partition, _canon1, _canon2, &tmp5);
5210#line 434 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5211 _partition = tmpMeta[1];
5212#line 434 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5213 if (1 != tmp5) goto goto_1;
5214#line 5214 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5215#line 435 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5216 tmpMeta[0] = _partition;
5217#line 5217 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5218 goto tmp2_done;
5219 }
5220 case 1: {
5221
5222 _partition = tmp3_1;
5223 /* Pattern matching succeeded */
5224#line 440 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5225 tmpMeta[0] = _partition;
5226#line 5226 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5227 goto tmp2_done;
5228 }
5229 }
5230 goto tmp2_end;
5231 tmp2_end: ;
5232 }
5233 goto goto_1;
5234 tmp2_done:
5235 (void)tmp3;
5236 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
5237 goto tmp2_done2;
5238 goto_1:;
5239 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
5240 if (++tmp3 < 2) {
5241 goto tmp2_top;
5242 }
5243 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5244 tmp2_done2:;
5245 }
5246 }
5247 _outPartition = tmpMeta[0];
5248 _return: OMC_LABEL_UNUSED__attribute__((unused))
5249 return _outPartition;
5250}
5251
5252PROTECTED_FUNCTION_STATIC modelica_boolean omc_ConnectionGraph_areInSameComponent(threadData_t *threadData, modelica_metatype _inPartition, modelica_metatype _inRef1, modelica_metatype _inRef2)
5253{
5254 modelica_boolean _outResult;
5255 modelica_boolean tmp1 = 0;
5256 MMC_SO()mmc_check_stackoverflow(threadData);
5257 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5258 // _outResult has no default value.
5259#line 5259 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5260 { /* matchcontinue expression */
5261 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;volatile modelica_metatype tmp4_3;
5262 tmp4_1 = _inPartition;
5263 tmp4_2 = _inRef1;
5264 tmp4_3 = _inRef2;
5265 {
5266 modelica_metatype _partition = NULL((void*)0);
5267 modelica_metatype _ref1 = NULL((void*)0);
5268 modelica_metatype _ref2 = NULL((void*)0);
5269 modelica_metatype _canon1 = NULL((void*)0);
5270 modelica_metatype _canon2 = NULL((void*)0);
5271 volatile mmc_switch_type tmp4;
5272 int tmp5;
5273 // _partition has no default value.
5274 // _ref1 has no default value.
5275 // _ref2 has no default value.
5276 // _canon1 has no default value.
5277 // _canon2 has no default value.
5278 tmp4 = 0;
5279 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) {
5280 tmp3_top:
5281 threadData->mmc_jumper = &new_mmc_jumper;
5282 for (; tmp4 < 2; tmp4++) {
5283 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
5284 case 0: {
5285 modelica_boolean tmp6;
5286
5287 _partition = tmp4_1;
5288 _ref1 = tmp4_2;
5289 _ref2 = tmp4_3;
5290 /* Pattern matching succeeded */
5291#line 405 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5292 _canon1 = omc_ConnectionGraph_canonical(threadData, _partition, _ref1);
5293#line 5293 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5294
5295#line 406 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5296 _canon2 = omc_ConnectionGraph_canonical(threadData, _partition, _ref2);
5297#line 5297 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5298
5299#line 407 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5300 /* Pattern-matching assignment */
5301#line 407 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5302 tmp6 = omc_ComponentReference_crefEqualNoStringCompare(threadData, _canon1, _canon2);
5303#line 407 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5304 if (1 != tmp6) goto goto_2;
5305#line 5305 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5306#line 408 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5307 tmp1 = 1;
5308#line 5308 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5309 goto tmp3_done;
5310 }
5311 case 1: {
5312
5313 /* Pattern matching succeeded */
5314#line 409 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5315 tmp1 = 0;
5316#line 5316 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5317 goto tmp3_done;
5318 }
5319 }
5320 goto tmp3_end;
5321 tmp3_end: ;
5322 }
5323 goto goto_2;
5324 tmp3_done:
5325 (void)tmp4;
5326 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
5327 goto tmp3_done2;
5328 goto_2:;
5329 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
5330 if (++tmp4 < 2) {
5331 goto tmp3_top;
5332 }
5333 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5334 tmp3_done2:;
5335 }
5336 }
5337 _outResult = tmp1;
5338 _return: OMC_LABEL_UNUSED__attribute__((unused))
5339 return _outResult;
5340}
5341PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ConnectionGraph_areInSameComponent(threadData_t *threadData, modelica_metatype _inPartition, modelica_metatype _inRef1, modelica_metatype _inRef2)
5342{
5343 modelica_boolean _outResult;
5344 modelica_metatype out_outResult;
5345 _outResult = omc_ConnectionGraph_areInSameComponent(threadData, _inPartition, _inRef1, _inRef2);
5346 out_outResult = mmc_mk_icon(_outResult);
5347 return out_outResult;
5348}
5349
5350PROTECTED_FUNCTION_STATIC modelica_metatype omc_ConnectionGraph_canonical(threadData_t *threadData, modelica_metatype _inPartition, modelica_metatype _inRef)
5351{
5352 modelica_metatype _outCanonical = NULL((void*)0);
5353 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
5354 MMC_SO()mmc_check_stackoverflow(threadData);
5355 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5356 // _outCanonical has no default value.
5357#line 5357 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5358 { /* matchcontinue expression */
5359 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;
5360 tmp3_1 = _inPartition;
5361 tmp3_2 = _inRef;
5362 {
5363 modelica_metatype _partition = NULL((void*)0);
5364 modelica_metatype _ref = NULL((void*)0);
5365 modelica_metatype _parent = NULL((void*)0);
5366 volatile mmc_switch_type tmp3;
5367 int tmp4;
5368 // _partition has no default value.
5369 // _ref has no default value.
5370 // _parent has no default value.
5371 tmp3 = 0;
5372 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) {
5373 tmp2_top:
5374 threadData->mmc_jumper = &new_mmc_jumper;
5375 for (; tmp3 < 2; tmp3++) {
5376 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
5377 case 0: {
5378
5379 _partition = tmp3_1;
5380 _ref = tmp3_2;
5381 /* Pattern matching succeeded */
5382#line 372 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5383 _parent = omc_BaseHashTable_get(threadData, _ref, _partition);
5384#line 5384 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5385#line 373 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5386 tmpMeta[0] = omc_ConnectionGraph_canonical(threadData, _partition, _parent);
5387#line 5387 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5388 goto tmp2_done;
5389 }
5390 case 1: {
5391
5392 _ref = tmp3_2;
5393 /* Pattern matching succeeded */
5394#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5395 tmpMeta[0] = _ref;
5396#line 5396 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5397 goto tmp2_done;
5398 }
5399 }
5400 goto tmp2_end;
5401 tmp2_end: ;
5402 }
5403 goto goto_1;
5404 tmp2_done:
5405 (void)tmp3;
5406 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
5407 goto tmp2_done2;
5408 goto_1:;
5409 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
5410 if (++tmp3 < 2) {
5411 goto tmp2_top;
5412 }
5413 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5414 tmp2_done2:;
5415 }
5416 }
5417 _outCanonical = tmpMeta[0];
5418 _return: OMC_LABEL_UNUSED__attribute__((unused))
5419 return _outCanonical;
5420}
5421
5422DLLExport
5423modelica_metatype omc_ConnectionGraph_addConnection(threadData_t *threadData, modelica_metatype _inGraph, modelica_metatype _inRef1, modelica_metatype _inRef2, modelica_metatype _inDae)
5424{
5425 modelica_metatype _outGraph = NULL((void*)0);
5426 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
5427 MMC_SO()mmc_check_stackoverflow(threadData);
5428 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5429 // _outGraph has no default value.
5430#line 5430 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/ConnectionGraph.c"
5431 { /* match expression */
5432 modelica_metatype tmp3_1;modelica_metatype tmp3_2;modelica_metatype tmp3_3;modelica_metatype tmp3_4;
5433 tmp3_1 = _inGraph;
5434 tmp3_2 = _inRef1;
5435 tmp3_3 = _inRef2;
5436 tmp3_4 = _inDae;
5437 {
5438 modelica_boolean _updateGraph;
5439 modelica_metatype _ref1 = NULL((void*)0);
5440 modelica_metatype _ref2 = NULL((void*)0);
5441 modelica_metatype _dae = NULL((void*)0);
5442 modelica_metatype _definiteRoots = NULL((void*)0);
5443 modelica_metatype _potentialRoots = NULL((void*)0);
5444 modelica_metatype _uniqueRoots = NULL((void*)0);
5445 modelica_metatype _branches = NULL((void*)0);
5446 modelica_metatype _connections = NULL((void*)0);
5447 volatile mmc_switch_type tmp3;
5448 int tmp4;
5449 // _updateGraph has no default value.
5450 // _ref1 has no default value.
5451 // _ref2 has no default value.
5452 // _dae has no default value.
5453 // _definiteRoots has no default value.
5454 // _potentialRoots has no default value.
5455 // _uniqueRoots has no default value.
5456 // _branches has no default value.
5457 // _connections has no default value.
5458 tmp3 = 0;
5459 for (; tmp3 < 1; tmp3++) {
5460 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
5461 case 0: {
5462 modelica_integer tmp5;
5463 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
5464 tmp5 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
5465 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
5466 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
5467 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
5468 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
5469 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
5470
5471 _updateGraph = tmp5 /* pattern as ty=Boolean */;
5472 _definiteRoots = tmpMeta[2];
5473 _potentialRoots = tmpMeta[3];
5474 _uniqueRoots = tmpMeta[4];
5475 _branches = tmpMeta[5];
5476 _connections = tmpMeta[6];
5477 _ref1 = tmp3_2;
5478 _ref2 = tmp3_3;
5479 _dae = tmp3_4;
5480 /* Pattern matching succeeded */
5481#line 334 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5482 if(omc_Flags_isSet(threadData, _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))))
5483#line 334 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5484 {
5485#line 335 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5486 tmpMeta[1] = stringAppend(_OMC_LIT138((void*)((char*)(&(_OMC_LIT_STRUCT138).header) + 3)),omc_ComponentReference_printComponentRefStr(threadData, _ref1));
5487#line 335 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/ConnectionGraph.mo"
5488 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)));
5489#line 335 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_