Bug Summary

File:OMCompiler/Compiler/boot/build/FGraphBuildEnv.c
Warning:line 2277, column 3
Value stored to '_ad' is never read

Annotated Source Code

[?] Use j/k keys for keyboard navigation

1#ifdef OMC_BASE_FILE
2 #define OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c" OMC_BASE_FILE
3#else
4 #define OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c" "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "FGraphBuildEnv.h"
8static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT0,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT0
= { (((1) << 10) + (((4) & 255) << 2)),
{&SCode_Visibility_PROTECTED__desc,}};
9#define _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT0)((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3))
10#define _OMC_LIT1_data"$match" "$match"
11static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT1,6,_OMC_LIT1_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT1
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "$match"
}
;
12#define _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT1)((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))
13#define _OMC_LIT2_data"$for" "$for"
14static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT2,4,_OMC_LIT2_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT2
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "$for"
}
;
15#define _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT2)((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))
16#define _OMC_LIT3_data"$ty" "$ty"
17static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT3,3,_OMC_LIT3_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT3
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "$ty"
}
;
18#define _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT3)((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3))
19static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT4,2,24)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT4
= { (((2) << 10) + (((24) & 255) << 2)),
{&FCore_Data_ND__desc,MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3))}};
20#define _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT4)((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))
21#define _OMC_LIT5_data"FGraphBuildEnv.mkTypeNode: Error making type node: " "FGraphBuildEnv.mkTypeNode: Error making type node: "
22static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT5,51,_OMC_LIT5_data)struct { mmc_uint_t header; const char data[(51)+1]; } _OMC_LIT_STRUCT5
= { ((((mmc_uint_t)51)<<(3))+((1<<(3+3))+5)), "FGraphBuildEnv.mkTypeNode: Error making type node: "
}
;
23#define _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT5)((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))
24#define _OMC_LIT6_data" in parent: " " in parent: "
25static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT6,12,_OMC_LIT6_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT6
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), " in parent: "
}
;
26#define _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT6)((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))
27#define _OMC_LIT7_data"\n" "\n"
28static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT7,1,_OMC_LIT7_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT7
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "\n"
}
;
29#define _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT7)((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))
30#define _OMC_LIT8_data"$subs" "$subs"
31static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT8,5,_OMC_LIT8_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT8
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "$subs"
}
;
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"$cnd" "$cnd"
34static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT9,4,_OMC_LIT9_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT9
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "$cnd"
}
;
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"$it" "$it"
37static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT10,3,_OMC_LIT10_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT10
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "$it"
}
;
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"$ref" "$ref"
40static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT11,4,_OMC_LIT11_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT11
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "$ref"
}
;
41#define _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT11)((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))
42static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT12,1,20)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT12
= { (((1) << 10) + (((20) & 255) << 2)),
{&Absyn_Exp_END__desc,}};
43#define _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT12)((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))
44#define _OMC_LIT13_data"$imp" "$imp"
45static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT13,4,_OMC_LIT13_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT13
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "$imp"
}
;
46#define _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT13)((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))
47static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT14,4,3)struct { mmc_uint_t header; const void *data[4]; } _OMC_LIT_STRUCT14
= { (((4) << 10) + (((3) & 255) << 2)),
{&FCore_ImportTable_IMPORT__TABLE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
48#define _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT14)((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))
49static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT15,2,5)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT15
= { (((2) << 10) + (((5) & 255) << 2)),
{&FCore_Data_IM__desc,_OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))}};
50#define _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT15)((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))
51#define _OMC_LIT16_data"$definedUnits" "$definedUnits"
52static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT16,13,_OMC_LIT16_data)struct { mmc_uint_t header; const char data[(13)+1]; } _OMC_LIT_STRUCT16
= { ((((mmc_uint_t)13)<<(3))+((1<<(3+3))+5)), "$definedUnits"
}
;
53#define _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT16)((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))
54static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT17,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT17
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_Prefix_NOPRE__desc,}};
55#define _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT17)((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))
56static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT18,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT18
= { (((1) << 10) + (((5) & 255) << 2)),
{&DAE_Mod_NOMOD__desc,}};
57#define _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT18)((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))
58#define _OMC_LIT19_data"$mod" "$mod"
59static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT19,4,_OMC_LIT19_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT19
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "$mod"
}
;
60#define _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT19)((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))
61#define _OMC_LIT20_data"$eq" "$eq"
62static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT20,3,_OMC_LIT20_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT20
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "$eq"
}
;
63#define _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT20)((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))
64#define _OMC_LIT21_data"$ieq" "$ieq"
65static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT21,4,_OMC_LIT21_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT21
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "$ieq"
}
;
66#define _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT21)((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))
67#define _OMC_LIT22_data"$al" "$al"
68static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT22,3,_OMC_LIT22_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT22
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "$al"
}
;
69#define _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT22)((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))
70#define _OMC_LIT23_data"$ial" "$ial"
71static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT23,4,_OMC_LIT23_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT23
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "$ial"
}
;
72#define _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT23)((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))
73#define _OMC_LIT24_data"$opt" "$opt"
74static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT24,4,_OMC_LIT24_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT24
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "$opt"
}
;
75#define _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT24)((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))
76#define _OMC_LIT25_data"$ed" "$ed"
77static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT25,3,_OMC_LIT25_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT25
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "$ed"
}
;
78#define _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT25)((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))
79#define _OMC_LIT26_data"$tydims" "$tydims"
80static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT26,7,_OMC_LIT26_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT26
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "$tydims"
}
;
81#define _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT26)((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))
82#define _OMC_LIT27_data"$bnd" "$bnd"
83static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT27,4,_OMC_LIT27_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT27
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "$bnd"
}
;
84#define _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT27)((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))
85#define _OMC_LIT28_data"FGraphBuildEnv.mkModNode failed with: " "FGraphBuildEnv.mkModNode failed with: "
86static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT28,38,_OMC_LIT28_data)struct { mmc_uint_t header; const char data[(38)+1]; } _OMC_LIT_STRUCT28
= { ((((mmc_uint_t)38)<<(3))+((1<<(3+3))+5)), "FGraphBuildEnv.mkModNode failed with: "
}
;
87#define _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT28)((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))
88#define _OMC_LIT29_data" mod: " " mod: "
89static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT29,6,_OMC_LIT29_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT29
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), " mod: "
}
;
90#define _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT29)((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3))
91static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT30,10,3)struct { mmc_uint_t header; const void *data[10]; } _OMC_LIT_STRUCT30
= { (((10) << 10) + (((3) & 255) << 2)),
{&SCodeDump_SCodeDumpOptions_OPTIONS__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
92#define _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT30)((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))
93#define _OMC_LIT31_data"$cc" "$cc"
94static 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)), "$cc"
}
;
95#define _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT31)((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))
96static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT32,1,7)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT32
= { (((1) << 10) + (((7) & 255) << 2)),
{&FCore_Status_CLS__UNTYPED__desc,}};
97#define _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT32)((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))
98#include "util/modelica.h"
99
100#include "FGraphBuildEnv_includes.h"
101
102
103/* default, do not make protected functions static */
104#if !defined(PROTECTED_FUNCTION_STATIC)
105#define PROTECTED_FUNCTION_STATIC
106#endif
107PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_analyseStatementTraverser(threadData_t *threadData, modelica_metatype _inTuple);
108static const MMC_DEFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_analyseStatementTraverser,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FGraphBuildEnv_analyseStatementTraverser
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FGraphBuildEnv_analyseStatementTraverseromc_FGraphBuildEnv_analyseStatementTraverser,0}};
109#define boxvar_FGraphBuildEnv_analyseStatementTraverser((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseStatementTraverser
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_analyseStatementTraverser)((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseStatementTraverser
).header) + 3))
110PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_analyseStatement(threadData_t *threadData, modelica_metatype _inStatement, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph);
111static const MMC_DEFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_analyseStatement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FGraphBuildEnv_analyseStatement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FGraphBuildEnv_analyseStatementomc_FGraphBuildEnv_analyseStatement,0}};
112#define boxvar_FGraphBuildEnv_analyseStatement((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseStatement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_analyseStatement)((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseStatement
).header) + 3))
113PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_analyseAlgorithm(threadData_t *threadData, modelica_metatype _inAlgorithm, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph);
114static const MMC_DEFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_analyseAlgorithm,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FGraphBuildEnv_analyseAlgorithm
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FGraphBuildEnv_analyseAlgorithmomc_FGraphBuildEnv_analyseAlgorithm,0}};
115#define boxvar_FGraphBuildEnv_analyseAlgorithm((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseAlgorithm
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_analyseAlgorithm)((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseAlgorithm
).header) + 3))
116PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_traverseExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTuple, modelica_metatype *out_outTuple);
117static const MMC_DEFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_traverseExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FGraphBuildEnv_traverseExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FGraphBuildEnv_traverseExpomc_FGraphBuildEnv_traverseExp,0}};
118#define boxvar_FGraphBuildEnv_traverseExp((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_traverseExp)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_traverseExp)((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_traverseExp)
.header) + 3))
119PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_analyseEEquationTraverser(threadData_t *threadData, modelica_metatype _inTuple);
120static const MMC_DEFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_analyseEEquationTraverser,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FGraphBuildEnv_analyseEEquationTraverser
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FGraphBuildEnv_analyseEEquationTraverseromc_FGraphBuildEnv_analyseEEquationTraverser,0}};
121#define boxvar_FGraphBuildEnv_analyseEEquationTraverser((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseEEquationTraverser
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_analyseEEquationTraverser)((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseEEquationTraverser
).header) + 3))
122PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_analyseEquation(threadData_t *threadData, modelica_metatype _inEquation, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph);
123static const MMC_DEFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_analyseEquation,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FGraphBuildEnv_analyseEquation
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FGraphBuildEnv_analyseEquationomc_FGraphBuildEnv_analyseEquation,0}};
124#define boxvar_FGraphBuildEnv_analyseEquation((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseEquation
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_analyseEquation)((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseEquation
).header) + 3))
125PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_analyseExpTraverserExit(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTuple, modelica_metatype *out_outTuple);
126static const MMC_DEFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_analyseExpTraverserExit,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FGraphBuildEnv_analyseExpTraverserExit
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FGraphBuildEnv_analyseExpTraverserExitomc_FGraphBuildEnv_analyseExpTraverserExit,0}};
127#define boxvar_FGraphBuildEnv_analyseExpTraverserExit((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseExpTraverserExit
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_analyseExpTraverserExit)((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseExpTraverserExit
).header) + 3))
128PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_analyseCref(threadData_t *threadData, modelica_metatype _inCref, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph);
129static const MMC_DEFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_analyseCref,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FGraphBuildEnv_analyseCref
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FGraphBuildEnv_analyseCrefomc_FGraphBuildEnv_analyseCref,0}};
130#define boxvar_FGraphBuildEnv_analyseCref((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseCref)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_analyseCref)((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseCref)
.header) + 3))
131PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_analyseExp2(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inRef, modelica_metatype _inKind, modelica_metatype _inGraph);
132static const MMC_DEFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_analyseExp2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FGraphBuildEnv_analyseExp2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FGraphBuildEnv_analyseExp2omc_FGraphBuildEnv_analyseExp2,0}};
133#define boxvar_FGraphBuildEnv_analyseExp2((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseExp2)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_analyseExp2)((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseExp2)
.header) + 3))
134PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_analyseExpTraverserEnter(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTuple, modelica_metatype *out_outTuple);
135static const MMC_DEFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_analyseExpTraverserEnter,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FGraphBuildEnv_analyseExpTraverserEnter
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FGraphBuildEnv_analyseExpTraverserEnteromc_FGraphBuildEnv_analyseExpTraverserEnter,0}};
136#define boxvar_FGraphBuildEnv_analyseExpTraverserEnter((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseExpTraverserEnter
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_analyseExpTraverserEnter)((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseExpTraverserEnter
).header) + 3))
137PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_analyseOptExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inRef, modelica_metatype _inKind, modelica_metatype _inGraph);
138static const MMC_DEFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_analyseOptExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FGraphBuildEnv_analyseOptExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FGraphBuildEnv_analyseOptExpomc_FGraphBuildEnv_analyseOptExp,0}};
139#define boxvar_FGraphBuildEnv_analyseOptExp((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseOptExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_analyseOptExp)((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseOptExp
).header) + 3))
140PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_analyseExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inRef, modelica_metatype _inKind, modelica_metatype _inGraph);
141static const MMC_DEFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_analyseExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FGraphBuildEnv_analyseExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FGraphBuildEnv_analyseExpomc_FGraphBuildEnv_analyseExp,0}};
142#define boxvar_FGraphBuildEnv_analyseExp((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseExp).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_analyseExp)((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseExp).
header) + 3))
143PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_mkClassChildren(threadData_t *threadData, modelica_metatype _inClassDef, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph);
144static const MMC_DEFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_mkClassChildren,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FGraphBuildEnv_mkClassChildren
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FGraphBuildEnv_mkClassChildrenomc_FGraphBuildEnv_mkClassChildren,0}};
145#define boxvar_FGraphBuildEnv_mkClassChildren((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_mkClassChildren
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_mkClassChildren)((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_mkClassChildren
).header) + 3))
146PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_mkClassGraph(threadData_t *threadData, modelica_metatype _inClass, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph, modelica_boolean _checkDuplicate);
147PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_FGraphBuildEnv_mkClassGraph(threadData_t *threadData, modelica_metatype _inClass, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph, modelica_metatype _checkDuplicate);
148static const MMC_DEFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_mkClassGraph,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_FGraphBuildEnv_mkClassGraph
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_FGraphBuildEnv_mkClassGraph,0}};
149#define boxvar_FGraphBuildEnv_mkClassGraph((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_mkClassGraph
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_FGraphBuildEnv_mkClassGraph)((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_mkClassGraph
).header) + 3))
150
151DLLExport
152modelica_metatype omc_FGraphBuildEnv_mkRefNode(threadData_t *threadData, modelica_string _inName, modelica_metatype _inTargetScope, modelica_metatype _inParentRef, modelica_metatype _inGraph)
153{
154 modelica_metatype _outGraph = NULL((void*)0);
155 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
156 MMC_SO()mmc_check_stackoverflow(threadData);
157 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
158 // _outGraph has no default value.
159#line 159 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
160 { /* match expression */
161 modelica_metatype tmp3_1;
162 tmp3_1 = _inGraph;
163 {
164 modelica_metatype _n = NULL((void*)0);
165 modelica_metatype _rn = NULL((void*)0);
166 modelica_metatype _g = NULL((void*)0);
167 volatile mmc_switch_type tmp3;
168 int tmp4;
169 // _n has no default value.
170 // _rn has no default value.
171 // _g has no default value.
172 tmp3 = 0;
173 for (; tmp3 < 1; tmp3++) {
174 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
175 case 0: {
176
177 _g = tmp3_1;
178 /* Pattern matching succeeded */
179#line 1405 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
180 tmpMeta[1] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
181#line 1405 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
182 tmpMeta[2] = mmc_mk_box2(23, &FCore_Data_REF__desc, _inTargetScope);
183#line 1405 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
184 _g = omc_FGraph_node(threadData, _g, _inName, tmpMeta[1], tmpMeta[2] ,&_n);
185#line 185 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
186
187#line 1407 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
188 _rn = omc_FNode_toRef(threadData, _n);
189#line 189 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
190
191#line 1409 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
192 omc_FNode_addChildRef(threadData, _inParentRef, _inName, _rn, 0);
193#line 193 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
194#line 1410 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
195 tmpMeta[0] = _g;
196#line 196 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
197 goto tmp2_done;
198 }
199 }
200 goto tmp2_end;
201 tmp2_end: ;
202 }
203 goto goto_1;
204 goto_1:;
205 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
206 goto tmp2_done;
207 tmp2_done:;
208 }
209 }
210 _outGraph = tmpMeta[0];
211 _return: OMC_LABEL_UNUSED__attribute__((unused))
212 return _outGraph;
213}
214
215DLLExport
216modelica_metatype omc_FGraphBuildEnv_addMatchScope__helper(threadData_t *threadData, modelica_metatype _inElements, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
217{
218 modelica_metatype _outGraph = NULL((void*)0);
219 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
220 MMC_SO()mmc_check_stackoverflow(threadData);
221 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
222 // _outGraph has no default value.
223#line 223 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
224 { /* match expression */
225 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
226 tmp3_1 = _inElements;
227 tmp3_2 = _inGraph;
228 {
229 modelica_metatype _element = NULL((void*)0);
230 modelica_metatype _rest = NULL((void*)0);
231 modelica_metatype _g = NULL((void*)0);
232 modelica_metatype _el = NULL((void*)0);
233 volatile mmc_switch_type tmp3;
234 int tmp4;
235 // _element has no default value.
236 // _rest has no default value.
237 // _g has no default value.
238 // _el has no default value.
239 tmp3 = 0;
240 for (; tmp3 < 3; tmp3++) {
241 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
242 case 0: {
243 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
244
245 _g = tmp3_2;
246 /* Pattern matching succeeded */
247#line 1368 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
248 tmpMeta[0] = _g;
249#line 249 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
250 goto tmp2_done;
251 }
252 case 1: {
253 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
254 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
255 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
256 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
257 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
258
259 _element = tmpMeta[3];
260 _rest = tmpMeta[2];
261 _g = tmp3_2;
262 /* Pattern matching succeeded */
263#line 1374 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
264 _el = omc_AbsynToSCode_translateElement(threadData, _element, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)));
265#line 265 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
266
267#line 1375 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
268 _g = omc_List_fold2(threadData, _el, boxvar_FGraphBuildEnv_mkElementNode((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_mkElementNode
).header) + 3))
, _inParentRef, _inKind, _g);
269#line 269 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
270#line 1376 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
271 /* Tail recursive call */
272#line 1376 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
273 _inElements = _rest;
274#line 1376 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
275 _inGraph = _g;
276#line 1376 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
277 goto _tailrecursive;
278#line 1376 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
279 /* TODO: Make sure any eventual dead code below is never generated */
280#line 280 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
281 goto tmp2_done;
282 }
283 case 2: {
284 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
285 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
286 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
287
288 _rest = tmpMeta[2];
289 _g = tmp3_2;
290 /* Pattern matching succeeded */
291#line 1383 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
292 /* Tail recursive call */
293#line 1383 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
294 _inElements = _rest;
295#line 1383 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
296 _inGraph = _g;
297#line 1383 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
298 goto _tailrecursive;
299#line 1383 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
300 /* TODO: Make sure any eventual dead code below is never generated */
301#line 301 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
302 goto tmp2_done;
303 }
304 }
305 goto tmp2_end;
306 tmp2_end: ;
307 }
308 goto goto_1;
309 goto_1:;
310 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
311 goto tmp2_done;
312 tmp2_done:;
313 }
314 }
315 _outGraph = tmpMeta[0];
316 _return: OMC_LABEL_UNUSED__attribute__((unused))
317 return _outGraph;
318}
319
320DLLExport
321modelica_metatype omc_FGraphBuildEnv_addMatchScope(threadData_t *threadData, modelica_metatype _inMatchExp, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
322{
323 modelica_metatype _outGraph = NULL((void*)0);
324 modelica_metatype _n = NULL((void*)0);
325 modelica_metatype _nr = NULL((void*)0);
326 modelica_metatype _local_decls = NULL((void*)0);
327 modelica_metatype _g = NULL((void*)0);
328 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
329 MMC_SO()mmc_check_stackoverflow(threadData);
330 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
331 // _outGraph has no default value.
332 // _n has no default value.
333 // _nr has no default value.
334 // _local_decls has no default value.
335 // _g has no default value.
336#line 1340 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
337 tmpMeta[0] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
338#line 1340 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
339 tmpMeta[1] = mmc_mk_box2(17, &FCore_Data_MS__desc, _inMatchExp);
340#line 1340 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
341 _g = omc_FGraph_node(threadData, _inGraph, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)), tmpMeta[0], tmpMeta[1] ,&_n);
342#line 342 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
343
344#line 1341 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
345 _nr = omc_FNode_toRef(threadData, _n);
346#line 346 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
347
348#line 1342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
349 omc_FNode_addChildRef(threadData, _inParentRef, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)), _nr, 0);
350#line 350 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
351
352#line 1343 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
353 /* Pattern-matching assignment */
354#line 1343 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
355 tmpMeta[0] = _inMatchExp;
356#line 1343 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
357 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],21,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((5 +1)
<< 10) + (((21 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
358#line 1343 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
359 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
360#line 1343 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
361 _local_decls = tmpMeta[1];
362#line 362 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
363
364#line 1344 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
365 _outGraph = omc_FGraphBuildEnv_addMatchScope__helper(threadData, _local_decls, _nr, _inKind, _g);
366#line 366 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
367 _return: OMC_LABEL_UNUSED__attribute__((unused))
368 return _outGraph;
369}
370
371DLLExport
372modelica_metatype omc_FGraphBuildEnv_addIterators__helper(threadData_t *threadData, modelica_metatype _inIterators, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
373{
374 modelica_metatype _outGraph = NULL((void*)0);
375 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
376 MMC_SO()mmc_check_stackoverflow(threadData);
377 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
378 // _outGraph has no default value.
379#line 379 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
380 { /* match expression */
381 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
382 tmp3_1 = _inIterators;
383 tmp3_2 = _inGraph;
384 {
385 modelica_metatype _n = NULL((void*)0);
386 modelica_metatype _nr = NULL((void*)0);
387 modelica_string _name = NULL((void*)0);
388 modelica_metatype _rest = NULL((void*)0);
389 modelica_metatype _i = NULL((void*)0);
390 modelica_metatype _g = NULL((void*)0);
391 volatile mmc_switch_type tmp3;
392 int tmp4;
393 // _n has no default value.
394 // _nr has no default value.
395 // _name has no default value.
396 // _rest has no default value.
397 // _i has no default value.
398 // _g has no default value.
399 tmp3 = 0;
400 for (; tmp3 < 2; tmp3++) {
401 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
402 case 0: {
403 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
404
405 _g = tmp3_2;
406 /* Pattern matching succeeded */
407#line 1311 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
408 tmpMeta[0] = _g;
409#line 409 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
410 goto tmp2_done;
411 }
412 case 1: {
413 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
414 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
415 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
416 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
417
418 _i = tmpMeta[1];
419 _name = tmpMeta[3];
420 _rest = tmpMeta[2];
421 _g = tmp3_2;
422 /* Pattern matching succeeded */
423#line 1316 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
424 tmpMeta[1] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
425#line 1316 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
426 tmpMeta[2] = mmc_mk_box2(16, &FCore_Data_FI__desc, _i);
427#line 1316 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
428 _g = omc_FGraph_node(threadData, _g, _name, tmpMeta[1], tmpMeta[2] ,&_n);
429#line 429 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
430
431#line 1317 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
432 _nr = omc_FNode_toRef(threadData, _n);
433#line 433 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
434
435#line 1318 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
436 omc_FNode_addChildRef(threadData, _inParentRef, _name, _nr, 0);
437#line 437 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
438#line 1319 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
439 /* Tail recursive call */
440#line 1319 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
441 _inIterators = _rest;
442#line 1319 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
443 _inGraph = _g;
444#line 1319 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
445 goto _tailrecursive;
446#line 1319 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
447 /* TODO: Make sure any eventual dead code below is never generated */
448#line 448 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
449 goto tmp2_done;
450 }
451 }
452 goto tmp2_end;
453 tmp2_end: ;
454 }
455 goto goto_1;
456 goto_1:;
457 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
458 goto tmp2_done;
459 tmp2_done:;
460 }
461 }
462 _outGraph = tmpMeta[0];
463 _return: OMC_LABEL_UNUSED__attribute__((unused))
464 return _outGraph;
465}
466
467DLLExport
468modelica_metatype omc_FGraphBuildEnv_addIterators(threadData_t *threadData, modelica_metatype _inIterators, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
469{
470 modelica_metatype _outGraph = NULL((void*)0);
471 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
472 MMC_SO()mmc_check_stackoverflow(threadData);
473 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
474 // _outGraph has no default value.
475#line 475 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
476 { /* matchcontinue expression */
477 volatile modelica_metatype tmp3_1;
478 tmp3_1 = _inGraph;
479 {
480 modelica_metatype _g = NULL((void*)0);
481 modelica_metatype _n = NULL((void*)0);
482 modelica_metatype _nr = NULL((void*)0);
483 volatile mmc_switch_type tmp3;
484 int tmp4;
485 // _g has no default value.
486 // _n has no default value.
487 // _nr has no default value.
488 tmp3 = 0;
489 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) {
490 tmp2_top:
491 threadData->mmc_jumper = &new_mmc_jumper;
492 for (; tmp3 < 2; tmp3++) {
493 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
494 case 0: {
495
496 _g = tmp3_1;
497 /* Pattern matching succeeded */
498#line 1273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
499 _nr = omc_FNode_child(threadData, _inParentRef, _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)));
500#line 500 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
501
502#line 1274 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
503 omc_FNode_addIteratorsToRef(threadData, _nr, _inIterators);
504#line 504 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
505#line 1275 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
506 tmpMeta[0] = omc_FGraphBuildEnv_addIterators__helper(threadData, _inIterators, _nr, _inKind, _g);
507#line 507 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
508 goto tmp2_done;
509 }
510 case 1: {
511
512 _g = tmp3_1;
513 /* Pattern matching succeeded */
514#line 1282 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
515 tmpMeta[1] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
516#line 1282 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
517 tmpMeta[2] = mmc_mk_box2(15, &FCore_Data_FS__desc, _inIterators);
518#line 1282 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
519 _g = omc_FGraph_node(threadData, _g, _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)), tmpMeta[1], tmpMeta[2] ,&_n);
520#line 520 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
521
522#line 1283 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
523 _nr = omc_FNode_toRef(threadData, _n);
524#line 524 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
525
526#line 1284 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
527 omc_FNode_addChildRef(threadData, _inParentRef, _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)), _nr, 0);
528#line 528 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
529#line 1285 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
530 tmpMeta[0] = omc_FGraphBuildEnv_addIterators__helper(threadData, _inIterators, _nr, _inKind, _g);
531#line 531 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
532 goto tmp2_done;
533 }
534 }
535 goto tmp2_end;
536 tmp2_end: ;
537 }
538 goto goto_1;
539 tmp2_done:
540 (void)tmp3;
541 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
542 goto tmp2_done2;
543 goto_1:;
544 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
545 if (++tmp3 < 2) {
546 goto tmp2_top;
547 }
548 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
549 tmp2_done2:;
550 }
551 }
552 _outGraph = tmpMeta[0];
553 _return: OMC_LABEL_UNUSED__attribute__((unused))
554 return _outGraph;
555}
556
557PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_analyseStatementTraverser(threadData_t *threadData, modelica_metatype _inTuple)
558{
559 modelica_metatype _outTuple = NULL((void*)0);
560 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
561 MMC_SO()mmc_check_stackoverflow(threadData);
562 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
563 // _outTuple has no default value.
564#line 564 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
565 { /* match expression */
566 modelica_metatype tmp3_1;
567 tmp3_1 = _inTuple;
568 {
569 modelica_metatype _ref = NULL((void*)0);
570 modelica_metatype _stmt = NULL((void*)0);
571 modelica_string _iter_name = NULL((void*)0);
572 modelica_metatype _g = NULL((void*)0);
573 modelica_metatype _k = NULL((void*)0);
574 volatile mmc_switch_type tmp3;
575 int tmp4;
576 // _ref has no default value.
577 // _stmt has no default value.
578 // _iter_name has no default value.
579 // _g has no default value.
580 // _k has no default value.
581 tmp3 = 0;
582 for (; tmp3 < 3; tmp3++) {
583 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
584 case 0: {
585 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
586 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],2,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((5 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
587 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
588 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
589 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
590 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
591 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (3)))))
;
592 _stmt = tmpMeta[1];
593 _iter_name = tmpMeta[2];
594 _ref = tmpMeta[4];
595 _k = tmpMeta[5];
596 _g = tmpMeta[6];
597 /* Pattern matching succeeded */
598#line 1233 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
599 tmpMeta[2] = mmc_mk_box4(3, &Absyn_ForIterator_ITERATOR__desc, _iter_name, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
600#line 1233 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
601 tmpMeta[1] = mmc_mk_cons(tmpMeta[2], MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
602#line 1233 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
603 _g = omc_FGraphBuildEnv_addIterators(threadData, tmpMeta[1], _ref, _k, _g);
604#line 604 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
605
606#line 1234 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
607 /* Pattern-matching tuple assignment, wild first pattern */
608#line 1234 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
609 tmpMeta[3] = mmc_mk_box3(0, _ref, _k, _g);
610#line 1234 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
611 omc_SCodeUtil_traverseStatementExps(threadData, _stmt, boxvar_FGraphBuildEnv_traverseExp((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_traverseExp)
.header) + 3))
, tmpMeta[3], &tmpMeta[1]);
612#line 1234 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
613 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
614#line 1234 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
615 _g = tmpMeta[2];
616#line 616 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
617#line 1235 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
618 tmpMeta[1] = mmc_mk_box3(0, _ref, _k, _g);
619#line 1235 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
620 tmpMeta[2] = mmc_mk_box2(0, _stmt, tmpMeta[1]);
621#line 1235 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
622 tmpMeta[0] = tmpMeta[2];
623#line 623 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
624 goto tmp2_done;
625 }
626 case 1: {
627 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
628 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],3,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((5 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
629 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
630 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
631 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
632 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
633 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (3)))))
;
634 _stmt = tmpMeta[1];
635 _iter_name = tmpMeta[2];
636 _ref = tmpMeta[4];
637 _k = tmpMeta[5];
638 _g = tmpMeta[6];
639 /* Pattern matching succeeded */
640#line 1240 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
641 tmpMeta[2] = mmc_mk_box4(3, &Absyn_ForIterator_ITERATOR__desc, _iter_name, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
642#line 1240 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
643 tmpMeta[1] = mmc_mk_cons(tmpMeta[2], MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
644#line 1240 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
645 _g = omc_FGraphBuildEnv_addIterators(threadData, tmpMeta[1], _ref, _k, _g);
646#line 646 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
647
648#line 1241 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
649 /* Pattern-matching tuple assignment, wild first pattern */
650#line 1241 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
651 tmpMeta[3] = mmc_mk_box3(0, _ref, _k, _g);
652#line 1241 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
653 omc_SCodeUtil_traverseStatementExps(threadData, _stmt, boxvar_FGraphBuildEnv_traverseExp((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_traverseExp)
.header) + 3))
, tmpMeta[3], &tmpMeta[1]);
654#line 1241 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
655 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
656#line 1241 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
657 _g = tmpMeta[2];
658#line 658 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
659#line 1242 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
660 tmpMeta[1] = mmc_mk_box3(0, _ref, _k, _g);
661#line 1242 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
662 tmpMeta[2] = mmc_mk_box2(0, _stmt, tmpMeta[1]);
663#line 1242 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
664 tmpMeta[0] = tmpMeta[2];
665#line 665 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
666 goto tmp2_done;
667 }
668 case 2: {
669 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
670 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
671 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
672 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
673 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
674 _stmt = tmpMeta[1];
675 _ref = tmpMeta[3];
676 _k = tmpMeta[4];
677 _g = tmpMeta[5];
678 /* Pattern matching succeeded */
679#line 1247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
680 omc_SCodeUtil_getStatementInfo(threadData, _stmt);
681#line 681 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
682
683#line 1248 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
684 /* Pattern-matching tuple assignment, wild first pattern */
685#line 1248 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
686 tmpMeta[3] = mmc_mk_box3(0, _ref, _k, _g);
687#line 1248 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
688 omc_SCodeUtil_traverseStatementExps(threadData, _stmt, boxvar_FGraphBuildEnv_traverseExp((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_traverseExp)
.header) + 3))
, tmpMeta[3], &tmpMeta[1]);
689#line 1248 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
690 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
691#line 1248 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
692 _g = tmpMeta[2];
693#line 693 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
694#line 1249 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
695 tmpMeta[1] = mmc_mk_box3(0, _ref, _k, _g);
696#line 1249 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
697 tmpMeta[2] = mmc_mk_box2(0, _stmt, tmpMeta[1]);
698#line 1249 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
699 tmpMeta[0] = tmpMeta[2];
700#line 700 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
701 goto tmp2_done;
702 }
703 }
704 goto tmp2_end;
705 tmp2_end: ;
706 }
707 goto goto_1;
708 goto_1:;
709 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
710 goto tmp2_done;
711 tmp2_done:;
712 }
713 }
714 _outTuple = tmpMeta[0];
715 _return: OMC_LABEL_UNUSED__attribute__((unused))
716 return _outTuple;
717}
718
719PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_analyseStatement(threadData_t *threadData, modelica_metatype _inStatement, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
720{
721 modelica_metatype _outGraph = NULL((void*)0);
722 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
723 MMC_SO()mmc_check_stackoverflow(threadData);
724 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
725 // _outGraph has no default value.
726#line 1212 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
727 /* Pattern-matching tuple assignment, wild first pattern */
728#line 1212 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
729 tmpMeta[3] = mmc_mk_box3(0, _inParentRef, _inKind, _inGraph);
730#line 1212 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
731 tmpMeta[4] = mmc_mk_box2(0, boxvar_FGraphBuildEnv_analyseStatementTraverser((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseStatementTraverser
).header) + 3))
, tmpMeta[3]);
732#line 1212 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
733 omc_SCodeUtil_traverseStatements(threadData, _inStatement, tmpMeta[4], &tmpMeta[0]);
734#line 1212 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
735 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
736#line 1212 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
737 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
738#line 1212 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
739 _outGraph = tmpMeta[2];
740#line 740 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
741 _return: OMC_LABEL_UNUSED__attribute__((unused))
742 return _outGraph;
743}
744
745PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_analyseAlgorithm(threadData_t *threadData, modelica_metatype _inAlgorithm, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
746{
747 modelica_metatype _outGraph = NULL((void*)0);
748 modelica_metatype _stmts = NULL((void*)0);
749 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
750 MMC_SO()mmc_check_stackoverflow(threadData);
751 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
752 // _outGraph has no default value.
753 // _stmts has no default value.
754#line 1200 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
755 /* Pattern-matching assignment */
756#line 1200 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
757 tmpMeta[0] = _inAlgorithm;
758#line 1200 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
759 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
760#line 1200 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
761 _stmts = tmpMeta[1];
762#line 762 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
763
764#line 1201 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
765 _outGraph = omc_List_fold2(threadData, _stmts, boxvar_FGraphBuildEnv_analyseStatement((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseStatement
).header) + 3))
, _inParentRef, _inKind, _inGraph);
766#line 766 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
767 _return: OMC_LABEL_UNUSED__attribute__((unused))
768 return _outGraph;
769}
770
771PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_traverseExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTuple, modelica_metatype *out_outTuple)
772{
773 modelica_metatype _outExp = NULL((void*)0);
774 modelica_metatype _outTuple = NULL((void*)0);
775 MMC_SO()mmc_check_stackoverflow(threadData);
776 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
777 // _outExp has no default value.
778 // _outTuple has no default value.
779#line 1187 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
780 _outExp = omc_AbsynUtil_traverseExpBidir(threadData, _inExp, boxvar_FGraphBuildEnv_analyseExpTraverserEnter((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseExpTraverserEnter
).header) + 3))
, boxvar_FGraphBuildEnv_analyseExpTraverserExit((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseExpTraverserExit
).header) + 3))
, _inTuple ,&_outTuple);
781#line 781 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
782 _return: OMC_LABEL_UNUSED__attribute__((unused))
783 if (out_outTuple) { *out_outTuple = _outTuple; }
784 return _outExp;
785}
786
787PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_analyseEEquationTraverser(threadData_t *threadData, modelica_metatype _inTuple)
788{
789 modelica_metatype _outTuple = NULL((void*)0);
790 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
791 MMC_SO()mmc_check_stackoverflow(threadData);
792 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
793 // _outTuple has no default value.
794#line 794 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
795 { /* match expression */
796 modelica_metatype tmp3_1;
797 tmp3_1 = _inTuple;
798 {
799 modelica_metatype _equ = NULL((void*)0);
800 modelica_metatype _equf = NULL((void*)0);
801 modelica_metatype _equr = NULL((void*)0);
802 modelica_string _iter_name = NULL((void*)0);
803 modelica_metatype _ref = NULL((void*)0);
804 modelica_metatype _cref1 = NULL((void*)0);
805 modelica_metatype _g = NULL((void*)0);
806 modelica_metatype _k = NULL((void*)0);
807 volatile mmc_switch_type tmp3;
808 int tmp4;
809 // _equ has no default value.
810 // _equf has no default value.
811 // _equr has no default value.
812 // _iter_name has no default value.
813 // _ref has no default value.
814 // _cref1 has no default value.
815 // _g has no default value.
816 // _k has no default value.
817 tmp3 = 0;
818 for (; tmp3 < 3; tmp3++) {
819 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
820 case 0: {
821 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
822 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],4,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((5 +1)
<< 10) + (((4 +3) & 255) << 2)))
== 0) goto tmp2_end;
823 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
824 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
825 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
826 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
827 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (3)))))
;
828 _equf = tmpMeta[1];
829 _iter_name = tmpMeta[2];
830 _ref = tmpMeta[4];
831 _k = tmpMeta[5];
832 _g = tmpMeta[6];
833 /* Pattern matching succeeded */
834#line 1157 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
835 tmpMeta[2] = mmc_mk_box4(3, &Absyn_ForIterator_ITERATOR__desc, _iter_name, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
836#line 1157 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
837 tmpMeta[1] = mmc_mk_cons(tmpMeta[2], MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
838#line 1157 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
839 _g = omc_FGraphBuildEnv_addIterators(threadData, tmpMeta[1], _ref, _k, _g);
840#line 840 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
841
842#line 1158 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
843 /* Pattern-matching tuple assignment */
844#line 1158 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
845 tmpMeta[3] = mmc_mk_box3(0, _ref, _k, _g);
846#line 1158 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
847 tmpMeta[4] = omc_SCodeUtil_traverseEEquationExps(threadData, _equf, boxvar_FGraphBuildEnv_traverseExp((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_traverseExp)
.header) + 3))
, tmpMeta[3], &tmpMeta[1]);
848#line 1158 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
849 _equ = tmpMeta[4];
850#line 1158 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
851 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
852#line 1158 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
853 _g = tmpMeta[2];
854#line 854 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
855#line 1159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
856 tmpMeta[1] = mmc_mk_box3(0, _ref, _k, _g);
857#line 1159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
858 tmpMeta[2] = mmc_mk_box2(0, _equ, tmpMeta[1]);
859#line 1159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
860 tmpMeta[0] = tmpMeta[2];
861#line 861 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
862 goto tmp2_done;
863 }
864 case 1: {
865 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
866 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],8,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((4 +1)
<< 10) + (((8 +3) & 255) << 2)))
== 0) goto tmp2_end;
867 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
868 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],2,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
869 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
870 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
871 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
872 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
873 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (3)))))
;
874 _equr = tmpMeta[1];
875 _cref1 = tmpMeta[3];
876 _ref = tmpMeta[5];
877 _k = tmpMeta[6];
878 _g = tmpMeta[7];
879 /* Pattern matching succeeded */
880#line 1164 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
881 _g = omc_FGraphBuildEnv_analyseCref(threadData, _cref1, _ref, _k, _g);
882#line 882 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
883
884#line 1165 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
885 /* Pattern-matching tuple assignment */
886#line 1165 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
887 tmpMeta[3] = mmc_mk_box3(0, _ref, _k, _g);
888#line 1165 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
889 tmpMeta[4] = omc_SCodeUtil_traverseEEquationExps(threadData, _equr, boxvar_FGraphBuildEnv_traverseExp((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_traverseExp)
.header) + 3))
, tmpMeta[3], &tmpMeta[1]);
890#line 1165 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
891 _equ = tmpMeta[4];
892#line 1165 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
893 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
894#line 1165 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
895 _g = tmpMeta[2];
896#line 896 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
897#line 1166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
898 tmpMeta[1] = mmc_mk_box3(0, _ref, _k, _g);
899#line 1166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
900 tmpMeta[2] = mmc_mk_box2(0, _equ, tmpMeta[1]);
901#line 1166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
902 tmpMeta[0] = tmpMeta[2];
903#line 903 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
904 goto tmp2_done;
905 }
906 case 2: {
907 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
908 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
909 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
910 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
911 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
912 _equ = tmpMeta[1];
913 _ref = tmpMeta[3];
914 _k = tmpMeta[4];
915 _g = tmpMeta[5];
916 /* Pattern matching succeeded */
917#line 1171 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
918 omc_SCodeUtil_getEEquationInfo(threadData, _equ);
919#line 919 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
920
921#line 1172 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
922 /* Pattern-matching tuple assignment */
923#line 1172 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
924 tmpMeta[3] = mmc_mk_box3(0, _ref, _k, _g);
925#line 1172 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
926 tmpMeta[4] = omc_SCodeUtil_traverseEEquationExps(threadData, _equ, boxvar_FGraphBuildEnv_traverseExp((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_traverseExp)
.header) + 3))
, tmpMeta[3], &tmpMeta[1]);
927#line 1172 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
928 _equ = tmpMeta[4];
929#line 1172 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
930 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
931#line 1172 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
932 _g = tmpMeta[2];
933#line 933 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
934#line 1173 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
935 tmpMeta[1] = mmc_mk_box3(0, _ref, _k, _g);
936#line 1173 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
937 tmpMeta[2] = mmc_mk_box2(0, _equ, tmpMeta[1]);
938#line 1173 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
939 tmpMeta[0] = tmpMeta[2];
940#line 940 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
941 goto tmp2_done;
942 }
943 }
944 goto tmp2_end;
945 tmp2_end: ;
946 }
947 goto goto_1;
948 goto_1:;
949 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
950 goto tmp2_done;
951 tmp2_done:;
952 }
953 }
954 _outTuple = tmpMeta[0];
955 _return: OMC_LABEL_UNUSED__attribute__((unused))
956 return _outTuple;
957}
958
959PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_analyseEquation(threadData_t *threadData, modelica_metatype _inEquation, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
960{
961 modelica_metatype _outGraph = NULL((void*)0);
962 modelica_metatype _equ = NULL((void*)0);
963 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
964 MMC_SO()mmc_check_stackoverflow(threadData);
965 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
966 // _outGraph has no default value.
967 // _equ has no default value.
968#line 1136 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
969 /* Pattern-matching assignment */
970#line 1136 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
971 tmpMeta[0] = _inEquation;
972#line 1136 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
973 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
974#line 1136 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
975 _equ = tmpMeta[1];
976#line 976 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
977
978#line 1137 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
979 /* Pattern-matching tuple assignment, wild first pattern */
980#line 1137 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
981 tmpMeta[3] = mmc_mk_box3(0, _inParentRef, _inKind, _inGraph);
982#line 1137 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
983 tmpMeta[4] = mmc_mk_box2(0, boxvar_FGraphBuildEnv_analyseEEquationTraverser((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseEEquationTraverser
).header) + 3))
, tmpMeta[3]);
984#line 1137 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
985 omc_SCodeUtil_traverseEEquations(threadData, _equ, tmpMeta[4], &tmpMeta[0]);
986#line 1137 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
987 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
988#line 1137 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
989 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
990#line 1137 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
991 _outGraph = tmpMeta[2];
992#line 992 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
993 _return: OMC_LABEL_UNUSED__attribute__((unused))
994 return _outGraph;
995}
996
997PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_analyseExpTraverserExit(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTuple, modelica_metatype *out_outTuple)
998{
999 modelica_metatype _outExp = NULL((void*)0);
1000 modelica_metatype _outTuple = NULL((void*)0);
1001 MMC_SO()mmc_check_stackoverflow(threadData);
1002 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1003 // _outExp has no default value.
1004 // _outTuple has no default value.
1005#line 1122 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1006 _outExp = _inExp;
1007#line 1007 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1008
1009#line 1123 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1010 _outTuple = _inTuple;
1011#line 1011 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1012 _return: OMC_LABEL_UNUSED__attribute__((unused))
1013 if (out_outTuple) { *out_outTuple = _outTuple; }
1014 return _outExp;
1015}
1016
1017PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_analyseCref(threadData_t *threadData, modelica_metatype _inCref, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
1018{
1019 modelica_metatype _outGraph = NULL((void*)0);
1020 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
1021 MMC_SO()mmc_check_stackoverflow(threadData);
1022 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1023 // _outGraph has no default value.
1024#line 1024 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1025 { /* matchcontinue expression */
1026 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;
1027 tmp3_1 = _inCref;
1028 tmp3_2 = _inGraph;
1029 {
1030 modelica_metatype _g = NULL((void*)0);
1031 volatile mmc_switch_type tmp3;
1032 int tmp4;
1033 // _g has no default value.
1034 tmp3 = 0;
1035 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) {
1036 tmp2_top:
1037 threadData->mmc_jumper = &new_mmc_jumper;
1038 for (; tmp3 < 2; tmp3++) {
1039 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1040 case 0: {
1041 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,3,0)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((0 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
1042
1043 _g = tmp3_2;
1044 /* Pattern matching succeeded */
1045#line 1103 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1046 tmpMeta[0] = _g;
1047#line 1047 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1048 goto tmp2_done;
1049 }
1050 case 1: {
1051
1052 _g = tmp3_2;
1053 /* Pattern matching succeeded */
1054#line 1107 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1055 tmpMeta[0] = omc_FGraphBuildEnv_mkCrefNode(threadData, _inCref, _inParentRef, _inKind, _g);
1056#line 1056 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1057 goto tmp2_done;
1058 }
1059 }
1060 goto tmp2_end;
1061 tmp2_end: ;
1062 }
1063 goto goto_1;
1064 tmp2_done:
1065 (void)tmp3;
1066 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1067 goto tmp2_done2;
1068 goto_1:;
1069 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1070 if (++tmp3 < 2) {
1071 goto tmp2_top;
1072 }
1073 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1074 tmp2_done2:;
1075 }
1076 }
1077 _outGraph = tmpMeta[0];
1078 _return: OMC_LABEL_UNUSED__attribute__((unused))
1079 return _outGraph;
1080}
1081
1082PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_analyseExp2(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inRef, modelica_metatype _inKind, modelica_metatype _inGraph)
1083{
1084 modelica_metatype _outGraph = NULL((void*)0);
1085 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1086 MMC_SO()mmc_check_stackoverflow(threadData);
1087 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1088 // _outGraph has no default value.
1089#line 1089 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1090 { /* match expression */
1091 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
1092 tmp3_1 = _inExp;
1093 tmp3_2 = _inGraph;
1094 {
1095 modelica_metatype _cref = NULL((void*)0);
1096 modelica_metatype _iters = NULL((void*)0);
1097 modelica_metatype _g = NULL((void*)0);
1098 volatile mmc_switch_type tmp3;
1099 int tmp4;
1100 // _cref has no default value.
1101 // _iters has no default value.
1102 // _g has no default value.
1103 tmp3 = 0;
1104 for (; tmp3 < 6; tmp3++) {
1105 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1106 case 0: {
1107 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,2,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
1108 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1109
1110 _cref = tmpMeta[1];
1111 _g = tmp3_2;
1112 /* Pattern matching succeeded */
1113#line 1057 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1114 tmpMeta[0] = omc_FGraphBuildEnv_analyseCref(threadData, _cref, _inRef, _inKind, _g);
1115#line 1115 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1116 goto tmp2_done;
1117 }
1118 case 1: {
1119 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,11,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((11 +3) & 255) << 2)))
== 0) goto tmp2_end;
1120 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1121 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1122 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
1123
1124 _iters = tmpMeta[2];
1125 _g = tmp3_2;
1126 /* Pattern matching succeeded */
1127#line 1063 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1128 tmpMeta[0] = omc_FGraphBuildEnv_addIterators(threadData, _iters, _inRef, _inKind, _g);
1129#line 1129 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1130 goto tmp2_done;
1131 }
1132 case 2: {
1133 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,11,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((11 +3) & 255) << 2)))
== 0) goto tmp2_end;
1134 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1135
1136 _cref = tmpMeta[1];
1137 _g = tmp3_2;
1138 /* Pattern matching succeeded */
1139#line 1069 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1140 tmpMeta[0] = omc_FGraphBuildEnv_analyseCref(threadData, _cref, _inRef, _inKind, _g);
1141#line 1141 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1142 goto tmp2_done;
1143 }
1144 case 3: {
1145 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,12,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((12 +3) & 255) << 2)))
== 0) goto tmp2_end;
1146 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1147
1148 _cref = tmpMeta[1];
1149 _g = tmp3_2;
1150 /* Pattern matching succeeded */
1151#line 1075 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1152 tmpMeta[0] = omc_FGraphBuildEnv_analyseCref(threadData, _cref, _inRef, _inKind, _g);
1153#line 1153 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1154 goto tmp2_done;
1155 }
1156 case 4: {
1157 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,21,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((5 +1) <<
10) + (((21 +3) & 255) << 2)))
== 0) goto tmp2_end;
1158
1159 _g = tmp3_2;
1160 /* Pattern matching succeeded */
1161#line 1081 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1162 tmpMeta[0] = omc_FGraphBuildEnv_addMatchScope(threadData, _inExp, _inRef, _inKind, _g);
1163#line 1163 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1164 goto tmp2_done;
1165 }
1166 case 5: {
1167
1168 /* Pattern matching succeeded */
1169#line 1085 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1170 tmpMeta[0] = _inGraph;
1171#line 1171 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1172 goto tmp2_done;
1173 }
1174 }
1175 goto tmp2_end;
1176 tmp2_end: ;
1177 }
1178 goto goto_1;
1179 goto_1:;
1180 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1181 goto tmp2_done;
1182 tmp2_done:;
1183 }
1184 }
1185 _outGraph = tmpMeta[0];
1186 _return: OMC_LABEL_UNUSED__attribute__((unused))
1187 return _outGraph;
1188}
1189
1190PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_analyseExpTraverserEnter(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTuple, modelica_metatype *out_outTuple)
1191{
1192 modelica_metatype _exp = NULL((void*)0);
1193 modelica_metatype _outTuple = NULL((void*)0);
1194 modelica_metatype _ref = NULL((void*)0);
1195 modelica_metatype _k = NULL((void*)0);
1196 modelica_metatype _g = NULL((void*)0);
1197 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1198 MMC_SO()mmc_check_stackoverflow(threadData);
1199 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1200 // _exp has no default value.
1201 // _outTuple has no default value.
1202 // _ref has no default value.
1203 // _k has no default value.
1204 // _g has no default value.
1205#line 1033 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1206 /* Pattern-matching assignment */
1207#line 1033 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1208 tmpMeta[0] = _inTuple;
1209#line 1033 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1210 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1211#line 1033 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1212 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1213#line 1033 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1214 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
1215#line 1033 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1216 _ref = tmpMeta[1];
1217#line 1033 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1218 _k = tmpMeta[2];
1219#line 1033 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1220 _g = tmpMeta[3];
1221#line 1221 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1222
1223#line 1034 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1224 _g = omc_FGraphBuildEnv_analyseExp2(threadData, _inExp, _ref, _k, _g);
1225#line 1225 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1226
1227#line 1035 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1228 _exp = _inExp;
1229#line 1229 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1230
1231#line 1036 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1232 tmpMeta[0] = mmc_mk_box3(0, _ref, _k, _g);
1233#line 1036 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1234 _outTuple = tmpMeta[0];
1235#line 1235 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1236 _return: OMC_LABEL_UNUSED__attribute__((unused))
1237 if (out_outTuple) { *out_outTuple = _outTuple; }
1238 return _exp;
1239}
1240
1241PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_analyseOptExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inRef, modelica_metatype _inKind, modelica_metatype _inGraph)
1242{
1243 modelica_metatype _outGraph = NULL((void*)0);
1244 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1245 MMC_SO()mmc_check_stackoverflow(threadData);
1246 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1247 // _outGraph has no default value.
1248#line 1248 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1249 { /* match expression */
1250 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
1251 tmp3_1 = _inExp;
1252 tmp3_2 = _inGraph;
1253 {
1254 modelica_metatype _exp = NULL((void*)0);
1255 modelica_metatype _g = NULL((void*)0);
1256 volatile mmc_switch_type tmp3;
1257 int tmp4;
1258 // _exp has no default value.
1259 // _g has no default value.
1260 tmp3 = 0;
1261 for (; tmp3 < 2; tmp3++) {
1262 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1263 case 0: {
1264 if (!optionNone(tmp3_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1265
1266 _g = tmp3_2;
1267 /* Pattern matching succeeded */
1268#line 1011 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1269 tmpMeta[0] = _g;
1270#line 1270 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1271 goto tmp2_done;
1272 }
1273 case 1: {
1274 if (optionNone(tmp3_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1275 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1276
1277 _exp = tmpMeta[1];
1278 _g = tmp3_2;
1279 /* Pattern matching succeeded */
1280#line 1015 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1281 tmpMeta[0] = omc_FGraphBuildEnv_analyseExp(threadData, _exp, _inRef, _inKind, _g);
1282#line 1282 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1283 goto tmp2_done;
1284 }
1285 }
1286 goto tmp2_end;
1287 tmp2_end: ;
1288 }
1289 goto goto_1;
1290 goto_1:;
1291 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1292 goto tmp2_done;
1293 tmp2_done:;
1294 }
1295 }
1296 _outGraph = tmpMeta[0];
1297 _return: OMC_LABEL_UNUSED__attribute__((unused))
1298 return _outGraph;
1299}
1300
1301PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_analyseExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inRef, modelica_metatype _inKind, modelica_metatype _inGraph)
1302{
1303 modelica_metatype _outGraph = NULL((void*)0);
1304 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1305 MMC_SO()mmc_check_stackoverflow(threadData);
1306 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1307 // _outGraph has no default value.
1308#line 995 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1309 /* Pattern-matching tuple assignment, wild first pattern */
1310#line 995 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1311 tmpMeta[2] = mmc_mk_box3(0, _inRef, _inKind, _inGraph);
1312#line 995 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1313 omc_AbsynUtil_traverseExpBidir(threadData, _inExp, boxvar_FGraphBuildEnv_analyseExpTraverserEnter((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseExpTraverserEnter
).header) + 3))
, boxvar_FGraphBuildEnv_analyseExpTraverserExit((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseExpTraverserExit
).header) + 3))
, tmpMeta[2], &tmpMeta[0]);
1314#line 995 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1315 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
1316#line 995 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1317 _outGraph = tmpMeta[1];
1318#line 1318 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1319 _return: OMC_LABEL_UNUSED__attribute__((unused))
1320 return _outGraph;
1321}
1322
1323DLLExport
1324modelica_metatype omc_FGraphBuildEnv_mkCrefsFromExps(threadData_t *threadData, modelica_metatype _inExps, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
1325{
1326 modelica_metatype _outGraph = NULL((void*)0);
1327 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1328 MMC_SO()mmc_check_stackoverflow(threadData);
1329 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1330 // _outGraph has no default value.
1331#line 1331 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1332 { /* match expression */
1333 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
1334 tmp3_1 = _inExps;
1335 tmp3_2 = _inGraph;
1336 {
1337 modelica_metatype _e = NULL((void*)0);
1338 modelica_metatype _rest = NULL((void*)0);
1339 modelica_metatype _crefs = NULL((void*)0);
1340 modelica_metatype _g = NULL((void*)0);
1341 volatile mmc_switch_type tmp3;
1342 int tmp4;
1343 // _e has no default value.
1344 // _rest has no default value.
1345 // _crefs has no default value.
1346 // _g has no default value.
1347 tmp3 = 0;
1348 for (; tmp3 < 2; tmp3++) {
1349 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1350 case 0: {
1351 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1352
1353 _g = tmp3_2;
1354 /* Pattern matching succeeded */
1355#line 974 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1356 tmpMeta[0] = _g;
1357#line 1357 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1358 goto tmp2_done;
1359 }
1360 case 1: {
1361 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1362 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1363 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1364
1365 _e = tmpMeta[1];
1366 _rest = tmpMeta[2];
1367 _g = tmp3_2;
1368 /* Pattern matching succeeded */
1369#line 978 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1370 _crefs = omc_AbsynUtil_getCrefFromExp(threadData, _e, 1, 1);
1371#line 1371 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1372
1373#line 979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1374 _g = omc_FGraphBuildEnv_mkCrefsNodes(threadData, _crefs, _inParentRef, _inKind, _g);
1375#line 1375 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1376#line 980 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1377 /* Tail recursive call */
1378#line 980 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1379 _inExps = _rest;
1380#line 980 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1381 _inGraph = _g;
1382#line 980 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1383 goto _tailrecursive;
1384#line 980 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1385 /* TODO: Make sure any eventual dead code below is never generated */
1386#line 1386 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1387 goto tmp2_done;
1388 }
1389 }
1390 goto tmp2_end;
1391 tmp2_end: ;
1392 }
1393 goto goto_1;
1394 goto_1:;
1395 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1396 goto tmp2_done;
1397 tmp2_done:;
1398 }
1399 }
1400 _outGraph = tmpMeta[0];
1401 _return: OMC_LABEL_UNUSED__attribute__((unused))
1402 return _outGraph;
1403}
1404
1405DLLExport
1406modelica_metatype omc_FGraphBuildEnv_mkExternalNode(threadData_t *threadData, modelica_string _inName, modelica_metatype _inExternalDeclOpt, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
1407{
1408 modelica_metatype _outGraph = NULL((void*)0);
1409 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1410 MMC_SO()mmc_check_stackoverflow(threadData);
1411 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1412 // _outGraph has no default value.
1413#line 1413 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1414 { /* match expression */
1415 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
1416 tmp3_1 = _inExternalDeclOpt;
1417 tmp3_2 = _inGraph;
1418 {
1419 modelica_metatype _g = NULL((void*)0);
1420 modelica_metatype _n = NULL((void*)0);
1421 modelica_metatype _nr = NULL((void*)0);
1422 modelica_metatype _ed = NULL((void*)0);
1423 modelica_metatype _ocr = NULL((void*)0);
1424 modelica_metatype _oae = NULL((void*)0);
1425 modelica_metatype _exps = NULL((void*)0);
1426 volatile mmc_switch_type tmp3;
1427 int tmp4;
1428 // _g has no default value.
1429 // _n has no default value.
1430 // _nr has no default value.
1431 // _ed has no default value.
1432 // _ocr has no default value.
1433 // _oae has no default value.
1434 // _exps has no default value.
1435 tmp3 = 0;
1436 for (; tmp3 < 2; tmp3++) {
1437 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1438 case 0: {
1439 if (!optionNone(tmp3_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1440
1441 _g = tmp3_2;
1442 /* Pattern matching succeeded */
1443#line 943 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1444 tmpMeta[0] = _g;
1445#line 1445 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1446 goto tmp2_done;
1447 }
1448 case 1: {
1449 if (optionNone(tmp3_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1450 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1451 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
1452 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (5)))))
;
1453
1454 _ed = tmpMeta[1];
1455 _ocr = tmpMeta[2];
1456 _exps = tmpMeta[3];
1457 _g = tmp3_2;
1458 /* Pattern matching succeeded */
1459#line 947 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1460 tmpMeta[1] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1461#line 947 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1462 tmpMeta[2] = mmc_mk_box2(14, &FCore_Data_ED__desc, _ed);
1463#line 947 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1464 _g = omc_FGraph_node(threadData, _g, _inName, tmpMeta[1], tmpMeta[2] ,&_n);
1465#line 1465 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1466
1467#line 948 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1468 _nr = omc_FNode_toRef(threadData, _n);
1469#line 1469 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1470
1471#line 949 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1472 omc_FNode_addChildRef(threadData, _inParentRef, _inName, _nr, 0);
1473#line 1473 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1474
1475#line 950 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1476 _oae = omc_Util_applyOption(threadData, _ocr, boxvar_AbsynUtil_crefExp((void*)((char*)(&(boxvar_lit_AbsynUtil_crefExp).header) +
3))
);
1477#line 1477 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1478#line 951 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1479 tmpMeta[0] = omc_FGraphBuildEnv_mkCrefsFromExps(threadData, omc_List_consOption(threadData, _oae, _exps), _nr, _inKind, _g);
1480#line 1480 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1481 goto tmp2_done;
1482 }
1483 }
1484 goto tmp2_end;
1485 tmp2_end: ;
1486 }
1487 goto goto_1;
1488 goto_1:;
1489 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1490 goto tmp2_done;
1491 tmp2_done:;
1492 }
1493 }
1494 _outGraph = tmpMeta[0];
1495 _return: OMC_LABEL_UNUSED__attribute__((unused))
1496 return _outGraph;
1497}
1498
1499DLLExport
1500modelica_metatype omc_FGraphBuildEnv_mkOptNode(threadData_t *threadData, modelica_string _inName, modelica_metatype _inConstraintLst, modelica_metatype _inClsAttrs, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
1501{
1502 modelica_metatype _outGraph = NULL((void*)0);
1503 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1504 MMC_SO()mmc_check_stackoverflow(threadData);
1505 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1506 // _outGraph has no default value.
1507#line 1507 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1508 { /* match expression */
1509 modelica_metatype tmp3_1;modelica_metatype tmp3_2;modelica_metatype tmp3_3;
1510 tmp3_1 = _inConstraintLst;
1511 tmp3_2 = _inClsAttrs;
1512 tmp3_3 = _inGraph;
1513 {
1514 modelica_metatype _g = NULL((void*)0);
1515 modelica_metatype _n = NULL((void*)0);
1516 modelica_metatype _nr = NULL((void*)0);
1517 volatile mmc_switch_type tmp3;
1518 int tmp4;
1519 // _g has no default value.
1520 // _n has no default value.
1521 // _nr has no default value.
1522 tmp3 = 0;
1523 for (; tmp3 < 2; tmp3++) {
1524 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1525 case 0: {
1526 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1527 if (!listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1528
1529 _g = tmp3_3;
1530 /* Pattern matching succeeded */
1531#line 911 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1532 tmpMeta[0] = _g;
1533#line 1533 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1534 goto tmp2_done;
1535 }
1536 case 1: {
1537
1538 _g = tmp3_3;
1539 /* Pattern matching succeeded */
1540#line 915 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1541 tmpMeta[1] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1542#line 915 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1543 tmpMeta[2] = mmc_mk_box3(13, &FCore_Data_OT__desc, _inConstraintLst, _inClsAttrs);
1544#line 915 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1545 _g = omc_FGraph_node(threadData, _g, _inName, tmpMeta[1], tmpMeta[2] ,&_n);
1546#line 1546 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1547
1548#line 916 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1549 _nr = omc_FNode_toRef(threadData, _n);
1550#line 1550 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1551
1552#line 917 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1553 omc_FNode_addChildRef(threadData, _inParentRef, _inName, _nr, 0);
1554#line 1554 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1555#line 918 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1556 tmpMeta[0] = _g;
1557#line 1557 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1558 goto tmp2_done;
1559 }
1560 }
1561 goto tmp2_end;
1562 tmp2_end: ;
1563 }
1564 goto goto_1;
1565 goto_1:;
1566 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1567 goto tmp2_done;
1568 tmp2_done:;
1569 }
1570 }
1571 _outGraph = tmpMeta[0];
1572 _return: OMC_LABEL_UNUSED__attribute__((unused))
1573 return _outGraph;
1574}
1575
1576DLLExport
1577modelica_metatype omc_FGraphBuildEnv_mkAlNode(threadData_t *threadData, modelica_string _inName, modelica_metatype _inAlgs, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
1578{
1579 modelica_metatype _outGraph = NULL((void*)0);
1580 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1581 MMC_SO()mmc_check_stackoverflow(threadData);
1582 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1583 // _outGraph has no default value.
1584#line 1584 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1585 { /* match expression */
1586 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
1587 tmp3_1 = _inAlgs;
1588 tmp3_2 = _inGraph;
1589 {
1590 modelica_metatype _g = NULL((void*)0);
1591 modelica_metatype _n = NULL((void*)0);
1592 modelica_metatype _nr = NULL((void*)0);
1593 volatile mmc_switch_type tmp3;
1594 int tmp4;
1595 // _g has no default value.
1596 // _n has no default value.
1597 // _nr has no default value.
1598 tmp3 = 0;
1599 for (; tmp3 < 2; tmp3++) {
1600 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1601 case 0: {
1602 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1603
1604 _g = tmp3_2;
1605 /* Pattern matching succeeded */
1606#line 881 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1607 tmpMeta[0] = _g;
1608#line 1608 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1609 goto tmp2_done;
1610 }
1611 case 1: {
1612
1613 _g = tmp3_2;
1614 /* Pattern matching succeeded */
1615#line 885 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1616 tmpMeta[1] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1617#line 885 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1618 tmpMeta[2] = mmc_mk_box3(11, &FCore_Data_AL__desc, _inName, _inAlgs);
1619#line 885 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1620 _g = omc_FGraph_node(threadData, _g, _inName, tmpMeta[1], tmpMeta[2] ,&_n);
1621#line 1621 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1622
1623#line 886 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1624 _nr = omc_FNode_toRef(threadData, _n);
1625#line 1625 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1626
1627#line 887 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1628 omc_FNode_addChildRef(threadData, _inParentRef, _inName, _nr, 0);
1629#line 1629 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1630#line 888 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1631 tmpMeta[0] = omc_List_fold2(threadData, _inAlgs, boxvar_FGraphBuildEnv_analyseAlgorithm((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseAlgorithm
).header) + 3))
, _nr, _inKind, _g);
1632#line 1632 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1633 goto tmp2_done;
1634 }
1635 }
1636 goto tmp2_end;
1637 tmp2_end: ;
1638 }
1639 goto goto_1;
1640 goto_1:;
1641 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1642 goto tmp2_done;
1643 tmp2_done:;
1644 }
1645 }
1646 _outGraph = tmpMeta[0];
1647 _return: OMC_LABEL_UNUSED__attribute__((unused))
1648 return _outGraph;
1649}
1650
1651DLLExport
1652modelica_metatype omc_FGraphBuildEnv_mkEqNode(threadData_t *threadData, modelica_string _inName, modelica_metatype _inEqs, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
1653{
1654 modelica_metatype _outGraph = NULL((void*)0);
1655 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1656 MMC_SO()mmc_check_stackoverflow(threadData);
1657 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1658 // _outGraph has no default value.
1659#line 1659 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1660 { /* match expression */
1661 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
1662 tmp3_1 = _inEqs;
1663 tmp3_2 = _inGraph;
1664 {
1665 modelica_metatype _g = NULL((void*)0);
1666 modelica_metatype _n = NULL((void*)0);
1667 modelica_metatype _nr = NULL((void*)0);
1668 volatile mmc_switch_type tmp3;
1669 int tmp4;
1670 // _g has no default value.
1671 // _n has no default value.
1672 // _nr has no default value.
1673 tmp3 = 0;
1674 for (; tmp3 < 2; tmp3++) {
1675 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1676 case 0: {
1677 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1678
1679 _g = tmp3_2;
1680 /* Pattern matching succeeded */
1681#line 852 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1682 tmpMeta[0] = _g;
1683#line 1683 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1684 goto tmp2_done;
1685 }
1686 case 1: {
1687
1688 _g = tmp3_2;
1689 /* Pattern matching succeeded */
1690#line 856 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1691 tmpMeta[1] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1692#line 856 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1693 tmpMeta[2] = mmc_mk_box3(12, &FCore_Data_EQ__desc, _inName, _inEqs);
1694#line 856 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1695 _g = omc_FGraph_node(threadData, _g, _inName, tmpMeta[1], tmpMeta[2] ,&_n);
1696#line 1696 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1697
1698#line 857 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1699 _nr = omc_FNode_toRef(threadData, _n);
1700#line 1700 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1701
1702#line 858 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1703 omc_FNode_addChildRef(threadData, _inParentRef, _inName, _nr, 0);
1704#line 1704 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1705#line 859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1706 tmpMeta[0] = omc_List_fold2(threadData, _inEqs, boxvar_FGraphBuildEnv_analyseEquation((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_analyseEquation
).header) + 3))
, _nr, _inKind, _g);
1707#line 1707 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1708 goto tmp2_done;
1709 }
1710 }
1711 goto tmp2_end;
1712 tmp2_end: ;
1713 }
1714 goto goto_1;
1715 goto_1:;
1716 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1717 goto tmp2_done;
1718 tmp2_done:;
1719 }
1720 }
1721 _outGraph = tmpMeta[0];
1722 _return: OMC_LABEL_UNUSED__attribute__((unused))
1723 return _outGraph;
1724}
1725
1726DLLExport
1727modelica_metatype omc_FGraphBuildEnv_mkTypeNode(threadData_t *threadData, modelica_metatype _inTypes, modelica_metatype _inParentRef, modelica_string _inName, modelica_metatype _inGraph)
1728{
1729 modelica_metatype _outGraph = NULL((void*)0);
1730 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
1731 MMC_SO()mmc_check_stackoverflow(threadData);
1732 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1733 // _outGraph has no default value.
1734#line 1734 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1735 { /* matchcontinue expression */
1736 volatile modelica_metatype tmp3_1;
1737 tmp3_1 = _inGraph;
1738 {
1739 modelica_metatype _nr = NULL((void*)0);
1740 modelica_metatype _pr = NULL((void*)0);
1741 modelica_metatype _n = NULL((void*)0);
1742 modelica_metatype _g = NULL((void*)0);
1743 volatile mmc_switch_type tmp3;
1744 int tmp4;
1745 // _nr has no default value.
1746 // _pr has no default value.
1747 // _n has no default value.
1748 // _g has no default value.
1749 tmp3 = 0;
1750 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) {
1751 tmp2_top:
1752 threadData->mmc_jumper = &new_mmc_jumper;
1753 for (; tmp3 < 4; tmp3++) {
1754 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1755 case 0: {
1756
1757 /* Pattern matching succeeded */
1758#line 791 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1759 _pr = omc_FNode_child(threadData, _inParentRef, _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
1760#line 1760 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1761
1762#line 793 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1763 _nr = omc_FNode_child(threadData, _pr, _inName);
1764#line 1764 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1765
1766#line 794 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1767 omc_FNode_addTypesToRef(threadData, _nr, _inTypes);
1768#line 1768 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1769#line 795 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1770 tmpMeta[0] = _inGraph;
1771#line 1771 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1772 goto tmp2_done;
1773 }
1774 case 1: {
1775 modelica_boolean tmp5;
1776
1777 _g = tmp3_1;
1778 /* Pattern matching succeeded */
1779#line 802 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1780 tmp5 = 0; /* begin failure */
1781#line 802 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1782 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) {
1783#line 802 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1784 omc_FNode_child(threadData, _inParentRef, _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
1785#line 1785 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1786 tmp5 = 1;
1787 goto goto_6;
1788 goto_6:;
1789 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
1790 if (tmp5) {goto goto_1;} /* end failure */
1791
1792#line 804 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1793 tmpMeta[1] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1794#line 804 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1795 _g = omc_FGraph_node(threadData, _g, _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)), tmpMeta[1], _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)) ,&_n);
1796#line 1796 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1797
1798#line 805 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1799 _pr = omc_FNode_toRef(threadData, _n);
1800#line 1800 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1801
1802#line 806 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1803 omc_FNode_addChildRef(threadData, _inParentRef, _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)), _pr, 0);
1804#line 1804 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1805
1806#line 807 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1807 tmpMeta[1] = mmc_mk_cons(_pr, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1808#line 807 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1809 tmpMeta[2] = mmc_mk_box2(10, &FCore_Data_FT__desc, _inTypes);
1810#line 807 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1811 _g = omc_FGraph_node(threadData, _g, _inName, tmpMeta[1], tmpMeta[2] ,&_n);
1812#line 1812 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1813
1814#line 808 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1815 _nr = omc_FNode_toRef(threadData, _n);
1816#line 1816 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1817
1818#line 809 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1819 omc_FNode_addChildRef(threadData, _pr, _inName, _nr, 0);
1820#line 1820 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1821#line 810 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1822 tmpMeta[0] = _g;
1823#line 1823 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1824 goto tmp2_done;
1825 }
1826 case 2: {
1827 modelica_boolean tmp7;
1828
1829 _g = tmp3_1;
1830 /* Pattern matching succeeded */
1831#line 817 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1832 _pr = omc_FNode_child(threadData, _inParentRef, _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
1833#line 1833 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1834
1835#line 818 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1836 tmp7 = 0; /* begin failure */
1837#line 818 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1838 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) {
1839#line 818 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1840 omc_FNode_child(threadData, _pr, _inName);
1841#line 1841 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1842 tmp7 = 1;
1843 goto goto_8;
1844 goto_8:;
1845 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
1846 if (tmp7) {goto goto_1;} /* end failure */
1847
1848#line 820 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1849 tmpMeta[1] = mmc_mk_cons(_pr, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1850#line 820 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1851 tmpMeta[2] = mmc_mk_box2(10, &FCore_Data_FT__desc, _inTypes);
1852#line 820 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1853 _g = omc_FGraph_node(threadData, _g, _inName, tmpMeta[1], tmpMeta[2] ,&_n);
1854#line 1854 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1855
1856#line 821 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1857 _nr = omc_FNode_toRef(threadData, _n);
1858#line 1858 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1859
1860#line 822 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1861 omc_FNode_addChildRef(threadData, _pr, _inName, _nr, 0);
1862#line 1862 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1863#line 823 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1864 tmpMeta[0] = _g;
1865#line 1865 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1866 goto tmp2_done;
1867 }
1868 case 3: {
1869
1870 /* Pattern matching succeeded */
1871#line 828 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1872 _pr = omc_FGraph_top(threadData, _inGraph);
1873#line 1873 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1874
1875#line 829 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1876 tmpMeta[1] = stringAppend(_OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)),_inName);
1877#line 829 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1878 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)));
1879#line 829 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1880 tmpMeta[3] = stringAppend(tmpMeta[2],omc_FNode_name(threadData, omc_FNode_fromRef(threadData, _pr)));
1881#line 829 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1882 tmpMeta[4] = stringAppend(tmpMeta[3],_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)));
1883#line 829 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1884 fputs(MMC_STRINGDATA(tmpMeta[4])(((struct mmc_string*)((void*)((char*)(tmpMeta[4]) - 3)))->
data)
,stdoutstdout);
1885#line 1885 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1886#line 831 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1887 tmpMeta[0] = _inGraph;
1888#line 1888 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1889 goto tmp2_done;
1890 }
1891 }
1892 goto tmp2_end;
1893 tmp2_end: ;
1894 }
1895 goto goto_1;
1896 tmp2_done:
1897 (void)tmp3;
1898 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1899 goto tmp2_done2;
1900 goto_1:;
1901 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1902 if (++tmp3 < 4) {
1903 goto tmp2_top;
1904 }
1905 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1906 tmp2_done2:;
1907 }
1908 }
1909 _outGraph = tmpMeta[0];
1910 _return: OMC_LABEL_UNUSED__attribute__((unused))
1911 return _outGraph;
1912}
1913
1914DLLExport
1915modelica_metatype omc_FGraphBuildEnv_mkCrefNode(threadData_t *threadData, modelica_metatype _inCref, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
1916{
1917 modelica_metatype _outGraph = NULL((void*)0);
1918 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1919 MMC_SO()mmc_check_stackoverflow(threadData);
1920 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1921 // _outGraph has no default value.
1922#line 1922 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1923 { /* match expression */
1924 modelica_metatype tmp3_1;
1925 tmp3_1 = _inGraph;
1926 {
1927 modelica_metatype _n = NULL((void*)0);
1928 modelica_metatype _nr = NULL((void*)0);
1929 modelica_metatype _g = NULL((void*)0);
1930 modelica_string _name = NULL((void*)0);
1931 volatile mmc_switch_type tmp3;
1932 int tmp4;
1933 // _n has no default value.
1934 // _nr has no default value.
1935 // _g has no default value.
1936 // _name has no default value.
1937 tmp3 = 0;
1938 for (; tmp3 < 1; tmp3++) {
1939 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1940 case 0: {
1941
1942 _g = tmp3_1;
1943 /* Pattern matching succeeded */
1944#line 759 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1945 _name = omc_AbsynUtil_printComponentRefStr(threadData, _inCref);
1946#line 1946 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1947
1948#line 760 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1949 tmpMeta[1] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1950#line 760 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1951 tmpMeta[2] = mmc_mk_box2(20, &FCore_Data_CR__desc, _inCref);
1952#line 760 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1953 _g = omc_FGraph_node(threadData, _g, _name, tmpMeta[1], tmpMeta[2] ,&_n);
1954#line 1954 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1955
1956#line 761 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1957 _nr = omc_FNode_toRef(threadData, _n);
1958#line 1958 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1959
1960#line 762 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1961 omc_FNode_addChildRef(threadData, _inParentRef, _name, _nr, 0);
1962#line 1962 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1963#line 763 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
1964 tmpMeta[0] = omc_FGraphBuildEnv_mkDimsNode(threadData, _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)), omc_List_mkOption(threadData, omc_AbsynUtil_getSubsFromCref(threadData, _inCref, 1, 1)), _nr, _inKind, _g);
1965#line 1965 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1966 goto tmp2_done;
1967 }
1968 }
1969 goto tmp2_end;
1970 tmp2_end: ;
1971 }
1972 goto goto_1;
1973 goto_1:;
1974 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1975 goto tmp2_done;
1976 tmp2_done:;
1977 }
1978 }
1979 _outGraph = tmpMeta[0];
1980 _return: OMC_LABEL_UNUSED__attribute__((unused))
1981 return _outGraph;
1982}
1983
1984DLLExport
1985modelica_metatype omc_FGraphBuildEnv_mkCrefsNodes(threadData_t *threadData, modelica_metatype _inCrefs, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
1986{
1987 modelica_metatype _outGraph = NULL((void*)0);
1988 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1989 MMC_SO()mmc_check_stackoverflow(threadData);
1990 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1991 // _outGraph has no default value.
1992#line 1992 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
1993 { /* match expression */
1994 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
1995 tmp3_1 = _inCrefs;
1996 tmp3_2 = _inGraph;
1997 {
1998 modelica_metatype _rest = NULL((void*)0);
1999 modelica_metatype _g = NULL((void*)0);
2000 modelica_metatype _cr = NULL((void*)0);
2001 volatile mmc_switch_type tmp3;
2002 int tmp4;
2003 // _rest has no default value.
2004 // _g has no default value.
2005 // _cr has no default value.
2006 tmp3 = 0;
2007 for (; tmp3 < 2; tmp3++) {
2008 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2009 case 0: {
2010 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2011
2012 _g = tmp3_2;
2013 /* Pattern matching succeeded */
2014#line 729 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2015 tmpMeta[0] = _g;
2016#line 2016 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2017 goto tmp2_done;
2018 }
2019 case 1: {
2020 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2021 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
2022 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2023
2024 _cr = tmpMeta[1];
2025 _rest = tmpMeta[2];
2026 _g = tmp3_2;
2027 /* Pattern matching succeeded */
2028#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2029 _g = omc_FGraphBuildEnv_mkCrefNode(threadData, _cr, _inParentRef, _inKind, _g);
2030#line 2030 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2031#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2032 /* Tail recursive call */
2033#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2034 _inCrefs = _rest;
2035#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2036 _inGraph = _g;
2037#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2038 goto _tailrecursive;
2039#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2040 /* TODO: Make sure any eventual dead code below is never generated */
2041#line 2041 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2042 goto tmp2_done;
2043 }
2044 }
2045 goto tmp2_end;
2046 tmp2_end: ;
2047 }
2048 goto goto_1;
2049 goto_1:;
2050 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2051 goto tmp2_done;
2052 tmp2_done:;
2053 }
2054 }
2055 _outGraph = tmpMeta[0];
2056 _return: OMC_LABEL_UNUSED__attribute__((unused))
2057 return _outGraph;
2058}
2059
2060DLLExport
2061modelica_metatype omc_FGraphBuildEnv_mkExpressionNode(threadData_t *threadData, modelica_string _inName, modelica_metatype _inExp, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
2062{
2063 modelica_metatype _outGraph = NULL((void*)0);
2064 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
2065 MMC_SO()mmc_check_stackoverflow(threadData);
2066 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2067 // _outGraph has no default value.
2068#line 2068 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2069 { /* match expression */
2070 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
2071 tmp3_1 = _inExp;
2072 tmp3_2 = _inGraph;
2073 {
2074 modelica_metatype _n = NULL((void*)0);
2075 modelica_metatype _nr = NULL((void*)0);
2076 modelica_metatype _e = NULL((void*)0);
2077 modelica_metatype _g = NULL((void*)0);
2078 volatile mmc_switch_type tmp3;
2079 int tmp4;
2080 // _n has no default value.
2081 // _nr has no default value.
2082 // _e has no default value.
2083 // _g has no default value.
2084 tmp3 = 0;
2085 for (; tmp3 < 1; tmp3++) {
2086 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2087 case 0: {
2088
2089 _e = tmp3_1;
2090 _g = tmp3_2;
2091 /* Pattern matching succeeded */
2092#line 699 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2093 tmpMeta[1] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
2094#line 699 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2095 tmpMeta[2] = mmc_mk_box3(19, &FCore_Data_EXP__desc, _inName, _e);
2096#line 699 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2097 _g = omc_FGraph_node(threadData, _g, _inName, tmpMeta[1], tmpMeta[2] ,&_n);
2098#line 2098 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2099
2100#line 700 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2101 _nr = omc_FNode_toRef(threadData, _n);
2102#line 2102 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2103
2104#line 701 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2105 omc_FNode_addChildRef(threadData, _inParentRef, _inName, _nr, 0);
2106#line 2106 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2107#line 702 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2108 tmpMeta[0] = omc_FGraphBuildEnv_analyseExp(threadData, _e, _nr, _inKind, _g);
2109#line 2109 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2110 goto tmp2_done;
2111 }
2112 }
2113 goto tmp2_end;
2114 tmp2_end: ;
2115 }
2116 goto goto_1;
2117 goto_1:;
2118 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2119 goto tmp2_done;
2120 tmp2_done:;
2121 }
2122 }
2123 _outGraph = tmpMeta[0];
2124 _return: OMC_LABEL_UNUSED__attribute__((unused))
2125 return _outGraph;
2126}
2127
2128DLLExport
2129modelica_metatype omc_FGraphBuildEnv_mkConditionNode(threadData_t *threadData, modelica_metatype _inCondition, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
2130{
2131 modelica_metatype _outGraph = NULL((void*)0);
2132 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2133 MMC_SO()mmc_check_stackoverflow(threadData);
2134 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2135 // _outGraph has no default value.
2136#line 2136 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2137 { /* match expression */
2138 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
2139 tmp3_1 = _inCondition;
2140 tmp3_2 = _inGraph;
2141 {
2142 modelica_metatype _e = NULL((void*)0);
2143 modelica_metatype _g = NULL((void*)0);
2144 volatile mmc_switch_type tmp3;
2145 int tmp4;
2146 // _e has no default value.
2147 // _g has no default value.
2148 tmp3 = 0;
2149 for (; tmp3 < 2; tmp3++) {
2150 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2151 case 0: {
2152 if (!optionNone(tmp3_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
2153
2154 _g = tmp3_2;
2155 /* Pattern matching succeeded */
2156#line 669 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2157 tmpMeta[0] = _g;
2158#line 2158 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2159 goto tmp2_done;
2160 }
2161 case 1: {
2162 if (optionNone(tmp3_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
2163 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
2164
2165 _e = tmpMeta[1];
2166 _g = tmp3_2;
2167 /* Pattern matching succeeded */
2168#line 674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2169 tmpMeta[0] = omc_FGraphBuildEnv_mkExpressionNode(threadData, _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)), _e, _inParentRef, _inKind, _g);
2170#line 2170 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2171 goto tmp2_done;
2172 }
2173 }
2174 goto tmp2_end;
2175 tmp2_end: ;
2176 }
2177 goto goto_1;
2178 goto_1:;
2179 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2180 goto tmp2_done;
2181 tmp2_done:;
2182 }
2183 }
2184 _outGraph = tmpMeta[0];
2185 _return: OMC_LABEL_UNUSED__attribute__((unused))
2186 return _outGraph;
2187}
2188
2189DLLExport
2190modelica_metatype omc_FGraphBuildEnv_mkInstNode(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _inParentRef, modelica_metatype _inGraph)
2191{
2192 modelica_metatype _outGraph = NULL((void*)0);
2193 modelica_metatype _nr = NULL((void*)0);
2194 modelica_metatype _n = NULL((void*)0);
2195 modelica_metatype _g = NULL((void*)0);
2196 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2197 MMC_SO()mmc_check_stackoverflow(threadData);
2198 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2199 // _outGraph has no default value.
2200 // _nr has no default value.
2201 // _n has no default value.
2202 // _g has no default value.
2203#line 648 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2204 tmpMeta[0] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
2205#line 648 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2206 tmpMeta[1] = mmc_mk_box2(4, &FCore_Data_IT__desc, _inVar);
2207#line 648 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2208 _g = omc_FGraph_node(threadData, _inGraph, _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)), tmpMeta[0], tmpMeta[1] ,&_n);
2209#line 2209 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2210
2211#line 649 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2212 _nr = omc_FNode_toRef(threadData, _n);
2213#line 2213 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2214
2215#line 650 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2216 omc_FNode_addChildRef(threadData, _inParentRef, _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)), _nr, 0);
2217#line 2217 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2218
2219#line 651 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2220 _outGraph = _g;
2221#line 2221 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2222 _return: OMC_LABEL_UNUSED__attribute__((unused))
2223 return _outGraph;
2224}
2225
2226DLLExport
2227modelica_metatype omc_FGraphBuildEnv_mkCompNode(threadData_t *threadData, modelica_metatype _inComp, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
2228{
2229 modelica_metatype _outGraph = NULL((void*)0);
2230 modelica_string _name = NULL((void*)0);
2231 modelica_metatype _g = NULL((void*)0);
2232 modelica_metatype _n = NULL((void*)0);
2233 modelica_metatype _nr = NULL((void*)0);
2234 modelica_metatype _m = NULL((void*)0);
2235 modelica_metatype _cnd = NULL((void*)0);
2236 modelica_metatype _ad = NULL((void*)0);
2237 modelica_metatype _ts = NULL((void*)0);
2238 modelica_metatype _tad = NULL((void*)0);
2239 modelica_metatype _nd = NULL((void*)0);
2240 modelica_metatype _i = NULL((void*)0);
2241 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
2242 MMC_SO()mmc_check_stackoverflow(threadData);
2243 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2244 // _outGraph has no default value.
2245 // _name has no default value.
2246 // _g has no default value.
2247 // _n has no default value.
2248 // _nr has no default value.
2249 // _m has no default value.
2250 // _cnd has no default value.
2251 // _ad has no default value.
2252 // _ts has no default value.
2253 // _tad has no default value.
2254 // _nd has no default value.
2255 // _i has no default value.
2256#line 625 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2257 /* Pattern-matching assignment */
2258#line 625 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2259 tmpMeta[0] = _inComp;
2260#line 625 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2261 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],3,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((8 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2262#line 625 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2263 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2264#line 625 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2265 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
2266#line 625 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2267 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2268#line 625 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2269 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
2270#line 625 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2271 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (6)))))
;
2272#line 625 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2273 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (8)))))
;
2274#line 625 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2275 _name = tmpMeta[1];
2276#line 625 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2277 _ad = tmpMeta[3];
Value stored to '_ad' is never read
2278#line 625 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2279 _ts = tmpMeta[4];
2280#line 625 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2281 _m = tmpMeta[5];
2282#line 625 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2283 _cnd = tmpMeta[6];
2284#line 2284 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2285
2286#line 626 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2287 _nd = omc_FNode_element2Data(threadData, _inComp, _inKind ,&_i);
2288#line 2288 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2289
2290#line 627 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2291 tmpMeta[0] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
2292#line 627 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2293 _g = omc_FGraph_node(threadData, _inGraph, _name, tmpMeta[0], _nd ,&_n);
2294#line 2294 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2295
2296#line 628 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2297 _nr = omc_FNode_toRef(threadData, _n);
2298#line 2298 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2299
2300#line 629 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2301 omc_FNode_addChildRef(threadData, _inParentRef, _name, _nr, 0);
2302#line 2302 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2303
2304#line 631 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2305 _g = omc_FGraphBuildEnv_mkInstNode(threadData, _i, _nr, _g);
2306#line 2306 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2307
2308#line 633 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2309 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2310#line 633 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2311 _g = omc_FGraphBuildEnv_mkRefNode(threadData, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), tmpMeta[0], _nr, _g);
2312#line 2312 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2313
2314#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2315 _outGraph = _g;
2316#line 2316 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2317 _return: OMC_LABEL_UNUSED__attribute__((unused))
2318 return _outGraph;
2319}
2320
2321DLLExport
2322modelica_metatype omc_FGraphBuildEnv_mkDimsNode__helper(threadData_t *threadData, modelica_integer _inStartWith, modelica_metatype _inArrayDims, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
2323{
2324 modelica_metatype _outGraph = NULL((void*)0);
2325 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2326 MMC_SO()mmc_check_stackoverflow(threadData);
2327 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2328 // _outGraph has no default value.
2329#line 2329 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2330 { /* match expression */
2331 modelica_integer tmp3_1;modelica_metatype tmp3_2;modelica_metatype tmp3_3;
2332 tmp3_1 = _inStartWith;
2333 tmp3_2 = _inArrayDims;
2334 tmp3_3 = _inGraph;
2335 {
2336 modelica_string _name = NULL((void*)0);
2337 modelica_metatype _rest = NULL((void*)0);
2338 modelica_integer _i;
2339 modelica_metatype _e = NULL((void*)0);
2340 modelica_metatype _g = NULL((void*)0);
2341 volatile mmc_switch_type tmp3;
2342 int tmp4;
2343 // _name has no default value.
2344 // _rest has no default value.
2345 // _i has no default value.
2346 // _e has no default value.
2347 // _g has no default value.
2348 tmp3 = 0;
2349 for (; tmp3 < 3; tmp3++) {
2350 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2351 case 0: {
2352 if (!listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2353
2354 _g = tmp3_3;
2355 /* Pattern matching succeeded */
2356#line 582 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2357 tmpMeta[0] = _g;
2358#line 2358 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2359 goto tmp2_done;
2360 }
2361 case 1: {
2362 if (listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2363 tmpMeta[1] = MMC_CAR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
2364 tmpMeta[2] = MMC_CDR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
2365 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],0,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((0 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
2366
2367 _rest = tmpMeta[2];
2368 _i = tmp3_1;
2369 _g = tmp3_3;
2370 /* Pattern matching succeeded */
2371#line 587 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2372 _name = intString(_i);
2373#line 2373 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2374
2375#line 588 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2376 _g = omc_FGraphBuildEnv_mkExpressionNode(threadData, _name, _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)), _inParentRef, _inKind, _g);
2377#line 2377 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2378#line 589 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2379 /* Tail recursive call */
2380#line 589 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2381 _inStartWith = ((modelica_integer) 1) + _i;
2382#line 589 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2383 _inArrayDims = _rest;
2384#line 589 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2385 _inGraph = _g;
2386#line 589 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2387 goto _tailrecursive;
2388#line 589 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2389 /* TODO: Make sure any eventual dead code below is never generated */
2390#line 2390 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2391 goto tmp2_done;
2392 }
2393 case 2: {
2394 if (listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2395 tmpMeta[1] = MMC_CAR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
2396 tmpMeta[2] = MMC_CDR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
2397 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
2398 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
2399
2400 _e = tmpMeta[3];
2401 _rest = tmpMeta[2];
2402 _i = tmp3_1;
2403 _g = tmp3_3;
2404 /* Pattern matching succeeded */
2405#line 596 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2406 _name = intString(_i);
2407#line 2407 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2408
2409#line 597 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2410 _g = omc_FGraphBuildEnv_mkExpressionNode(threadData, _name, _e, _inParentRef, _inKind, _g);
2411#line 2411 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2412#line 598 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2413 /* Tail recursive call */
2414#line 598 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2415 _inStartWith = ((modelica_integer) 1) + _i;
2416#line 598 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2417 _inArrayDims = _rest;
2418#line 598 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2419 _inGraph = _g;
2420#line 598 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2421 goto _tailrecursive;
2422#line 598 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2423 /* TODO: Make sure any eventual dead code below is never generated */
2424#line 2424 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2425 goto tmp2_done;
2426 }
2427 }
2428 goto tmp2_end;
2429 tmp2_end: ;
2430 }
2431 goto goto_1;
2432 goto_1:;
2433 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2434 goto tmp2_done;
2435 tmp2_done:;
2436 }
2437 }
2438 _outGraph = tmpMeta[0];
2439 _return: OMC_LABEL_UNUSED__attribute__((unused))
2440 return _outGraph;
2441}
2442modelica_metatype boxptr_FGraphBuildEnv_mkDimsNode__helper(threadData_t *threadData, modelica_metatype _inStartWith, modelica_metatype _inArrayDims, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
2443{
2444 modelica_integer tmp1;
2445 modelica_metatype _outGraph = NULL((void*)0);
2446 tmp1 = mmc_unbox_integer(_inStartWith)(((mmc_sint_t) (_inStartWith)) >> 1);
2447 _outGraph = omc_FGraphBuildEnv_mkDimsNode__helper(threadData, tmp1, _inArrayDims, _inParentRef, _inKind, _inGraph);
2448 /* skip box _outGraph; FCore.Graph */
2449 return _outGraph;
2450}
2451
2452DLLExport
2453modelica_metatype omc_FGraphBuildEnv_mkDimsNode(threadData_t *threadData, modelica_string _inName, modelica_metatype _inArrayDims, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
2454{
2455 modelica_metatype _outGraph = NULL((void*)0);
2456 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2457 MMC_SO()mmc_check_stackoverflow(threadData);
2458 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2459 // _outGraph has no default value.
2460#line 2460 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2461 { /* match expression */
2462 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
2463 tmp3_1 = _inArrayDims;
2464 tmp3_2 = _inGraph;
2465 {
2466 modelica_metatype _n = NULL((void*)0);
2467 modelica_metatype _nr = NULL((void*)0);
2468 modelica_metatype _a = NULL((void*)0);
2469 modelica_metatype _g = NULL((void*)0);
2470 volatile mmc_switch_type tmp3;
2471 int tmp4;
2472 // _n has no default value.
2473 // _nr has no default value.
2474 // _a has no default value.
2475 // _g has no default value.
2476 tmp3 = 0;
2477 for (; tmp3 < 3; tmp3++) {
2478 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2479 case 0: {
2480 if (!optionNone(tmp3_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
2481
2482 _g = tmp3_2;
2483 /* Pattern matching succeeded */
2484#line 546 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2485 tmpMeta[0] = _g;
2486#line 2486 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2487 goto tmp2_done;
2488 }
2489 case 1: {
2490 if (optionNone(tmp3_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
2491 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
2492 if (!listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2493
2494 _g = tmp3_2;
2495 /* Pattern matching succeeded */
2496#line 547 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2497 tmpMeta[0] = _g;
2498#line 2498 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2499 goto tmp2_done;
2500 }
2501 case 2: {
2502 if (optionNone(tmp3_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
2503 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
2504 if (listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2505 tmpMeta[2] = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
2506 tmpMeta[3] = MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
2507
2508 _a = tmpMeta[1];
2509 _g = tmp3_2;
2510 /* Pattern matching succeeded */
2511#line 552 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2512 tmpMeta[1] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
2513#line 552 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2514 tmpMeta[2] = mmc_mk_box3(21, &FCore_Data_DIMS__desc, _inName, _a);
2515#line 552 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2516 _g = omc_FGraph_node(threadData, _g, _inName, tmpMeta[1], tmpMeta[2] ,&_n);
2517#line 2517 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2518
2519#line 553 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2520 _nr = omc_FNode_toRef(threadData, _n);
2521#line 2521 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2522
2523#line 554 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2524 omc_FNode_addChildRef(threadData, _inParentRef, _inName, _nr, 0);
2525#line 2525 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2526#line 555 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2527 tmpMeta[0] = omc_FGraphBuildEnv_mkDimsNode__helper(threadData, ((modelica_integer) 0), _a, _nr, _inKind, _g);
2528#line 2528 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2529 goto tmp2_done;
2530 }
2531 }
2532 goto tmp2_end;
2533 tmp2_end: ;
2534 }
2535 goto goto_1;
2536 goto_1:;
2537 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2538 goto tmp2_done;
2539 tmp2_done:;
2540 }
2541 }
2542 _outGraph = tmpMeta[0];
2543 _return: OMC_LABEL_UNUSED__attribute__((unused))
2544 return _outGraph;
2545}
2546
2547DLLExport
2548modelica_metatype omc_FGraphBuildEnv_mkImportNode(threadData_t *threadData, modelica_metatype _inElement, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
2549{
2550 modelica_metatype _outGraph = NULL((void*)0);
2551 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2552 MMC_SO()mmc_check_stackoverflow(threadData);
2553 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2554 // _outGraph has no default value.
2555#line 2555 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2556 { /* matchcontinue expression */
2557 volatile modelica_metatype tmp3_1;
2558 tmp3_1 = _inGraph;
2559 {
2560 modelica_metatype _g = NULL((void*)0);
2561 modelica_metatype _n = NULL((void*)0);
2562 modelica_metatype _r = NULL((void*)0);
2563 volatile mmc_switch_type tmp3;
2564 int tmp4;
2565 // _g has no default value.
2566 // _n has no default value.
2567 // _r has no default value.
2568 tmp3 = 0;
2569 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) {
2570 tmp2_top:
2571 threadData->mmc_jumper = &new_mmc_jumper;
2572 for (; tmp3 < 2; tmp3++) {
2573 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2574 case 0: {
2575
2576 _g = tmp3_1;
2577 /* Pattern matching succeeded */
2578#line 512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2579 _r = omc_FNode_child(threadData, _inParentRef, _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
2580#line 2580 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2581
2582#line 513 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2583 omc_FNode_addImportToRef(threadData, _r, _inElement);
2584#line 2584 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2585#line 514 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2586 tmpMeta[0] = _g;
2587#line 2587 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2588 goto tmp2_done;
2589 }
2590 case 1: {
2591
2592 _g = tmp3_1;
2593 /* Pattern matching succeeded */
2594#line 520 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2595 tmpMeta[1] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
2596#line 520 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2597 _g = omc_FGraph_node(threadData, _g, _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)), tmpMeta[1], _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)) ,&_n);
2598#line 2598 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2599
2600#line 521 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2601 _r = omc_FNode_toRef(threadData, _n);
2602#line 2602 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2603
2604#line 522 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2605 omc_FNode_addChildRef(threadData, _inParentRef, _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)), _r, 0);
2606#line 2606 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2607
2608#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2609 omc_FNode_addImportToRef(threadData, _r, _inElement);
2610#line 2610 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2611#line 524 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2612 tmpMeta[0] = _g;
2613#line 2613 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2614 goto tmp2_done;
2615 }
2616 }
2617 goto tmp2_end;
2618 tmp2_end: ;
2619 }
2620 goto goto_1;
2621 tmp2_done:
2622 (void)tmp3;
2623 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2624 goto tmp2_done2;
2625 goto_1:;
2626 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2627 if (++tmp3 < 2) {
2628 goto tmp2_top;
2629 }
2630 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2631 tmp2_done2:;
2632 }
2633 }
2634 _outGraph = tmpMeta[0];
2635 _return: OMC_LABEL_UNUSED__attribute__((unused))
2636 return _outGraph;
2637}
2638
2639DLLExport
2640modelica_metatype omc_FGraphBuildEnv_mkUnitsNode(threadData_t *threadData, modelica_metatype _inElement, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
2641{
2642 modelica_metatype _outGraph = NULL((void*)0);
2643 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2644 MMC_SO()mmc_check_stackoverflow(threadData);
2645 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2646 // _outGraph has no default value.
2647#line 2647 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2648 { /* matchcontinue expression */
2649 volatile modelica_metatype tmp3_1;
2650 tmp3_1 = _inGraph;
2651 {
2652 modelica_metatype _g = NULL((void*)0);
2653 modelica_metatype _n = NULL((void*)0);
2654 modelica_metatype _r = NULL((void*)0);
2655 volatile mmc_switch_type tmp3;
2656 int tmp4;
2657 // _g has no default value.
2658 // _n has no default value.
2659 // _r has no default value.
2660 tmp3 = 0;
2661 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) {
2662 tmp2_top:
2663 threadData->mmc_jumper = &new_mmc_jumper;
2664 for (; tmp3 < 2; tmp3++) {
2665 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2666 case 0: {
2667
2668 _g = tmp3_1;
2669 /* Pattern matching succeeded */
2670#line 476 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2671 _r = omc_FNode_child(threadData, _inParentRef, _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)));
2672#line 2672 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2673
2674#line 477 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2675 omc_FNode_addDefinedUnitToRef(threadData, _r, _inElement);
2676#line 2676 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2677#line 478 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2678 tmpMeta[0] = _g;
2679#line 2679 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2680 goto tmp2_done;
2681 }
2682 case 1: {
2683
2684 _g = tmp3_1;
2685 /* Pattern matching succeeded */
2686#line 484 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2687 tmpMeta[1] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
2688#line 484 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2689 tmpMeta[2] = mmc_mk_cons(_inElement, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
2690#line 484 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2691 tmpMeta[3] = mmc_mk_box2(9, &FCore_Data_DU__desc, tmpMeta[2]);
2692#line 484 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2693 _g = omc_FGraph_node(threadData, _g, _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)), tmpMeta[1], tmpMeta[3] ,&_n);
2694#line 2694 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2695
2696#line 485 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2697 _r = omc_FNode_toRef(threadData, _n);
2698#line 2698 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2699
2700#line 486 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2701 omc_FNode_addChildRef(threadData, _inParentRef, _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)), _r, 0);
2702#line 2702 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2703#line 487 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2704 tmpMeta[0] = _g;
2705#line 2705 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2706 goto tmp2_done;
2707 }
2708 }
2709 goto tmp2_end;
2710 tmp2_end: ;
2711 }
2712 goto goto_1;
2713 tmp2_done:
2714 (void)tmp3;
2715 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2716 goto tmp2_done2;
2717 goto_1:;
2718 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2719 if (++tmp3 < 2) {
2720 goto tmp2_top;
2721 }
2722 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2723 tmp2_done2:;
2724 }
2725 }
2726 _outGraph = tmpMeta[0];
2727 _return: OMC_LABEL_UNUSED__attribute__((unused))
2728 return _outGraph;
2729}
2730
2731DLLExport
2732modelica_metatype omc_FGraphBuildEnv_mkElementNode(threadData_t *threadData, modelica_metatype _inElement, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
2733{
2734 modelica_metatype _outGraph = NULL((void*)0);
2735 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
2736 MMC_SO()mmc_check_stackoverflow(threadData);
2737 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2738 // _outGraph has no default value.
2739#line 2739 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2740 { /* match expression */
2741 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
2742 tmp3_1 = _inElement;
2743 tmp3_2 = _inGraph;
2744 {
2745 modelica_metatype _g = NULL((void*)0);
2746 modelica_string _name = NULL((void*)0);
2747 modelica_metatype _p = NULL((void*)0);
2748 modelica_metatype _n = NULL((void*)0);
2749 modelica_metatype _nr = NULL((void*)0);
2750 modelica_metatype _m = NULL((void*)0);
2751 int tmp3;
2752 // _g has no default value.
2753 // _name has no default value.
2754 // _p has no default value.
2755 // _n has no default value.
2756 // _nr has no default value.
2757 // _m has no default value.
2758 {
2759 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> 2
) & 255))
) {
2760 case 6: {
2761 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,3,8)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((8 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
2762
2763 _g = tmp3_2;
2764 /* Pattern matching succeeded */
2765#line 418 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2766 tmpMeta[0] = omc_FGraphBuildEnv_mkCompNode(threadData, _inElement, _inParentRef, _inKind, _g);
2767#line 2767 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2768 goto tmp2_done;
2769 }
2770 case 5: {
2771 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
2772
2773 _g = tmp3_2;
2774 /* Pattern matching succeeded */
2775#line 425 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2776 tmpMeta[0] = omc_FGraphBuildEnv_mkClassNode(threadData, _inElement, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)), _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)), _inParentRef, _inKind, _g, 0);
2777#line 2777 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2778 goto tmp2_done;
2779 }
2780 case 4: {
2781 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((5 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
2782 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2783 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
2784
2785 _p = tmpMeta[1];
2786 _m = tmpMeta[2];
2787 _g = tmp3_2;
2788 /* Pattern matching succeeded */
2789#line 432 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2790 _name = omc_FNode_mkExtendsName(threadData, _p);
2791#line 2791 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2792
2793#line 433 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2794 tmpMeta[1] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
2795#line 433 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2796 tmpMeta[2] = mmc_mk_box3(8, &FCore_Data_EX__desc, _inElement, _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
2797#line 433 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2798 _g = omc_FGraph_node(threadData, _g, _name, tmpMeta[1], tmpMeta[2] ,&_n);
2799#line 2799 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2800
2801#line 434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2802 _nr = omc_FNode_toRef(threadData, _n);
2803#line 2803 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2804
2805#line 435 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2806 omc_FNode_addChildRef(threadData, _inParentRef, _name, _nr, 0);
2807#line 2807 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2808
2809#line 436 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2810 _g = omc_FGraphBuildEnv_mkModNode(threadData, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)), _m, _nr, _inKind, _g);
2811#line 2811 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2812#line 437 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2813 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2814#line 437 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2815 tmpMeta[0] = omc_FGraphBuildEnv_mkRefNode(threadData, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), tmpMeta[1], _nr, _g);
2816#line 2816 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2817 goto tmp2_done;
2818 }
2819 case 3: {
2820 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
2821
2822 _g = tmp3_2;
2823 /* Pattern matching succeeded */
2824#line 443 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2825 tmpMeta[0] = omc_FGraphBuildEnv_mkImportNode(threadData, _inElement, _inParentRef, _inKind, _g);
2826#line 2826 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2827 goto tmp2_done;
2828 }
2829 case 7: {
2830 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,4,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((5 +1) <<
10) + (((4 +3) & 255) << 2)))
== 0) goto tmp2_end;
2831
2832 _g = tmp3_2;
2833 /* Pattern matching succeeded */
2834#line 449 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2835 tmpMeta[0] = omc_FGraphBuildEnv_mkUnitsNode(threadData, _inElement, _inParentRef, _inKind, _g);
2836#line 2836 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2837 goto tmp2_done;
2838 }
2839 }
2840 goto tmp2_end;
2841 tmp2_end: ;
2842 }
2843 goto goto_1;
2844 goto_1:;
2845 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2846 goto tmp2_done;
2847 tmp2_done:;
2848 }
2849 }
2850 _outGraph = tmpMeta[0];
2851 _return: OMC_LABEL_UNUSED__attribute__((unused))
2852 return _outGraph;
2853}
2854
2855PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_mkClassChildren(threadData_t *threadData, modelica_metatype _inClassDef, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
2856{
2857 modelica_metatype _outGraph = NULL((void*)0);
2858 modelica_metatype tmpMeta[9] __attribute__((unused)) = {0};
2859 MMC_SO()mmc_check_stackoverflow(threadData);
2860 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2861 // _outGraph has no default value.
2862#line 2862 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2863 { /* matchcontinue expression */
2864 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;
2865 tmp3_1 = _inClassDef;
2866 tmp3_2 = _inGraph;
2867 {
2868 modelica_metatype _el = NULL((void*)0);
2869 modelica_metatype _g = NULL((void*)0);
2870 modelica_metatype _cdef = NULL((void*)0);
2871 modelica_metatype _nr = NULL((void*)0);
2872 modelica_metatype _ts = NULL((void*)0);
2873 modelica_metatype _m = NULL((void*)0);
2874 modelica_metatype _ad = NULL((void*)0);
2875 modelica_metatype _eqs = NULL((void*)0);
2876 modelica_metatype _ieqs = NULL((void*)0);
2877 modelica_metatype _als = NULL((void*)0);
2878 modelica_metatype _ials = NULL((void*)0);
2879 modelica_metatype _constraintLst = NULL((void*)0);
2880 modelica_metatype _clsattrs = NULL((void*)0);
2881 modelica_metatype _externalDecl = NULL((void*)0);
2882 volatile mmc_switch_type tmp3;
2883 int tmp4;
2884 // _el has no default value.
2885 // _g has no default value.
2886 // _cdef has no default value.
2887 // _nr has no default value.
2888 // _ts has no default value.
2889 // _m has no default value.
2890 // _ad has no default value.
2891 // _eqs has no default value.
2892 // _ieqs has no default value.
2893 // _als has no default value.
2894 // _ials has no default value.
2895 // _constraintLst has no default value.
2896 // _clsattrs has no default value.
2897 // _externalDecl has no default value.
2898 tmp3 = 0;
2899 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) {
2900 tmp2_top:
2901 threadData->mmc_jumper = &new_mmc_jumper;
2902 for (; tmp3 < 6; tmp3++) {
2903 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2904 case 0: {
2905 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,8)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((8 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
2906 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2907 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2908 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
2909 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
2910 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
2911 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
2912 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(8)))))
;
2913 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(9)))))
;
2914
2915 _el = tmpMeta[1];
2916 _eqs = tmpMeta[2];
2917 _ieqs = tmpMeta[3];
2918 _als = tmpMeta[4];
2919 _ials = tmpMeta[5];
2920 _constraintLst = tmpMeta[6];
2921 _clsattrs = tmpMeta[7];
2922 _externalDecl = tmpMeta[8];
2923 _g = tmp3_2;
2924 tmp3 += 4; /* Pattern matching succeeded; we may skip some cases if we fail */
2925#line 353 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2926 _g = omc_List_fold2(threadData, _el, boxvar_FGraphBuildEnv_mkElementNode((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_mkElementNode
).header) + 3))
, _inParentRef, _inKind, _g);
2927#line 2927 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2928
2929#line 354 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2930 _g = omc_FGraphBuildEnv_mkEqNode(threadData, _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)), _eqs, _inParentRef, _inKind, _g);
2931#line 2931 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2932
2933#line 355 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2934 _g = omc_FGraphBuildEnv_mkEqNode(threadData, _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)), _ieqs, _inParentRef, _inKind, _g);
2935#line 2935 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2936
2937#line 356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2938 _g = omc_FGraphBuildEnv_mkAlNode(threadData, _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)), _als, _inParentRef, _inKind, _g);
2939#line 2939 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2940
2941#line 357 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2942 _g = omc_FGraphBuildEnv_mkAlNode(threadData, _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)), _ials, _inParentRef, _inKind, _g);
2943#line 2943 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2944
2945#line 358 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2946 _g = omc_FGraphBuildEnv_mkOptNode(threadData, _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)), _constraintLst, _clsattrs, _inParentRef, _inKind, _g);
2947#line 2947 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2948#line 359 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2949 tmpMeta[0] = omc_FGraphBuildEnv_mkExternalNode(threadData, _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)), _externalDecl, _inParentRef, _inKind, _g);
2950#line 2950 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2951 goto tmp2_done;
2952 }
2953 case 1: {
2954 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
2955 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2956 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2957
2958 _m = tmpMeta[1];
2959 _cdef = tmpMeta[2];
2960 _g = tmp3_2;
2961 tmp3 += 3; /* Pattern matching succeeded; we may skip some cases if we fail */
2962#line 365 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2963 _g = omc_FGraphBuildEnv_mkClassChildren(threadData, _cdef, _inParentRef, _inKind, _g);
2964#line 2964 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2965
2966#line 366 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2967 _g = omc_FGraphBuildEnv_mkModNode(threadData, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)), _m, _inParentRef, _inKind, _g);
2968#line 2968 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2969#line 367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2970 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2971#line 367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2972 tmpMeta[0] = omc_FGraphBuildEnv_mkRefNode(threadData, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), tmpMeta[1], _inParentRef, _g);
2973#line 2973 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2974 goto tmp2_done;
2975 }
2976 case 2: {
2977 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,2,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
2978 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2979 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2980
2981 _ts = tmpMeta[1];
2982 _m = tmpMeta[2];
2983 _g = tmp3_2;
2984 tmp3 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
2985#line 373 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2986 omc_AbsynUtil_typeSpecPath(threadData, _ts);
2987#line 2987 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2988
2989#line 374 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2990 _nr = _inParentRef;
2991#line 2991 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2992
2993#line 375 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2994 _g = omc_FGraphBuildEnv_mkModNode(threadData, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)), _m, _nr, _inKind, _g);
2995#line 2995 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
2996
2997#line 376 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
2998 _ad = omc_AbsynUtil_typeSpecDimensions(threadData, _ts);
2999#line 2999 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3000
3001#line 377 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3002 _g = omc_FGraphBuildEnv_mkDimsNode(threadData, _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)), mmc_mk_some(_ad), _nr, _inKind, _g);
3003#line 3003 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3004#line 378 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3005 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3006#line 378 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3007 tmpMeta[0] = omc_FGraphBuildEnv_mkRefNode(threadData, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), tmpMeta[1], _nr, _g);
3008#line 3008 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3009 goto tmp2_done;
3010 }
3011 case 3: {
3012 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,4,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((4 +3) & 255) << 2)))
== 0) goto tmp2_end;
3013
3014 _g = tmp3_2;
3015 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
3016#line 384 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3017 tmpMeta[0] = _g;
3018#line 3018 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3019 goto tmp2_done;
3020 }
3021 case 4: {
3022 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
3023
3024 _g = tmp3_2;
3025 /* Pattern matching succeeded */
3026#line 389 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3027 tmpMeta[0] = _g;
3028#line 3028 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3029 goto tmp2_done;
3030 }
3031 case 5: {
3032
3033 /* Pattern matching succeeded */
3034#line 392 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3035 tmpMeta[0] = _inGraph;
3036#line 3036 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3037 goto tmp2_done;
3038 }
3039 }
3040 goto tmp2_end;
3041 tmp2_end: ;
3042 }
3043 goto goto_1;
3044 tmp2_done:
3045 (void)tmp3;
3046 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3047 goto tmp2_done2;
3048 goto_1:;
3049 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3050 if (++tmp3 < 6) {
3051 goto tmp2_top;
3052 }
3053 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3054 tmp2_done2:;
3055 }
3056 }
3057 _outGraph = tmpMeta[0];
3058 _return: OMC_LABEL_UNUSED__attribute__((unused))
3059 return _outGraph;
3060}
3061
3062DLLExport
3063modelica_metatype omc_FGraphBuildEnv_mkBindingNode(threadData_t *threadData, modelica_metatype _inBinding, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
3064{
3065 modelica_metatype _outGraph = NULL((void*)0);
3066 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3067 MMC_SO()mmc_check_stackoverflow(threadData);
3068 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3069 // _outGraph has no default value.
3070#line 3070 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3071 { /* match expression */
3072 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
3073 tmp3_1 = _inBinding;
3074 tmp3_2 = _inGraph;
3075 {
3076 modelica_metatype _e = NULL((void*)0);
3077 modelica_metatype _g = NULL((void*)0);
3078 volatile mmc_switch_type tmp3;
3079 int tmp4;
3080 // _e has no default value.
3081 // _g has no default value.
3082 tmp3 = 0;
3083 for (; tmp3 < 2; tmp3++) {
3084 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3085 case 0: {
3086 if (!optionNone(tmp3_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
3087
3088 _g = tmp3_2;
3089 /* Pattern matching succeeded */
3090#line 302 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3091 tmpMeta[0] = _g;
3092#line 3092 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3093 goto tmp2_done;
3094 }
3095 case 1: {
3096 if (optionNone(tmp3_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
3097 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
3098
3099 _e = tmpMeta[1];
3100 _g = tmp3_2;
3101 /* Pattern matching succeeded */
3102#line 307 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3103 tmpMeta[0] = omc_FGraphBuildEnv_mkExpressionNode(threadData, _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)), _e, _inParentRef, _inKind, _g);
3104#line 3104 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3105 goto tmp2_done;
3106 }
3107 }
3108 goto tmp2_end;
3109 tmp2_end: ;
3110 }
3111 goto goto_1;
3112 goto_1:;
3113 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3114 goto tmp2_done;
3115 tmp2_done:;
3116 }
3117 }
3118 _outGraph = tmpMeta[0];
3119 _return: OMC_LABEL_UNUSED__attribute__((unused))
3120 return _outGraph;
3121}
3122
3123DLLExport
3124modelica_metatype omc_FGraphBuildEnv_mkSubMods(threadData_t *threadData, modelica_metatype _inSubMod, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
3125{
3126 modelica_metatype _outGraph = NULL((void*)0);
3127 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
3128 MMC_SO()mmc_check_stackoverflow(threadData);
3129 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3130 // _outGraph has no default value.
3131#line 3131 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3132 { /* match expression */
3133 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
3134 tmp3_1 = _inSubMod;
3135 tmp3_2 = _inGraph;
3136 {
3137 modelica_metatype _rest = NULL((void*)0);
3138 modelica_string _id = NULL((void*)0);
3139 modelica_metatype _m = NULL((void*)0);
3140 modelica_metatype _g = NULL((void*)0);
3141 volatile mmc_switch_type tmp3;
3142 int tmp4;
3143 // _rest has no default value.
3144 // _id has no default value.
3145 // _m has no default value.
3146 // _g has no default value.
3147 tmp3 = 0;
3148 for (; tmp3 < 2; tmp3++) {
3149 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3150 case 0: {
3151 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3152
3153 _g = tmp3_2;
3154 /* Pattern matching succeeded */
3155#line 273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3156 tmpMeta[0] = _g;
3157#line 3157 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3158 goto tmp2_done;
3159 }
3160 case 1: {
3161 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3162 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
3163 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3164 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3165 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
3166
3167 _id = tmpMeta[3];
3168 _m = tmpMeta[4];
3169 _rest = tmpMeta[2];
3170 _g = tmp3_2;
3171 /* Pattern matching succeeded */
3172#line 278 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3173 _g = omc_FGraphBuildEnv_mkModNode(threadData, _id, _m, _inParentRef, _inKind, _g);
3174#line 3174 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3175#line 279 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3176 /* Tail recursive call */
3177#line 279 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3178 _inSubMod = _rest;
3179#line 279 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3180 _inGraph = _g;
3181#line 279 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3182 goto _tailrecursive;
3183#line 279 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3184 /* TODO: Make sure any eventual dead code below is never generated */
3185#line 3185 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3186 goto tmp2_done;
3187 }
3188 }
3189 goto tmp2_end;
3190 tmp2_end: ;
3191 }
3192 goto goto_1;
3193 goto_1:;
3194 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3195 goto tmp2_done;
3196 tmp2_done:;
3197 }
3198 }
3199 _outGraph = tmpMeta[0];
3200 _return: OMC_LABEL_UNUSED__attribute__((unused))
3201 return _outGraph;
3202}
3203
3204DLLExport
3205modelica_metatype omc_FGraphBuildEnv_mkModNode(threadData_t *threadData, modelica_string _inName, modelica_metatype _inMod, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
3206{
3207 modelica_metatype _outGraph = NULL((void*)0);
3208 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
3209 MMC_SO()mmc_check_stackoverflow(threadData);
3210 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3211 // _outGraph has no default value.
3212#line 3212 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3213 { /* matchcontinue expression */
3214 volatile modelica_string tmp3_1;volatile modelica_metatype tmp3_2;volatile modelica_metatype tmp3_3;
3215 tmp3_1 = _inName;
3216 tmp3_2 = _inMod;
3217 tmp3_3 = _inGraph;
3218 {
3219 modelica_string _name = NULL((void*)0);
3220 modelica_metatype _g = NULL((void*)0);
3221 modelica_metatype _n = NULL((void*)0);
3222 modelica_metatype _nr = NULL((void*)0);
3223 modelica_metatype _e = NULL((void*)0);
3224 modelica_metatype _sm = NULL((void*)0);
3225 modelica_metatype _b = NULL((void*)0);
3226 volatile mmc_switch_type tmp3;
3227 int tmp4;
3228 // _name has no default value.
3229 // _g has no default value.
3230 // _n has no default value.
3231 // _nr has no default value.
3232 // _e has no default value.
3233 // _sm has no default value.
3234 // _b has no default value.
3235 tmp3 = 0;
3236 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) {
3237 tmp2_top:
3238 threadData->mmc_jumper = &new_mmc_jumper;
3239 for (; tmp3 < 6; tmp3++) {
3240 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3241 case 0: {
3242 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,2,0)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((0 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
3243
3244 _g = tmp3_3;
3245 tmp3 += 4; /* Pattern matching succeeded; we may skip some cases if we fail */
3246#line 209 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3247 tmpMeta[0] = _g;
3248#line 3248 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3249 goto tmp2_done;
3250 }
3251 case 1: {
3252 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,0,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((5 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3253 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
3254 if (!listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3255 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(5)))))
;
3256 if (!optionNone(tmpMeta[2])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[2]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
3257
3258 _g = tmp3_3;
3259 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
3260#line 213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3261 tmpMeta[0] = _g;
3262#line 3262 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3263 goto tmp2_done;
3264 }
3265 case 2: {
3266 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,0,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((5 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3267 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
3268 if (!listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3269 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(5)))))
;
3270 if (optionNone(tmpMeta[2])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[2]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
3271 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
3272
3273 _b = tmpMeta[2];
3274 _name = tmp3_1;
3275 _g = tmp3_3;
3276 /* Pattern matching succeeded */
3277#line 219 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3278 tmpMeta[1] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3279#line 219 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3280 tmpMeta[2] = mmc_mk_box2(18, &FCore_Data_MO__desc, _inMod);
3281#line 219 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3282 _g = omc_FGraph_node(threadData, _g, _name, tmpMeta[1], tmpMeta[2] ,&_n);
3283#line 3283 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3284
3285#line 220 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3286 _nr = omc_FNode_toRef(threadData, _n);
3287#line 3287 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3288
3289#line 221 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3290 omc_FNode_addChildRef(threadData, _inParentRef, _name, _nr, 0);
3291#line 3291 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3292#line 222 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3293 tmpMeta[0] = omc_FGraphBuildEnv_mkBindingNode(threadData, _b, _nr, _inKind, _g);
3294#line 3294 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3295 goto tmp2_done;
3296 }
3297 case 3: {
3298 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,0,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((5 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3299 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
3300 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(5)))))
;
3301
3302 _sm = tmpMeta[1];
3303 _b = tmpMeta[2];
3304 _name = tmp3_1;
3305 _g = tmp3_3;
3306 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
3307#line 229 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3308 tmpMeta[1] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3309#line 229 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3310 tmpMeta[2] = mmc_mk_box2(18, &FCore_Data_MO__desc, _inMod);
3311#line 229 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3312 _g = omc_FGraph_node(threadData, _g, _name, tmpMeta[1], tmpMeta[2] ,&_n);
3313#line 3313 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3314
3315#line 230 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3316 _nr = omc_FNode_toRef(threadData, _n);
3317#line 3317 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3318
3319#line 231 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3320 omc_FNode_addChildRef(threadData, _inParentRef, _name, _nr, 0);
3321#line 3321 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3322
3323#line 232 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3324 _g = omc_FGraphBuildEnv_mkSubMods(threadData, _sm, _nr, _inKind, _g);
3325#line 3325 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3326#line 233 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3327 tmpMeta[0] = omc_FGraphBuildEnv_mkBindingNode(threadData, _b, _nr, _inKind, _g);
3328#line 3328 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3329 goto tmp2_done;
3330 }
3331 case 4: {
3332 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
3333 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
3334
3335 _e = tmpMeta[1];
3336 _name = tmp3_1;
3337 _g = tmp3_3;
3338 /* Pattern matching succeeded */
3339#line 240 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3340 tmpMeta[1] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3341#line 240 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3342 tmpMeta[2] = mmc_mk_box2(18, &FCore_Data_MO__desc, _inMod);
3343#line 240 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3344 _g = omc_FGraph_node(threadData, _g, _name, tmpMeta[1], tmpMeta[2] ,&_n);
3345#line 3345 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3346
3347#line 241 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3348 _nr = omc_FNode_toRef(threadData, _n);
3349#line 3349 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3350
3351#line 242 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3352 omc_FNode_addChildRef(threadData, _inParentRef, _name, _nr, 0);
3353#line 3353 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3354#line 243 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3355 tmpMeta[0] = omc_FGraphBuildEnv_mkElementNode(threadData, _e, _nr, _inKind, _g);
3356#line 3356 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3357 goto tmp2_done;
3358 }
3359 case 5: {
3360
3361 _name = tmp3_1;
3362 _g = tmp3_3;
3363 /* Pattern matching succeeded */
3364#line 250 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3365 tmpMeta[1] = stringAppend(_OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)),_name);
3366#line 250 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3367 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)));
3368#line 250 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3369 tmpMeta[3] = stringAppend(tmpMeta[2],omc_SCodeDump_printModStr(threadData, _inMod, _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))));
3370#line 250 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3371 tmpMeta[4] = stringAppend(tmpMeta[3],_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)));
3372#line 250 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3373 fputs(MMC_STRINGDATA(tmpMeta[4])(((struct mmc_string*)((void*)((char*)(tmpMeta[4]) - 3)))->
data)
,stdoutstdout);
3374#line 3374 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3375#line 251 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3376 tmpMeta[0] = _g;
3377#line 3377 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3378 goto tmp2_done;
3379 }
3380 }
3381 goto tmp2_end;
3382 tmp2_end: ;
3383 }
3384 goto goto_1;
3385 tmp2_done:
3386 (void)tmp3;
3387 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3388 goto tmp2_done2;
3389 goto_1:;
3390 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3391 if (++tmp3 < 6) {
3392 goto tmp2_top;
3393 }
3394 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3395 tmp2_done2:;
3396 }
3397 }
3398 _outGraph = tmpMeta[0];
3399 _return: OMC_LABEL_UNUSED__attribute__((unused))
3400 return _outGraph;
3401}
3402
3403DLLExport
3404modelica_metatype omc_FGraphBuildEnv_mkConstrainClass(threadData_t *threadData, modelica_metatype _inElement, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph)
3405{
3406 modelica_metatype _outGraph = NULL((void*)0);
3407 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
3408 MMC_SO()mmc_check_stackoverflow(threadData);
3409 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3410 // _outGraph has no default value.
3411#line 3411 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3412 { /* matchcontinue expression */
3413 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;
3414 tmp3_1 = _inElement;
3415 tmp3_2 = _inGraph;
3416 {
3417 modelica_metatype _g = NULL((void*)0);
3418 modelica_metatype _n = NULL((void*)0);
3419 modelica_metatype _nr = NULL((void*)0);
3420 modelica_metatype _cc = NULL((void*)0);
3421 volatile mmc_switch_type tmp3;
3422 int tmp4;
3423 // _g has no default value.
3424 // _n has no default value.
3425 // _nr has no default value.
3426 // _cc has no default value.
3427 tmp3 = 0;
3428 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) {
3429 tmp2_top:
3430 threadData->mmc_jumper = &new_mmc_jumper;
3431 for (; tmp3 < 3; tmp3++) {
3432 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3433 case 0: {
3434 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
3435 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
3436 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (6)))))
;
3437 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3438 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
3439 if (optionNone(tmpMeta[3])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[3]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
3440 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
3441
3442 _cc = tmpMeta[4];
3443 _g = tmp3_2;
3444 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
3445#line 170 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3446 tmpMeta[1] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3447#line 170 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3448 tmpMeta[2] = mmc_mk_box2(22, &FCore_Data_CC__desc, _cc);
3449#line 170 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3450 _g = omc_FGraph_node(threadData, _g, _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)), tmpMeta[1], tmpMeta[2] ,&_n);
3451#line 3451 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3452
3453#line 171 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3454 _nr = omc_FNode_toRef(threadData, _n);
3455#line 3455 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3456
3457#line 172 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3458 omc_FNode_addChildRef(threadData, _inParentRef, _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)), _nr, 0);
3459#line 3459 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3460#line 173 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3461 tmpMeta[0] = _g;
3462#line 3462 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3463 goto tmp2_done;
3464 }
3465 case 1: {
3466 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,3,8)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((8 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
3467 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
3468 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (6)))))
;
3469 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3470 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
3471 if (optionNone(tmpMeta[3])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[3]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
3472 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
3473
3474 _cc = tmpMeta[4];
3475 _g = tmp3_2;
3476 /* Pattern matching succeeded */
3477#line 178 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3478 tmpMeta[1] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3479#line 178 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3480 tmpMeta[2] = mmc_mk_box2(22, &FCore_Data_CC__desc, _cc);
3481#line 178 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3482 _g = omc_FGraph_node(threadData, _g, _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)), tmpMeta[1], tmpMeta[2] ,&_n);
3483#line 3483 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3484
3485#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3486 _nr = omc_FNode_toRef(threadData, _n);
3487#line 3487 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3488
3489#line 180 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3490 omc_FNode_addChildRef(threadData, _inParentRef, _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)), _nr, 0);
3491#line 3491 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3492#line 181 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3493 tmpMeta[0] = _g;
3494#line 3494 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3495 goto tmp2_done;
3496 }
3497 case 2: {
3498
3499 /* Pattern matching succeeded */
3500#line 185 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3501 tmpMeta[0] = _inGraph;
3502#line 3502 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3503 goto tmp2_done;
3504 }
3505 }
3506 goto tmp2_end;
3507 tmp2_end: ;
3508 }
3509 goto goto_1;
3510 tmp2_done:
3511 (void)tmp3;
3512 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3513 goto tmp2_done2;
3514 goto_1:;
3515 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3516 if (++tmp3 < 3) {
3517 goto tmp2_top;
3518 }
3519 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3520 tmp2_done2:;
3521 }
3522 }
3523 _outGraph = tmpMeta[0];
3524 _return: OMC_LABEL_UNUSED__attribute__((unused))
3525 return _outGraph;
3526}
3527
3528DLLExport
3529modelica_metatype omc_FGraphBuildEnv_mkClassNode(threadData_t *threadData, modelica_metatype _inClass, modelica_metatype _inPrefix, modelica_metatype _inMod, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph, modelica_boolean _checkDuplicate)
3530{
3531 modelica_metatype _outGraph = NULL((void*)0);
3532 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
3533 MMC_SO()mmc_check_stackoverflow(threadData);
3534 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3535 // _outGraph has no default value.
3536#line 3536 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3537 { /* match expression */
3538 modelica_metatype tmp3_1;
3539 tmp3_1 = _inGraph;
3540 {
3541 modelica_metatype _cls = NULL((void*)0);
3542 modelica_string _name = NULL((void*)0);
3543 modelica_metatype _g = NULL((void*)0);
3544 modelica_metatype _n = NULL((void*)0);
3545 modelica_metatype _nr = NULL((void*)0);
3546 volatile mmc_switch_type tmp3;
3547 int tmp4;
3548 // _cls has no default value.
3549 // _name has no default value.
3550 // _g has no default value.
3551 // _n has no default value.
3552 // _nr has no default value.
3553 tmp3 = 0;
3554 for (; tmp3 < 1; tmp3++) {
3555 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3556 case 0: {
3557
3558 _g = tmp3_1;
3559 /* Pattern matching succeeded */
3560#line 142 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3561 _cls = omc_SCodeInstUtil_expandEnumerationClass(threadData, _inClass);
3562#line 3562 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3563
3564#line 143 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3565 /* Pattern-matching assignment */
3566#line 143 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3567 tmpMeta[1] = _cls;
3568#line 143 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3569 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto goto_1;
3570#line 143 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3571 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3572#line 143 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3573 _name = tmpMeta[2];
3574#line 3574 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3575
3576#line 144 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3577 tmpMeta[1] = mmc_mk_cons(_inParentRef, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3578#line 144 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3579 tmpMeta[2] = mmc_mk_box6(6, &FCore_Data_CL__desc, _cls, _inPrefix, _inMod, _inKind, _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)));
3580#line 144 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3581 _g = omc_FGraph_node(threadData, _g, _name, tmpMeta[1], tmpMeta[2] ,&_n);
3582#line 3582 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3583
3584#line 145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3585 _nr = omc_FNode_toRef(threadData, _n);
3586#line 3586 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3587
3588#line 146 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3589 omc_FNode_addChildRef(threadData, _inParentRef, _name, _nr, _checkDuplicate);
3590#line 3590 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3591#line 148 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3592 tmpMeta[0] = _g;
3593#line 3593 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3594 goto tmp2_done;
3595 }
3596 }
3597 goto tmp2_end;
3598 tmp2_end: ;
3599 }
3600 goto goto_1;
3601 goto_1:;
3602 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3603 goto tmp2_done;
3604 tmp2_done:;
3605 }
3606 }
3607 _outGraph = tmpMeta[0];
3608 _return: OMC_LABEL_UNUSED__attribute__((unused))
3609 return _outGraph;
3610}
3611modelica_metatype boxptr_FGraphBuildEnv_mkClassNode(threadData_t *threadData, modelica_metatype _inClass, modelica_metatype _inPrefix, modelica_metatype _inMod, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph, modelica_metatype _checkDuplicate)
3612{
3613 modelica_integer tmp1;
3614 modelica_metatype _outGraph = NULL((void*)0);
3615 tmp1 = mmc_unbox_integer(_checkDuplicate)(((mmc_sint_t) (_checkDuplicate)) >> 1);
3616 _outGraph = omc_FGraphBuildEnv_mkClassNode(threadData, _inClass, _inPrefix, _inMod, _inParentRef, _inKind, _inGraph, tmp1);
3617 /* skip box _outGraph; FCore.Graph */
3618 return _outGraph;
3619}
3620
3621PROTECTED_FUNCTION_STATIC modelica_metatype omc_FGraphBuildEnv_mkClassGraph(threadData_t *threadData, modelica_metatype _inClass, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph, modelica_boolean _checkDuplicate)
3622{
3623 modelica_metatype _outGraph = NULL((void*)0);
3624 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3625 MMC_SO()mmc_check_stackoverflow(threadData);
3626 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3627 // _outGraph has no default value.
3628#line 3628 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3629 { /* match expression */
3630 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
3631 tmp3_1 = _inClass;
3632 tmp3_2 = _inGraph;
3633 {
3634 modelica_metatype _g = NULL((void*)0);
3635 volatile mmc_switch_type tmp3;
3636 int tmp4;
3637 // _g has no default value.
3638 tmp3 = 0;
3639 for (; tmp3 < 1; tmp3++) {
3640 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3641 case 0: {
3642 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
3643
3644 _g = tmp3_2;
3645 /* Pattern matching succeeded */
3646#line 112 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3647 tmpMeta[0] = omc_FGraphBuildEnv_mkClassNode(threadData, _inClass, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)), _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)), _inParentRef, _inKind, _g, _checkDuplicate);
3648#line 3648 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3649 goto tmp2_done;
3650 }
3651 }
3652 goto tmp2_end;
3653 tmp2_end: ;
3654 }
3655 goto goto_1;
3656 goto_1:;
3657 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3658 goto tmp2_done;
3659 tmp2_done:;
3660 }
3661 }
3662 _outGraph = tmpMeta[0];
3663 _return: OMC_LABEL_UNUSED__attribute__((unused))
3664 return _outGraph;
3665}
3666PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_FGraphBuildEnv_mkClassGraph(threadData_t *threadData, modelica_metatype _inClass, modelica_metatype _inParentRef, modelica_metatype _inKind, modelica_metatype _inGraph, modelica_metatype _checkDuplicate)
3667{
3668 modelica_integer tmp1;
3669 modelica_metatype _outGraph = NULL((void*)0);
3670 tmp1 = mmc_unbox_integer(_checkDuplicate)(((mmc_sint_t) (_checkDuplicate)) >> 1);
3671 _outGraph = omc_FGraphBuildEnv_mkClassGraph(threadData, _inClass, _inParentRef, _inKind, _inGraph, tmp1);
3672 /* skip box _outGraph; FCore.Graph */
3673 return _outGraph;
3674}
3675
3676DLLExport
3677modelica_metatype omc_FGraphBuildEnv_mkProgramGraph(threadData_t *threadData, modelica_metatype _inProgram, modelica_metatype _inKind, modelica_metatype _D_24in_graph)
3678{
3679 modelica_metatype _graph = NULL((void*)0);
3680 modelica_metatype _topRef = NULL((void*)0);
3681 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3682 MMC_SO()mmc_check_stackoverflow(threadData);
3683 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3684 _graph = _D_24in_graph;
3685 // _topRef has no default value.
3686#line 86 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3687 _topRef = omc_FGraph_top(threadData, _graph);
3688#line 3688 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3689
3690#line 88 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3691 {
3692#line 88 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3693 modelica_metatype _cls;
3694#line 88 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3695 for (tmpMeta[0] = _inProgram; !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)))))
)
3696#line 88 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3697 {
3698#line 88 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3699 _cls = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
3700#line 89 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FFrontEnd/FGraphBuildEnv.mo"
3701 _graph = omc_FGraphBuildEnv_mkClassGraph(threadData, _cls, _topRef, _inKind, _graph, 1);
3702#line 3702 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/FGraphBuildEnv.c"
3703 }
3704 }
3705 _return: OMC_LABEL_UNUSED__attribute__((unused))
3706 return _graph;
3707}
3708