Bug Summary

File:OMCompiler/Compiler/boot/build/CevalFunction.c
Warning:line 3600, column 11
Value stored to '_cache' is never read

Annotated Source Code

[?] Use j/k keys for keyboard navigation

1#ifdef OMC_BASE_FILE
2 #define OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.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/CevalFunction.c" "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "CevalFunction.h"
8#define _OMC_LIT0_data"," ","
9static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT0,1,_OMC_LIT0_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT0
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), ","
}
;
10#define _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT0)((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3))
11#define _OMC_LIT1_data"}, {" "}, {"
12static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT1,4,_OMC_LIT1_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT1
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "}, {"
}
;
13#define _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT1)((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))
14#define _OMC_LIT2_data"{" "{"
15static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT2,1,_OMC_LIT2_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT2
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "{"
}
;
16#define _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT2)((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))
17#define _OMC_LIT3_data"}" "}"
18static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT3,1,_OMC_LIT3_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT3
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "}"
}
;
19#define _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT3)((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3))
20#define _OMC_LIT4_data"" ""
21static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT4,0,_OMC_LIT4_data)struct { mmc_uint_t header; const char data[(0)+1]; } _OMC_LIT_STRUCT4
= { ((((mmc_uint_t)0)<<(3))+((1<<(3+3))+5)), "" }
;
22#define _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT4)((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))
23static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT5,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT5
= { (((1) << 10) + (((5) & 255) << 2)),
{&ErrorTypes_MessageType_TRANSLATION__desc,}};
24#define _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT5)((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))
25static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT6,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT6
= { (((1) << 10) + (((4) & 255) << 2)),
{&ErrorTypes_Severity_ERROR__desc,}};
26#define _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT6)((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))
27#define _OMC_LIT7_data"Cyclically dependent constants or parameters found in scope %s: %s (ignore with -d=ignoreCycles)." "Cyclically dependent constants or parameters found in scope %s: %s (ignore with -d=ignoreCycles)."
28static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT7,97,_OMC_LIT7_data)struct { mmc_uint_t header; const char data[(97)+1]; } _OMC_LIT_STRUCT7
= { ((((mmc_uint_t)97)<<(3))+((1<<(3+3))+5)), "Cyclically dependent constants or parameters found in scope %s: %s (ignore with -d=ignoreCycles)."
}
;
29#define _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT7)((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))
30static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT8,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT8
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))}};
31#define _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT8)((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))
32static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT9,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT9
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(170))((void*)(((((mmc_uint_t) (170)) << 1)+0))),_OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)),_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),_OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))}};
33#define _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT9)((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))
34#define _OMC_LIT10_data"Internal error %s" "Internal error %s"
35static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT10,17,_OMC_LIT10_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT10
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "Internal error %s"
}
;
36#define _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT10)((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))
37static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT11,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT11
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))}};
38#define _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT11)((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))
39static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT12,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT12
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(63))((void*)(((((mmc_uint_t) (63)) << 1)+0))),_OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)),_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))}};
40#define _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT12)((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))
41#define _OMC_LIT13_data"Different iterators in CevalFunction.compareIterators." "Different iterators in CevalFunction.compareIterators."
42static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT13,54,_OMC_LIT13_data)struct { mmc_uint_t header; const char data[(54)+1]; } _OMC_LIT_STRUCT13
= { ((((mmc_uint_t)54)<<(3))+((1<<(3+3))+5)), "Different iterators in CevalFunction.compareIterators."
}
;
43#define _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT13)((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))
44static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT14,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT14
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
45#define _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT14)((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))
46static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT15,1,16)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT15
= { (((1) << 10) + (((16) & 255) << 2)),
{&Values_Value_NORETCALL__desc,}};
47#define _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT15)((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))
48#define _OMC_LIT16_data"failtrace" "failtrace"
49static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT16,9,_OMC_LIT16_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT16
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "failtrace"
}
;
50#define _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT16)((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))
51#define _OMC_LIT17_data"Sets whether to print a failtrace or not." "Sets whether to print a failtrace or not."
52static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT17,41,_OMC_LIT17_data)struct { mmc_uint_t header; const char data[(41)+1]; } _OMC_LIT_STRUCT17
= { ((((mmc_uint_t)41)<<(3))+((1<<(3+3))+5)), "Sets whether to print a failtrace or not."
}
;
53#define _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT17)((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))
54static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT18,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT18
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))}};
55#define _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT18)((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))
56static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT19,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT19
= { (((5) << 10) + (((3) & 255) << 2)),
{&Flags_DebugFlag_DEBUG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),_OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))}};
57#define _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT19)((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))
58#define _OMC_LIT20_data"- CevalFunction.getRecordVarBindingAndName failed on variable " "- CevalFunction.getRecordVarBindingAndName failed on variable "
59static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT20,62,_OMC_LIT20_data)struct { mmc_uint_t header; const char data[(62)+1]; } _OMC_LIT_STRUCT20
= { ((((mmc_uint_t)62)<<(3))+((1<<(3+3))+5)), "- CevalFunction.getRecordVarBindingAndName failed on variable "
}
;
60#define _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT20)((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))
61#define _OMC_LIT21_data"\n" "\n"
62static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT21,1,_OMC_LIT21_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT21
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "\n"
}
;
63#define _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT21)((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))
64static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT22,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT22
= { (((2) << 10) + (((3) & 255) << 2)),
{&Values_Value_INTEGER__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
65#define _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT22)((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))
66static const MMC_DEFREALLIT(_OMC_LIT_STRUCT23,0.0)struct mmc_real_lit _OMC_LIT_STRUCT23 = {0,(((8/8) << 10
) + 9),0.0}
;
67#define _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT23)((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))
68static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT24,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT24
= { (((2) << 10) + (((4) & 255) << 2)),
{&Values_Value_REAL__desc,_OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))}};
69#define _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT24)((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))
70static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT25,2,5)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT25
= { (((2) << 10) + (((5) & 255) << 2)),
{&Values_Value_STRING__desc,_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))}};
71#define _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT25)((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))
72static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT26,2,6)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT26
= { (((2) << 10) + (((6) & 255) << 2)),
{&Values_Value_BOOL__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
73#define _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT26)((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))
74static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT27,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT27
= { (((2) << 10) + (((4) & 255) << 2)),
{&Absyn_Path_IDENT__desc,_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))}};
75#define _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT27)((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))
76static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT28,3,7)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT28
= { (((3) << 10) + (((7) & 255) << 2)),
{&Values_Value_ENUM__LITERAL__desc,_OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
77#define _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT28)((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))
78#define _OMC_LIT29_data"- CevalFunction.generateDefaultBinding failed\n" "- CevalFunction.generateDefaultBinding failed\n"
79static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT29,46,_OMC_LIT29_data)struct { mmc_uint_t header; const char data[(46)+1]; } _OMC_LIT_STRUCT29
= { ((((mmc_uint_t)46)<<(3))+((1<<(3+3))+5)), "- CevalFunction.generateDefaultBinding failed\n"
}
;
80#define _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT29)((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3))
81static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT30,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT30
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_BindingSource_BINDING__FROM__DEFAULT__VALUE__desc,}};
82#define _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT30)((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))
83static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT31,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT31
= { (((1) << 10) + (((4) & 255) << 2)),
{&FCore_Status_VAR__TYPED__desc,}};
84#define _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT31)((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))
85#define _OMC_LIT32_data"- CevalFunction.assignVector failed on: " "- CevalFunction.assignVector failed on: "
86static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT32,40,_OMC_LIT32_data)struct { mmc_uint_t header; const char data[(40)+1]; } _OMC_LIT_STRUCT32
= { ((((mmc_uint_t)40)<<(3))+((1<<(3+3))+5)), "- CevalFunction.assignVector failed on: "
}
;
87#define _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT32)((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))
88static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT33,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT33
= { (((2) << 10) + (((3) & 255) << 2)),
{&DAE_Dimension_DIM__INTEGER__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
89#define _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT33)((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))
90static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT34,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT34
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
91#define _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT34)((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))
92static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT35,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT35
= { (((2) << 10) + (((3) & 255) << 2)),
{&DAE_Dimension_DIM__INTEGER__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(2))((void*)(((((mmc_uint_t) (2)) << 1)+0)))}};
93#define _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT35)((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3))
94#define _OMC_LIT36_data"- CevalFunction.appendDimensions2 failed\n" "- CevalFunction.appendDimensions2 failed\n"
95static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT36,41,_OMC_LIT36_data)struct { mmc_uint_t header; const char data[(41)+1]; } _OMC_LIT_STRUCT36
= { ((((mmc_uint_t)41)<<(3))+((1<<(3+3))+5)), "- CevalFunction.appendDimensions2 failed\n"
}
;
96#define _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT36)((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))
97static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT37,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT37
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_Binding_UNBOUND__desc,}};
98#define _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT37)((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3))
99static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT38,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT38
= { (((1) << 10) + (((6) & 255) << 2)),
{&SCode_Variability_CONST__desc,}};
100#define _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT38)((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))
101static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT39,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT39
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_Const_C__CONST__desc,}};
102#define _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT39)((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))
103static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT40,1,1)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT40
= { (((1) << 10) + (((1) & 255) << 2)),
{_OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))}};
104#define _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT40)((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))
105#define _OMC_LIT41_data"$functionEvaluation" "$functionEvaluation"
106static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT41,19,_OMC_LIT41_data)struct { mmc_uint_t header; const char data[(19)+1]; } _OMC_LIT_STRUCT41
= { ((((mmc_uint_t)19)<<(3))+((1<<(3+3))+5)), "$functionEvaluation"
}
;
107#define _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT41)((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))
108static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT42,2,24)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT42
= { (((2) << 10) + (((24) & 255) << 2)),
{&FCore_Data_ND__desc,MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3))}};
109#define _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT42)((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))
110static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT43,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT43
= { (((1) << 10) + (((6) & 255) << 2)),
{&DAE_ConnectorType_NON__CONNECTOR__desc,}};
111#define _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT43)((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))
112static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT44,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT44
= { (((1) << 10) + (((5) & 255) << 2)),
{&SCode_Parallelism_NON__PARALLEL__desc,}};
113#define _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT44)((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))
114static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT45,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT45
= { (((1) << 10) + (((3) & 255) << 2)),
{&SCode_Variability_VAR__desc,}};
115#define _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT45)((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))
116static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT46,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT46
= { (((1) << 10) + (((5) & 255) << 2)),
{&Absyn_Direction_BIDIR__desc,}};
117#define _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT46)((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))
118static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT47,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT47
= { (((1) << 10) + (((6) & 255) << 2)),
{&Absyn_InnerOuter_NOT__INNER__OUTER__desc,}};
119#define _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT47)((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))
120static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT48,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT48
= { (((1) << 10) + (((3) & 255) << 2)),
{&SCode_Visibility_PUBLIC__desc,}};
121#define _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT48)((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))
122static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT49,7,3)struct { mmc_uint_t header; const void *data[7]; } _OMC_LIT_STRUCT49
= { (((7) << 10) + (((3) & 255) << 2)),
{&DAE_Attributes_ATTR__desc,_OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)),_OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)),_OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)),_OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)),_OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)),_OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))}};
123#define _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT49)((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))
124static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT50,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT50
= { (((1) << 10) + (((4) & 255) << 2)),
{&SCode_Redeclare_NOT__REDECLARE__desc,}};
125#define _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT50)((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))
126static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT51,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT51
= { (((1) << 10) + (((4) & 255) << 2)),
{&SCode_Final_NOT__FINAL__desc,}};
127#define _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT51)((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))
128static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT52,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT52
= { (((1) << 10) + (((4) & 255) << 2)),
{&SCode_Replaceable_NOT__REPLACEABLE__desc,}};
129#define _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT52)((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))
130static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT53,6,3)struct { mmc_uint_t header; const void *data[6]; } _OMC_LIT_STRUCT53
= { (((6) << 10) + (((3) & 255) << 2)),
{&SCode_Prefixes_PREFIXES__desc,_OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)),_OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)),_OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)),_OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)),_OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))}};
131#define _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT53)((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))
132static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT54,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT54
= { (((1) << 10) + (((3) & 255) << 2)),
{&SCode_ConnectorType_POTENTIAL__desc,}};
133#define _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT54)((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))
134static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT55,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT55
= { (((1) << 10) + (((3) & 255) << 2)),
{&Absyn_IsField_NONFIELD__desc,}};
135#define _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT55)((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))
136static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT56,7,3)struct { mmc_uint_t header; const void *data[7]; } _OMC_LIT_STRUCT56
= { (((7) << 10) + (((3) & 255) << 2)),
{&SCode_Attributes_ATTR__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),_OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)),_OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)),_OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)),_OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)),_OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))}};
137#define _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT56)((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3))
138static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT57,3,3)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT57
= { (((3) << 10) + (((3) & 255) << 2)),
{&Absyn_TypeSpec_TPATH__desc,_OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3))}};
139#define _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT57)((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3))
140static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT58,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT58
= { (((1) << 10) + (((5) & 255) << 2)),
{&SCode_Mod_NOMOD__desc,}};
141#define _OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT58)((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))
142static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT59,3,3)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT59
= { (((3) << 10) + (((3) & 255) << 2)),
{&SCode_Comment_COMMENT__desc,MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3))}};
143#define _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT59)((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3))
144static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT60,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT60
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),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(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))}};
145#define _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT60)((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3))
146static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT61,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT61
= { (((1) << 10) + (((5) & 255) << 2)),
{&DAE_Mod_NOMOD__desc,}};
147#define _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT61)((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3))
148#define _OMC_LIT62_data"- CevalFunction.extendEnvWithFunctionVars failed for:" "- CevalFunction.extendEnvWithFunctionVars failed for:"
149static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT62,53,_OMC_LIT62_data)struct { mmc_uint_t header; const char data[(53)+1]; } _OMC_LIT_STRUCT62
= { ((((mmc_uint_t)53)<<(3))+((1<<(3+3))+5)), "- CevalFunction.extendEnvWithFunctionVars failed for:"
}
;
150#define _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT62)((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3))
151static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT63,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT63
= { (((1) << 10) + (((4) & 255) << 2)),
{&SCode_Encapsulated_NOT__ENCAPSULATED__desc,}};
152#define _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT63)((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3))
153static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT64,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT64
= { (((1) << 10) + (((3) & 255) << 2)),
{&FCore_ScopeType_FUNCTION__SCOPE__desc,}};
154#define _OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT64)((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))
155static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT65,1,1)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT65
= { (((1) << 10) + (((1) & 255) << 2)),
{_OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))}};
156#define _OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT65)((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3))
157static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT66,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT66
= { (((2) << 10) + (((3) & 255) << 2)),
{&Absyn_Msg_MSG__desc,_OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3))}};
158#define _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT66)((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3))
159static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT67,1,18)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT67
= { (((1) << 10) + (((18) & 255) << 2)),
{&Values_Value_META__FAIL__desc,}};
160#define _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT67)((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3))
161#define _OMC_LIT68_data"- CevalFunction.extractLhsComponentRef failed on " "- CevalFunction.extractLhsComponentRef failed on "
162static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT68,49,_OMC_LIT68_data)struct { mmc_uint_t header; const char data[(49)+1]; } _OMC_LIT_STRUCT68
= { ((((mmc_uint_t)49)<<(3))+((1<<(3+3))+5)), "- CevalFunction.extractLhsComponentRef failed on "
}
;
163#define _OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT68)((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3))
164static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT69,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT69
= { (((1) << 10) + (((3) & 255) << 2)),
{&CevalFunction_LoopControl_NEXT__desc,}};
165#define _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT69)((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3))
166#define _OMC_LIT70_data"- evaluateForStatement not implemented for:" "- evaluateForStatement not implemented for:"
167static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT70,43,_OMC_LIT70_data)struct { mmc_uint_t header; const char data[(43)+1]; } _OMC_LIT_STRUCT70
= { ((((mmc_uint_t)43)<<(3))+((1<<(3+3))+5)), "- evaluateForStatement not implemented for:"
}
;
168#define _OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT70)((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3))
169static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT71,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT71
= { (((1) << 10) + (((5) & 255) << 2)),
{&CevalFunction_LoopControl_RETURN__desc,}};
170#define _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT71)((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3))
171static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT72,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT72
= { (((1) << 10) + (((4) & 255) << 2)),
{&CevalFunction_LoopControl_BREAK__desc,}};
172#define _OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT72)((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3))
173#define _OMC_LIT73_data"- CevalFunction.evaluateStatement failed for:" "- CevalFunction.evaluateStatement failed for:"
174static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT73,45,_OMC_LIT73_data)struct { mmc_uint_t header; const char data[(45)+1]; } _OMC_LIT_STRUCT73
= { ((((mmc_uint_t)45)<<(3))+((1<<(3+3))+5)), "- CevalFunction.evaluateStatement failed for:"
}
;
175#define _OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT73)((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3))
176#define _OMC_LIT74_data"dgeev" "dgeev"
177static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT74,5,_OMC_LIT74_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT74
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "dgeev"
}
;
178#define _OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT74)((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3))
179#define _OMC_LIT75_data"dgegv" "dgegv"
180static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT75,5,_OMC_LIT75_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT75
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "dgegv"
}
;
181#define _OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT75)((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3))
182#define _OMC_LIT76_data"dgels" "dgels"
183static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT76,5,_OMC_LIT76_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT76
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "dgels"
}
;
184#define _OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT76)((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3))
185#define _OMC_LIT77_data"dgelsx" "dgelsx"
186static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT77,6,_OMC_LIT77_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT77
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "dgelsx"
}
;
187#define _OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT77)((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3))
188#define _OMC_LIT78_data"dgelsy" "dgelsy"
189static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT78,6,_OMC_LIT78_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT78
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "dgelsy"
}
;
190#define _OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT78)((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3))
191#define _OMC_LIT79_data"dgesv" "dgesv"
192static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT79,5,_OMC_LIT79_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT79
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "dgesv"
}
;
193#define _OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT79)((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3))
194#define _OMC_LIT80_data"dgglse" "dgglse"
195static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT80,6,_OMC_LIT80_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT80
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "dgglse"
}
;
196#define _OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT80)((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3))
197#define _OMC_LIT81_data"dgtsv" "dgtsv"
198static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT81,5,_OMC_LIT81_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT81
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "dgtsv"
}
;
199#define _OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT81)((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3))
200#define _OMC_LIT82_data"dgbsv" "dgbsv"
201static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT82,5,_OMC_LIT82_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT82
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "dgbsv"
}
;
202#define _OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT82)((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3))
203#define _OMC_LIT83_data"dgesvd" "dgesvd"
204static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT83,6,_OMC_LIT83_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT83
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "dgesvd"
}
;
205#define _OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT83)((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3))
206#define _OMC_LIT84_data"dgetrf" "dgetrf"
207static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT84,6,_OMC_LIT84_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT84
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "dgetrf"
}
;
208#define _OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT84)((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3))
209#define _OMC_LIT85_data"dgetrs" "dgetrs"
210static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT85,6,_OMC_LIT85_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT85
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "dgetrs"
}
;
211#define _OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT85)((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3))
212#define _OMC_LIT86_data"dgetri" "dgetri"
213static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT86,6,_OMC_LIT86_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT86
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "dgetri"
}
;
214#define _OMC_LIT86((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT86)((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3))
215#define _OMC_LIT87_data"dgeqpf" "dgeqpf"
216static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT87,6,_OMC_LIT87_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT87
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "dgeqpf"
}
;
217#define _OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT87)((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))
218#define _OMC_LIT88_data"dorgqr" "dorgqr"
219static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT88,6,_OMC_LIT88_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT88
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "dorgqr"
}
;
220#define _OMC_LIT88((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT88)((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3))
221static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT89,1,11)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT89
= { (((1) << 10) + (((11) & 255) << 2)),
{&DAE_Type_T__UNKNOWN__desc,}};
222#define _OMC_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT89)((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3))
223#define _OMC_LIT90_data"- CevalFunction.evaluateExtInputArg failed on " "- CevalFunction.evaluateExtInputArg failed on "
224static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT90,46,_OMC_LIT90_data)struct { mmc_uint_t header; const char data[(46)+1]; } _OMC_LIT_STRUCT90
= { ((((mmc_uint_t)46)<<(3))+((1<<(3+3))+5)), "- CevalFunction.evaluateExtInputArg failed on "
}
;
225#define _OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT90)((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3))
226static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT91,1,7)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT91
= { (((1) << 10) + (((7) & 255) << 2)),
{&DAE_Dimension_DIM__UNKNOWN__desc,}};
227#define _OMC_LIT91((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT91)((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3))
228#define _OMC_LIT92_data"- CevalFunction.pairFuncParamsWithArgs failed because of too few input arguments.\n" "- CevalFunction.pairFuncParamsWithArgs failed because of too few input arguments.\n"
229static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT92,82,_OMC_LIT92_data)struct { mmc_uint_t header; const char data[(82)+1]; } _OMC_LIT_STRUCT92
= { ((((mmc_uint_t)82)<<(3))+((1<<(3+3))+5)), "- CevalFunction.pairFuncParamsWithArgs failed because of too few input arguments.\n"
}
;
230#define _OMC_LIT92((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT92)((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3))
231#define _OMC_LIT93_data"- CevalFunction.evaluateFunction failed.\n" "- CevalFunction.evaluateFunction failed.\n"
232static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT93,41,_OMC_LIT93_data)struct { mmc_uint_t header; const char data[(41)+1]; } _OMC_LIT_STRUCT93
= { ((((mmc_uint_t)41)<<(3))+((1<<(3+3))+5)), "- CevalFunction.evaluateFunction failed.\n"
}
;
233#define _OMC_LIT93((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT93)((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3))
234#define _OMC_LIT94_data"." "."
235static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT94,1,_OMC_LIT94_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT94
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "."
}
;
236#define _OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT94)((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3))
237#define _OMC_LIT95_data"- CevalFunction.evaluate failed for function: " "- CevalFunction.evaluate failed for function: "
238static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT95,46,_OMC_LIT95_data)struct { mmc_uint_t header; const char data[(46)+1]; } _OMC_LIT_STRUCT95
= { ((((mmc_uint_t)46)<<(3))+((1<<(3+3))+5)), "- CevalFunction.evaluate failed for function: "
}
;
239#define _OMC_LIT95((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT95)((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3))
240#define _OMC_LIT96_data"partial " "partial "
241static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT96,8,_OMC_LIT96_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT96
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "partial "
}
;
242#define _OMC_LIT96((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT96)((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3))
243#include "util/modelica.h"
244
245#include "CevalFunction_includes.h"
246
247
248/* default, do not make protected functions static */
249#if !defined(PROTECTED_FUNCTION_STATIC)
250#define PROTECTED_FUNCTION_STATIC
251#endif
252PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_optimizeExpTraverser(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inEnv, modelica_metatype *out_outEnv);
253static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_optimizeExpTraverser,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_optimizeExpTraverser
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_optimizeExpTraverseromc_CevalFunction_optimizeExpTraverser,0}};
254#define boxvar_CevalFunction_optimizeExpTraverser((void*)((char*)(&(boxvar_lit_CevalFunction_optimizeExpTraverser
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_optimizeExpTraverser)((void*)((char*)(&(boxvar_lit_CevalFunction_optimizeExpTraverser
).header) + 3))
255PROTECTED_FUNCTION_STATIC void omc_CevalFunction_checkCyclicalComponents(threadData_t *threadData, modelica_metatype _inCycles, modelica_metatype _inSource);
256static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_checkCyclicalComponents,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_checkCyclicalComponents
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_checkCyclicalComponentsomc_CevalFunction_checkCyclicalComponents,0}};
257#define boxvar_CevalFunction_checkCyclicalComponents((void*)((char*)(&(boxvar_lit_CevalFunction_checkCyclicalComponents
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_checkCyclicalComponents)((void*)((char*)(&(boxvar_lit_CevalFunction_checkCyclicalComponents
).header) + 3))
258PROTECTED_FUNCTION_STATIC modelica_boolean omc_CevalFunction_isElementEqual(threadData_t *threadData, modelica_metatype _inElement1, modelica_metatype _inElement2);
259PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_CevalFunction_isElementEqual(threadData_t *threadData, modelica_metatype _inElement1, modelica_metatype _inElement2);
260static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_isElementEqual,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_isElementEqual
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_isElementEqual,0}};
261#define boxvar_CevalFunction_isElementEqual((void*)((char*)(&(boxvar_lit_CevalFunction_isElementEqual
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_isElementEqual)((void*)((char*)(&(boxvar_lit_CevalFunction_isElementEqual
).header) + 3))
262PROTECTED_FUNCTION_STATIC modelica_boolean omc_CevalFunction_isElementNamed(threadData_t *threadData, modelica_metatype _inName, modelica_metatype _inElement);
263PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_CevalFunction_isElementNamed(threadData_t *threadData, modelica_metatype _inName, modelica_metatype _inElement);
264static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_isElementNamed,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_isElementNamed
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_isElementNamed,0}};
265#define boxvar_CevalFunction_isElementNamed((void*)((char*)(&(boxvar_lit_CevalFunction_isElementNamed
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_isElementNamed)((void*)((char*)(&(boxvar_lit_CevalFunction_isElementNamed
).header) + 3))
266PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_compareIterators(threadData_t *threadData, modelica_metatype _inRiters, modelica_metatype _inIters);
267static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_compareIterators,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_compareIterators
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_compareIteratorsomc_CevalFunction_compareIterators,0}};
268#define boxvar_CevalFunction_compareIterators((void*)((char*)(&(boxvar_lit_CevalFunction_compareIterators
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_compareIterators)((void*)((char*)(&(boxvar_lit_CevalFunction_compareIterators
).header) + 3))
269PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getElementDependenciesTraverserExit(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inArg, modelica_metatype *out_outArg);
270static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_getElementDependenciesTraverserExit,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_getElementDependenciesTraverserExit
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_getElementDependenciesTraverserExitomc_CevalFunction_getElementDependenciesTraverserExit,0}};
271#define boxvar_CevalFunction_getElementDependenciesTraverserExit((void*)((char*)(&(boxvar_lit_CevalFunction_getElementDependenciesTraverserExit
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_getElementDependenciesTraverserExit)((void*)((char*)(&(boxvar_lit_CevalFunction_getElementDependenciesTraverserExit
).header) + 3))
272PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getElementDependenciesTraverserEnter(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inArg, modelica_metatype *out_outArg);
273static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_getElementDependenciesTraverserEnter,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_getElementDependenciesTraverserEnter
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_getElementDependenciesTraverserEnteromc_CevalFunction_getElementDependenciesTraverserEnter,0}};
274#define boxvar_CevalFunction_getElementDependenciesTraverserEnter((void*)((char*)(&(boxvar_lit_CevalFunction_getElementDependenciesTraverserEnter
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_getElementDependenciesTraverserEnter)((void*)((char*)(&(boxvar_lit_CevalFunction_getElementDependenciesTraverserEnter
).header) + 3))
275PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getElementDependenciesFromDims(threadData_t *threadData, modelica_metatype _inDimension, modelica_metatype _inArg, modelica_metatype *out_outArg);
276static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_getElementDependenciesFromDims,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_getElementDependenciesFromDims
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_getElementDependenciesFromDimsomc_CevalFunction_getElementDependenciesFromDims,0}};
277#define boxvar_CevalFunction_getElementDependenciesFromDims((void*)((char*)(&(boxvar_lit_CevalFunction_getElementDependenciesFromDims
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_getElementDependenciesFromDims)((void*)((char*)(&(boxvar_lit_CevalFunction_getElementDependenciesFromDims
).header) + 3))
278PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getElementDependencies(threadData_t *threadData, modelica_metatype _inElement, modelica_metatype _inAllElements);
279static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_getElementDependencies,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_getElementDependencies
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_getElementDependenciesomc_CevalFunction_getElementDependencies,0}};
280#define boxvar_CevalFunction_getElementDependencies((void*)((char*)(&(boxvar_lit_CevalFunction_getElementDependencies
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_getElementDependencies)((void*)((char*)(&(boxvar_lit_CevalFunction_getElementDependencies
).header) + 3))
281PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_sortFunctionVarsByDependency(threadData_t *threadData, modelica_metatype _inFuncVars, modelica_metatype _inSource);
282static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_sortFunctionVarsByDependency,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_sortFunctionVarsByDependency
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_sortFunctionVarsByDependencyomc_CevalFunction_sortFunctionVarsByDependency,0}};
283#define boxvar_CevalFunction_sortFunctionVarsByDependency((void*)((char*)(&(boxvar_lit_CevalFunction_sortFunctionVarsByDependency
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_sortFunctionVarsByDependency)((void*)((char*)(&(boxvar_lit_CevalFunction_sortFunctionVarsByDependency
).header) + 3))
284PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_boxReturnValue(threadData_t *threadData, modelica_metatype _inReturnValues);
285static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_boxReturnValue,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_boxReturnValue
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_boxReturnValueomc_CevalFunction_boxReturnValue,0}};
286#define boxvar_CevalFunction_boxReturnValue((void*)((char*)(&(boxvar_lit_CevalFunction_boxReturnValue
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_boxReturnValue)((void*)((char*)(&(boxvar_lit_CevalFunction_boxReturnValue
).header) + 3))
287PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getRecordComponentValue(threadData_t *threadData, modelica_metatype _inVars, modelica_metatype _inEnv);
288static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_getRecordComponentValue,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_getRecordComponentValue
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_getRecordComponentValueomc_CevalFunction_getRecordComponentValue,0}};
289#define boxvar_CevalFunction_getRecordComponentValue((void*)((char*)(&(boxvar_lit_CevalFunction_getRecordComponentValue
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_getRecordComponentValue)((void*)((char*)(&(boxvar_lit_CevalFunction_getRecordComponentValue
).header) + 3))
290PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getRecordValue(threadData_t *threadData, modelica_metatype _inRecordName, modelica_metatype _inType, modelica_metatype _inEnv);
291static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_getRecordValue,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_getRecordValue
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_getRecordValueomc_CevalFunction_getRecordValue,0}};
292#define boxvar_CevalFunction_getRecordValue((void*)((char*)(&(boxvar_lit_CevalFunction_getRecordValue
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_getRecordValue)((void*)((char*)(&(boxvar_lit_CevalFunction_getRecordValue
).header) + 3))
293PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getVariableValue(threadData_t *threadData, modelica_metatype _inCref, modelica_metatype _inType, modelica_metatype _inEnv);
294static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_getVariableValue,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_getVariableValue
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_getVariableValueomc_CevalFunction_getVariableValue,0}};
295#define boxvar_CevalFunction_getVariableValue((void*)((char*)(&(boxvar_lit_CevalFunction_getVariableValue
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_getVariableValue)((void*)((char*)(&(boxvar_lit_CevalFunction_getVariableValue
).header) + 3))
296PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getFunctionReturnValue(threadData_t *threadData, modelica_metatype _inOutputVar, modelica_metatype _inEnv);
297static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_getFunctionReturnValue,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_getFunctionReturnValue
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_getFunctionReturnValueomc_CevalFunction_getFunctionReturnValue,0}};
298#define boxvar_CevalFunction_getFunctionReturnValue((void*)((char*)(&(boxvar_lit_CevalFunction_getFunctionReturnValue
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_getFunctionReturnValue)((void*)((char*)(&(boxvar_lit_CevalFunction_getFunctionReturnValue
).header) + 3))
299PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getRecordVarBindingAndName(threadData_t *threadData, modelica_metatype _inVar, modelica_string *out_outName);
300static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_getRecordVarBindingAndName,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_getRecordVarBindingAndName
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_getRecordVarBindingAndNameomc_CevalFunction_getRecordVarBindingAndName,0}};
301#define boxvar_CevalFunction_getRecordVarBindingAndName((void*)((char*)(&(boxvar_lit_CevalFunction_getRecordVarBindingAndName
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_getRecordVarBindingAndName)((void*)((char*)(&(boxvar_lit_CevalFunction_getRecordVarBindingAndName
).header) + 3))
302PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_generateDefaultBinding(threadData_t *threadData, modelica_metatype _inType);
303static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_generateDefaultBinding,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_generateDefaultBinding
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_generateDefaultBindingomc_CevalFunction_generateDefaultBinding,0}};
304#define boxvar_CevalFunction_generateDefaultBinding((void*)((char*)(&(boxvar_lit_CevalFunction_generateDefaultBinding
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_generateDefaultBinding)((void*)((char*)(&(boxvar_lit_CevalFunction_generateDefaultBinding
).header) + 3))
305PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getBindingOrDefault(threadData_t *threadData, modelica_metatype _inBinding, modelica_metatype _inType);
306static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_getBindingOrDefault,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_getBindingOrDefault
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_getBindingOrDefaultomc_CevalFunction_getBindingOrDefault,0}};
307#define boxvar_CevalFunction_getBindingOrDefault((void*)((char*)(&(boxvar_lit_CevalFunction_getBindingOrDefault
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_getBindingOrDefault)((void*)((char*)(&(boxvar_lit_CevalFunction_getBindingOrDefault
).header) + 3))
308PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getBindingValueOpt(threadData_t *threadData, modelica_metatype _inBinding);
309static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_getBindingValueOpt,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_getBindingValueOpt
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_getBindingValueOptomc_CevalFunction_getBindingValueOpt,0}};
310#define boxvar_CevalFunction_getBindingValueOpt((void*)((char*)(&(boxvar_lit_CevalFunction_getBindingValueOpt
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_getBindingValueOpt)((void*)((char*)(&(boxvar_lit_CevalFunction_getBindingValueOpt
).header) + 3))
311PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getVariableTypeAndValue(threadData_t *threadData, modelica_metatype _inCref, modelica_metatype _inEnv, modelica_metatype *out_outValue);
312static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_getVariableTypeAndValue,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_getVariableTypeAndValue
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_getVariableTypeAndValueomc_CevalFunction_getVariableTypeAndValue,0}};
313#define boxvar_CevalFunction_getVariableTypeAndValue((void*)((char*)(&(boxvar_lit_CevalFunction_getVariableTypeAndValue
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_getVariableTypeAndValue)((void*)((char*)(&(boxvar_lit_CevalFunction_getVariableTypeAndValue
).header) + 3))
314PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getVariableTypeAndBinding(threadData_t *threadData, modelica_metatype _inCref, modelica_metatype _inEnv, modelica_metatype *out_outBinding);
315static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_getVariableTypeAndBinding,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_getVariableTypeAndBinding
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_getVariableTypeAndBindingomc_CevalFunction_getVariableTypeAndBinding,0}};
316#define boxvar_CevalFunction_getVariableTypeAndBinding((void*)((char*)(&(boxvar_lit_CevalFunction_getVariableTypeAndBinding
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_getVariableTypeAndBinding)((void*)((char*)(&(boxvar_lit_CevalFunction_getVariableTypeAndBinding
).header) + 3))
317PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_updateRecordComponentValue(threadData_t *threadData, modelica_string _inComponentId, modelica_metatype _inComponentValue, modelica_metatype _inRecordValue);
318static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_updateRecordComponentValue,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_updateRecordComponentValue
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_updateRecordComponentValueomc_CevalFunction_updateRecordComponentValue,0}};
319#define boxvar_CevalFunction_updateRecordComponentValue((void*)((char*)(&(boxvar_lit_CevalFunction_updateRecordComponentValue
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_updateRecordComponentValue)((void*)((char*)(&(boxvar_lit_CevalFunction_updateRecordComponentValue
).header) + 3))
320PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_updateRecordComponentBinding(threadData_t *threadData, modelica_metatype _inVar, modelica_string _inComponentId, modelica_metatype _inValue);
321static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_updateRecordComponentBinding,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_updateRecordComponentBinding
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_updateRecordComponentBindingomc_CevalFunction_updateRecordComponentBinding,0}};
322#define boxvar_CevalFunction_updateRecordComponentBinding((void*)((char*)(&(boxvar_lit_CevalFunction_updateRecordComponentBinding
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_updateRecordComponentBinding)((void*)((char*)(&(boxvar_lit_CevalFunction_updateRecordComponentBinding
).header) + 3))
323PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_updateRecordBinding(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _inValue);
324static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_updateRecordBinding,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_updateRecordBinding
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_updateRecordBindingomc_CevalFunction_updateRecordBinding,0}};
325#define boxvar_CevalFunction_updateRecordBinding((void*)((char*)(&(boxvar_lit_CevalFunction_updateRecordBinding
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_updateRecordBinding)((void*)((char*)(&(boxvar_lit_CevalFunction_updateRecordBinding
).header) + 3))
326PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_updateVariableBinding(threadData_t *threadData, modelica_metatype _inVariableCref, modelica_metatype _inEnv, modelica_metatype _inType, modelica_metatype _inNewValue);
327static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_updateVariableBinding,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_updateVariableBinding
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_updateVariableBindingomc_CevalFunction_updateVariableBinding,0}};
328#define boxvar_CevalFunction_updateVariableBinding((void*)((char*)(&(boxvar_lit_CevalFunction_updateVariableBinding
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_updateVariableBinding)((void*)((char*)(&(boxvar_lit_CevalFunction_updateVariableBinding
).header) + 3))
329PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_assignWholeDim(threadData_t *threadData, modelica_metatype _inNewValues, modelica_metatype _inOldValues, modelica_metatype _inSubscripts, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outResult);
330static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_assignWholeDim,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_assignWholeDim
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_assignWholeDimomc_CevalFunction_assignWholeDim,0}};
331#define boxvar_CevalFunction_assignWholeDim((void*)((char*)(&(boxvar_lit_CevalFunction_assignWholeDim
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_assignWholeDim)((void*)((char*)(&(boxvar_lit_CevalFunction_assignWholeDim
).header) + 3))
332PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_assignSlice(threadData_t *threadData, modelica_metatype _inNewValues, modelica_metatype _inOldValues, modelica_metatype _inIndices, modelica_metatype _inSubscripts, modelica_integer _inIndex, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outResult);
333PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_CevalFunction_assignSlice(threadData_t *threadData, modelica_metatype _inNewValues, modelica_metatype _inOldValues, modelica_metatype _inIndices, modelica_metatype _inSubscripts, modelica_metatype _inIndex, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outResult);
334static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_assignSlice,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_assignSlice
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_assignSlice,0}};
335#define boxvar_CevalFunction_assignSlice((void*)((char*)(&(boxvar_lit_CevalFunction_assignSlice).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_assignSlice)((void*)((char*)(&(boxvar_lit_CevalFunction_assignSlice).
header) + 3))
336PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_assignRecordComponents(threadData_t *threadData, modelica_metatype _inVars, modelica_metatype _inValues, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv);
337static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_assignRecordComponents,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_assignRecordComponents
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_assignRecordComponentsomc_CevalFunction_assignRecordComponents,0}};
338#define boxvar_CevalFunction_assignRecordComponents((void*)((char*)(&(boxvar_lit_CevalFunction_assignRecordComponents
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_assignRecordComponents)((void*)((char*)(&(boxvar_lit_CevalFunction_assignRecordComponents
).header) + 3))
339PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_assignRecord(threadData_t *threadData, modelica_metatype _inType, modelica_metatype _inValue, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv);
340static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_assignRecord,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_assignRecord
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_assignRecordomc_CevalFunction_assignRecord,0}};
341#define boxvar_CevalFunction_assignRecord((void*)((char*)(&(boxvar_lit_CevalFunction_assignRecord)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_assignRecord)((void*)((char*)(&(boxvar_lit_CevalFunction_assignRecord)
.header) + 3))
342PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_assignTuple(threadData_t *threadData, modelica_metatype _inLhsCrefs, modelica_metatype _inRhsValues, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv);
343static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_assignTuple,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_assignTuple
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_assignTupleomc_CevalFunction_assignTuple,0}};
344#define boxvar_CevalFunction_assignTuple((void*)((char*)(&(boxvar_lit_CevalFunction_assignTuple).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_assignTuple)((void*)((char*)(&(boxvar_lit_CevalFunction_assignTuple).
header) + 3))
345PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_assignVariable(threadData_t *threadData, modelica_metatype _inCref, modelica_metatype _inNewValue, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv);
346static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_assignVariable,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_assignVariable
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_assignVariableomc_CevalFunction_assignVariable,0}};
347#define boxvar_CevalFunction_assignVariable((void*)((char*)(&(boxvar_lit_CevalFunction_assignVariable
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_assignVariable)((void*)((char*)(&(boxvar_lit_CevalFunction_assignVariable
).header) + 3))
348PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_appendDimensions2(threadData_t *threadData, modelica_metatype _inType, modelica_metatype _inDims, modelica_metatype _inBindingDims, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outType);
349static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_appendDimensions2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_appendDimensions2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_appendDimensions2omc_CevalFunction_appendDimensions2,0}};
350#define boxvar_CevalFunction_appendDimensions2((void*)((char*)(&(boxvar_lit_CevalFunction_appendDimensions2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_appendDimensions2)((void*)((char*)(&(boxvar_lit_CevalFunction_appendDimensions2
).header) + 3))
351PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_appendDimensions(threadData_t *threadData, modelica_metatype _inType, modelica_metatype _inOptBinding, modelica_metatype _inDims, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outType);
352static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_appendDimensions,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_appendDimensions
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_appendDimensionsomc_CevalFunction_appendDimensions,0}};
353#define boxvar_CevalFunction_appendDimensions((void*)((char*)(&(boxvar_lit_CevalFunction_appendDimensions
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_appendDimensions)((void*)((char*)(&(boxvar_lit_CevalFunction_appendDimensions
).header) + 3))
354PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_extendEnvWithForScope(threadData_t *threadData, modelica_string _inIterName, modelica_metatype _inIterType, modelica_metatype _inEnv, modelica_metatype *out_outIterType, modelica_metatype *out_outIterCref);
355static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_extendEnvWithForScope,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_extendEnvWithForScope
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_extendEnvWithForScopeomc_CevalFunction_extendEnvWithForScope,0}};
356#define boxvar_CevalFunction_extendEnvWithForScope((void*)((char*)(&(boxvar_lit_CevalFunction_extendEnvWithForScope
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_extendEnvWithForScope)((void*)((char*)(&(boxvar_lit_CevalFunction_extendEnvWithForScope
).header) + 3))
357PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_extendEnvWithRecordVar(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _inOptValue, modelica_metatype _inEnv);
358static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_extendEnvWithRecordVar,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_extendEnvWithRecordVar
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_extendEnvWithRecordVaromc_CevalFunction_extendEnvWithRecordVar,0}};
359#define boxvar_CevalFunction_extendEnvWithRecordVar((void*)((char*)(&(boxvar_lit_CevalFunction_extendEnvWithRecordVar
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_extendEnvWithRecordVar)((void*)((char*)(&(boxvar_lit_CevalFunction_extendEnvWithRecordVar
).header) + 3))
360PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getRecordValues(threadData_t *threadData, modelica_metatype _inOptValue, modelica_metatype _inRecordType);
361static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_getRecordValues,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_getRecordValues
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_getRecordValuesomc_CevalFunction_getRecordValues,0}};
362#define boxvar_CevalFunction_getRecordValues((void*)((char*)(&(boxvar_lit_CevalFunction_getRecordValues
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_getRecordValues)((void*)((char*)(&(boxvar_lit_CevalFunction_getRecordValues
).header) + 3))
363PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_makeRecordEnvironment(threadData_t *threadData, modelica_metatype _inRecordType, modelica_metatype _inOptValue, modelica_metatype _inCache, modelica_metatype _inGraph, modelica_metatype *out_outRecordEnv);
364static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_makeRecordEnvironment,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_makeRecordEnvironment
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_makeRecordEnvironmentomc_CevalFunction_makeRecordEnvironment,0}};
365#define boxvar_CevalFunction_makeRecordEnvironment((void*)((char*)(&(boxvar_lit_CevalFunction_makeRecordEnvironment
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_makeRecordEnvironment)((void*)((char*)(&(boxvar_lit_CevalFunction_makeRecordEnvironment
).header) + 3))
366PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_makeBinding(threadData_t *threadData, modelica_metatype _inBindingValue);
367static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_makeBinding,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_makeBinding
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_makeBindingomc_CevalFunction_makeBinding,0}};
368#define boxvar_CevalFunction_makeBinding((void*)((char*)(&(boxvar_lit_CevalFunction_makeBinding).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_makeBinding)((void*)((char*)(&(boxvar_lit_CevalFunction_makeBinding).
header) + 3))
369PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_makeFunctionVariable(threadData_t *threadData, modelica_string _inName, modelica_metatype _inType, modelica_metatype _inBinding);
370static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_makeFunctionVariable,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_makeFunctionVariable
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_makeFunctionVariableomc_CevalFunction_makeFunctionVariable,0}};
371#define boxvar_CevalFunction_makeFunctionVariable((void*)((char*)(&(boxvar_lit_CevalFunction_makeFunctionVariable
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_makeFunctionVariable)((void*)((char*)(&(boxvar_lit_CevalFunction_makeFunctionVariable
).header) + 3))
372PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_extendEnvWithVar(threadData_t *threadData, modelica_string _inName, modelica_metatype _inType, modelica_metatype _inOptValue, modelica_metatype _inDims, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv);
373static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_extendEnvWithVar,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_extendEnvWithVar
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_extendEnvWithVaromc_CevalFunction_extendEnvWithVar,0}};
374#define boxvar_CevalFunction_extendEnvWithVar((void*)((char*)(&(boxvar_lit_CevalFunction_extendEnvWithVar
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_extendEnvWithVar)((void*)((char*)(&(boxvar_lit_CevalFunction_extendEnvWithVar
).header) + 3))
375PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_extendEnvWithElement(threadData_t *threadData, modelica_metatype _inElement, modelica_metatype _inBindingValue, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv);
376static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_extendEnvWithElement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_extendEnvWithElement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_extendEnvWithElementomc_CevalFunction_extendEnvWithElement,0}};
377#define boxvar_CevalFunction_extendEnvWithElement((void*)((char*)(&(boxvar_lit_CevalFunction_extendEnvWithElement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_extendEnvWithElement)((void*)((char*)(&(boxvar_lit_CevalFunction_extendEnvWithElement
).header) + 3))
378PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateBinding(threadData_t *threadData, modelica_metatype _inBinding, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outCache);
379static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateBinding,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_evaluateBinding
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_evaluateBindingomc_CevalFunction_evaluateBinding,0}};
380#define boxvar_CevalFunction_evaluateBinding((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateBinding
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateBinding)((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateBinding
).header) + 3))
381PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_extendEnvWithFunctionVar(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inFuncParam, modelica_metatype *out_outEnv);
382static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_extendEnvWithFunctionVar,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_extendEnvWithFunctionVar
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_extendEnvWithFunctionVaromc_CevalFunction_extendEnvWithFunctionVar,0}};
383#define boxvar_CevalFunction_extendEnvWithFunctionVar((void*)((char*)(&(boxvar_lit_CevalFunction_extendEnvWithFunctionVar
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_extendEnvWithFunctionVar)((void*)((char*)(&(boxvar_lit_CevalFunction_extendEnvWithFunctionVar
).header) + 3))
384PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_extendEnvWithFunctionVars(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inFuncParams, modelica_metatype *out_outEnv);
385static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_extendEnvWithFunctionVars,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_extendEnvWithFunctionVars
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_extendEnvWithFunctionVarsomc_CevalFunction_extendEnvWithFunctionVars,0}};
386#define boxvar_CevalFunction_extendEnvWithFunctionVars((void*)((char*)(&(boxvar_lit_CevalFunction_extendEnvWithFunctionVars
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_extendEnvWithFunctionVars)((void*)((char*)(&(boxvar_lit_CevalFunction_extendEnvWithFunctionVars
).header) + 3))
387PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_setupFunctionEnvironment(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_string _inFuncName, modelica_metatype _inFuncParams, modelica_metatype *out_outEnv);
388static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_setupFunctionEnvironment,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_setupFunctionEnvironment
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_setupFunctionEnvironmentomc_CevalFunction_setupFunctionEnvironment,0}};
389#define boxvar_CevalFunction_setupFunctionEnvironment((void*)((char*)(&(boxvar_lit_CevalFunction_setupFunctionEnvironment
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_setupFunctionEnvironment)((void*)((char*)(&(boxvar_lit_CevalFunction_setupFunctionEnvironment
).header) + 3))
390PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_cevalExpList(threadData_t *threadData, modelica_metatype _inExpLst, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outValue);
391static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_cevalExpList,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_cevalExpList
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_cevalExpListomc_CevalFunction_cevalExpList,0}};
392#define boxvar_CevalFunction_cevalExpList((void*)((char*)(&(boxvar_lit_CevalFunction_cevalExpList)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_cevalExpList)((void*)((char*)(&(boxvar_lit_CevalFunction_cevalExpList)
.header) + 3))
393PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_cevalExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outValue);
394static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_cevalExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_cevalExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_cevalExpomc_CevalFunction_cevalExp,0}};
395#define boxvar_CevalFunction_cevalExp((void*)((char*)(&(boxvar_lit_CevalFunction_cevalExp).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_cevalExp)((void*)((char*)(&(boxvar_lit_CevalFunction_cevalExp).header
) + 3))
396PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_extractLhsComponentRef(threadData_t *threadData, modelica_metatype _inExp);
397static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_extractLhsComponentRef,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_extractLhsComponentRef
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_extractLhsComponentRefomc_CevalFunction_extractLhsComponentRef,0}};
398#define boxvar_CevalFunction_extractLhsComponentRef((void*)((char*)(&(boxvar_lit_CevalFunction_extractLhsComponentRef
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_extractLhsComponentRef)((void*)((char*)(&(boxvar_lit_CevalFunction_extractLhsComponentRef
).header) + 3))
399PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateWhileStatement(threadData_t *threadData, modelica_metatype _inCondition, modelica_metatype _inStatements, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inLoopControl, modelica_metatype *out_outEnv, modelica_metatype *out_outLoopControl);
400static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateWhileStatement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_evaluateWhileStatement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_evaluateWhileStatementomc_CevalFunction_evaluateWhileStatement,0}};
401#define boxvar_CevalFunction_evaluateWhileStatement((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateWhileStatement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateWhileStatement)((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateWhileStatement
).header) + 3))
402PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateForLoopArray(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIter, modelica_metatype _inIterType, modelica_metatype _inValues, modelica_metatype _inStatements, modelica_metatype _inLoopControl, modelica_metatype *out_outEnv, modelica_metatype *out_outLoopControl);
403static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateForLoopArray,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_evaluateForLoopArray
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_evaluateForLoopArrayomc_CevalFunction_evaluateForLoopArray,0}};
404#define boxvar_CevalFunction_evaluateForLoopArray((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateForLoopArray
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateForLoopArray)((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateForLoopArray
).header) + 3))
405PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateForStatement(threadData_t *threadData, modelica_metatype _inStatement, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv, modelica_metatype *out_outLoopControl);
406static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateForStatement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_evaluateForStatement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_evaluateForStatementomc_CevalFunction_evaluateForStatement,0}};
407#define boxvar_CevalFunction_evaluateForStatement((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateForStatement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateForStatement)((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateForStatement
).header) + 3))
408PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateIfStatement2(threadData_t *threadData, modelica_boolean _inCondition, modelica_metatype _inStatements, modelica_metatype _inElse, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv, modelica_metatype *out_outLoopControl);
409PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_CevalFunction_evaluateIfStatement2(threadData_t *threadData, modelica_metatype _inCondition, modelica_metatype _inStatements, modelica_metatype _inElse, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv, modelica_metatype *out_outLoopControl);
410static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateIfStatement2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_evaluateIfStatement2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_evaluateIfStatement2,0}};
411#define boxvar_CevalFunction_evaluateIfStatement2((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateIfStatement2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateIfStatement2)((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateIfStatement2
).header) + 3))
412PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateIfStatement(threadData_t *threadData, modelica_metatype _inStatement, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv, modelica_metatype *out_outLoopControl);
413static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateIfStatement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_evaluateIfStatement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_evaluateIfStatementomc_CevalFunction_evaluateIfStatement,0}};
414#define boxvar_CevalFunction_evaluateIfStatement((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateIfStatement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateIfStatement)((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateIfStatement
).header) + 3))
415PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateTupleAssignStatement(threadData_t *threadData, modelica_metatype _inStatement, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv);
416static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateTupleAssignStatement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_evaluateTupleAssignStatement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_evaluateTupleAssignStatementomc_CevalFunction_evaluateTupleAssignStatement,0}};
417#define boxvar_CevalFunction_evaluateTupleAssignStatement((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateTupleAssignStatement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateTupleAssignStatement)((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateTupleAssignStatement
).header) + 3))
418PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateStatements2(threadData_t *threadData, modelica_metatype _inStatement, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inLoopControl, modelica_metatype *out_outEnv, modelica_metatype *out_outLoopControl);
419static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateStatements2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_evaluateStatements2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_evaluateStatements2omc_CevalFunction_evaluateStatements2,0}};
420#define boxvar_CevalFunction_evaluateStatements2((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateStatements2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateStatements2)((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateStatements2
).header) + 3))
421PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateStatements(threadData_t *threadData, modelica_metatype _inStatement, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv, modelica_metatype *out_outLoopControl);
422static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateStatements,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_evaluateStatements
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_evaluateStatementsomc_CevalFunction_evaluateStatements,0}};
423#define boxvar_CevalFunction_evaluateStatements((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateStatements
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateStatements)((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateStatements
).header) + 3))
424PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateStatement(threadData_t *threadData, modelica_metatype _inStatement, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv, modelica_metatype *out_outLoopControl);
425static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateStatement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_evaluateStatement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_evaluateStatementomc_CevalFunction_evaluateStatement,0}};
426#define boxvar_CevalFunction_evaluateStatement((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateStatement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateStatement)((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateStatement
).header) + 3))
427PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateElement(threadData_t *threadData, modelica_metatype _inElement, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv, modelica_metatype *out_outLoopControl);
428static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateElement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_evaluateElement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_evaluateElementomc_CevalFunction_evaluateElement,0}};
429#define boxvar_CevalFunction_evaluateElement((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateElement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateElement)((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateElement
).header) + 3))
430PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateElements(threadData_t *threadData, modelica_metatype _inElements, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inLoopControl, modelica_metatype *out_outEnv, modelica_metatype *out_outLoopControl);
431static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateElements,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_evaluateElements
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_evaluateElementsomc_CevalFunction_evaluateElements,0}};
432#define boxvar_CevalFunction_evaluateElements((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateElements
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateElements)((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateElements
).header) + 3))
433PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateExternalFunc(threadData_t *threadData, modelica_string _inFuncName, modelica_metatype _inFuncArgs, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv);
434static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateExternalFunc,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_evaluateExternalFunc
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_evaluateExternalFuncomc_CevalFunction_evaluateExternalFunc,0}};
435#define boxvar_CevalFunction_evaluateExternalFunc((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateExternalFunc
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateExternalFunc)((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateExternalFunc
).header) + 3))
436PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_unliftExtOutputValue(threadData_t *threadData, modelica_metatype _inCref, modelica_metatype _inValue, modelica_metatype _inEnv);
437static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_unliftExtOutputValue,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_unliftExtOutputValue
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_unliftExtOutputValueomc_CevalFunction_unliftExtOutputValue,0}};
438#define boxvar_CevalFunction_unliftExtOutputValue((void*)((char*)(&(boxvar_lit_CevalFunction_unliftExtOutputValue
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_unliftExtOutputValue)((void*)((char*)(&(boxvar_lit_CevalFunction_unliftExtOutputValue
).header) + 3))
439PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_assignExtOutputs(threadData_t *threadData, modelica_metatype _inArgs, modelica_metatype _inValues, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv);
440static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_assignExtOutputs,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_assignExtOutputs
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_assignExtOutputsomc_CevalFunction_assignExtOutputs,0}};
441#define boxvar_CevalFunction_assignExtOutputs((void*)((char*)(&(boxvar_lit_CevalFunction_assignExtOutputs
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_assignExtOutputs)((void*)((char*)(&(boxvar_lit_CevalFunction_assignExtOutputs
).header) + 3))
442PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateExtOutputArg(threadData_t *threadData, modelica_metatype _inArg);
443static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateExtOutputArg,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_evaluateExtOutputArg
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_evaluateExtOutputArgomc_CevalFunction_evaluateExtOutputArg,0}};
444#define boxvar_CevalFunction_evaluateExtOutputArg((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateExtOutputArg
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateExtOutputArg)((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateExtOutputArg
).header) + 3))
445PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateExtRealMatrixArg(threadData_t *threadData, modelica_metatype _inArg, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outCache);
446static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateExtRealMatrixArg,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_evaluateExtRealMatrixArg
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_evaluateExtRealMatrixArgomc_CevalFunction_evaluateExtRealMatrixArg,0}};
447#define boxvar_CevalFunction_evaluateExtRealMatrixArg((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateExtRealMatrixArg
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateExtRealMatrixArg)((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateExtRealMatrixArg
).header) + 3))
448PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateExtRealArrayArg(threadData_t *threadData, modelica_metatype _inArg, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outCache);
449static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateExtRealArrayArg,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_evaluateExtRealArrayArg
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_evaluateExtRealArrayArgomc_CevalFunction_evaluateExtRealArrayArg,0}};
450#define boxvar_CevalFunction_evaluateExtRealArrayArg((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateExtRealArrayArg
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateExtRealArrayArg)((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateExtRealArrayArg
).header) + 3))
451PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateExtIntArrayArg(threadData_t *threadData, modelica_metatype _inArg, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outCache);
452static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateExtIntArrayArg,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_evaluateExtIntArrayArg
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_evaluateExtIntArrayArgomc_CevalFunction_evaluateExtIntArrayArg,0}};
453#define boxvar_CevalFunction_evaluateExtIntArrayArg((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateExtIntArrayArg
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateExtIntArrayArg)((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateExtIntArrayArg
).header) + 3))
454PROTECTED_FUNCTION_STATIC modelica_string omc_CevalFunction_evaluateExtStringArg(threadData_t *threadData, modelica_metatype _inArg, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outCache);
455static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateExtStringArg,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_evaluateExtStringArg
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_evaluateExtStringArgomc_CevalFunction_evaluateExtStringArg,0}};
456#define boxvar_CevalFunction_evaluateExtStringArg((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateExtStringArg
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateExtStringArg)((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateExtStringArg
).header) + 3))
457PROTECTED_FUNCTION_STATIC modelica_real omc_CevalFunction_evaluateExtRealArg(threadData_t *threadData, modelica_metatype _inArg, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outCache);
458PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_CevalFunction_evaluateExtRealArg(threadData_t *threadData, modelica_metatype _inArg, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outCache);
459static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateExtRealArg,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_evaluateExtRealArg
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_evaluateExtRealArg,0}};
460#define boxvar_CevalFunction_evaluateExtRealArg((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateExtRealArg
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateExtRealArg)((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateExtRealArg
).header) + 3))
461PROTECTED_FUNCTION_STATIC modelica_integer omc_CevalFunction_evaluateExtIntArg(threadData_t *threadData, modelica_metatype _inArg, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outCache);
462PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_CevalFunction_evaluateExtIntArg(threadData_t *threadData, modelica_metatype _inArg, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outCache);
463static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateExtIntArg,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_evaluateExtIntArg
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_evaluateExtIntArg,0}};
464#define boxvar_CevalFunction_evaluateExtIntArg((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateExtIntArg
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateExtIntArg)((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateExtIntArg
).header) + 3))
465PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateExtInputArg(threadData_t *threadData, modelica_metatype _inArgument, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outCache);
466static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateExtInputArg,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_evaluateExtInputArg
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_evaluateExtInputArgomc_CevalFunction_evaluateExtInputArg,0}};
467#define boxvar_CevalFunction_evaluateExtInputArg((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateExtInputArg
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateExtInputArg)((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateExtInputArg
).header) + 3))
468PROTECTED_FUNCTION_STATIC modelica_boolean omc_CevalFunction_isCrefNamed(threadData_t *threadData, modelica_string _inName, modelica_metatype _inCref);
469PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_CevalFunction_isCrefNamed(threadData_t *threadData, modelica_metatype _inName, modelica_metatype _inCref);
470static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_isCrefNamed,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_isCrefNamed
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_isCrefNamed,0}};
471#define boxvar_CevalFunction_isCrefNamed((void*)((char*)(&(boxvar_lit_CevalFunction_isCrefNamed).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_isCrefNamed)((void*)((char*)(&(boxvar_lit_CevalFunction_isCrefNamed).
header) + 3))
472PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_removeSelfReferentialDim(threadData_t *threadData, modelica_metatype _inDim, modelica_string _inName);
473static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_removeSelfReferentialDim,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_removeSelfReferentialDim
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_removeSelfReferentialDimomc_CevalFunction_removeSelfReferentialDim,0}};
474#define boxvar_CevalFunction_removeSelfReferentialDim((void*)((char*)(&(boxvar_lit_CevalFunction_removeSelfReferentialDim
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_removeSelfReferentialDim)((void*)((char*)(&(boxvar_lit_CevalFunction_removeSelfReferentialDim
).header) + 3))
475PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_removeSelfReferentialDims(threadData_t *threadData, modelica_metatype _inElement);
476static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_removeSelfReferentialDims,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_removeSelfReferentialDims
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_removeSelfReferentialDimsomc_CevalFunction_removeSelfReferentialDims,0}};
477#define boxvar_CevalFunction_removeSelfReferentialDims((void*)((char*)(&(boxvar_lit_CevalFunction_removeSelfReferentialDims
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_removeSelfReferentialDims)((void*)((char*)(&(boxvar_lit_CevalFunction_removeSelfReferentialDims
).header) + 3))
478PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_pairFuncParamsWithArgs(threadData_t *threadData, modelica_metatype _inElements, modelica_metatype _inValues);
479static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_pairFuncParamsWithArgs,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_pairFuncParamsWithArgs
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_pairFuncParamsWithArgsomc_CevalFunction_pairFuncParamsWithArgs,0}};
480#define boxvar_CevalFunction_pairFuncParamsWithArgs((void*)((char*)(&(boxvar_lit_CevalFunction_pairFuncParamsWithArgs
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_pairFuncParamsWithArgs)((void*)((char*)(&(boxvar_lit_CevalFunction_pairFuncParamsWithArgs
).header) + 3))
481PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateFunctionDefinition(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_string _inFuncName, modelica_metatype _inFunc, modelica_metatype _inFuncType, modelica_metatype _inFuncArgs, modelica_metatype _inSource, modelica_metatype *out_outResult);
482static const MMC_DEFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateFunctionDefinition,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CevalFunction_evaluateFunctionDefinition
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CevalFunction_evaluateFunctionDefinitionomc_CevalFunction_evaluateFunctionDefinition,0}};
483#define boxvar_CevalFunction_evaluateFunctionDefinition((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateFunctionDefinition
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CevalFunction_evaluateFunctionDefinition)((void*)((char*)(&(boxvar_lit_CevalFunction_evaluateFunctionDefinition
).header) + 3))
484
485PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_optimizeExpTraverser(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inEnv, modelica_metatype *out_outEnv)
486{
487 modelica_metatype _outExp = NULL((void*)0);
488 modelica_metatype _outEnv = NULL((void*)0);
489 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
490 MMC_SO()mmc_check_stackoverflow(threadData);
491 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
492 // _outExp has no default value.
493 // _outEnv has no default value.
494#line 2872 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
495
496#line 2872 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
497
498#line 498 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
499 { /* match expression */
500 modelica_metatype tmp4_1;modelica_metatype tmp4_2;
501 tmp4_1 = _inExp;
502 tmp4_2 = _inEnv;
503 {
504 modelica_metatype _cref = NULL((void*)0);
505 modelica_metatype _ety = NULL((void*)0);
506 modelica_metatype _sub_exps = NULL((void*)0);
507 modelica_metatype _subs = NULL((void*)0);
508 modelica_metatype _env = NULL((void*)0);
509 modelica_metatype _exp = NULL((void*)0);
510 volatile mmc_switch_type tmp4;
511 int tmp5;
512 // _cref has no default value.
513 // _ety has no default value.
514 // _sub_exps has no default value.
515 // _subs has no default value.
516 // _env has no default value.
517 // _exp has no default value.
518 tmp4 = 0;
519 for (; tmp4 < 3; tmp4++) {
520 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
521 case 0: {
522 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,21,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((21 +3) & 255) << 2)))
== 0) goto tmp3_end;
523 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
524 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
525 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
526 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
527 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
528
529 _cref = tmpMeta[3];
530 _ety = tmpMeta[4];
531 _sub_exps = tmpMeta[5];
532 _env = tmp4_2;
533 /* Pattern matching succeeded */
534#line 2883 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
535 _subs = omc_List_map(threadData, _sub_exps, boxvar_Expression_makeIndexSubscript((void*)((char*)(&(boxvar_lit_Expression_makeIndexSubscript
).header) + 3))
);
536#line 536 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
537
538#line 2884 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
539 _cref = omc_ComponentReference_subscriptCref(threadData, _cref, _subs);
540#line 540 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
541
542#line 2885 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
543 _exp = omc_Expression_makeCrefExp(threadData, _cref, _ety);
544#line 544 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
545#line 2886 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
546 tmpMeta[0+0] = _exp;
547#line 2886 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
548 tmpMeta[0+1] = _env;
549#line 549 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
550 goto tmp3_done;
551 }
552 case 1: {
553 modelica_integer tmp6;
554 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,22,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((22 +3) & 255) << 2)))
== 0) goto tmp3_end;
555 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
556 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],19,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((19 +3) & 255) << 2)))
== 0) goto tmp3_end;
557 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
558 if (listEmpty(tmpMeta[3])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
559 tmpMeta[4] = MMC_CAR(tmpMeta[3])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
560 tmpMeta[5] = MMC_CDR(tmpMeta[3])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
561 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
562 tmp6 = mmc_unbox_integer(tmpMeta[6])(((mmc_sint_t) (tmpMeta[6])) >> 1);
563 if (1 != tmp6) goto tmp3_end;
564
565 _exp = tmpMeta[4];
566 _env = tmp4_2;
567 /* Pattern matching succeeded */
568#line 2889 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
569 tmpMeta[0+0] = _exp;
570#line 2889 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
571 tmpMeta[0+1] = _env;
572#line 572 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
573 goto tmp3_done;
574 }
575 case 2: {
576
577 /* Pattern matching succeeded */
578#line 2891 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
579 tmpMeta[0+0] = _inExp;
580#line 2891 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
581 tmpMeta[0+1] = _inEnv;
582#line 582 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
583 goto tmp3_done;
584 }
585 }
586 goto tmp3_end;
587 tmp3_end: ;
588 }
589 goto goto_2;
590 goto_2:;
591 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
592 goto tmp3_done;
593 tmp3_done:;
594 }
595 }
596 _outExp = tmpMeta[0+0];
597 _outEnv = tmpMeta[0+1];
598 _return: OMC_LABEL_UNUSED__attribute__((unused))
599 if (out_outEnv) { *out_outEnv = _outEnv; }
600 return _outExp;
601}
602
603PROTECTED_FUNCTION_STATIC void omc_CevalFunction_checkCyclicalComponents(threadData_t *threadData, modelica_metatype _inCycles, modelica_metatype _inSource)
604{
605 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
606 MMC_SO()mmc_check_stackoverflow(threadData);
607 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
608#line 608 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
609 { /* match expression */
610 modelica_metatype tmp3_1;
611 tmp3_1 = _inCycles;
612 {
613 modelica_metatype _cycles = NULL((void*)0);
614 modelica_metatype _elements = NULL((void*)0);
615 modelica_metatype _crefs = NULL((void*)0);
616 modelica_metatype _names = NULL((void*)0);
617 modelica_metatype _cycles_strs = NULL((void*)0);
618 modelica_string _cycles_str = NULL((void*)0);
619 modelica_string _scope_str = NULL((void*)0);
620 modelica_metatype _info = NULL((void*)0);
621 volatile mmc_switch_type tmp3;
622 int tmp4;
623 // _cycles has no default value.
624 // _elements has no default value.
625 // _crefs has no default value.
626 // _names has no default value.
627 // _cycles_strs has no default value.
628 // _cycles_str has no default value.
629 // _scope_str has no default value.
630 // _info has no default value.
631 tmp3 = 0;
632 for (; tmp3 < 2; tmp3++) {
633 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
634 case 0: {
635 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
636 /* Pattern matching succeeded */
637#line 637 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
638 goto tmp2_done;
639 }
640 case 1: {
641
642 /* Pattern matching succeeded */
643#line 2843 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
644 _cycles = omc_Graph_findCycles(threadData, _inCycles, boxvar_CevalFunction_isElementEqual((void*)((char*)(&(boxvar_lit_CevalFunction_isElementEqual
).header) + 3))
);
645#line 645 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
646
647#line 2844 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
648 _elements = omc_List_mapList(threadData, _cycles, boxvar_Util_tuple21((void*)((char*)(&(boxvar_lit_Util_tuple21).header) + 3)));
649#line 649 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
650
651#line 2845 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
652 _crefs = omc_List_mapList(threadData, _elements, boxvar_DAEUtil_varCref((void*)((char*)(&(boxvar_lit_DAEUtil_varCref).header) + 3
))
);
653#line 653 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
654
655#line 2846 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
656 _names = omc_List_mapList(threadData, _crefs, boxvar_ComponentReference_printComponentRefStr((void*)((char*)(&(boxvar_lit_ComponentReference_printComponentRefStr
).header) + 3))
);
657#line 657 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
658
659#line 2848 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
660 _cycles_strs = omc_List_map1(threadData, _names, boxvar_stringDelimitList((void*)((char*)(&(boxvar_lit_stringDelimitList).header) +
3))
, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)));
661#line 661 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
662
663#line 2849 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
664 _cycles_str = stringDelimitList(_cycles_strs, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
665#line 665 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
666
667#line 2850 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
668 tmpMeta[0] = stringAppend(_OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)),_cycles_str);
669#line 2850 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
670 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
671#line 2850 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
672 _cycles_str = tmpMeta[1];
673#line 673 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
674
675#line 2851 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
676 _scope_str = _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3));
677#line 677 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
678
679#line 2852 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
680 _info = omc_ElementSource_getElementSourceFileInfo(threadData, _inSource);
681#line 681 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
682
683#line 2853 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
684 tmpMeta[0] = mmc_mk_cons(_scope_str, mmc_mk_cons(_cycles_str, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))));
685#line 2853 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
686 omc_Error_addSourceMessage(threadData, _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)), tmpMeta[0], _info);
687#line 687 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
688#line 2854 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
689 goto goto_1;
690#line 690 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
691 goto tmp2_done;
692 }
693 }
694 goto tmp2_end;
695 tmp2_end: ;
696 }
697 goto goto_1;
698 goto_1:;
699 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
700 goto tmp2_done;
701 tmp2_done:;
702 }
703 }
704 ;
705 _return: OMC_LABEL_UNUSED__attribute__((unused))
706 return;
707}
708
709PROTECTED_FUNCTION_STATIC modelica_boolean omc_CevalFunction_isElementEqual(threadData_t *threadData, modelica_metatype _inElement1, modelica_metatype _inElement2)
710{
711 modelica_boolean _isEqual;
712 modelica_metatype _cr1 = NULL((void*)0);
713 modelica_metatype _cr2 = NULL((void*)0);
714 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
715 MMC_SO()mmc_check_stackoverflow(threadData);
716 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
717 // _isEqual has no default value.
718 // _cr1 has no default value.
719 // _cr2 has no default value.
720#line 2817 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
721 /* Pattern-matching assignment */
722#line 2817 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
723 tmpMeta[0] = _inElement1;
724#line 2817 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
725 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
726#line 2817 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
727 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],0,13)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((13 +1
) << 10) + (((0 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
728#line 2817 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
729 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
730#line 2817 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
731 _cr1 = tmpMeta[2];
732#line 732 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
733
734#line 2818 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
735 /* Pattern-matching assignment */
736#line 2818 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
737 tmpMeta[0] = _inElement2;
738#line 2818 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
739 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
740#line 2818 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
741 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],0,13)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((13 +1
) << 10) + (((0 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
742#line 2818 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
743 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
744#line 2818 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
745 _cr2 = tmpMeta[2];
746#line 746 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
747
748#line 2819 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
749 _isEqual = omc_ComponentReference_crefEqualWithoutSubs(threadData, _cr1, _cr2);
750#line 750 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
751 _return: OMC_LABEL_UNUSED__attribute__((unused))
752 return _isEqual;
753}
754PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_CevalFunction_isElementEqual(threadData_t *threadData, modelica_metatype _inElement1, modelica_metatype _inElement2)
755{
756 modelica_boolean _isEqual;
757 modelica_metatype out_isEqual;
758 _isEqual = omc_CevalFunction_isElementEqual(threadData, _inElement1, _inElement2);
759 out_isEqual = mmc_mk_icon(_isEqual);
760 return out_isEqual;
761}
762
763PROTECTED_FUNCTION_STATIC modelica_boolean omc_CevalFunction_isElementNamed(threadData_t *threadData, modelica_metatype _inName, modelica_metatype _inElement)
764{
765 modelica_boolean _isNamed;
766 modelica_metatype _name = NULL((void*)0);
767 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
768 MMC_SO()mmc_check_stackoverflow(threadData);
769 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
770 // _isNamed has no default value.
771 // _name has no default value.
772#line 2805 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
773 /* Pattern-matching assignment */
774#line 2805 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
775 tmpMeta[0] = _inElement;
776#line 2805 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
777 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
778#line 2805 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
779 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],0,13)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((13 +1
) << 10) + (((0 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
780#line 2805 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
781 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
782#line 2805 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
783 _name = tmpMeta[2];
784#line 784 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
785
786#line 2806 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
787 _isNamed = omc_ComponentReference_crefEqualWithoutSubs(threadData, _name, _inName);
788#line 788 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
789 _return: OMC_LABEL_UNUSED__attribute__((unused))
790 return _isNamed;
791}
792PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_CevalFunction_isElementNamed(threadData_t *threadData, modelica_metatype _inName, modelica_metatype _inElement)
793{
794 modelica_boolean _isNamed;
795 modelica_metatype out_isNamed;
796 _isNamed = omc_CevalFunction_isElementNamed(threadData, _inName, _inElement);
797 out_isNamed = mmc_mk_icon(_isNamed);
798 return out_isNamed;
799}
800
801PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_compareIterators(threadData_t *threadData, modelica_metatype _inRiters, modelica_metatype _inIters)
802{
803 modelica_metatype _outIters = NULL((void*)0);
804 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
805 MMC_SO()mmc_check_stackoverflow(threadData);
806 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
807 // _outIters has no default value.
808#line 808 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
809 { /* matchcontinue expression */
810 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;
811 tmp3_1 = _inRiters;
812 tmp3_2 = _inIters;
813 {
814 modelica_string _id1 = NULL((void*)0);
815 modelica_string _id2 = NULL((void*)0);
816 modelica_metatype _riters = NULL((void*)0);
817 modelica_metatype _iters = NULL((void*)0);
818 volatile mmc_switch_type tmp3;
819 int tmp4;
820 // _id1 has no default value.
821 // _id2 has no default value.
822 // _riters has no default value.
823 // _iters has no default value.
824 tmp3 = 0;
825 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) {
826 tmp2_top:
827 threadData->mmc_jumper = &new_mmc_jumper;
828 for (; tmp3 < 3; tmp3++) {
829 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
830 case 0: {
831 modelica_boolean tmp5;
832 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
833 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
834 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
835 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
836 if (listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
837 tmpMeta[4] = MMC_CAR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
838 tmpMeta[5] = MMC_CDR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
839 _id1 = tmpMeta[3];
840 _riters = tmpMeta[2];
841 _id2 = tmpMeta[4];
842 _iters = tmpMeta[5];
843 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
844#line 2780 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
845 /* Pattern-matching assignment */
846#line 2780 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
847 tmp5 = (stringEqual(_id1, _id2)((((((*(mmc_uint_t*)((void*)((char*)(_id1) - 3)))) >> (
3)) - 8)) == (((((*(mmc_uint_t*)((void*)((char*)(_id2) - 3)))
) >> (3)) - 8)) && !mmc_stringCompare(_id1,_id2
))
);
848#line 2780 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
849 if (1 != tmp5) goto goto_1;
850#line 850 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
851#line 2781 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
852 tmpMeta[0] = omc_CevalFunction_compareIterators(threadData, _riters, _iters);
853#line 853 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
854 goto tmp2_done;
855 }
856 case 1: {
857 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
858
859 /* Pattern matching succeeded */
860#line 2784 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
861 tmpMeta[0] = _inIters;
862#line 862 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
863 goto tmp2_done;
864 }
865 case 2: {
866
867 /* Pattern matching succeeded */
868#line 2789 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
869 omc_Error_addMessage(threadData, _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)), _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)));
870#line 870 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
871#line 2791 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
872 goto goto_1;
873#line 873 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
874 goto tmp2_done;
875 }
876 }
877 goto tmp2_end;
878 tmp2_end: ;
879 }
880 goto goto_1;
881 tmp2_done:
882 (void)tmp3;
883 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
884 goto tmp2_done2;
885 goto_1:;
886 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
887 if (++tmp3 < 3) {
888 goto tmp2_top;
889 }
890 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
891 tmp2_done2:;
892 }
893 }
894 _outIters = tmpMeta[0];
895 _return: OMC_LABEL_UNUSED__attribute__((unused))
896 return _outIters;
897}
898
899PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getElementDependenciesTraverserExit(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inArg, modelica_metatype *out_outArg)
900{
901 modelica_metatype _outExp = NULL((void*)0);
902 modelica_metatype _outArg = NULL((void*)0);
903 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
904 MMC_SO()mmc_check_stackoverflow(threadData);
905 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
906 // _outExp has no default value.
907 // _outArg has no default value.
908#line 2748 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
909
910#line 2748 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
911
912#line 912 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
913 { /* match expression */
914 modelica_metatype tmp4_1;modelica_metatype tmp4_2;
915 tmp4_1 = _inExp;
916 tmp4_2 = _inArg;
917 {
918 modelica_metatype _exp = NULL((void*)0);
919 modelica_metatype _all_el = NULL((void*)0);
920 modelica_metatype _accum_el = NULL((void*)0);
921 modelica_metatype _iters = NULL((void*)0);
922 modelica_metatype _riters = NULL((void*)0);
923 volatile mmc_switch_type tmp4;
924 int tmp5;
925 // _exp has no default value.
926 // _all_el has no default value.
927 // _accum_el has no default value.
928 // _iters has no default value.
929 // _riters has no default value.
930 tmp4 = 0;
931 for (; tmp4 < 2; tmp4++) {
932 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
933 case 0: {
934 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,27,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((27 +3) & 255) << 2)))
== 0) goto tmp3_end;
935 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
936 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
937 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
938 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
939 _exp = tmp4_1;
940 _riters = tmpMeta[2];
941 _all_el = tmpMeta[3];
942 _accum_el = tmpMeta[4];
943 _iters = tmpMeta[5];
944 /* Pattern matching succeeded */
945#line 2759 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
946 _iters = omc_CevalFunction_compareIterators(threadData, listReverse(_riters), _iters);
947#line 947 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
948#line 2760 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
949 tmpMeta[2] = mmc_mk_box3(0, _all_el, _accum_el, _iters);
950#line 2760 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
951 tmpMeta[0+0] = _exp;
952#line 2760 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
953 tmpMeta[0+1] = tmpMeta[2];
954#line 954 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
955 goto tmp3_done;
956 }
957 case 1: {
958
959 /* Pattern matching succeeded */
960#line 2763 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
961 tmpMeta[0+0] = _inExp;
962#line 2763 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
963 tmpMeta[0+1] = _inArg;
964#line 964 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
965 goto tmp3_done;
966 }
967 }
968 goto tmp3_end;
969 tmp3_end: ;
970 }
971 goto goto_2;
972 goto_2:;
973 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
974 goto tmp3_done;
975 tmp3_done:;
976 }
977 }
978 _outExp = tmpMeta[0+0];
979 _outArg = tmpMeta[0+1];
980 _return: OMC_LABEL_UNUSED__attribute__((unused))
981 if (out_outArg) { *out_outArg = _outArg; }
982 return _outExp;
983}
984
985PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getElementDependenciesTraverserEnter(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inArg, modelica_metatype *out_outArg)
986{
987 modelica_metatype _outExp = NULL((void*)0);
988 modelica_metatype _outArg = NULL((void*)0);
989 modelica_metatype tmpMeta[9] __attribute__((unused)) = {0};
990 MMC_SO()mmc_check_stackoverflow(threadData);
991 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
992 // _outExp has no default value.
993 // _outArg has no default value.
994#line 2698 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
995
996#line 2698 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
997
998#line 998 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
999 { /* matchcontinue expression */
1000 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
1001 tmp4_1 = _inExp;
1002 tmp4_2 = _inArg;
1003 {
1004 modelica_metatype _exp = NULL((void*)0);
1005 modelica_metatype _cref = NULL((void*)0);
1006 modelica_metatype _all_el = NULL((void*)0);
1007 modelica_metatype _accum_el = NULL((void*)0);
1008 modelica_metatype _e = NULL((void*)0);
1009 modelica_string _iter = NULL((void*)0);
1010 modelica_metatype _iters = NULL((void*)0);
1011 modelica_metatype _riters = NULL((void*)0);
1012 volatile mmc_switch_type tmp4;
1013 int tmp5;
1014 // _exp has no default value.
1015 // _cref has no default value.
1016 // _all_el has no default value.
1017 // _accum_el has no default value.
1018 // _e has no default value.
1019 // _iter has no default value.
1020 // _iters has no default value.
1021 // _riters has no default value.
1022 tmp4 = 0;
1023 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) {
1024 tmp3_top:
1025 threadData->mmc_jumper = &new_mmc_jumper;
1026 for (; tmp4 < 4; tmp4++) {
1027 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1028 case 0: {
1029 modelica_boolean tmp6;
1030 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
1031 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
1032 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
1033 if (listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
1034 tmpMeta[5] = MMC_CAR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
1035 tmpMeta[6] = MMC_CDR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
1036 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,6,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
1037 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
1038 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[7],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
1039 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (2)))))
;
1040
1041 _all_el = tmpMeta[2];
1042 _accum_el = tmpMeta[3];
1043 _iters = tmpMeta[4];
1044 _exp = tmp4_1;
1045 _iter = tmpMeta[8];
1046 /* Pattern matching succeeded */
1047#line 2713 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1048 /* Pattern-matching assignment */
1049#line 2713 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1050 tmp6 = omc_List_isMemberOnTrue(threadData, _iter, _iters, boxvar_stringEqual((void*)((char*)(&(boxvar_lit_stringEqual).header) + 3)));
1051#line 2713 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1052 if (1 != tmp6) goto goto_2;
1053#line 1053 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1054#line 2714 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1055 tmpMeta[2] = mmc_mk_box3(0, _all_el, _accum_el, _iters);
1056#line 2714 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1057 tmpMeta[0+0] = _exp;
1058#line 2714 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1059 tmpMeta[0+1] = tmpMeta[2];
1060#line 1060 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1061 goto tmp3_done;
1062 }
1063 case 1: {
1064 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,6,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
1065 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
1066 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
1067 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
1068 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
1069 _exp = tmp4_1;
1070 _cref = tmpMeta[2];
1071 _all_el = tmpMeta[3];
1072 _accum_el = tmpMeta[4];
1073 _iters = tmpMeta[5];
1074 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
1075#line 2723 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1076 /* Pattern-matching tuple assignment */
1077#line 2723 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1078 tmpMeta[4] = omc_List_deleteMemberOnTrue(threadData, _cref, _all_el, boxvar_CevalFunction_isElementNamed((void*)((char*)(&(boxvar_lit_CevalFunction_isElementNamed
).header) + 3))
, &tmpMeta[2]);
1079#line 2723 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1080 _all_el = tmpMeta[4];
1081#line 2723 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1082 if (optionNone(tmpMeta[2])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[2]) - 3)))) >> 10)) ? 1 : 0)
) goto goto_2;
1083#line 2723 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1084 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
1085#line 2723 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1086 _e = tmpMeta[3];
1087#line 1087 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1088#line 2725 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1089 tmpMeta[2] = mmc_mk_cons(_e, _accum_el);
1090#line 2725 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1091 tmpMeta[3] = mmc_mk_box3(0, _all_el, tmpMeta[2], _iters);
1092#line 2725 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1093 tmpMeta[0+0] = _exp;
1094#line 2725 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1095 tmpMeta[0+1] = tmpMeta[3];
1096#line 1096 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1097 goto tmp3_done;
1098 }
1099 case 2: {
1100 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,27,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((27 +3) & 255) << 2)))
== 0) goto tmp3_end;
1101 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
1102 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
1103 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
1104 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
1105 _exp = tmp4_1;
1106 _riters = tmpMeta[2];
1107 _all_el = tmpMeta[3];
1108 _accum_el = tmpMeta[4];
1109 _iters = tmpMeta[5];
1110 /* Pattern matching succeeded */
1111#line 2732 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1112 _iters = listAppend(omc_List_map(threadData, _riters, boxvar_Expression_reductionIterName((void*)((char*)(&(boxvar_lit_Expression_reductionIterName
).header) + 3))
), _iters);
1113#line 1113 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1114#line 2733 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1115 tmpMeta[2] = mmc_mk_box3(0, _all_el, _accum_el, _iters);
1116#line 2733 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1117 tmpMeta[0+0] = _exp;
1118#line 2733 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1119 tmpMeta[0+1] = tmpMeta[2];
1120#line 1120 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1121 goto tmp3_done;
1122 }
1123 case 3: {
1124
1125 /* Pattern matching succeeded */
1126#line 2736 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1127 tmpMeta[0+0] = _inExp;
1128#line 2736 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1129 tmpMeta[0+1] = _inArg;
1130#line 1130 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1131 goto tmp3_done;
1132 }
1133 }
1134 goto tmp3_end;
1135 tmp3_end: ;
1136 }
1137 goto goto_2;
1138 tmp3_done:
1139 (void)tmp4;
1140 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1141 goto tmp3_done2;
1142 goto_2:;
1143 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1144 if (++tmp4 < 4) {
1145 goto tmp3_top;
1146 }
1147 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1148 tmp3_done2:;
1149 }
1150 }
1151 _outExp = tmpMeta[0+0];
1152 _outArg = tmpMeta[0+1];
1153 _return: OMC_LABEL_UNUSED__attribute__((unused))
1154 if (out_outArg) { *out_outArg = _outArg; }
1155 return _outExp;
1156}
1157
1158PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getElementDependenciesFromDims(threadData_t *threadData, modelica_metatype _inDimension, modelica_metatype _inArg, modelica_metatype *out_outArg)
1159{
1160 modelica_metatype _outDimension = NULL((void*)0);
1161 modelica_metatype _outArg = NULL((void*)0);
1162 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1163 MMC_SO()mmc_check_stackoverflow(threadData);
1164 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1165 // _outDimension has no default value.
1166 // _outArg has no default value.
1167#line 2668 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1168
1169#line 2668 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1170
1171#line 1171 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1172 { /* matchcontinue expression */
1173 {
1174 modelica_metatype _arg = NULL((void*)0);
1175 modelica_metatype _dim_exp = NULL((void*)0);
1176 volatile mmc_switch_type tmp4;
1177 int tmp5;
1178 // _arg has no default value.
1179 // _dim_exp has no default value.
1180 tmp4 = 0;
1181 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) {
1182 tmp3_top:
1183 threadData->mmc_jumper = &new_mmc_jumper;
1184 for (; tmp4 < 2; tmp4++) {
1185 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1186 case 0: {
1187 /* Pattern matching succeeded */
1188#line 2675 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1189 _dim_exp = omc_Expression_dimensionSizeExp(threadData, _inDimension);
1190#line 1190 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1191
1192#line 2676 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1193 omc_Expression_traverseExpBidir(threadData, _dim_exp, boxvar_CevalFunction_getElementDependenciesTraverserEnter((void*)((char*)(&(boxvar_lit_CevalFunction_getElementDependenciesTraverserEnter
).header) + 3))
, boxvar_CevalFunction_getElementDependenciesTraverserExit((void*)((char*)(&(boxvar_lit_CevalFunction_getElementDependenciesTraverserExit
).header) + 3))
, _inArg ,&_arg);
1194#line 1194 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1195#line 2681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1196 tmpMeta[0+0] = _inDimension;
1197#line 2681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1198 tmpMeta[0+1] = _arg;
1199#line 1199 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1200 goto tmp3_done;
1201 }
1202 case 1: {
1203 /* Pattern matching succeeded */
1204#line 2684 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1205 tmpMeta[0+0] = _inDimension;
1206#line 2684 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1207 tmpMeta[0+1] = _inArg;
1208#line 1208 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1209 goto tmp3_done;
1210 }
1211 }
1212 goto tmp3_end;
1213 tmp3_end: ;
1214 }
1215 goto goto_2;
1216 tmp3_done:
1217 (void)tmp4;
1218 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1219 goto tmp3_done2;
1220 goto_2:;
1221 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1222 if (++tmp4 < 2) {
1223 goto tmp3_top;
1224 }
1225 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1226 tmp3_done2:;
1227 }
1228 }
1229 _outDimension = tmpMeta[0+0];
1230 _outArg = tmpMeta[0+1];
1231 _return: OMC_LABEL_UNUSED__attribute__((unused))
1232 if (out_outArg) { *out_outArg = _outArg; }
1233 return _outDimension;
1234}
1235
1236PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getElementDependencies(threadData_t *threadData, modelica_metatype _inElement, modelica_metatype _inAllElements)
1237{
1238 modelica_metatype _outDependencies = NULL((void*)0);
1239 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
1240 MMC_SO()mmc_check_stackoverflow(threadData);
1241 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1242 // _outDependencies has no default value.
1243#line 1243 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1244 { /* matchcontinue expression */
1245 volatile modelica_metatype tmp3_1;
1246 tmp3_1 = _inElement;
1247 {
1248 modelica_metatype _bind_exp = NULL((void*)0);
1249 modelica_metatype _deps = NULL((void*)0);
1250 modelica_metatype _dims = NULL((void*)0);
1251 modelica_metatype _arg = NULL((void*)0);
1252 volatile mmc_switch_type tmp3;
1253 int tmp4;
1254 // _bind_exp has no default value.
1255 // _deps has no default value.
1256 // _dims has no default value.
1257 // _arg has no default value.
1258 tmp3 = 0;
1259 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) {
1260 tmp2_top:
1261 threadData->mmc_jumper = &new_mmc_jumper;
1262 for (; tmp3 < 3; tmp3++) {
1263 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1264 case 0: {
1265 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1266 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],0,13)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((13 +1
) << 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1267 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (8)))))
;
1268 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;
1269 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
1270 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (9)))))
;
1271
1272 _bind_exp = tmpMeta[3];
1273 _dims = tmpMeta[4];
1274 /* Pattern matching succeeded */
1275#line 2638 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1276 /* Pattern-matching tuple assignment, wild first pattern */
1277#line 2638 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1278 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1279#line 2638 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1280 tmpMeta[4] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1281#line 2638 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1282 tmpMeta[5] = mmc_mk_box3(0, _inAllElements, tmpMeta[3], tmpMeta[4]);
1283#line 2638 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1284 omc_Expression_traverseExpBidir(threadData, _bind_exp, boxvar_CevalFunction_getElementDependenciesTraverserEnter((void*)((char*)(&(boxvar_lit_CevalFunction_getElementDependenciesTraverserEnter
).header) + 3))
, boxvar_CevalFunction_getElementDependenciesTraverserExit((void*)((char*)(&(boxvar_lit_CevalFunction_getElementDependenciesTraverserExit
).header) + 3))
, tmpMeta[5], &tmpMeta[1]);
1285#line 2638 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1286 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
1287#line 2638 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1288 _arg = tmpMeta[1];
1289#line 2638 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1290 _deps = tmpMeta[2];
1291#line 1291 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1292
1293#line 2643 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1294 /* Pattern-matching tuple assignment, wild first pattern */
1295#line 2643 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1296 omc_List_mapFold(threadData, _dims, boxvar_CevalFunction_getElementDependenciesFromDims((void*)((char*)(&(boxvar_lit_CevalFunction_getElementDependenciesFromDims
).header) + 3))
, _arg, &tmpMeta[1]);
1297#line 2643 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1298 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
1299#line 2643 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1300 _deps = tmpMeta[2];
1301#line 1301 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1302#line 2645 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1303 tmpMeta[0] = _deps;
1304#line 1304 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1305 goto tmp2_done;
1306 }
1307 case 1: {
1308 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1309 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],0,13)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((13 +1
) << 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1310 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (9)))))
;
1311
1312 _dims = tmpMeta[2];
1313 /* Pattern matching succeeded */
1314#line 2650 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1315 /* Pattern-matching tuple assignment, wild first pattern */
1316#line 2650 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1317 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1318#line 2650 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1319 tmpMeta[4] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1320#line 2650 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1321 tmpMeta[5] = mmc_mk_box3(0, _inAllElements, tmpMeta[3], tmpMeta[4]);
1322#line 2650 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1323 omc_List_mapFold(threadData, _dims, boxvar_CevalFunction_getElementDependenciesFromDims((void*)((char*)(&(boxvar_lit_CevalFunction_getElementDependenciesFromDims
).header) + 3))
, tmpMeta[5], &tmpMeta[1]);
1324#line 2650 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1325 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
1326#line 2650 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1327 _deps = tmpMeta[2];
1328#line 1328 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1329#line 2652 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1330 tmpMeta[0] = _deps;
1331#line 1331 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1332 goto tmp2_done;
1333 }
1334 case 2: {
1335
1336 /* Pattern matching succeeded */
1337#line 2655 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1338 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1339#line 2655 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1340 tmpMeta[0] = tmpMeta[1];
1341#line 1341 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1342 goto tmp2_done;
1343 }
1344 }
1345 goto tmp2_end;
1346 tmp2_end: ;
1347 }
1348 goto goto_1;
1349 tmp2_done:
1350 (void)tmp3;
1351 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1352 goto tmp2_done2;
1353 goto_1:;
1354 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1355 if (++tmp3 < 3) {
1356 goto tmp2_top;
1357 }
1358 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1359 tmp2_done2:;
1360 }
1361 }
1362 _outDependencies = tmpMeta[0];
1363 _return: OMC_LABEL_UNUSED__attribute__((unused))
1364 return _outDependencies;
1365}
1366
1367PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_sortFunctionVarsByDependency(threadData_t *threadData, modelica_metatype _inFuncVars, modelica_metatype _inSource)
1368{
1369 modelica_metatype _outFuncVars = NULL((void*)0);
1370 modelica_metatype _cycles = NULL((void*)0);
1371 MMC_SO()mmc_check_stackoverflow(threadData);
1372 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1373 // _outFuncVars has no default value.
1374 // _cycles has no default value.
1375#line 2616 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1376 _outFuncVars = omc_Graph_topologicalSort(threadData, omc_Graph_buildGraph(threadData, _inFuncVars, boxvar_CevalFunction_getElementDependencies((void*)((char*)(&(boxvar_lit_CevalFunction_getElementDependencies
).header) + 3))
, _inFuncVars), boxvar_CevalFunction_isElementEqual((void*)((char*)(&(boxvar_lit_CevalFunction_isElementEqual
).header) + 3))
,&_cycles);
1377#line 1377 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1378
1379#line 2619 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1380 omc_CevalFunction_checkCyclicalComponents(threadData, _cycles, _inSource);
1381#line 1381 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1382 _return: OMC_LABEL_UNUSED__attribute__((unused))
1383 return _outFuncVars;
1384}
1385
1386PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_boxReturnValue(threadData_t *threadData, modelica_metatype _inReturnValues)
1387{
1388 modelica_metatype _outValue = NULL((void*)0);
1389 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1390 MMC_SO()mmc_check_stackoverflow(threadData);
1391 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1392 // _outValue has no default value.
1393#line 1393 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1394 { /* match expression */
1395 modelica_metatype tmp3_1;
1396 tmp3_1 = _inReturnValues;
1397 {
1398 modelica_metatype _val = NULL((void*)0);
1399 volatile mmc_switch_type tmp3;
1400 int tmp4;
1401 // _val has no default value.
1402 tmp3 = 0;
1403 for (; tmp3 < 3; tmp3++) {
1404 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1405 case 0: {
1406 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1407 /* Pattern matching succeeded */
1408#line 2597 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1409 tmpMeta[0] = _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3));
1410#line 1410 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1411 goto tmp2_done;
1412 }
1413 case 1: {
1414 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1415 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1416 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1417 if (!listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1418 _val = tmpMeta[1];
1419 /* Pattern matching succeeded */
1420#line 2598 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1421 tmpMeta[0] = _val;
1422#line 1422 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1423 goto tmp2_done;
1424 }
1425 case 2: {
1426 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1427 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1428 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1429 /* Pattern matching succeeded */
1430#line 2599 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1431 tmpMeta[1] = mmc_mk_box2(11, &Values_Value_TUPLE__desc, _inReturnValues);
1432#line 2599 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1433 tmpMeta[0] = tmpMeta[1];
1434#line 1434 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1435 goto tmp2_done;
1436 }
1437 }
1438 goto tmp2_end;
1439 tmp2_end: ;
1440 }
1441 goto goto_1;
1442 goto_1:;
1443 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1444 goto tmp2_done;
1445 tmp2_done:;
1446 }
1447 }
1448 _outValue = tmpMeta[0];
1449 _return: OMC_LABEL_UNUSED__attribute__((unused))
1450 return _outValue;
1451}
1452
1453PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getRecordComponentValue(threadData_t *threadData, modelica_metatype _inVars, modelica_metatype _inEnv)
1454{
1455 modelica_metatype _outValues = NULL((void*)0);
1456 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1457 MMC_SO()mmc_check_stackoverflow(threadData);
1458 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1459 // _outValues has no default value.
1460#line 1460 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1461 { /* match expression */
1462 modelica_metatype tmp3_1;
1463 tmp3_1 = _inVars;
1464 {
1465 modelica_metatype _val = NULL((void*)0);
1466 modelica_metatype _oval = NULL((void*)0);
1467 modelica_string _id = NULL((void*)0);
1468 modelica_metatype _ty = NULL((void*)0);
1469 modelica_metatype _binding = NULL((void*)0);
1470 modelica_metatype _tvbinding = NULL((void*)0);
1471 volatile mmc_switch_type tmp3;
1472 int tmp4;
1473 // _val has no default value.
1474 // _oval has no default value.
1475 // _id has no default value.
1476 // _ty has no default value.
1477 // _binding has no default value.
1478 // _tvbinding has no default value.
1479 tmp3 = 0;
1480 for (; tmp3 < 2; tmp3++) {
1481 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1482 case 0: {
1483 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1484 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1485 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],9,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((3 +1)
<< 10) + (((9 +3) & 255) << 2)))
== 0) goto tmp2_end;
1486 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1487 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
1488
1489 _id = tmpMeta[1];
1490 _ty = tmpMeta[2];
1491 /* Pattern matching succeeded */
1492#line 2556 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1493 tmpMeta[1] = mmc_mk_box2(4, &Absyn_Path_IDENT__desc, _id);
1494#line 2556 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1495 tmpMeta[0] = omc_CevalFunction_getRecordValue(threadData, tmpMeta[1], _ty, _inEnv);
1496#line 1496 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1497 goto tmp2_done;
1498 }
1499 case 1: {
1500 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1501 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1502 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
1503
1504 _id = tmpMeta[1];
1505 _ty = tmpMeta[2];
1506 _tvbinding = tmpMeta[3];
1507 /* Pattern matching succeeded */
1508#line 2563 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1509 /* Pattern-matching tuple assignment, wild first pattern */
1510#line 2563 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1511 omc_Lookup_lookupIdentLocal(threadData, omc_FCore_emptyCache(threadData), _inEnv, _id, &tmpMeta[1], NULL((void*)0), NULL((void*)0), NULL((void*)0), NULL((void*)0));
1512#line 2563 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1513 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (5)))))
;
1514#line 2563 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1515 _binding = tmpMeta[2];
1516#line 1516 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1517
1518#line 2565 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1519 _oval = omc_CevalFunction_getBindingValueOpt(threadData, _binding);
1520#line 1520 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1521
1522#line 2568 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1523 if(isNone(_oval)(0==((((((*(mmc_uint_t*)((void*)((char*)(_oval) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(_oval) - 3)
))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(_oval
) - 3)))) >> 10)) ? 1 : 0)
)
1524#line 2568 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1525 {
1526#line 2569 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1527 _oval = omc_CevalFunction_getBindingValueOpt(threadData, _tvbinding);
1528#line 1528 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1529 }
1530
1531#line 2575 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1532 if(isSome(_oval)(0==((((((*(mmc_uint_t*)((void*)((char*)(_oval) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(_oval) - 3)
))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(_oval
) - 3)))) >> 10)) ? 0 : 1)
)
1533#line 2575 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1534 {
1535#line 2576 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1536 /* Pattern-matching assignment */
1537#line 2576 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1538 tmpMeta[1] = _oval;
1539#line 2576 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1540 if (optionNone(tmpMeta[1])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[1]) - 3)))) >> 10)) ? 1 : 0)
) goto goto_1;
1541#line 2576 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1542 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
1543#line 2576 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1544 _val = tmpMeta[2];
1545#line 1545 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1546 }
1547 else
1548 {
1549#line 2578 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1550 _val = omc_CevalFunction_generateDefaultBinding(threadData, _ty);
1551#line 1551 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1552 }
1553#line 2581 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1554 tmpMeta[0] = _val;
1555#line 1555 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1556 goto tmp2_done;
1557 }
1558 }
1559 goto tmp2_end;
1560 tmp2_end: ;
1561 }
1562 goto goto_1;
1563 goto_1:;
1564 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1565 goto tmp2_done;
1566 tmp2_done:;
1567 }
1568 }
1569 _outValues = tmpMeta[0];
1570 _return: OMC_LABEL_UNUSED__attribute__((unused))
1571 return _outValues;
1572}
1573
1574PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getRecordValue(threadData_t *threadData, modelica_metatype _inRecordName, modelica_metatype _inType, modelica_metatype _inEnv)
1575{
1576 modelica_metatype _outValue = NULL((void*)0);
1577 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
1578 MMC_SO()mmc_check_stackoverflow(threadData);
1579 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1580 // _outValue has no default value.
1581#line 1581 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1582 { /* match expression */
1583 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
1584 tmp3_1 = _inRecordName;
1585 tmp3_2 = _inType;
1586 {
1587 modelica_metatype _vars = NULL((void*)0);
1588 modelica_metatype _vals = NULL((void*)0);
1589 modelica_metatype _var_names = NULL((void*)0);
1590 modelica_string _id = NULL((void*)0);
1591 modelica_metatype _p = NULL((void*)0);
1592 modelica_metatype _env = NULL((void*)0);
1593 volatile mmc_switch_type tmp3;
1594 int tmp4;
1595 // _vars has no default value.
1596 // _vals has no default value.
1597 // _var_names has no default value.
1598 // _id has no default value.
1599 // _p has no default value.
1600 // _env has no default value.
1601 tmp3 = 0;
1602 for (; tmp3 < 1; tmp3++) {
1603 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1604 case 0: {
1605 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1606 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1607 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,9,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((3 +1) <<
10) + (((9 +3) & 255) << 2)))
== 0) goto tmp2_end;
1608 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
1609 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
1610 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1611 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
1612
1613 _id = tmpMeta[1];
1614 _p = tmpMeta[3];
1615 _vars = tmpMeta[4];
1616 /* Pattern matching succeeded */
1617#line 2528 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1618 omc_Lookup_lookupIdentLocal(threadData, omc_FCore_emptyCache(threadData), _inEnv, _id ,NULL((void*)0) ,NULL((void*)0) ,NULL((void*)0) ,NULL((void*)0) ,&_env);
1619#line 1619 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1620
1621#line 2530 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1622 _vals = omc_List_map1(threadData, _vars, boxvar_CevalFunction_getRecordComponentValue((void*)((char*)(&(boxvar_lit_CevalFunction_getRecordComponentValue
).header) + 3))
, _env);
1623#line 1623 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1624
1625#line 2531 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1626 _var_names = omc_List_map(threadData, _vars, boxvar_Types_getVarName((void*)((char*)(&(boxvar_lit_Types_getVarName).header) +
3))
);
1627#line 1627 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1628#line 2532 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1629 tmpMeta[1] = mmc_mk_box5(13, &Values_Value_RECORD__desc, _p, _vals, _var_names, mmc_mk_integermmc_mk_icon(((modelica_integer) -1)));
1630#line 2532 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1631 tmpMeta[0] = tmpMeta[1];
1632#line 1632 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.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 _outValue = tmpMeta[0];
1647 _return: OMC_LABEL_UNUSED__attribute__((unused))
1648 return _outValue;
1649}
1650
1651PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getVariableValue(threadData_t *threadData, modelica_metatype _inCref, modelica_metatype _inType, modelica_metatype _inEnv)
1652{
1653 modelica_metatype _outValue = NULL((void*)0);
1654 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1655 MMC_SO()mmc_check_stackoverflow(threadData);
1656 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1657 // _outValue has no default value.
1658#line 1658 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1659 { /* matchcontinue expression */
1660 volatile modelica_metatype tmp3_1;
1661 tmp3_1 = _inType;
1662 {
1663 modelica_metatype _val = NULL((void*)0);
1664 modelica_metatype _p = NULL((void*)0);
1665 volatile mmc_switch_type tmp3;
1666 int tmp4;
1667 // _val has no default value.
1668 // _p has no default value.
1669 tmp3 = 0;
1670 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) {
1671 tmp2_top:
1672 threadData->mmc_jumper = &new_mmc_jumper;
1673 for (; tmp3 < 2; tmp3++) {
1674 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1675 case 0: {
1676 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,9,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((9 +3) & 255) << 2)))
== 0) goto tmp2_end;
1677 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1678 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
1679
1680 /* Pattern matching succeeded */
1681#line 2494 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1682 _p = omc_ComponentReference_crefToPath(threadData, _inCref);
1683#line 1683 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1684#line 2495 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1685 tmpMeta[0] = omc_CevalFunction_getRecordValue(threadData, _p, _inType, _inEnv);
1686#line 1686 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1687 goto tmp2_done;
1688 }
1689 case 1: {
1690
1691 /* Pattern matching succeeded */
1692#line 2502 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1693 omc_CevalFunction_getVariableTypeAndValue(threadData, _inCref, _inEnv ,&_val);
1694#line 1694 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1695#line 2503 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1696 tmpMeta[0] = _val;
1697#line 1697 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1698 goto tmp2_done;
1699 }
1700 }
1701 goto tmp2_end;
1702 tmp2_end: ;
1703 }
1704 goto goto_1;
1705 tmp2_done:
1706 (void)tmp3;
1707 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1708 goto tmp2_done2;
1709 goto_1:;
1710 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1711 if (++tmp3 < 2) {
1712 goto tmp2_top;
1713 }
1714 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1715 tmp2_done2:;
1716 }
1717 }
1718 _outValue = tmpMeta[0];
1719 _return: OMC_LABEL_UNUSED__attribute__((unused))
1720 return _outValue;
1721}
1722
1723PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getFunctionReturnValue(threadData_t *threadData, modelica_metatype _inOutputVar, modelica_metatype _inEnv)
1724{
1725 modelica_metatype _outValue = NULL((void*)0);
1726 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1727 MMC_SO()mmc_check_stackoverflow(threadData);
1728 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1729 // _outValue has no default value.
1730#line 1730 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1731 { /* match expression */
1732 modelica_metatype tmp3_1;
1733 tmp3_1 = _inOutputVar;
1734 {
1735 modelica_metatype _cr = NULL((void*)0);
1736 modelica_metatype _ty = NULL((void*)0);
1737 volatile mmc_switch_type tmp3;
1738 int tmp4;
1739 // _cr has no default value.
1740 // _ty has no default value.
1741 tmp3 = 0;
1742 for (; tmp3 < 1; tmp3++) {
1743 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1744 case 0: {
1745 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,13)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((13 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1746 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1747 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
1748
1749 _cr = tmpMeta[1];
1750 _ty = tmpMeta[2];
1751 /* Pattern matching succeeded */
1752#line 2471 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1753 tmpMeta[0] = omc_CevalFunction_getVariableValue(threadData, _cr, _ty, _inEnv);
1754#line 1754 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1755 goto tmp2_done;
1756 }
1757 }
1758 goto tmp2_end;
1759 tmp2_end: ;
1760 }
1761 goto goto_1;
1762 goto_1:;
1763 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1764 goto tmp2_done;
1765 tmp2_done:;
1766 }
1767 }
1768 _outValue = tmpMeta[0];
1769 _return: OMC_LABEL_UNUSED__attribute__((unused))
1770 return _outValue;
1771}
1772
1773PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getRecordVarBindingAndName(threadData_t *threadData, modelica_metatype _inVar, modelica_string *out_outName)
1774{
1775 modelica_metatype _outBinding = NULL((void*)0);
1776 modelica_string _outName = NULL((void*)0);
1777 modelica_string tmp1_c1 __attribute__((unused)) = 0;
1778 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
1779 MMC_SO()mmc_check_stackoverflow(threadData);
1780 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1781 // _outBinding has no default value.
1782 // _outName has no default value.
1783#line 2434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1784
1785#line 2434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1786
1787#line 1787 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1788 { /* matchcontinue expression */
1789 volatile modelica_metatype tmp4_1;
1790 tmp4_1 = _inVar;
1791 {
1792 modelica_string _name = NULL((void*)0);
1793 modelica_metatype _ty = NULL((void*)0);
1794 modelica_metatype _binding = NULL((void*)0);
1795 modelica_metatype _val = NULL((void*)0);
1796 volatile mmc_switch_type tmp4;
1797 int tmp5;
1798 // _name has no default value.
1799 // _ty has no default value.
1800 // _binding has no default value.
1801 // _val has no default value.
1802 tmp4 = 0;
1803 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) {
1804 tmp3_top:
1805 threadData->mmc_jumper = &new_mmc_jumper;
1806 for (; tmp4 < 2; tmp4++) {
1807 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1808 case 0: {
1809 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
1810 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
1811 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(5)))))
;
1812
1813 _name = tmpMeta[2];
1814 _ty = tmpMeta[3];
1815 _binding = tmpMeta[4];
1816 /* Pattern matching succeeded */
1817#line 2443 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1818 _val = omc_CevalFunction_getBindingOrDefault(threadData, _binding, _ty);
1819#line 1819 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1820#line 2444 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1821 tmpMeta[0+0] = _val;
1822#line 2444 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1823 tmp1_c1 = _name;
1824#line 1824 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1825 goto tmp3_done;
1826 }
1827 case 1: {
1828 modelica_boolean tmp6;
1829 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
1830
1831 _name = tmpMeta[2];
1832 /* Pattern matching succeeded */
1833#line 2449 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1834 /* Pattern-matching assignment */
1835#line 2449 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1836 tmp6 = omc_Flags_isSet(threadData, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
1837#line 2449 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1838 if (1 != tmp6) goto goto_2;
1839#line 1839 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1840
1841#line 2450 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1842 tmpMeta[2] = stringAppend(_OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)),_name);
1843#line 2450 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1844 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)));
1845#line 2450 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1846 omc_Debug_traceln(threadData, tmpMeta[3]);
1847#line 1847 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1848#line 2452 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1849 goto goto_2;
1850#line 1850 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1851 goto tmp3_done;
1852 }
1853 }
1854 goto tmp3_end;
1855 tmp3_end: ;
1856 }
1857 goto goto_2;
1858 tmp3_done:
1859 (void)tmp4;
1860 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1861 goto tmp3_done2;
1862 goto_2:;
1863 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1864 if (++tmp4 < 2) {
1865 goto tmp3_top;
1866 }
1867 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1868 tmp3_done2:;
1869 }
1870 }
1871 _outBinding = tmpMeta[0+0];
1872 _outName = tmp1_c1;
1873 _return: OMC_LABEL_UNUSED__attribute__((unused))
1874 if (out_outName) { *out_outName = _outName; }
1875 return _outBinding;
1876}
1877
1878PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_generateDefaultBinding(threadData_t *threadData, modelica_metatype _inType)
1879{
1880 modelica_metatype _outValue = NULL((void*)0);
1881 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
1882 MMC_SO()mmc_check_stackoverflow(threadData);
1883 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1884 // _outValue has no default value.
1885#line 1885 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1886 { /* matchcontinue expression */
1887 volatile modelica_metatype tmp3_1;
1888 tmp3_1 = _inType;
1889 {
1890 modelica_metatype _dim = NULL((void*)0);
1891 modelica_integer _int_dim;
1892 modelica_metatype _dims = NULL((void*)0);
1893 modelica_metatype _ty = NULL((void*)0);
1894 modelica_metatype _values = NULL((void*)0);
1895 modelica_metatype _value = NULL((void*)0);
1896 modelica_metatype _path = NULL((void*)0);
1897 modelica_metatype _vars = NULL((void*)0);
1898 modelica_metatype _var_names = NULL((void*)0);
1899 volatile mmc_switch_type tmp3;
1900 int tmp4;
1901 // _dim has no default value.
1902 // _int_dim has no default value.
1903 // _dims has no default value.
1904 // _ty has no default value.
1905 // _values has no default value.
1906 // _value has no default value.
1907 // _path has no default value.
1908 // _vars has no default value.
1909 // _var_names has no default value.
1910 tmp3 = 0;
1911 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) {
1912 tmp2_top:
1913 threadData->mmc_jumper = &new_mmc_jumper;
1914 for (; tmp3 < 8; tmp3++) {
1915 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1916 case 0: {
1917 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1918
1919 tmp3 += 6; /* Pattern matching succeeded; we may skip some cases if we fail */
1920#line 2398 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1921 tmpMeta[0] = _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3));
1922#line 1922 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1923 goto tmp2_done;
1924 }
1925 case 1: {
1926 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1927
1928 tmp3 += 5; /* Pattern matching succeeded; we may skip some cases if we fail */
1929#line 2399 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1930 tmpMeta[0] = _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3));
1931#line 1931 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1932 goto tmp2_done;
1933 }
1934 case 2: {
1935 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;
1936
1937 tmp3 += 4; /* Pattern matching succeeded; we may skip some cases if we fail */
1938#line 2400 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1939 tmpMeta[0] = _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3));
1940#line 1940 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1941 goto tmp2_done;
1942 }
1943 case 3: {
1944 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,3,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
1945
1946 tmp3 += 3; /* Pattern matching succeeded; we may skip some cases if we fail */
1947#line 2401 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1948 tmpMeta[0] = _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3));
1949#line 1949 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1950 goto tmp2_done;
1951 }
1952 case 4: {
1953 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((5 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
1954
1955 tmp3 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
1956#line 2403 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1957 tmpMeta[0] = _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3));
1958#line 1958 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1959 goto tmp2_done;
1960 }
1961 case 5: {
1962 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,6,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
1963 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1964 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1965 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1966 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
1967 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1968 if (!listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1969 _ty = tmpMeta[1];
1970 _dim = tmpMeta[3];
1971 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
1972#line 2407 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1973 _int_dim = omc_Expression_dimensionSize(threadData, _dim);
1974#line 1974 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1975
1976#line 2408 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1977 _value = omc_CevalFunction_generateDefaultBinding(threadData, _ty);
1978#line 1978 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1979
1980#line 2409 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1981 _values = omc_List_fill(threadData, _value, _int_dim);
1982#line 1982 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1983
1984#line 2410 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1985 _dims = omc_ValuesUtil_valueDimensions(threadData, _value);
1986#line 1986 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1987#line 2411 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1988 tmpMeta[1] = mmc_mk_cons(mmc_mk_integermmc_mk_icon(_int_dim), _dims);
1989#line 2411 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1990 tmpMeta[2] = mmc_mk_box3(8, &Values_Value_ARRAY__desc, _values, tmpMeta[1]);
1991#line 2411 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
1992 tmpMeta[0] = tmpMeta[2];
1993#line 1993 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
1994 goto tmp2_done;
1995 }
1996 case 6: {
1997 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,9,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((9 +3) & 255) << 2)))
== 0) goto tmp2_end;
1998 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1999 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
2000 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
2001 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2002
2003 _path = tmpMeta[2];
2004 _vars = tmpMeta[3];
2005 /* Pattern matching succeeded */
2006#line 2416 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2007 _values = omc_List_map__2(threadData, _vars, boxvar_CevalFunction_getRecordVarBindingAndName((void*)((char*)(&(boxvar_lit_CevalFunction_getRecordVarBindingAndName
).header) + 3))
,&_var_names);
2008#line 2008 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2009#line 2417 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2010 tmpMeta[1] = mmc_mk_box5(13, &Values_Value_RECORD__desc, _path, _values, _var_names, mmc_mk_integermmc_mk_icon(((modelica_integer) -1)));
2011#line 2417 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2012 tmpMeta[0] = tmpMeta[1];
2013#line 2013 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2014 goto tmp2_done;
2015 }
2016 case 7: {
2017 modelica_boolean tmp5;
2018
2019 /* Pattern matching succeeded */
2020#line 2422 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2021 /* Pattern-matching assignment */
2022#line 2422 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2023 tmp5 = omc_Flags_isSet(threadData, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
2024#line 2422 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2025 if (1 != tmp5) goto goto_1;
2026#line 2026 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2027
2028#line 2423 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2029 omc_Debug_trace(threadData, _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)));
2030#line 2030 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2031#line 2424 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2032 goto goto_1;
2033#line 2033 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2034 goto tmp2_done;
2035 }
2036 }
2037 goto tmp2_end;
2038 tmp2_end: ;
2039 }
2040 goto goto_1;
2041 tmp2_done:
2042 (void)tmp3;
2043 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2044 goto tmp2_done2;
2045 goto_1:;
2046 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2047 if (++tmp3 < 8) {
2048 goto tmp2_top;
2049 }
2050 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2051 tmp2_done2:;
2052 }
2053 }
2054 _outValue = tmpMeta[0];
2055 _return: OMC_LABEL_UNUSED__attribute__((unused))
2056 return _outValue;
2057}
2058
2059PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getBindingOrDefault(threadData_t *threadData, modelica_metatype _inBinding, modelica_metatype _inType)
2060{
2061 modelica_metatype _outValue = NULL((void*)0);
2062 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
2063 MMC_SO()mmc_check_stackoverflow(threadData);
2064 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2065 // _outValue has no default value.
2066#line 2066 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2067 { /* match expression */
2068 modelica_metatype tmp3_1;
2069 tmp3_1 = _inBinding;
2070 {
2071 modelica_metatype _val = NULL((void*)0);
2072 volatile mmc_switch_type tmp3;
2073 int tmp4;
2074 // _val has no default value.
2075 tmp3 = 0;
2076 for (; tmp3 < 3; tmp3++) {
2077 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2078 case 0: {
2079 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,2,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
2080 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2081
2082 _val = tmpMeta[1];
2083 /* Pattern matching succeeded */
2084#line 2373 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2085 tmpMeta[0] = _val;
2086#line 2086 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2087 goto tmp2_done;
2088 }
2089 case 1: {
2090 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
2091 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2092 if (optionNone(tmpMeta[1])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[1]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
2093 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
2094
2095 _val = tmpMeta[2];
2096 /* Pattern matching succeeded */
2097#line 2374 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2098 tmpMeta[0] = _val;
2099#line 2099 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2100 goto tmp2_done;
2101 }
2102 case 2: {
2103
2104 /* Pattern matching succeeded */
2105#line 2375 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2106 tmpMeta[0] = omc_CevalFunction_generateDefaultBinding(threadData, _inType);
2107#line 2107 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2108 goto tmp2_done;
2109 }
2110 }
2111 goto tmp2_end;
2112 tmp2_end: ;
2113 }
2114 goto goto_1;
2115 goto_1:;
2116 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2117 goto tmp2_done;
2118 tmp2_done:;
2119 }
2120 }
2121 _outValue = tmpMeta[0];
2122 _return: OMC_LABEL_UNUSED__attribute__((unused))
2123 return _outValue;
2124}
2125
2126PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getBindingValueOpt(threadData_t *threadData, modelica_metatype _inBinding)
2127{
2128 modelica_metatype _outValue = NULL((void*)0);
2129 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
2130 MMC_SO()mmc_check_stackoverflow(threadData);
2131 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2132 // _outValue has no default value.
2133#line 2133 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2134 { /* match expression */
2135 modelica_metatype tmp3_1;
2136 tmp3_1 = _inBinding;
2137 {
2138 modelica_metatype _val = NULL((void*)0);
2139 volatile mmc_switch_type tmp3;
2140 int tmp4;
2141 // _val has no default value.
2142 tmp3 = 0;
2143 for (; tmp3 < 3; tmp3++) {
2144 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2145 case 0: {
2146 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,2,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
2147 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2148
2149 _val = tmpMeta[1];
2150 /* Pattern matching succeeded */
2151#line 2357 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2152 tmpMeta[0] = mmc_mk_some(_val);
2153#line 2153 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2154 goto tmp2_done;
2155 }
2156 case 1: {
2157 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
2158 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2159 if (optionNone(tmpMeta[1])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[1]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
2160 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
2161
2162 _val = tmpMeta[2];
2163 /* Pattern matching succeeded */
2164#line 2358 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2165 tmpMeta[0] = mmc_mk_some(_val);
2166#line 2166 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2167 goto tmp2_done;
2168 }
2169 case 2: {
2170
2171 /* Pattern matching succeeded */
2172#line 2359 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2173 tmpMeta[0] = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
2174#line 2174 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2175 goto tmp2_done;
2176 }
2177 }
2178 goto tmp2_end;
2179 tmp2_end: ;
2180 }
2181 goto goto_1;
2182 goto_1:;
2183 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2184 goto tmp2_done;
2185 tmp2_done:;
2186 }
2187 }
2188 _outValue = tmpMeta[0];
2189 _return: OMC_LABEL_UNUSED__attribute__((unused))
2190 return _outValue;
2191}
2192
2193PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getVariableTypeAndValue(threadData_t *threadData, modelica_metatype _inCref, modelica_metatype _inEnv, modelica_metatype *out_outValue)
2194{
2195 modelica_metatype _outType = NULL((void*)0);
2196 modelica_metatype _outValue = NULL((void*)0);
2197 modelica_metatype _binding = NULL((void*)0);
2198 MMC_SO()mmc_check_stackoverflow(threadData);
2199 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2200 // _outType has no default value.
2201 // _outValue has no default value.
2202 // _binding has no default value.
2203#line 2345 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2204 _outType = omc_CevalFunction_getVariableTypeAndBinding(threadData, _inCref, _inEnv ,&_binding);
2205#line 2205 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2206
2207#line 2346 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2208 _outValue = omc_CevalFunction_getBindingOrDefault(threadData, _binding, _outType);
2209#line 2209 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2210 _return: OMC_LABEL_UNUSED__attribute__((unused))
2211 if (out_outValue) { *out_outValue = _outValue; }
2212 return _outType;
2213}
2214
2215PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getVariableTypeAndBinding(threadData_t *threadData, modelica_metatype _inCref, modelica_metatype _inEnv, modelica_metatype *out_outBinding)
2216{
2217 modelica_metatype _outType = NULL((void*)0);
2218 modelica_metatype _outBinding = NULL((void*)0);
2219 MMC_SO()mmc_check_stackoverflow(threadData);
2220 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2221 // _outType has no default value.
2222 // _outBinding has no default value.
2223#line 2331 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2224 omc_Lookup_lookupVar(threadData, omc_FCore_emptyCache(threadData), _inEnv, _inCref ,NULL((void*)0) ,&_outType ,&_outBinding ,NULL((void*)0) ,NULL((void*)0) ,NULL((void*)0) ,NULL((void*)0) ,NULL((void*)0));
2225#line 2225 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2226 _return: OMC_LABEL_UNUSED__attribute__((unused))
2227 if (out_outBinding) { *out_outBinding = _outBinding; }
2228 return _outType;
2229}
2230
2231PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_updateRecordComponentValue(threadData_t *threadData, modelica_string _inComponentId, modelica_metatype _inComponentValue, modelica_metatype _inRecordValue)
2232{
2233 modelica_metatype _outRecordValue = NULL((void*)0);
2234 modelica_metatype _name = NULL((void*)0);
2235 modelica_metatype _vals = NULL((void*)0);
2236 modelica_metatype _comps = NULL((void*)0);
2237 modelica_integer _pos;
2238 modelica_integer tmp1;
2239 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
2240 MMC_SO()mmc_check_stackoverflow(threadData);
2241 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2242 // _outRecordValue has no default value.
2243 // _name has no default value.
2244 // _vals has no default value.
2245 // _comps has no default value.
2246 // _pos has no default value.
2247#line 2317 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2248 /* Pattern-matching assignment */
2249#line 2317 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2250 tmpMeta[0] = _inRecordValue;
2251#line 2317 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2252 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],10,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((4 +1)
<< 10) + (((10 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2253#line 2317 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2254 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2255#line 2317 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2256 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
2257#line 2317 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2258 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
2259#line 2317 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2260 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
2261#line 2317 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2262 tmp1 = mmc_unbox_integer(tmpMeta[4])(((mmc_sint_t) (tmpMeta[4])) >> 1);
2263#line 2317 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2264 if (-1 != tmp1) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2265#line 2317 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2266 _name = tmpMeta[1];
2267#line 2317 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2268 _vals = tmpMeta[2];
2269#line 2317 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2270 _comps = tmpMeta[3];
2271#line 2271 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2272
2273#line 2318 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2274 _pos = omc_List_position(threadData, _inComponentId, _comps);
2275#line 2275 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2276
2277#line 2319 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2278 _vals = omc_List_replaceAt(threadData, _inComponentValue, _pos, _vals);
2279#line 2279 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2280
2281#line 2320 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2282 tmpMeta[0] = mmc_mk_box5(13, &Values_Value_RECORD__desc, _name, _vals, _comps, mmc_mk_integermmc_mk_icon(((modelica_integer) -1)));
2283#line 2320 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2284 _outRecordValue = tmpMeta[0];
2285#line 2285 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2286 _return: OMC_LABEL_UNUSED__attribute__((unused))
2287 return _outRecordValue;
2288}
2289
2290PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_updateRecordComponentBinding(threadData_t *threadData, modelica_metatype _inVar, modelica_string _inComponentId, modelica_metatype _inValue)
2291{
2292 modelica_metatype _outVar = NULL((void*)0);
2293 modelica_metatype _val = NULL((void*)0);
2294 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2295 MMC_SO()mmc_check_stackoverflow(threadData);
2296 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2297 // _outVar has no default value.
2298 // _val has no default value.
2299#line 2300 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2300 _outVar = _inVar;
2301#line 2301 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2302
2303#line 2301 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2304 _val = omc_CevalFunction_getBindingOrDefault(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_outVar), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_outVar) - 3)))
+ (5)))))
), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_outVar), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_outVar) - 3)))
+ (4)))))
));
2305#line 2305 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2306
2307#line 2302 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2308 _val = omc_CevalFunction_updateRecordComponentValue(threadData, _inComponentId, _inValue, _val);
2309#line 2309 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2310
2311#line 2303 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2312 tmpMeta[1] = mmc_mk_box3(5, &DAE_Binding_VALBOUND__desc, _val, _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)));
2313#line 2303 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2314 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(8))((void*)((char*)(mmc_alloc_words(8)) + 3));
2315#line 2303 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2316 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_outVar)((void*)((char*)(_outVar) - 3)), 8*sizeof(modelica_metatype));
2317#line 2303 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2318 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[5] = tmpMeta[1];
2319#line 2303 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2320 _outVar = tmpMeta[0];
2321#line 2321 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2322 _return: OMC_LABEL_UNUSED__attribute__((unused))
2323 return _outVar;
2324}
2325
2326PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_updateRecordBinding(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _inValue)
2327{
2328 modelica_metatype _outVar = NULL((void*)0);
2329 modelica_string _name = NULL((void*)0);
2330 modelica_metatype _attr = NULL((void*)0);
2331 modelica_metatype _ty = NULL((void*)0);
2332 modelica_metatype _c = NULL((void*)0);
2333 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2334 MMC_SO()mmc_check_stackoverflow(threadData);
2335 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2336 // _outVar has no default value.
2337 // _name has no default value.
2338 // _attr has no default value.
2339 // _ty has no default value.
2340 // _c has no default value.
2341#line 2287 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2342 _outVar = _inVar;
2343#line 2343 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2344
2345#line 2288 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2346 tmpMeta[1] = mmc_mk_box3(5, &DAE_Binding_VALBOUND__desc, _inValue, _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)));
2347#line 2288 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2348 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(8))((void*)((char*)(mmc_alloc_words(8)) + 3));
2349#line 2288 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2350 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_outVar)((void*)((char*)(_outVar) - 3)), 8*sizeof(modelica_metatype));
2351#line 2288 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2352 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[5] = tmpMeta[1];
2353#line 2288 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2354 _outVar = tmpMeta[0];
2355#line 2355 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2356 _return: OMC_LABEL_UNUSED__attribute__((unused))
2357 return _outVar;
2358}
2359
2360PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_updateVariableBinding(threadData_t *threadData, modelica_metatype _inVariableCref, modelica_metatype _inEnv, modelica_metatype _inType, modelica_metatype _inNewValue)
2361{
2362 modelica_metatype _outEnv = NULL((void*)0);
2363 modelica_string _var_name = NULL((void*)0);
2364 modelica_metatype _var = NULL((void*)0);
2365 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
2366 MMC_SO()mmc_check_stackoverflow(threadData);
2367 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2368 // _outEnv has no default value.
2369 // _var_name has no default value.
2370 // _var has no default value.
2371#line 2270 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2372 _var_name = omc_ComponentReference_crefStr(threadData, _inVariableCref);
2373#line 2373 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2374
2375#line 2271 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2376 tmpMeta[0] = mmc_mk_box3(5, &DAE_Binding_VALBOUND__desc, _inNewValue, _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)));
2377#line 2271 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2378 _var = omc_CevalFunction_makeFunctionVariable(threadData, _var_name, _inType, tmpMeta[0]);
2379#line 2379 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2380
2381#line 2273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2382 _outEnv = omc_FGraph_updateComp(threadData, _inEnv, _var, _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)), omc_FGraph_empty(threadData));
2383#line 2383 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2384 _return: OMC_LABEL_UNUSED__attribute__((unused))
2385 return _outEnv;
2386}
2387
2388PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_assignWholeDim(threadData_t *threadData, modelica_metatype _inNewValues, modelica_metatype _inOldValues, modelica_metatype _inSubscripts, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outResult)
2389{
2390 modelica_metatype _outCache = NULL((void*)0);
2391 modelica_metatype _outResult = NULL((void*)0);
2392 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
2393 MMC_SO()mmc_check_stackoverflow(threadData);
2394 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2395 // _outCache has no default value.
2396 // _outResult has no default value.
2397#line 2243 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2398
2399#line 2243 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2400
2401#line 2401 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2402 { /* match expression */
2403 modelica_metatype tmp4_1;modelica_metatype tmp4_2;
2404 tmp4_1 = _inNewValues;
2405 tmp4_2 = _inOldValues;
2406 {
2407 modelica_metatype _v1 = NULL((void*)0);
2408 modelica_metatype _v2 = NULL((void*)0);
2409 modelica_metatype _vl1 = NULL((void*)0);
2410 modelica_metatype _vl2 = NULL((void*)0);
2411 modelica_metatype _cache = NULL((void*)0);
2412 volatile mmc_switch_type tmp4;
2413 int tmp5;
2414 // _v1 has no default value.
2415 // _v2 has no default value.
2416 // _vl1 has no default value.
2417 // _vl2 has no default value.
2418 // _cache has no default value.
2419 tmp4 = 0;
2420 for (; tmp4 < 2; tmp4++) {
2421 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2422 case 0: {
2423 if (!listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2424
2425 /* Pattern matching succeeded */
2426#line 2249 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2427 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2428#line 2249 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2429 tmpMeta[0+0] = _inCache;
2430#line 2249 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2431 tmpMeta[0+1] = tmpMeta[2];
2432#line 2432 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2433 goto tmp3_done;
2434 }
2435 case 1: {
2436 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2437 tmpMeta[2] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
2438 tmpMeta[3] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2439 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2440 tmpMeta[4] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2441 tmpMeta[5] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2442 _v1 = tmpMeta[2];
2443 _vl1 = tmpMeta[3];
2444 _v2 = tmpMeta[4];
2445 _vl2 = tmpMeta[5];
2446 /* Pattern matching succeeded */
2447#line 2252 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2448 _cache = omc_CevalFunction_assignVector(threadData, _v1, _v2, _inSubscripts, _inCache, _inEnv ,&_v1);
2449#line 2449 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2450
2451#line 2253 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2452 _cache = omc_CevalFunction_assignWholeDim(threadData, _vl1, _vl2, _inSubscripts, _inCache, _inEnv ,&_vl1);
2453#line 2453 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2454#line 2254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2455 tmpMeta[2] = mmc_mk_cons(_v1, _vl1);
2456#line 2254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2457 tmpMeta[0+0] = _cache;
2458#line 2254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2459 tmpMeta[0+1] = tmpMeta[2];
2460#line 2460 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2461 goto tmp3_done;
2462 }
2463 }
2464 goto tmp3_end;
2465 tmp3_end: ;
2466 }
2467 goto goto_2;
2468 goto_2:;
2469 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2470 goto tmp3_done;
2471 tmp3_done:;
2472 }
2473 }
2474 _outCache = tmpMeta[0+0];
2475 _outResult = tmpMeta[0+1];
2476 _return: OMC_LABEL_UNUSED__attribute__((unused))
2477 if (out_outResult) { *out_outResult = _outResult; }
2478 return _outCache;
2479}
2480
2481PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_assignSlice(threadData_t *threadData, modelica_metatype _inNewValues, modelica_metatype _inOldValues, modelica_metatype _inIndices, modelica_metatype _inSubscripts, modelica_integer _inIndex, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outResult)
2482{
2483 modelica_metatype _outCache = NULL((void*)0);
2484 modelica_metatype _outResult = NULL((void*)0);
2485 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
2486 MMC_SO()mmc_check_stackoverflow(threadData);
2487 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2488 // _outCache has no default value.
2489 // _outResult has no default value.
2490#line 2204 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2491
2492#line 2204 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2493
2494#line 2494 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2495 { /* matchcontinue expression */
2496 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;volatile modelica_metatype tmp4_3;
2497 tmp4_1 = _inNewValues;
2498 tmp4_2 = _inOldValues;
2499 tmp4_3 = _inIndices;
2500 {
2501 modelica_metatype _v1 = NULL((void*)0);
2502 modelica_metatype _v2 = NULL((void*)0);
2503 modelica_metatype _index = NULL((void*)0);
2504 modelica_metatype _vl1 = NULL((void*)0);
2505 modelica_metatype _vl2 = NULL((void*)0);
2506 modelica_metatype _rest_indices = NULL((void*)0);
2507 modelica_metatype _cache = NULL((void*)0);
2508 volatile mmc_switch_type tmp4;
2509 int tmp5;
2510 // _v1 has no default value.
2511 // _v2 has no default value.
2512 // _index has no default value.
2513 // _vl1 has no default value.
2514 // _vl2 has no default value.
2515 // _rest_indices has no default value.
2516 // _cache has no default value.
2517 tmp4 = 0;
2518 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) {
2519 tmp3_top:
2520 threadData->mmc_jumper = &new_mmc_jumper;
2521 for (; tmp4 < 3; tmp4++) {
2522 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2523 case 0: {
2524 if (!listEmpty(tmp4_3)((*(mmc_uint_t*)((void*)((char*)(tmp4_3) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2525
2526 tmp4 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
2527#line 2212 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2528 tmpMeta[0+0] = _inCache;
2529#line 2212 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2530 tmpMeta[0+1] = _inOldValues;
2531#line 2531 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2532 goto tmp3_done;
2533 }
2534 case 1: {
2535 modelica_boolean tmp6;
2536 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2537 tmpMeta[2] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2538 tmpMeta[3] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2539 if (listEmpty(tmp4_3)((*(mmc_uint_t*)((void*)((char*)(tmp4_3) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2540 tmpMeta[4] = MMC_CAR(tmp4_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_3) - 3))) +
(1)))))
;
2541 tmpMeta[5] = MMC_CDR(tmp4_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_3) - 3))) +
(2)))))
;
2542
2543 _v2 = tmpMeta[2];
2544 _vl2 = tmpMeta[3];
2545 _index = tmpMeta[4];
2546 _vl1 = tmp4_1;
2547 /* Pattern matching succeeded */
2548#line 2217 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2549 /* Pattern-matching assignment */
2550#line 2217 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2551 tmp6 = (_inIndex < omc_ValuesUtil_valueInteger(threadData, _index));
2552#line 2217 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2553 if (1 != tmp6) goto goto_2;
2554#line 2554 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2555
2556#line 2218 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2557 _cache = omc_CevalFunction_assignSlice(threadData, _vl1, _vl2, _inIndices, _inSubscripts, ((modelica_integer) 1) + _inIndex, _inCache, _inEnv ,&_vl1);
2558#line 2558 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2559#line 2220 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2560 tmpMeta[2] = mmc_mk_cons(_v2, _vl1);
2561#line 2220 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2562 tmpMeta[0+0] = _cache;
2563#line 2220 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2564 tmpMeta[0+1] = tmpMeta[2];
2565#line 2565 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2566 goto tmp3_done;
2567 }
2568 case 2: {
2569 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2570 tmpMeta[2] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
2571 tmpMeta[3] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2572 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2573 tmpMeta[4] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2574 tmpMeta[5] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2575 if (listEmpty(tmp4_3)((*(mmc_uint_t*)((void*)((char*)(tmp4_3) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2576 tmpMeta[6] = MMC_CAR(tmp4_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_3) - 3))) +
(1)))))
;
2577 tmpMeta[7] = MMC_CDR(tmp4_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_3) - 3))) +
(2)))))
;
2578 _v1 = tmpMeta[2];
2579 _vl1 = tmpMeta[3];
2580 _v2 = tmpMeta[4];
2581 _vl2 = tmpMeta[5];
2582 _rest_indices = tmpMeta[7];
2583 /* Pattern matching succeeded */
2584#line 2225 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2585 _cache = omc_CevalFunction_assignVector(threadData, _v1, _v2, _inSubscripts, _inCache, _inEnv ,&_v1);
2586#line 2586 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2587
2588#line 2226 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2589 _cache = omc_CevalFunction_assignSlice(threadData, _vl1, _vl2, _rest_indices, _inSubscripts, ((modelica_integer) 1) + _inIndex, _inCache, _inEnv ,&_vl1);
2590#line 2590 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2591#line 2228 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2592 tmpMeta[2] = mmc_mk_cons(_v1, _vl1);
2593#line 2228 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2594 tmpMeta[0+0] = _cache;
2595#line 2228 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2596 tmpMeta[0+1] = tmpMeta[2];
2597#line 2597 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2598 goto tmp3_done;
2599 }
2600 }
2601 goto tmp3_end;
2602 tmp3_end: ;
2603 }
2604 goto goto_2;
2605 tmp3_done:
2606 (void)tmp4;
2607 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2608 goto tmp3_done2;
2609 goto_2:;
2610 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2611 if (++tmp4 < 3) {
2612 goto tmp3_top;
2613 }
2614 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2615 tmp3_done2:;
2616 }
2617 }
2618 _outCache = tmpMeta[0+0];
2619 _outResult = tmpMeta[0+1];
2620 _return: OMC_LABEL_UNUSED__attribute__((unused))
2621 if (out_outResult) { *out_outResult = _outResult; }
2622 return _outCache;
2623}
2624PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_CevalFunction_assignSlice(threadData_t *threadData, modelica_metatype _inNewValues, modelica_metatype _inOldValues, modelica_metatype _inIndices, modelica_metatype _inSubscripts, modelica_metatype _inIndex, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outResult)
2625{
2626 modelica_integer tmp1;
2627 modelica_metatype _outCache = NULL((void*)0);
2628 tmp1 = mmc_unbox_integer(_inIndex)(((mmc_sint_t) (_inIndex)) >> 1);
2629 _outCache = omc_CevalFunction_assignSlice(threadData, _inNewValues, _inOldValues, _inIndices, _inSubscripts, tmp1, _inCache, _inEnv, out_outResult);
2630 /* skip box _outCache; FCore.Cache */
2631 /* skip box _outResult; list<Values.Value> */
2632 return _outCache;
2633}
2634
2635DLLExport
2636modelica_metatype omc_CevalFunction_assignVector(threadData_t *threadData, modelica_metatype _inNewValue, modelica_metatype _inOldValue, modelica_metatype _inSubscripts, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outResult)
2637{
2638 modelica_metatype _outCache = NULL((void*)0);
2639 modelica_metatype _outResult = NULL((void*)0);
2640 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
2641 MMC_SO()mmc_check_stackoverflow(threadData);
2642 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2643 // _outCache has no default value.
2644 // _outResult has no default value.
2645#line 2124 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2646
2647#line 2124 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2648
2649#line 2649 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2650 { /* matchcontinue expression */
2651 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;volatile modelica_metatype tmp4_3;
2652 tmp4_1 = _inNewValue;
2653 tmp4_2 = _inOldValue;
2654 tmp4_3 = _inSubscripts;
2655 {
2656 modelica_metatype _e = NULL((void*)0);
2657 modelica_metatype _index = NULL((void*)0);
2658 modelica_metatype _val = NULL((void*)0);
2659 modelica_metatype _values = NULL((void*)0);
2660 modelica_metatype _values2 = NULL((void*)0);
2661 modelica_metatype _old_values = NULL((void*)0);
2662 modelica_metatype _old_values2 = NULL((void*)0);
2663 modelica_metatype _indices = NULL((void*)0);
2664 modelica_metatype _dims = NULL((void*)0);
2665 modelica_integer _i;
2666 modelica_metatype _sub = NULL((void*)0);
2667 modelica_metatype _rest_subs = NULL((void*)0);
2668 modelica_metatype _cache = NULL((void*)0);
2669 volatile mmc_switch_type tmp4;
2670 int tmp5;
2671 // _e has no default value.
2672 // _index has no default value.
2673 // _val has no default value.
2674 // _values has no default value.
2675 // _values2 has no default value.
2676 // _old_values has no default value.
2677 // _old_values2 has no default value.
2678 // _indices has no default value.
2679 // _dims has no default value.
2680 // _i has no default value.
2681 // _sub has no default value.
2682 // _rest_subs has no default value.
2683 // _cache has no default value.
2684 tmp4 = 0;
2685 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) {
2686 tmp3_top:
2687 threadData->mmc_jumper = &new_mmc_jumper;
2688 for (; tmp4 < 5; tmp4++) {
2689 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2690 case 0: {
2691 if (!listEmpty(tmp4_3)((*(mmc_uint_t*)((void*)((char*)(tmp4_3) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2692
2693 tmp4 += 4; /* Pattern matching succeeded; we may skip some cases if we fail */
2694#line 2139 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2695 tmpMeta[0+0] = _inCache;
2696#line 2139 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2697 tmpMeta[0+1] = _inNewValue;
2698#line 2698 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2699 goto tmp3_done;
2700 }
2701 case 1: {
2702 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,5,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((2 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp3_end;
2703 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2704 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
2705 if (listEmpty(tmp4_3)((*(mmc_uint_t*)((void*)((char*)(tmp4_3) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2706 tmpMeta[4] = MMC_CAR(tmp4_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_3) - 3))) +
(1)))))
;
2707 tmpMeta[5] = MMC_CDR(tmp4_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_3) - 3))) +
(2)))))
;
2708 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],2,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((1 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
2709 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
2710
2711 _values = tmpMeta[2];
2712 _dims = tmpMeta[3];
2713 _e = tmpMeta[6];
2714 _rest_subs = tmpMeta[5];
2715 tmp4 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
2716#line 2145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2717 _cache = omc_CevalFunction_cevalExp(threadData, _e, _inCache, _inEnv ,&_index);
2718#line 2718 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2719
2720#line 2146 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2721 _i = omc_ValuesUtil_valueInteger(threadData, _index);
2722#line 2722 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2723
2724#line 2147 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2725 _val = listGet(_values, _i)boxptr_listGet(threadData,_values,mmc_mk_icon(_i));
2726#line 2726 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2727
2728#line 2148 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2729 _cache = omc_CevalFunction_assignVector(threadData, _inNewValue, _val, _rest_subs, _cache, _inEnv ,&_val);
2730#line 2730 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2731
2732#line 2149 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2733 _values = omc_List_replaceAt(threadData, _val, _i, _values);
2734#line 2734 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2735#line 2150 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2736 tmpMeta[2] = mmc_mk_box3(8, &Values_Value_ARRAY__desc, _values, _dims);
2737#line 2150 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2738 tmpMeta[0+0] = _cache;
2739#line 2150 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2740 tmpMeta[0+1] = tmpMeta[2];
2741#line 2741 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2742 goto tmp3_done;
2743 }
2744 case 2: {
2745 modelica_integer tmp6;
2746 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,5,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp3_end;
2747 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2748 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,5,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((2 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp3_end;
2749 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2750 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
2751 if (listEmpty(tmp4_3)((*(mmc_uint_t*)((void*)((char*)(tmp4_3) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2752 tmpMeta[5] = MMC_CAR(tmp4_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_3) - 3))) +
(1)))))
;
2753 tmpMeta[6] = MMC_CDR(tmp4_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_3) - 3))) +
(2)))))
;
2754 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2755 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
2756 _values = tmpMeta[2];
2757 _old_values = tmpMeta[3];
2758 _dims = tmpMeta[4];
2759 _e = tmpMeta[7];
2760 _rest_subs = tmpMeta[6];
2761 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
2762#line 2159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2763 /* Pattern-matching tuple assignment */
2764#line 2159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2765 tmpMeta[7] = omc_CevalFunction_cevalExp(threadData, _e, _inCache, _inEnv, &tmpMeta[2]);
2766#line 2159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2767 _cache = tmpMeta[7];
2768#line 2159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2769 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],5,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((2 +1)
<< 10) + (((5 +3) & 255) << 2)))
== 0) goto goto_2;
2770#line 2159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2771 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2772#line 2159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2773 if (listEmpty(tmpMeta[3])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto goto_2;
2774#line 2159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2775 tmpMeta[4] = MMC_CAR(tmpMeta[3])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
2776#line 2159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2777 tmpMeta[5] = MMC_CDR(tmpMeta[3])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
2778#line 2159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2779 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto goto_2;
2780#line 2159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2781 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
2782#line 2159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2783 tmp6 = mmc_unbox_integer(tmpMeta[6])(((mmc_sint_t) (tmpMeta[6])) >> 1);
2784#line 2159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2785 _indices = tmpMeta[3];
2786#line 2159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2787 _i = tmp6 /* pattern as ty=Integer */;
2788#line 2788 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2789
2790#line 2162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2791 _old_values = omc_List_splitr(threadData, _old_values, ((modelica_integer) -1) + _i ,&_old_values2);
2792#line 2792 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2793
2794#line 2164 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2795 _cache = omc_CevalFunction_assignSlice(threadData, _values, _old_values2, _indices, _rest_subs, _i, _cache, _inEnv ,&_values2);
2796#line 2796 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2797
2798#line 2167 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2799 _values = omc_List_append__reverse(threadData, _old_values, _values2);
2800#line 2800 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2801#line 2168 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2802 tmpMeta[2] = mmc_mk_box3(8, &Values_Value_ARRAY__desc, _values, _dims);
2803#line 2168 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2804 tmpMeta[0+0] = _cache;
2805#line 2168 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2806 tmpMeta[0+1] = tmpMeta[2];
2807#line 2807 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2808 goto tmp3_done;
2809 }
2810 case 3: {
2811 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,5,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp3_end;
2812 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2813 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,5,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((2 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp3_end;
2814 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2815 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
2816 if (listEmpty(tmp4_3)((*(mmc_uint_t*)((void*)((char*)(tmp4_3) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2817 tmpMeta[5] = MMC_CAR(tmp4_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_3) - 3))) +
(1)))))
;
2818 tmpMeta[6] = MMC_CDR(tmp4_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_3) - 3))) +
(2)))))
;
2819 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],0,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((0 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
2820 _values = tmpMeta[2];
2821 _values2 = tmpMeta[3];
2822 _dims = tmpMeta[4];
2823 _rest_subs = tmpMeta[6];
2824 /* Pattern matching succeeded */
2825#line 2176 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2826 _cache = omc_CevalFunction_assignWholeDim(threadData, _values, _values2, _rest_subs, _inCache, _inEnv ,&_values);
2827#line 2827 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2828#line 2178 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2829 tmpMeta[2] = mmc_mk_box3(8, &Values_Value_ARRAY__desc, _values, _dims);
2830#line 2178 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2831 tmpMeta[0+0] = _cache;
2832#line 2178 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2833 tmpMeta[0+1] = tmpMeta[2];
2834#line 2834 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2835 goto tmp3_done;
2836 }
2837 case 4: {
2838 modelica_boolean tmp7;
2839 if (listEmpty(tmp4_3)((*(mmc_uint_t*)((void*)((char*)(tmp4_3) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2840 tmpMeta[2] = MMC_CAR(tmp4_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_3) - 3))) +
(1)))))
;
2841 tmpMeta[3] = MMC_CDR(tmp4_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_3) - 3))) +
(2)))))
;
2842
2843 _sub = tmpMeta[2];
2844 /* Pattern matching succeeded */
2845#line 2183 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2846 /* Pattern-matching assignment */
2847#line 2183 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2848 tmp7 = omc_Flags_isSet(threadData, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
2849#line 2183 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2850 if (1 != tmp7) goto goto_2;
2851#line 2851 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2852
2853#line 2184 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2854 fputs(MMC_STRINGDATA(_OMC_LIT32)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT32).header) + 3))) - 3)))->data)
,stdoutstdout);
2855#line 2855 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2856
2857#line 2185 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2858 tmpMeta[2] = stringAppend(omc_ExpressionDump_printSubscriptStr(threadData, _sub),_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)));
2859#line 2185 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2860 fputs(MMC_STRINGDATA(tmpMeta[2])(((struct mmc_string*)((void*)((char*)(tmpMeta[2]) - 3)))->
data)
,stdoutstdout);
2861#line 2861 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2862#line 2186 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2863 goto goto_2;
2864#line 2864 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2865 goto tmp3_done;
2866 }
2867 }
2868 goto tmp3_end;
2869 tmp3_end: ;
2870 }
2871 goto goto_2;
2872 tmp3_done:
2873 (void)tmp4;
2874 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2875 goto tmp3_done2;
2876 goto_2:;
2877 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2878 if (++tmp4 < 5) {
2879 goto tmp3_top;
2880 }
2881 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2882 tmp3_done2:;
2883 }
2884 }
2885 _outCache = tmpMeta[0+0];
2886 _outResult = tmpMeta[0+1];
2887 _return: OMC_LABEL_UNUSED__attribute__((unused))
2888 if (out_outResult) { *out_outResult = _outResult; }
2889 return _outCache;
2890}
2891
2892PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_assignRecordComponents(threadData_t *threadData, modelica_metatype _inVars, modelica_metatype _inValues, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv)
2893{
2894 modelica_metatype _outCache = NULL((void*)0);
2895 modelica_metatype _outEnv = NULL((void*)0);
2896 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
2897 MMC_SO()mmc_check_stackoverflow(threadData);
2898 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2899 // _outCache has no default value.
2900 // _outEnv has no default value.
2901#line 2090 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2902
2903#line 2090 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2904
2905#line 2905 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2906 { /* match expression */
2907 modelica_metatype tmp4_1;modelica_metatype tmp4_2;
2908 tmp4_1 = _inVars;
2909 tmp4_2 = _inValues;
2910 {
2911 modelica_metatype _rest_vars = NULL((void*)0);
2912 modelica_metatype _val = NULL((void*)0);
2913 modelica_metatype _rest_vals = NULL((void*)0);
2914 modelica_string _name = NULL((void*)0);
2915 modelica_metatype _cr = NULL((void*)0);
2916 modelica_metatype _ty = NULL((void*)0);
2917 modelica_metatype _cache = NULL((void*)0);
2918 modelica_metatype _env = NULL((void*)0);
2919 volatile mmc_switch_type tmp4;
2920 int tmp5;
2921 // _rest_vars has no default value.
2922 // _val has no default value.
2923 // _rest_vals has no default value.
2924 // _name has no default value.
2925 // _cr has no default value.
2926 // _ty has no default value.
2927 // _cache has no default value.
2928 // _env has no default value.
2929 tmp4 = 0;
2930 for (; tmp4 < 2; tmp4++) {
2931 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2932 case 0: {
2933 if (!listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2934 if (!listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2935 /* Pattern matching succeeded */
2936#line 2101 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2937 tmpMeta[0+0] = _inCache;
2938#line 2101 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2939 tmpMeta[0+1] = _inEnv;
2940#line 2940 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2941 goto tmp3_done;
2942 }
2943 case 1: {
2944 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2945 tmpMeta[2] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
2946 tmpMeta[3] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2947 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2948 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
2949 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2950 tmpMeta[6] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2951 tmpMeta[7] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2952 _name = tmpMeta[4];
2953 _ty = tmpMeta[5];
2954 _rest_vars = tmpMeta[3];
2955 _val = tmpMeta[6];
2956 _rest_vals = tmpMeta[7];
2957 /* Pattern matching succeeded */
2958#line 2105 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2959 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2960#line 2105 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2961 _cr = omc_ComponentReference_makeCrefIdent(threadData, _name, _ty, tmpMeta[2]);
2962#line 2962 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2963
2964#line 2106 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2965 _cache = omc_CevalFunction_assignVariable(threadData, _cr, _val, _inCache, _inEnv ,&_env);
2966#line 2966 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2967#line 2107 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2968 /* Tail recursive call */
2969#line 2107 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2970 _inVars = _rest_vars;
2971#line 2107 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2972 _inValues = _rest_vals;
2973#line 2107 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2974 _inCache = _cache;
2975#line 2107 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2976 _inEnv = _env;
2977#line 2107 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2978 goto _tailrecursive;
2979#line 2107 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
2980 /* TODO: Make sure any eventual dead code below is never generated */
2981#line 2981 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
2982 goto tmp3_done;
2983 }
2984 }
2985 goto tmp3_end;
2986 tmp3_end: ;
2987 }
2988 goto goto_2;
2989 goto_2:;
2990 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2991 goto tmp3_done;
2992 tmp3_done:;
2993 }
2994 }
2995 _outCache = tmpMeta[0+0];
2996 _outEnv = tmpMeta[0+1];
2997 _return: OMC_LABEL_UNUSED__attribute__((unused))
2998 if (out_outEnv) { *out_outEnv = _outEnv; }
2999 return _outCache;
3000}
3001
3002PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_assignRecord(threadData_t *threadData, modelica_metatype _inType, modelica_metatype _inValue, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv)
3003{
3004 modelica_metatype _outCache = NULL((void*)0);
3005 modelica_metatype _outEnv = NULL((void*)0);
3006 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
3007 MMC_SO()mmc_check_stackoverflow(threadData);
3008 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3009 // _outCache has no default value.
3010 // _outEnv has no default value.
3011#line 2068 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3012
3013#line 2068 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3014
3015#line 3015 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3016 { /* match expression */
3017 modelica_metatype tmp4_1;modelica_metatype tmp4_2;
3018 tmp4_1 = _inType;
3019 tmp4_2 = _inValue;
3020 {
3021 modelica_metatype _values = NULL((void*)0);
3022 modelica_metatype _vars = NULL((void*)0);
3023 volatile mmc_switch_type tmp4;
3024 int tmp5;
3025 // _values has no default value.
3026 // _vars has no default value.
3027 tmp4 = 0;
3028 for (; tmp4 < 1; tmp4++) {
3029 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3030 case 0: {
3031 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,9,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((9 +3) & 255) << 2)))
== 0) goto tmp3_end;
3032 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
3033 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,10,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((4 +1) <<
10) + (((10 +3) & 255) << 2)))
== 0) goto tmp3_end;
3034 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
3035
3036 _vars = tmpMeta[2];
3037 _values = tmpMeta[3];
3038 /* Pattern matching succeeded */
3039#line 2076 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3040 tmpMeta[0+0] = omc_CevalFunction_assignRecordComponents(threadData, _vars, _values, _inCache, _inEnv, &tmpMeta[0+1]);
3041#line 3041 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3042 goto tmp3_done;
3043 }
3044 }
3045 goto tmp3_end;
3046 tmp3_end: ;
3047 }
3048 goto goto_2;
3049 goto_2:;
3050 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3051 goto tmp3_done;
3052 tmp3_done:;
3053 }
3054 }
3055 _outCache = tmpMeta[0+0];
3056 _outEnv = tmpMeta[0+1];
3057 _return: OMC_LABEL_UNUSED__attribute__((unused))
3058 if (out_outEnv) { *out_outEnv = _outEnv; }
3059 return _outCache;
3060}
3061
3062PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_assignTuple(threadData_t *threadData, modelica_metatype _inLhsCrefs, modelica_metatype _inRhsValues, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv)
3063{
3064 modelica_metatype _outCache = NULL((void*)0);
3065 modelica_metatype _outEnv = NULL((void*)0);
3066 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
3067 MMC_SO()mmc_check_stackoverflow(threadData);
3068 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3069 // _outCache has no default value.
3070 // _outEnv has no default value.
3071#line 2041 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3072
3073#line 2041 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3074
3075#line 3075 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3076 { /* match expression */
3077 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;modelica_metatype tmp4_4;
3078 tmp4_1 = _inLhsCrefs;
3079 tmp4_2 = _inRhsValues;
3080 tmp4_3 = _inCache;
3081 tmp4_4 = _inEnv;
3082 {
3083 modelica_metatype _cr = NULL((void*)0);
3084 modelica_metatype _rest_crefs = NULL((void*)0);
3085 modelica_metatype _value = NULL((void*)0);
3086 modelica_metatype _rest_vals = NULL((void*)0);
3087 modelica_metatype _cache = NULL((void*)0);
3088 modelica_metatype _env = NULL((void*)0);
3089 volatile mmc_switch_type tmp4;
3090 int tmp5;
3091 // _cr has no default value.
3092 // _rest_crefs has no default value.
3093 // _value has no default value.
3094 // _rest_vals has no default value.
3095 // _cache has no default value.
3096 // _env has no default value.
3097 tmp4 = 0;
3098 for (; tmp4 < 2; tmp4++) {
3099 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3100 case 0: {
3101 if (!listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3102
3103 _cache = tmp4_3;
3104 _env = tmp4_4;
3105 /* Pattern matching succeeded */
3106#line 2050 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3107 tmpMeta[0+0] = _cache;
3108#line 2050 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3109 tmpMeta[0+1] = _env;
3110#line 3110 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3111 goto tmp3_done;
3112 }
3113 case 1: {
3114 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3115 tmpMeta[2] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
3116 tmpMeta[3] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3117 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3118 tmpMeta[4] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
3119 tmpMeta[5] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
3120
3121 _cr = tmpMeta[2];
3122 _rest_crefs = tmpMeta[3];
3123 _value = tmpMeta[4];
3124 _rest_vals = tmpMeta[5];
3125 _cache = tmp4_3;
3126 _env = tmp4_4;
3127 /* Pattern matching succeeded */
3128#line 2053 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3129 _cache = omc_CevalFunction_assignVariable(threadData, _cr, _value, _cache, _env ,&_env);
3130#line 3130 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3131#line 2054 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3132 /* Tail recursive call */
3133#line 2054 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3134 _inLhsCrefs = _rest_crefs;
3135#line 2054 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3136 _inRhsValues = _rest_vals;
3137#line 2054 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3138 _inCache = _cache;
3139#line 2054 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3140 _inEnv = _env;
3141#line 2054 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3142 goto _tailrecursive;
3143#line 2054 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3144 /* TODO: Make sure any eventual dead code below is never generated */
3145#line 3145 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3146 goto tmp3_done;
3147 }
3148 }
3149 goto tmp3_end;
3150 tmp3_end: ;
3151 }
3152 goto goto_2;
3153 goto_2:;
3154 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3155 goto tmp3_done;
3156 tmp3_done:;
3157 }
3158 }
3159 _outCache = tmpMeta[0+0];
3160 _outEnv = tmpMeta[0+1];
3161 _return: OMC_LABEL_UNUSED__attribute__((unused))
3162 if (out_outEnv) { *out_outEnv = _outEnv; }
3163 return _outCache;
3164}
3165
3166PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_assignVariable(threadData_t *threadData, modelica_metatype _inCref, modelica_metatype _inNewValue, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv)
3167{
3168 modelica_metatype _outCache = NULL((void*)0);
3169 modelica_metatype _outEnv = NULL((void*)0);
3170 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
3171 MMC_SO()mmc_check_stackoverflow(threadData);
3172 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3173 // _outCache has no default value.
3174 // _outEnv has no default value.
3175#line 1967 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3176
3177#line 1967 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3178
3179#line 3179 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3180 { /* matchcontinue expression */
3181 volatile modelica_metatype tmp4_1;
3182 tmp4_1 = _inCref;
3183 {
3184 modelica_metatype _cr = NULL((void*)0);
3185 modelica_metatype _cr_rest = NULL((void*)0);
3186 modelica_metatype _cache = NULL((void*)0);
3187 modelica_metatype _env = NULL((void*)0);
3188 modelica_metatype _subs = NULL((void*)0);
3189 modelica_metatype _ty = NULL((void*)0);
3190 modelica_metatype _ety = NULL((void*)0);
3191 modelica_metatype _val = NULL((void*)0);
3192 modelica_metatype _var = NULL((void*)0);
3193 modelica_metatype _inst_status = NULL((void*)0);
3194 modelica_string _id = NULL((void*)0);
3195 modelica_string _comp_id = NULL((void*)0);
3196 volatile mmc_switch_type tmp4;
3197 int tmp5;
3198 // _cr has no default value.
3199 // _cr_rest has no default value.
3200 // _cache has no default value.
3201 // _env has no default value.
3202 // _subs has no default value.
3203 // _ty has no default value.
3204 // _ety has no default value.
3205 // _val has no default value.
3206 // _var has no default value.
3207 // _inst_status has no default value.
3208 // _id has no default value.
3209 // _comp_id has no default value.
3210 tmp4 = 0;
3211 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) {
3212 tmp3_top:
3213 threadData->mmc_jumper = &new_mmc_jumper;
3214 for (; tmp4 < 5; tmp4++) {
3215 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3216 case 0: {
3217 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,4,0)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((0 +1) <<
10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
3218 tmp4 += 4; /* Pattern matching succeeded; we may skip some cases if we fail */
3219#line 1982 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3220 tmpMeta[0+0] = _inCache;
3221#line 1982 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3222 tmpMeta[0+1] = _inEnv;
3223#line 3223 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3224 goto tmp3_done;
3225 }
3226 case 1: {
3227 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3228 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3229 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
3230 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],9,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((3 +1)
<< 10) + (((9 +3) & 255) << 2)))
== 0) goto tmp3_end;
3231 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
3232 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
3233 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
3234 if (!listEmpty(tmpMeta[5])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3235 _id = tmpMeta[2];
3236 _ety = tmpMeta[3];
3237 /* Pattern matching succeeded */
3238#line 1988 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3239 omc_Lookup_lookupIdentLocal(threadData, _inCache, _inEnv, _id ,&_var ,NULL((void*)0) ,NULL((void*)0) ,&_inst_status ,&_env);
3240#line 3240 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3241
3242#line 1990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3243 _cache = omc_CevalFunction_assignRecord(threadData, _ety, _inNewValue, _inCache, _env ,&_env);
3244#line 3244 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3245
3246#line 1991 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3247 _var = omc_CevalFunction_updateRecordBinding(threadData, _var, _inNewValue);
3248#line 3248 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3249
3250#line 1992 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3251 _env = omc_FGraph_updateComp(threadData, _inEnv, _var, _inst_status, _env);
3252#line 3252 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3253#line 1993 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3254 tmpMeta[0+0] = _cache;
3255#line 1993 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3256 tmpMeta[0+1] = _env;
3257#line 3257 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3258 goto tmp3_done;
3259 }
3260 case 2: {
3261 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3262 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
3263 if (!listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3264 _cr = tmp4_1;
3265 /* Pattern matching succeeded */
3266#line 1999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3267 _ty = omc_Types_unflattenArrayType(threadData, omc_Expression_typeof(threadData, omc_ValuesUtil_valueExp(threadData, _inNewValue, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)))));
3268#line 3268 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3269
3270#line 2000 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3271 _env = omc_CevalFunction_updateVariableBinding(threadData, _cr, _inEnv, _ty, _inNewValue);
3272#line 3272 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3273#line 2001 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3274 tmpMeta[0+0] = _inCache;
3275#line 2001 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3276 tmpMeta[0+1] = _env;
3277#line 3277 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3278 goto tmp3_done;
3279 }
3280 case 3: {
3281 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3282 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
3283 _subs = tmpMeta[2];
3284 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
3285#line 2008 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3286 _cr = omc_ComponentReference_crefStripSubs(threadData, _inCref);
3287#line 3287 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3288
3289#line 2009 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3290 _ty = omc_CevalFunction_getVariableTypeAndValue(threadData, _cr, _inEnv ,&_val);
3291#line 3291 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3292
3293#line 2010 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3294 _cache = omc_CevalFunction_assignVector(threadData, _inNewValue, _val, _subs, _inCache, _inEnv ,&_val);
3295#line 3295 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3296
3297#line 2011 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3298 _env = omc_CevalFunction_updateVariableBinding(threadData, _cr, _inEnv, _ty, _val);
3299#line 3299 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3300#line 2012 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3301 tmpMeta[0+0] = _cache;
3302#line 2012 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3303 tmpMeta[0+1] = _env;
3304#line 3304 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3305 goto tmp3_done;
3306 }
3307 case 4: {
3308 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
3309 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3310 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
3311 if (!listEmpty(tmpMeta[3])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3312 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(5)))))
;
3313 _id = tmpMeta[2];
3314 _cr_rest = tmpMeta[4];
3315 /* Pattern matching succeeded */
3316#line 2020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3317 omc_Lookup_lookupIdentLocal(threadData, _inCache, _inEnv, _id ,&_var ,NULL((void*)0) ,NULL((void*)0) ,&_inst_status ,&_env);
3318#line 3318 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3319
3320#line 2022 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3321 _cache = omc_CevalFunction_assignVariable(threadData, _cr_rest, _inNewValue, _inCache, _env ,&_env);
3322#line 3322 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3323
3324#line 2023 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3325 _comp_id = omc_ComponentReference_crefFirstIdent(threadData, _cr_rest);
3326#line 3326 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3327
3328#line 2024 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3329 _var = omc_CevalFunction_updateRecordComponentBinding(threadData, _var, _comp_id, _inNewValue);
3330#line 3330 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3331
3332#line 2025 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3333 _env = omc_FGraph_updateComp(threadData, _inEnv, _var, _inst_status, _env);
3334#line 3334 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3335#line 2026 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3336 tmpMeta[0+0] = _cache;
3337#line 2026 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3338 tmpMeta[0+1] = _env;
3339#line 3339 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3340 goto tmp3_done;
3341 }
3342 }
3343 goto tmp3_end;
3344 tmp3_end: ;
3345 }
3346 goto goto_2;
3347 tmp3_done:
3348 (void)tmp4;
3349 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3350 goto tmp3_done2;
3351 goto_2:;
3352 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3353 if (++tmp4 < 5) {
3354 goto tmp3_top;
3355 }
3356 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3357 tmp3_done2:;
3358 }
3359 }
3360 _outCache = tmpMeta[0+0];
3361 _outEnv = tmpMeta[0+1];
3362 _return: OMC_LABEL_UNUSED__attribute__((unused))
3363 if (out_outEnv) { *out_outEnv = _outEnv; }
3364 return _outCache;
3365}
3366
3367PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_appendDimensions2(threadData_t *threadData, modelica_metatype _inType, modelica_metatype _inDims, modelica_metatype _inBindingDims, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outType)
3368{
3369 modelica_metatype _outCache = NULL((void*)0);
3370 modelica_metatype _outType = NULL((void*)0);
3371 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
3372 MMC_SO()mmc_check_stackoverflow(threadData);
3373 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3374 // _outCache has no default value.
3375 // _outType has no default value.
3376#line 1884 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3377
3378#line 1884 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3379
3380#line 3380 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3381 { /* matchcontinue expression */
3382 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;volatile modelica_metatype tmp4_3;
3383 tmp4_1 = _inType;
3384 tmp4_2 = _inDims;
3385 tmp4_3 = _inBindingDims;
3386 {
3387 modelica_metatype _rest_dims = NULL((void*)0);
3388 modelica_metatype _dim_exp = NULL((void*)0);
3389 modelica_metatype _dim_val = NULL((void*)0);
3390 modelica_integer _dim_int;
3391 modelica_metatype _dim = NULL((void*)0);
3392 modelica_metatype _ty = NULL((void*)0);
3393 modelica_metatype _bind_dims = NULL((void*)0);
3394 modelica_metatype _cache = NULL((void*)0);
3395 volatile mmc_switch_type tmp4;
3396 int tmp5;
3397 // _rest_dims has no default value.
3398 // _dim_exp has no default value.
3399 // _dim_val has no default value.
3400 // _dim_int has no default value.
3401 // _dim has no default value.
3402 // _ty has no default value.
3403 // _bind_dims has no default value.
3404 // _cache has no default value.
3405 tmp4 = 0;
3406 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) {
3407 tmp3_top:
3408 threadData->mmc_jumper = &new_mmc_jumper;
3409 for (; tmp4 < 8; tmp4++) {
3410 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3411 case 0: {
3412 if (!listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3413
3414 _ty = tmp4_1;
3415 tmp4 += 7; /* Pattern matching succeeded; we may skip some cases if we fail */
3416#line 1897 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3417 tmpMeta[0+0] = _inCache;
3418#line 1897 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3419 tmpMeta[0+1] = _ty;
3420#line 3420 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3421 goto tmp3_done;
3422 }
3423 case 1: {
3424 modelica_integer tmp6;
3425 if (listEmpty(tmp4_3)((*(mmc_uint_t*)((void*)((char*)(tmp4_3) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3426 tmpMeta[2] = MMC_CAR(tmp4_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_3) - 3))) +
(1)))))
;
3427 tmpMeta[3] = MMC_CDR(tmp4_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_3) - 3))) +
(2)))))
;
3428 tmp6 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
3429 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3430 tmpMeta[4] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
3431 tmpMeta[5] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
3432 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],4,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((0 +1)
<< 10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
3433
3434 _dim_int = tmp6 /* pattern as ty=Integer */;
3435 _bind_dims = tmpMeta[3];
3436 _rest_dims = tmpMeta[5];
3437 _ty = tmp4_1;
3438 /* Pattern matching succeeded */
3439#line 1901 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3440 _dim = omc_Expression_intDimension(threadData, _dim_int);
3441#line 3441 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3442
3443#line 1902 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3444 _cache = omc_CevalFunction_appendDimensions2(threadData, _ty, _rest_dims, _bind_dims, _inCache, _inEnv ,&_ty);
3445#line 3445 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3446#line 1903 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3447 tmpMeta[2] = mmc_mk_cons(_dim, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3448#line 1903 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3449 tmpMeta[3] = mmc_mk_box3(9, &DAE_Type_T__ARRAY__desc, _ty, tmpMeta[2]);
3450#line 1903 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3451 tmpMeta[0+0] = _cache;
3452#line 1903 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3453 tmpMeta[0+1] = tmpMeta[3];
3454#line 3454 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3455 goto tmp3_done;
3456 }
3457 case 2: {
3458 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3459 tmpMeta[2] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
3460 tmpMeta[3] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
3461 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],4,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((0 +1)
<< 10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
3462
3463 _rest_dims = tmpMeta[3];
3464 _ty = tmp4_1;
3465 _bind_dims = tmp4_3;
3466 tmp4 += 4; /* Pattern matching succeeded; we may skip some cases if we fail */
3467#line 1909 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3468 _cache = omc_CevalFunction_appendDimensions2(threadData, _ty, _rest_dims, _bind_dims, _inCache, _inEnv ,&_ty);
3469#line 3469 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3470#line 1910 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3471 tmpMeta[2] = mmc_mk_box3(9, &DAE_Type_T__ARRAY__desc, _ty, _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)));
3472#line 1910 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3473 tmpMeta[0+0] = _cache;
3474#line 1910 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3475 tmpMeta[0+1] = tmpMeta[2];
3476#line 3476 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3477 goto tmp3_done;
3478 }
3479 case 3: {
3480 modelica_integer tmp7;
3481 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3482 tmpMeta[2] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
3483 tmpMeta[3] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
3484 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 tmp3_end;
3485 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
3486 tmp7 = mmc_unbox_integer(tmpMeta[4])(((mmc_sint_t) (tmpMeta[4])) >> 1);
3487
3488 _dim_int = tmp7 /* pattern as ty=Integer */;
3489 _rest_dims = tmpMeta[3];
3490 _ty = tmp4_1;
3491 _bind_dims = tmp4_3;
3492 tmp4 += 3; /* Pattern matching succeeded; we may skip some cases if we fail */
3493#line 1915 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3494 tmpMeta[2] = mmc_mk_box2(3, &DAE_Dimension_DIM__INTEGER__desc, mmc_mk_integermmc_mk_icon(_dim_int));
3495#line 1915 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3496 _dim = tmpMeta[2];
3497#line 3497 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3498
3499#line 1916 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3500 _bind_dims = omc_List_stripFirst(threadData, _bind_dims);
3501#line 3501 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3502
3503#line 1917 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3504 _cache = omc_CevalFunction_appendDimensions2(threadData, _ty, _rest_dims, _bind_dims, _inCache, _inEnv ,&_ty);
3505#line 3505 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3506#line 1918 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3507 tmpMeta[2] = mmc_mk_cons(_dim, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3508#line 1918 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3509 tmpMeta[3] = mmc_mk_box3(9, &DAE_Type_T__ARRAY__desc, _ty, tmpMeta[2]);
3510#line 1918 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3511 tmpMeta[0+0] = _cache;
3512#line 1918 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3513 tmpMeta[0+1] = tmpMeta[3];
3514#line 3514 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3515 goto tmp3_done;
3516 }
3517 case 4: {
3518 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3519 tmpMeta[2] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
3520 tmpMeta[3] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
3521 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((0 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
3522
3523 _rest_dims = tmpMeta[3];
3524 _ty = tmp4_1;
3525 _bind_dims = tmp4_3;
3526 tmp4 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
3527#line 1923 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3528 _dim = _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3));
3529#line 3529 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3530
3531#line 1924 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3532 _bind_dims = omc_List_stripFirst(threadData, _bind_dims);
3533#line 3533 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3534
3535#line 1925 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3536 _cache = omc_CevalFunction_appendDimensions2(threadData, _ty, _rest_dims, _bind_dims, _inCache, _inEnv ,&_ty);
3537#line 3537 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3538#line 1926 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3539 tmpMeta[2] = mmc_mk_cons(_dim, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3540#line 1926 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3541 tmpMeta[3] = mmc_mk_box3(9, &DAE_Type_T__ARRAY__desc, _ty, tmpMeta[2]);
3542#line 1926 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3543 tmpMeta[0+0] = _cache;
3544#line 1926 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3545 tmpMeta[0+1] = tmpMeta[3];
3546#line 3546 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3547 goto tmp3_done;
3548 }
3549 case 5: {
3550 modelica_integer tmp8;
3551 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3552 tmpMeta[2] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
3553 tmpMeta[3] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
3554 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],2,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((3 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
3555 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
3556 tmp8 = mmc_unbox_integer(tmpMeta[4])(((mmc_sint_t) (tmpMeta[4])) >> 1);
3557
3558 _dim_int = tmp8 /* pattern as ty=Integer */;
3559 _rest_dims = tmpMeta[3];
3560 _ty = tmp4_1;
3561 _bind_dims = tmp4_3;
3562 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
3563#line 1931 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3564 tmpMeta[2] = mmc_mk_box2(3, &DAE_Dimension_DIM__INTEGER__desc, mmc_mk_integermmc_mk_icon(_dim_int));
3565#line 1931 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3566 _dim = tmpMeta[2];
3567#line 3567 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3568
3569#line 1932 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3570 _bind_dims = omc_List_stripFirst(threadData, _bind_dims);
3571#line 3571 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3572
3573#line 1933 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3574 _cache = omc_CevalFunction_appendDimensions2(threadData, _ty, _rest_dims, _bind_dims, _inCache, _inEnv ,&_ty);
3575#line 3575 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3576#line 1934 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3577 tmpMeta[2] = mmc_mk_cons(_dim, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3578#line 1934 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3579 tmpMeta[3] = mmc_mk_box3(9, &DAE_Type_T__ARRAY__desc, _ty, tmpMeta[2]);
3580#line 1934 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3581 tmpMeta[0+0] = _cache;
3582#line 1934 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3583 tmpMeta[0+1] = tmpMeta[3];
3584#line 3584 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3585 goto tmp3_done;
3586 }
3587 case 6: {
3588 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3589 tmpMeta[2] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
3590 tmpMeta[3] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
3591 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
3592 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
3593
3594 _dim_exp = tmpMeta[4];
3595 _rest_dims = tmpMeta[3];
3596 _ty = tmp4_1;
3597 _bind_dims = tmp4_3;
3598 /* Pattern matching succeeded */
3599#line 1939 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3600 _cache = omc_CevalFunction_cevalExp(threadData, _dim_exp, _inCache, _inEnv ,&_dim_val);
Value stored to '_cache' is never read
3601#line 3601 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3602
3603#line 1940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3604 _dim_int = omc_ValuesUtil_valueInteger(threadData, _dim_val);
3605#line 3605 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3606
3607#line 1941 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3608 tmpMeta[2] = mmc_mk_box2(3, &DAE_Dimension_DIM__INTEGER__desc, mmc_mk_integermmc_mk_icon(_dim_int));
3609#line 1941 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3610 _dim = tmpMeta[2];
3611#line 3611 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3612
3613#line 1942 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3614 _bind_dims = omc_List_stripFirst(threadData, _bind_dims);
3615#line 3615 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3616
3617#line 1943 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3618 _cache = omc_CevalFunction_appendDimensions2(threadData, _ty, _rest_dims, _bind_dims, _inCache, _inEnv ,&_ty);
3619#line 3619 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3620#line 1944 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3621 tmpMeta[2] = mmc_mk_cons(_dim, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3622#line 1944 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3623 tmpMeta[3] = mmc_mk_box3(9, &DAE_Type_T__ARRAY__desc, _ty, tmpMeta[2]);
3624#line 1944 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3625 tmpMeta[0+0] = _cache;
3626#line 1944 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3627 tmpMeta[0+1] = tmpMeta[3];
3628#line 3628 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3629 goto tmp3_done;
3630 }
3631 case 7: {
3632 modelica_boolean tmp9;
3633 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3634 tmpMeta[2] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
3635 tmpMeta[3] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
3636
3637 /* Pattern matching succeeded */
3638#line 1949 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3639 /* Pattern-matching assignment */
3640#line 1949 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3641 tmp9 = omc_Flags_isSet(threadData, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
3642#line 1949 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3643 if (1 != tmp9) goto goto_2;
3644#line 3644 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3645
3646#line 1950 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3647 omc_Debug_trace(threadData, _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)));
3648#line 3648 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3649#line 1951 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3650 goto goto_2;
3651#line 3651 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3652 goto tmp3_done;
3653 }
3654 }
3655 goto tmp3_end;
3656 tmp3_end: ;
3657 }
3658 goto goto_2;
3659 tmp3_done:
3660 (void)tmp4;
3661 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3662 goto tmp3_done2;
3663 goto_2:;
3664 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3665 if (++tmp4 < 8) {
3666 goto tmp3_top;
3667 }
3668 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3669 tmp3_done2:;
3670 }
3671 }
3672 _outCache = tmpMeta[0+0];
3673 _outType = tmpMeta[0+1];
3674 _return: OMC_LABEL_UNUSED__attribute__((unused))
3675 if (out_outType) { *out_outType = _outType; }
3676 return _outCache;
3677}
3678
3679PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_appendDimensions(threadData_t *threadData, modelica_metatype _inType, modelica_metatype _inOptBinding, modelica_metatype _inDims, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outType)
3680{
3681 modelica_metatype _outCache = NULL((void*)0);
3682 modelica_metatype _outType = NULL((void*)0);
3683 modelica_metatype _binding_dims = NULL((void*)0);
3684 MMC_SO()mmc_check_stackoverflow(threadData);
3685 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3686 // _outCache has no default value.
3687 // _outType has no default value.
3688 // _binding_dims has no default value.
3689#line 1866 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3690 _binding_dims = omc_ValuesUtil_valueDimensions(threadData, omc_Util_getOptionOrDefault(threadData, _inOptBinding, _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))));
3691#line 3691 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3692
3693#line 1868 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3694 _outCache = omc_CevalFunction_appendDimensions2(threadData, _inType, _inDims, _binding_dims, _inCache, _inEnv ,&_outType);
3695#line 3695 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3696 _return: OMC_LABEL_UNUSED__attribute__((unused))
3697 if (out_outType) { *out_outType = _outType; }
3698 return _outCache;
3699}
3700
3701PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_extendEnvWithForScope(threadData_t *threadData, modelica_string _inIterName, modelica_metatype _inIterType, modelica_metatype _inEnv, modelica_metatype *out_outIterType, modelica_metatype *out_outIterCref)
3702{
3703 modelica_metatype _outEnv = NULL((void*)0);
3704 modelica_metatype _outIterType = NULL((void*)0);
3705 modelica_metatype _outIterCref = NULL((void*)0);
3706 modelica_metatype _iter_cr = NULL((void*)0);
3707 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3708 MMC_SO()mmc_check_stackoverflow(threadData);
3709 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3710 // _outEnv has no default value.
3711 // _outIterType has no default value.
3712 // _outIterCref has no default value.
3713 // _iter_cr has no default value.
3714#line 1843 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3715 _outIterType = omc_Types_expTypetoTypesType(threadData, _inIterType);
3716#line 3716 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3717
3718#line 1844 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3719 _outEnv = omc_FGraph_addForIterator(threadData, _inEnv, _inIterName, _outIterType, _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)), _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)), _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)));
3720#line 3720 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3721
3722#line 1846 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3723 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3724#line 1846 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3725 _outIterCref = omc_ComponentReference_makeCrefIdent(threadData, _inIterName, _inIterType, tmpMeta[0]);
3726#line 3726 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3727 _return: OMC_LABEL_UNUSED__attribute__((unused))
3728 if (out_outIterType) { *out_outIterType = _outIterType; }
3729 if (out_outIterCref) { *out_outIterCref = _outIterCref; }
3730 return _outEnv;
3731}
3732
3733PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_extendEnvWithRecordVar(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _inOptValue, modelica_metatype _inEnv)
3734{
3735 modelica_metatype _outEnv = NULL((void*)0);
3736 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
3737 MMC_SO()mmc_check_stackoverflow(threadData);
3738 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3739 // _outEnv has no default value.
3740#line 3740 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3741 { /* match expression */
3742 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
3743 tmp3_1 = _inVar;
3744 tmp3_2 = _inEnv;
3745 {
3746 modelica_string _name = NULL((void*)0);
3747 modelica_metatype _ty = NULL((void*)0);
3748 modelica_metatype _cache = NULL((void*)0);
3749 modelica_metatype _env = NULL((void*)0);
3750 volatile mmc_switch_type tmp3;
3751 int tmp4;
3752 // _name has no default value.
3753 // _ty has no default value.
3754 // _cache has no default value.
3755 // _env has no default value.
3756 tmp3 = 0;
3757 for (; tmp3 < 1; tmp3++) {
3758 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3759 case 0: {
3760 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3761 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
3762 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
3763 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
3764 _name = tmpMeta[1];
3765 _ty = tmpMeta[2];
3766 _cache = tmpMeta[3];
3767 _env = tmpMeta[4];
3768 /* Pattern matching succeeded */
3769#line 1822 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3770 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3771#line 1822 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3772 _cache = omc_CevalFunction_extendEnvWithVar(threadData, _name, _ty, _inOptValue, tmpMeta[1], _cache, _env ,&_env);
3773#line 3773 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3774#line 1824 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3775 tmpMeta[1] = mmc_mk_box2(0, _cache, _env);
3776#line 1824 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3777 tmpMeta[0] = tmpMeta[1];
3778#line 3778 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3779 goto tmp2_done;
3780 }
3781 }
3782 goto tmp2_end;
3783 tmp2_end: ;
3784 }
3785 goto goto_1;
3786 goto_1:;
3787 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3788 goto tmp2_done;
3789 tmp2_done:;
3790 }
3791 }
3792 _outEnv = tmpMeta[0];
3793 _return: OMC_LABEL_UNUSED__attribute__((unused))
3794 return _outEnv;
3795}
3796
3797PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_getRecordValues(threadData_t *threadData, modelica_metatype _inOptValue, modelica_metatype _inRecordType)
3798{
3799 modelica_metatype _outValues = NULL((void*)0);
3800 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
3801 MMC_SO()mmc_check_stackoverflow(threadData);
3802 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3803 // _outValues has no default value.
3804#line 3804 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3805 { /* match expression */
3806 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
3807 tmp3_1 = _inOptValue;
3808 tmp3_2 = _inRecordType;
3809 {
3810 modelica_metatype _vals = NULL((void*)0);
3811 modelica_metatype _vars = NULL((void*)0);
3812 modelica_integer _n;
3813 volatile mmc_switch_type tmp3;
3814 int tmp4;
3815 // _vals has no default value.
3816 // _vars has no default value.
3817 // _n has no default value.
3818 tmp3 = 0;
3819 for (; tmp3 < 2; tmp3++) {
3820 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3821 case 0: {
3822 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;
3823 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
3824 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],10,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((4 +1)
<< 10) + (((10 +3) & 255) << 2)))
== 0) goto tmp2_end;
3825 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
3826
3827 _vals = tmpMeta[2];
3828 /* Pattern matching succeeded */
3829#line 1793 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3830 tmpMeta[0] = omc_List_map(threadData, _vals, boxvar_Util_makeOption((void*)((char*)(&(boxvar_lit_Util_makeOption).header) + 3
))
);
3831#line 3831 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3832 goto tmp2_done;
3833 }
3834 case 1: {
3835 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;
3836 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,9,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((3 +1) <<
10) + (((9 +3) & 255) << 2)))
== 0) goto tmp2_end;
3837 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
3838
3839 _vars = tmpMeta[1];
3840 /* Pattern matching succeeded */
3841#line 1799 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3842 _n = listLength(_vars);
3843#line 3843 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3844#line 1800 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3845 tmpMeta[0] = omc_List_fill(threadData, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _n);
3846#line 3846 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3847 goto tmp2_done;
3848 }
3849 }
3850 goto tmp2_end;
3851 tmp2_end: ;
3852 }
3853 goto goto_1;
3854 goto_1:;
3855 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3856 goto tmp2_done;
3857 tmp2_done:;
3858 }
3859 }
3860 _outValues = tmpMeta[0];
3861 _return: OMC_LABEL_UNUSED__attribute__((unused))
3862 return _outValues;
3863}
3864
3865PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_makeRecordEnvironment(threadData_t *threadData, modelica_metatype _inRecordType, modelica_metatype _inOptValue, modelica_metatype _inCache, modelica_metatype _inGraph, modelica_metatype *out_outRecordEnv)
3866{
3867 modelica_metatype _outCache = NULL((void*)0);
3868 modelica_metatype _outRecordEnv = NULL((void*)0);
3869 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
3870 MMC_SO()mmc_check_stackoverflow(threadData);
3871 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3872 // _outCache has no default value.
3873 // _outRecordEnv has no default value.
3874#line 1750 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3875
3876#line 1750 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3877
3878#line 3878 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3879 { /* match expression */
3880 modelica_metatype tmp4_1;
3881 tmp4_1 = _inRecordType;
3882 {
3883 modelica_metatype _var_lst = NULL((void*)0);
3884 modelica_metatype _vals = NULL((void*)0);
3885 modelica_metatype _cache = NULL((void*)0);
3886 modelica_metatype _graph = NULL((void*)0);
3887 modelica_metatype _parent = NULL((void*)0);
3888 modelica_metatype _child = NULL((void*)0);
3889 modelica_metatype _node = NULL((void*)0);
3890 volatile mmc_switch_type tmp4;
3891 int tmp5;
3892 // _var_lst has no default value.
3893 // _vals has no default value.
3894 // _cache has no default value.
3895 // _graph has no default value.
3896 // _parent has no default value.
3897 // _child has no default value.
3898 // _node has no default value.
3899 tmp4 = 0;
3900 for (; tmp4 < 1; tmp4++) {
3901 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3902 case 0: {
3903 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,9,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((9 +3) & 255) << 2)))
== 0) goto tmp3_end;
3904 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
3905 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
3906 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
3907
3908 _var_lst = tmpMeta[3];
3909 /* Pattern matching succeeded */
3910#line 1762 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3911 _parent = omc_FGraph_lastScopeRef(threadData, _inGraph);
3912#line 3912 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3913
3914#line 1763 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3915 tmpMeta[2] = mmc_mk_cons(_parent, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3916#line 1763 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3917 _graph = omc_FGraph_node(threadData, _inGraph, _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)), tmpMeta[2], _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)) ,&_node);
3918#line 3918 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3919
3920#line 1764 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3921 _child = omc_FNode_toRef(threadData, _node);
3922#line 3922 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3923
3924#line 1765 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3925 omc_FNode_addChildRef(threadData, _parent, _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)), _child, 0);
3926#line 3926 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3927
3928#line 1766 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3929 _graph = omc_FGraph_pushScopeRef(threadData, _graph, _child);
3930#line 3930 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3931
3932#line 1768 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3933 _vals = omc_CevalFunction_getRecordValues(threadData, _inOptValue, _inRecordType);
3934#line 3934 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3935
3936#line 1769 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3937 /* Pattern-matching assignment */
3938#line 1769 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3939 tmpMeta[2] = mmc_mk_box2(0, _inCache, _graph);
3940#line 1769 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3941 tmpMeta[3] = omc_List_threadFold(threadData, _var_lst, _vals, boxvar_CevalFunction_extendEnvWithRecordVar((void*)((char*)(&(boxvar_lit_CevalFunction_extendEnvWithRecordVar
).header) + 3))
, tmpMeta[2]);
3942#line 1769 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3943 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
3944#line 1769 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3945 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
3946#line 1769 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3947 _cache = tmpMeta[4];
3948#line 1769 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3949 _graph = tmpMeta[5];
3950#line 3950 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3951#line 1771 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3952 tmpMeta[0+0] = _cache;
3953#line 1771 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
3954 tmpMeta[0+1] = _graph;
3955#line 3955 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3956 goto tmp3_done;
3957 }
3958 }
3959 goto tmp3_end;
3960 tmp3_end: ;
3961 }
3962 goto goto_2;
3963 goto_2:;
3964 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3965 goto tmp3_done;
3966 tmp3_done:;
3967 }
3968 }
3969 _outCache = tmpMeta[0+0];
3970 _outRecordEnv = tmpMeta[0+1];
3971 _return: OMC_LABEL_UNUSED__attribute__((unused))
3972 if (out_outRecordEnv) { *out_outRecordEnv = _outRecordEnv; }
3973 return _outCache;
3974}
3975
3976PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_makeBinding(threadData_t *threadData, modelica_metatype _inBindingValue)
3977{
3978 modelica_metatype _outBinding = NULL((void*)0);
3979 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3980 MMC_SO()mmc_check_stackoverflow(threadData);
3981 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3982 // _outBinding has no default value.
3983#line 3983 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
3984 { /* match expression */
3985 modelica_metatype tmp3_1;
3986 tmp3_1 = _inBindingValue;
3987 {
3988 modelica_metatype _val = NULL((void*)0);
3989 volatile mmc_switch_type tmp3;
3990 int tmp4;
3991 // _val has no default value.
3992 tmp3 = 0;
3993 for (; tmp3 < 2; tmp3++) {
3994 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3995 case 0: {
3996 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;
3997 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
3998 _val = tmpMeta[1];
3999 /* Pattern matching succeeded */
4000#line 1734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4001 tmpMeta[1] = mmc_mk_box3(5, &DAE_Binding_VALBOUND__desc, _val, _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)));
4002#line 1734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4003 tmpMeta[0] = tmpMeta[1];
4004#line 4004 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4005 goto tmp2_done;
4006 }
4007 case 1: {
4008 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;
4009 /* Pattern matching succeeded */
4010#line 1735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4011 tmpMeta[0] = _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3));
4012#line 4012 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4013 goto tmp2_done;
4014 }
4015 }
4016 goto tmp2_end;
4017 tmp2_end: ;
4018 }
4019 goto goto_1;
4020 goto_1:;
4021 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4022 goto tmp2_done;
4023 tmp2_done:;
4024 }
4025 }
4026 _outBinding = tmpMeta[0];
4027 _return: OMC_LABEL_UNUSED__attribute__((unused))
4028 return _outBinding;
4029}
4030
4031PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_makeFunctionVariable(threadData_t *threadData, modelica_string _inName, modelica_metatype _inType, modelica_metatype _inBinding)
4032{
4033 modelica_metatype _outVar = NULL((void*)0);
4034 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
4035 MMC_SO()mmc_check_stackoverflow(threadData);
4036 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4037 // _outVar has no default value.
4038#line 1723 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4039 tmpMeta[0] = mmc_mk_box7(3, &DAE_Var_TYPES__VAR__desc, _inName, _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)), _inType, _inBinding, mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
4040#line 1723 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4041 _outVar = tmpMeta[0];
4042#line 4042 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4043 _return: OMC_LABEL_UNUSED__attribute__((unused))
4044 return _outVar;
4045}
4046
4047PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_extendEnvWithVar(threadData_t *threadData, modelica_string _inName, modelica_metatype _inType, modelica_metatype _inOptValue, modelica_metatype _inDims, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv)
4048{
4049 modelica_metatype _outCache = NULL((void*)0);
4050 modelica_metatype _outEnv = NULL((void*)0);
4051 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
4052 MMC_SO()mmc_check_stackoverflow(threadData);
4053 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4054 // _outCache has no default value.
4055 // _outEnv has no default value.
4056#line 1653 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4057
4058#line 1653 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4059
4060#line 4060 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4061 { /* matchcontinue expression */
4062 {
4063 modelica_metatype _ty = NULL((void*)0);
4064 modelica_metatype _var = NULL((void*)0);
4065 modelica_metatype _binding = NULL((void*)0);
4066 modelica_metatype _cache = NULL((void*)0);
4067 modelica_metatype _env = NULL((void*)0);
4068 modelica_metatype _record_env = NULL((void*)0);
4069 volatile mmc_switch_type tmp4;
4070 int tmp5;
4071 // _ty has no default value.
4072 // _var has no default value.
4073 // _binding has no default value.
4074 // _cache has no default value.
4075 // _env has no default value.
4076 // _record_env has no default value.
4077 tmp4 = 0;
4078 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) {
4079 tmp3_top:
4080 threadData->mmc_jumper = &new_mmc_jumper;
4081 for (; tmp4 < 2; tmp4++) {
4082 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4083 case 0: {
4084 modelica_boolean tmp6;
4085 /* Pattern matching succeeded */
4086#line 1667 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4087 /* Pattern-matching assignment */
4088#line 1667 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4089 tmp6 = omc_Types_isRecord(threadData, _inType);
4090#line 1667 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4091 if (1 != tmp6) goto goto_2;
4092#line 4092 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4093
4094#line 1668 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4095 _binding = omc_CevalFunction_makeBinding(threadData, _inOptValue);
4096#line 4096 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4097
4098#line 1669 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4099 _cache = omc_CevalFunction_appendDimensions(threadData, _inType, _inOptValue, _inDims, _inCache, _inEnv ,&_ty);
4100#line 4100 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4101
4102#line 1671 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4103 tmpMeta[2] = mmc_mk_box7(3, &DAE_Var_TYPES__VAR__desc, _inName, _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)), _ty, _binding, mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
4104#line 1671 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4105 _var = tmpMeta[2];
4106#line 4106 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4107
4108#line 1672 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4109 _cache = omc_CevalFunction_makeRecordEnvironment(threadData, _inType, _inOptValue, _cache, _inEnv ,&_record_env);
4110#line 4110 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4111
4112#line 1674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4113 tmpMeta[2] = mmc_mk_box9(6, &SCode_Element_COMPONENT__desc, _inName, _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)), _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)), _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)), _OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)), _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)));
4114#line 1674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4115 _env = omc_FGraph_mkComponentNode(threadData, _inEnv, _var, tmpMeta[2], _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)), _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)), _record_env);
4116#line 4116 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4117#line 1686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4118 tmpMeta[0+0] = _cache;
4119#line 1686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4120 tmpMeta[0+1] = _env;
4121#line 4121 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4122 goto tmp3_done;
4123 }
4124 case 1: {
4125 /* Pattern matching succeeded */
4126#line 1692 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4127 _binding = omc_CevalFunction_makeBinding(threadData, _inOptValue);
4128#line 4128 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4129
4130#line 1693 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4131 _cache = omc_CevalFunction_appendDimensions(threadData, _inType, _inOptValue, _inDims, _inCache, _inEnv ,&_ty);
4132#line 4132 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4133
4134#line 1695 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4135 tmpMeta[2] = mmc_mk_box7(3, &DAE_Var_TYPES__VAR__desc, _inName, _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)), _ty, _binding, mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
4136#line 1695 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4137 _var = tmpMeta[2];
4138#line 4138 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4139
4140#line 1696 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4141 tmpMeta[2] = mmc_mk_box9(6, &SCode_Element_COMPONENT__desc, _inName, _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)), _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)), _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)), _OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)), _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)));
4142#line 1696 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4143 _env = omc_FGraph_mkComponentNode(threadData, _inEnv, _var, tmpMeta[2], _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)), _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)), omc_FGraph_empty(threadData));
4144#line 4144 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4145#line 1708 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4146 tmpMeta[0+0] = _cache;
4147#line 1708 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4148 tmpMeta[0+1] = _env;
4149#line 4149 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4150 goto tmp3_done;
4151 }
4152 }
4153 goto tmp3_end;
4154 tmp3_end: ;
4155 }
4156 goto goto_2;
4157 tmp3_done:
4158 (void)tmp4;
4159 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4160 goto tmp3_done2;
4161 goto_2:;
4162 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4163 if (++tmp4 < 2) {
4164 goto tmp3_top;
4165 }
4166 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4167 tmp3_done2:;
4168 }
4169 }
4170 _outCache = tmpMeta[0+0];
4171 _outEnv = tmpMeta[0+1];
4172 _return: OMC_LABEL_UNUSED__attribute__((unused))
4173 if (out_outEnv) { *out_outEnv = _outEnv; }
4174 return _outCache;
4175}
4176
4177PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_extendEnvWithElement(threadData_t *threadData, modelica_metatype _inElement, modelica_metatype _inBindingValue, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv)
4178{
4179 modelica_metatype _outCache = NULL((void*)0);
4180 modelica_metatype _outEnv = NULL((void*)0);
4181 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
4182 MMC_SO()mmc_check_stackoverflow(threadData);
4183 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4184 // _outCache has no default value.
4185 // _outEnv has no default value.
4186#line 1621 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4187
4188#line 1621 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4189
4190#line 4190 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4191 { /* match expression */
4192 modelica_metatype tmp4_1;
4193 tmp4_1 = _inElement;
4194 {
4195 modelica_metatype _cr = NULL((void*)0);
4196 modelica_string _name = NULL((void*)0);
4197 modelica_metatype _ty = NULL((void*)0);
4198 modelica_metatype _dims = NULL((void*)0);
4199 volatile mmc_switch_type tmp4;
4200 int tmp5;
4201 // _cr has no default value.
4202 // _name has no default value.
4203 // _ty has no default value.
4204 // _dims has no default value.
4205 tmp4 = 0;
4206 for (; tmp4 < 1; tmp4++) {
4207 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4208 case 0: {
4209 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,13)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((13 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
4210 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4211 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(7)))))
;
4212 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(9)))))
;
4213
4214 _cr = tmpMeta[2];
4215 _ty = tmpMeta[3];
4216 _dims = tmpMeta[4];
4217 /* Pattern matching succeeded */
4218#line 1633 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4219 _name = omc_ComponentReference_crefStr(threadData, _cr);
4220#line 4220 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4221#line 1634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4222 tmpMeta[0+0] = omc_CevalFunction_extendEnvWithVar(threadData, _name, _ty, _inBindingValue, _dims, _inCache, _inEnv, &tmpMeta[0+1]);
4223#line 4223 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4224 goto tmp3_done;
4225 }
4226 }
4227 goto tmp3_end;
4228 tmp3_end: ;
4229 }
4230 goto goto_2;
4231 goto_2:;
4232 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4233 goto tmp3_done;
4234 tmp3_done:;
4235 }
4236 }
4237 _outCache = tmpMeta[0+0];
4238 _outEnv = tmpMeta[0+1];
4239 _return: OMC_LABEL_UNUSED__attribute__((unused))
4240 if (out_outEnv) { *out_outEnv = _outEnv; }
4241 return _outCache;
4242}
4243
4244PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateBinding(threadData_t *threadData, modelica_metatype _inBinding, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outCache)
4245{
4246 modelica_metatype _outValue = NULL((void*)0);
4247 modelica_metatype _outCache = NULL((void*)0);
4248 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
4249 MMC_SO()mmc_check_stackoverflow(threadData);
4250 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4251 // _outValue has no default value.
4252 // _outCache has no default value.
4253#line 1595 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4254
4255#line 1595 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4256
4257#line 4257 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4258 { /* match expression */
4259 modelica_metatype tmp4_1;
4260 tmp4_1 = _inBinding;
4261 {
4262 modelica_metatype _binding_exp = NULL((void*)0);
4263 modelica_metatype _cache = NULL((void*)0);
4264 modelica_metatype _val = NULL((void*)0);
4265 volatile mmc_switch_type tmp4;
4266 int tmp5;
4267 // _binding_exp has no default value.
4268 // _cache has no default value.
4269 // _val has no default value.
4270 tmp4 = 0;
4271 for (; tmp4 < 2; tmp4++) {
4272 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4273 case 0: {
4274 if (optionNone(tmp4_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp4_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
4275 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
4276 _binding_exp = tmpMeta[2];
4277 /* Pattern matching succeeded */
4278#line 1603 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4279 _cache = omc_CevalFunction_cevalExp(threadData, _binding_exp, _inCache, _inEnv ,&_val);
4280#line 4280 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4281#line 1604 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4282 tmpMeta[0+0] = mmc_mk_some(_val);
4283#line 1604 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4284 tmpMeta[0+1] = _cache;
4285#line 4285 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4286 goto tmp3_done;
4287 }
4288 case 1: {
4289 if (!optionNone(tmp4_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp4_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
4290 /* Pattern matching succeeded */
4291#line 1607 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4292 tmpMeta[0+0] = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
4293#line 1607 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4294 tmpMeta[0+1] = _inCache;
4295#line 4295 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4296 goto tmp3_done;
4297 }
4298 }
4299 goto tmp3_end;
4300 tmp3_end: ;
4301 }
4302 goto goto_2;
4303 goto_2:;
4304 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4305 goto tmp3_done;
4306 tmp3_done:;
4307 }
4308 }
4309 _outValue = tmpMeta[0+0];
4310 _outCache = tmpMeta[0+1];
4311 _return: OMC_LABEL_UNUSED__attribute__((unused))
4312 if (out_outCache) { *out_outCache = _outCache; }
4313 return _outValue;
4314}
4315
4316PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_extendEnvWithFunctionVar(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inFuncParam, modelica_metatype *out_outEnv)
4317{
4318 modelica_metatype _outCache = NULL((void*)0);
4319 modelica_metatype _outEnv = NULL((void*)0);
4320 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
4321 MMC_SO()mmc_check_stackoverflow(threadData);
4322 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4323 // _outCache has no default value.
4324 // _outEnv has no default value.
4325#line 1551 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4326
4327#line 1551 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4328
4329#line 4329 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4330 { /* matchcontinue expression */
4331 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
4332 tmp4_1 = _inEnv;
4333 tmp4_2 = _inFuncParam;
4334 {
4335 modelica_metatype _e = NULL((void*)0);
4336 modelica_metatype _val = NULL((void*)0);
4337 modelica_metatype _cache = NULL((void*)0);
4338 modelica_metatype _env = NULL((void*)0);
4339 modelica_metatype _binding_exp = NULL((void*)0);
4340 volatile mmc_switch_type tmp4;
4341 int tmp5;
4342 // _e has no default value.
4343 // _val has no default value.
4344 // _cache has no default value.
4345 // _env has no default value.
4346 // _binding_exp has no default value.
4347 tmp4 = 0;
4348 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) {
4349 tmp3_top:
4350 threadData->mmc_jumper = &new_mmc_jumper;
4351 for (; tmp4 < 3; tmp4++) {
4352 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4353 case 0: {
4354 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
4355 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
4356 if (optionNone(tmpMeta[3])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[3]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
4357 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
4358
4359 _e = tmpMeta[2];
4360 _val = tmpMeta[3];
4361 _env = tmp4_1;
4362 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
4363#line 1563 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4364 tmpMeta[0+0] = omc_CevalFunction_extendEnvWithElement(threadData, _e, _val, _inCache, _env, &tmpMeta[0+1]);
4365#line 4365 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4366 goto tmp3_done;
4367 }
4368 case 1: {
4369 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
4370 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,13)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((13 +1
) << 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
4371 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (8)))))
;
4372 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
4373 if (!optionNone(tmpMeta[4])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[4]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
4374
4375 _e = tmpMeta[2];
4376 _binding_exp = tmpMeta[3];
4377 _env = tmp4_1;
4378 /* Pattern matching succeeded */
4379#line 1571 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4380 _val = omc_CevalFunction_evaluateBinding(threadData, _binding_exp, _inCache, _inEnv ,&_cache);
4381#line 4381 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4382#line 1572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4383 tmpMeta[0+0] = omc_CevalFunction_extendEnvWithElement(threadData, _e, _val, _cache, _env, &tmpMeta[0+1]);
4384#line 4384 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4385 goto tmp3_done;
4386 }
4387 case 2: {
4388 modelica_boolean tmp6;
4389 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
4390
4391 _e = tmpMeta[2];
4392 /* Pattern matching succeeded */
4393#line 1578 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4394 /* Pattern-matching assignment */
4395#line 1578 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4396 tmp6 = omc_Flags_isSet(threadData, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
4397#line 1578 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4398 if (1 != tmp6) goto goto_2;
4399#line 4399 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4400
4401#line 1579 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4402 omc_Debug_traceln(threadData, _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)));
4403#line 4403 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4404
4405#line 1580 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4406 tmpMeta[2] = mmc_mk_cons(_e, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
4407#line 1580 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4408 omc_Debug_traceln(threadData, omc_DAEDump_dumpElementsStr(threadData, tmpMeta[2]));
4409#line 4409 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4410#line 1581 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4411 goto goto_2;
4412#line 4412 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4413 goto tmp3_done;
4414 }
4415 }
4416 goto tmp3_end;
4417 tmp3_end: ;
4418 }
4419 goto goto_2;
4420 tmp3_done:
4421 (void)tmp4;
4422 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4423 goto tmp3_done2;
4424 goto_2:;
4425 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4426 if (++tmp4 < 3) {
4427 goto tmp3_top;
4428 }
4429 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4430 tmp3_done2:;
4431 }
4432 }
4433 _outCache = tmpMeta[0+0];
4434 _outEnv = tmpMeta[0+1];
4435 _return: OMC_LABEL_UNUSED__attribute__((unused))
4436 if (out_outEnv) { *out_outEnv = _outEnv; }
4437 return _outCache;
4438}
4439
4440PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_extendEnvWithFunctionVars(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inFuncParams, modelica_metatype *out_outEnv)
4441{
4442 modelica_metatype _outCache = NULL((void*)0);
4443 modelica_metatype _outEnv = NULL((void*)0);
4444 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
4445 MMC_SO()mmc_check_stackoverflow(threadData);
4446 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4447 // _outCache has no default value.
4448 // _outEnv has no default value.
4449#line 1525 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4450
4451#line 1525 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4452
4453#line 4453 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4454 { /* match expression */
4455 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;
4456 tmp4_1 = _inCache;
4457 tmp4_2 = _inEnv;
4458 tmp4_3 = _inFuncParams;
4459 {
4460 modelica_metatype _param = NULL((void*)0);
4461 modelica_metatype _rest_params = NULL((void*)0);
4462 modelica_metatype _cache = NULL((void*)0);
4463 modelica_metatype _env = NULL((void*)0);
4464 volatile mmc_switch_type tmp4;
4465 int tmp5;
4466 // _param has no default value.
4467 // _rest_params has no default value.
4468 // _cache has no default value.
4469 // _env has no default value.
4470 tmp4 = 0;
4471 for (; tmp4 < 2; tmp4++) {
4472 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4473 case 0: {
4474 if (!listEmpty(tmp4_3)((*(mmc_uint_t*)((void*)((char*)(tmp4_3) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4475
4476 /* Pattern matching succeeded */
4477#line 1532 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4478 tmpMeta[0+0] = _inCache;
4479#line 1532 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4480 tmpMeta[0+1] = _inEnv;
4481#line 4481 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4482 goto tmp3_done;
4483 }
4484 case 1: {
4485 if (listEmpty(tmp4_3)((*(mmc_uint_t*)((void*)((char*)(tmp4_3) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4486 tmpMeta[2] = MMC_CAR(tmp4_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_3) - 3))) +
(1)))))
;
4487 tmpMeta[3] = MMC_CDR(tmp4_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_3) - 3))) +
(2)))))
;
4488
4489 _param = tmpMeta[2];
4490 _rest_params = tmpMeta[3];
4491 _cache = tmp4_1;
4492 _env = tmp4_2;
4493 /* Pattern matching succeeded */
4494#line 1536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4495 _cache = omc_CevalFunction_extendEnvWithFunctionVar(threadData, _cache, _env, _param ,&_env);
4496#line 4496 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4497#line 1537 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4498 /* Tail recursive call */
4499#line 1537 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4500 _inCache = _cache;
4501#line 1537 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4502 _inEnv = _env;
4503#line 1537 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4504 _inFuncParams = _rest_params;
4505#line 1537 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4506 goto _tailrecursive;
4507#line 1537 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4508 /* TODO: Make sure any eventual dead code below is never generated */
4509#line 4509 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4510 goto tmp3_done;
4511 }
4512 }
4513 goto tmp3_end;
4514 tmp3_end: ;
4515 }
4516 goto goto_2;
4517 goto_2:;
4518 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4519 goto tmp3_done;
4520 tmp3_done:;
4521 }
4522 }
4523 _outCache = tmpMeta[0+0];
4524 _outEnv = tmpMeta[0+1];
4525 _return: OMC_LABEL_UNUSED__attribute__((unused))
4526 if (out_outEnv) { *out_outEnv = _outEnv; }
4527 return _outCache;
4528}
4529
4530PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_setupFunctionEnvironment(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_string _inFuncName, modelica_metatype _inFuncParams, modelica_metatype *out_outEnv)
4531{
4532 modelica_metatype _outCache = NULL((void*)0);
4533 modelica_metatype _outEnv = NULL((void*)0);
4534 MMC_SO()mmc_check_stackoverflow(threadData);
4535 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4536 // _outCache has no default value.
4537 // _outEnv has no default value.
4538#line 1511 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4539 _outEnv = omc_FGraph_openScope(threadData, _inEnv, _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)), _inFuncName, _OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)));
4540#line 4540 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4541
4542#line 1512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4543 _outCache = omc_CevalFunction_extendEnvWithFunctionVars(threadData, _inCache, _outEnv, _inFuncParams ,&_outEnv);
4544#line 4544 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4545 _return: OMC_LABEL_UNUSED__attribute__((unused))
4546 if (out_outEnv) { *out_outEnv = _outEnv; }
4547 return _outCache;
4548}
4549
4550PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_cevalExpList(threadData_t *threadData, modelica_metatype _inExpLst, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outValue)
4551{
4552 modelica_metatype _outCache = NULL((void*)0);
4553 modelica_metatype _outValue = NULL((void*)0);
4554 MMC_SO()mmc_check_stackoverflow(threadData);
4555 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4556 // _outCache has no default value.
4557 // _outValue has no default value.
4558#line 1497 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4559 _outCache = omc_Ceval_cevalList(threadData, _inCache, _inEnv, _inExpLst, 1, _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)), ((modelica_integer) 0) ,&_outValue);
4560#line 4560 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4561 _return: OMC_LABEL_UNUSED__attribute__((unused))
4562 if (out_outValue) { *out_outValue = _outValue; }
4563 return _outCache;
4564}
4565
4566PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_cevalExp(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outValue)
4567{
4568 modelica_metatype _outCache = NULL((void*)0);
4569 modelica_metatype _outValue = NULL((void*)0);
4570 modelica_boolean tmp1;
4571 MMC_SO()mmc_check_stackoverflow(threadData);
4572 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4573 // _outCache has no default value.
4574 // _outValue has no default value.
4575#line 1485 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4576 _outCache = omc_Ceval_ceval(threadData, _inCache, _inEnv, _inExp, 1, _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)), ((modelica_integer) 0) ,&_outValue);
4577#line 4577 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4578
4579#line 1486 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4580 /* Pattern-matching assignment */
4581#line 1486 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4582 tmp1 = valueEq(_OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)), _outValue);
4583#line 1486 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4584 if (0 != tmp1) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4585#line 4585 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4586 _return: OMC_LABEL_UNUSED__attribute__((unused))
4587 if (out_outValue) { *out_outValue = _outValue; }
4588 return _outCache;
4589}
4590
4591PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_extractLhsComponentRef(threadData_t *threadData, modelica_metatype _inExp)
4592{
4593 modelica_metatype _outCref = NULL((void*)0);
4594 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
4595 MMC_SO()mmc_check_stackoverflow(threadData);
4596 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4597 // _outCref has no default value.
4598#line 4598 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4599 { /* match expression */
4600 modelica_metatype tmp3_1;
4601 tmp3_1 = _inExp;
4602 {
4603 modelica_metatype _cref = NULL((void*)0);
4604 volatile mmc_switch_type tmp3;
4605 int tmp4;
4606 // _cref has no default value.
4607 tmp3 = 0;
4608 for (; tmp3 < 2; tmp3++) {
4609 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4610 case 0: {
4611 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,6,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
4612 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
4613
4614 _cref = tmpMeta[1];
4615 /* Pattern matching succeeded */
4616#line 1467 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4617 tmpMeta[0] = _cref;
4618#line 4618 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4619 goto tmp2_done;
4620 }
4621 case 1: {
4622 modelica_boolean tmp5;
4623
4624 /* Pattern matching succeeded */
4625#line 1470 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4626 /* Pattern-matching assignment */
4627#line 1470 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4628 tmp5 = omc_Flags_isSet(threadData, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
4629#line 1470 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4630 if (1 != tmp5) goto goto_1;
4631#line 4631 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4632
4633#line 1471 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4634 tmpMeta[1] = stringAppend(_OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)),omc_ExpressionDump_printExpStr(threadData, _inExp));
4635#line 1471 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4636 omc_Debug_traceln(threadData, tmpMeta[1]);
4637#line 4637 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4638#line 1472 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4639 goto goto_1;
4640#line 4640 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4641 goto tmp2_done;
4642 }
4643 }
4644 goto tmp2_end;
4645 tmp2_end: ;
4646 }
4647 goto goto_1;
4648 goto_1:;
4649 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4650 goto tmp2_done;
4651 tmp2_done:;
4652 }
4653 }
4654 _outCref = tmpMeta[0];
4655 _return: OMC_LABEL_UNUSED__attribute__((unused))
4656 return _outCref;
4657}
4658
4659PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateWhileStatement(threadData_t *threadData, modelica_metatype _inCondition, modelica_metatype _inStatements, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inLoopControl, modelica_metatype *out_outEnv, modelica_metatype *out_outLoopControl)
4660{
4661 modelica_metatype _outCache = NULL((void*)0);
4662 modelica_metatype _outEnv = NULL((void*)0);
4663 modelica_metatype _outLoopControl = NULL((void*)0);
4664 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
4665 MMC_SO()mmc_check_stackoverflow(threadData);
4666 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4667 // _outCache has no default value.
4668 // _outEnv has no default value.
4669 // _outLoopControl has no default value.
4670#line 1432 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4671
4672#line 1432 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4673
4674#line 1432 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4675
4676#line 4676 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4677 { /* match expression */
4678 modelica_metatype tmp4_1;
4679 tmp4_1 = _inLoopControl;
4680 {
4681 modelica_metatype _cache = NULL((void*)0);
4682 modelica_metatype _env = NULL((void*)0);
4683 modelica_metatype _loop_ctrl = NULL((void*)0);
4684 modelica_boolean _b;
4685 int tmp4;
4686 // _cache has no default value.
4687 // _env has no default value.
4688 // _loop_ctrl has no default value.
4689 // _b has no default value.
4690 {
4691 switch (MMC_SWITCH_CAST(valueConstructor(tmp4_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> 2
) & 255))
) {
4692 case 4: {
4693
4694 /* Pattern matching succeeded */
4695#line 1440 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4696 tmpMeta[0+0] = _inCache;
4697#line 1440 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4698 tmpMeta[0+1] = _inEnv;
4699#line 1440 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4700 tmpMeta[0+2] = _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3));
4701#line 4701 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4702 goto tmp3_done;
4703 }
4704 case 5: {
4705
4706 /* Pattern matching succeeded */
4707#line 1441 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4708 tmpMeta[0+0] = _inCache;
4709#line 1441 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4710 tmpMeta[0+1] = _inEnv;
4711#line 1441 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4712 tmpMeta[0+2] = _inLoopControl;
4713#line 4713 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4714 goto tmp3_done;
4715 }
4716 default:
4717 tmp3_default: OMC_LABEL_UNUSED__attribute__((unused)); {
4718 modelica_integer tmp5;
4719
4720 /* Pattern matching succeeded */
4721#line 1444 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4722 /* Pattern-matching tuple assignment */
4723#line 1444 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4724 tmpMeta[5] = omc_CevalFunction_cevalExp(threadData, _inCondition, _inCache, _inEnv, &tmpMeta[3]);
4725#line 1444 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4726 _cache = tmpMeta[5];
4727#line 1444 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4728 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto goto_2;
4729#line 1444 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4730 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
4731#line 1444 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4732 tmp5 = mmc_unbox_integer(tmpMeta[4])(((mmc_sint_t) (tmpMeta[4])) >> 1);
4733#line 1444 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4734 _b = tmp5 /* pattern as ty=Boolean */;
4735#line 4735 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4736
4737#line 1445 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4738 if(_b)
4739#line 1445 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4740 {
4741#line 1446 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4742 _cache = omc_CevalFunction_evaluateStatements(threadData, _inStatements, _cache, _inEnv ,&_env ,&_loop_ctrl);
4743#line 4743 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4744
4745#line 1447 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4746 _cache = omc_CevalFunction_evaluateWhileStatement(threadData, _inCondition, _inStatements, _cache, _env, _loop_ctrl ,&_env ,&_loop_ctrl);
4747#line 4747 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4748 }
4749 else
4750 {
4751#line 1449 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4752 _loop_ctrl = _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3));
4753#line 4753 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4754
4755#line 1450 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4756 _env = _inEnv;
4757#line 4757 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4758 }
4759#line 1452 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4760 tmpMeta[0+0] = _cache;
4761#line 1452 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4762 tmpMeta[0+1] = _env;
4763#line 1452 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4764 tmpMeta[0+2] = _loop_ctrl;
4765#line 4765 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4766 goto tmp3_done;
4767 }
4768 }
4769 goto tmp3_end;
4770 tmp3_end: ;
4771 }
4772 goto goto_2;
4773 goto_2:;
4774 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4775 goto tmp3_done;
4776 tmp3_done:;
4777 }
4778 }
4779 _outCache = tmpMeta[0+0];
4780 _outEnv = tmpMeta[0+1];
4781 _outLoopControl = tmpMeta[0+2];
4782 _return: OMC_LABEL_UNUSED__attribute__((unused))
4783 if (out_outEnv) { *out_outEnv = _outEnv; }
4784 if (out_outLoopControl) { *out_outLoopControl = _outLoopControl; }
4785 return _outCache;
4786}
4787
4788PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateForLoopArray(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIter, modelica_metatype _inIterType, modelica_metatype _inValues, modelica_metatype _inStatements, modelica_metatype _inLoopControl, modelica_metatype *out_outEnv, modelica_metatype *out_outLoopControl)
4789{
4790 modelica_metatype _outCache = NULL((void*)0);
4791 modelica_metatype _outEnv = NULL((void*)0);
4792 modelica_metatype _outLoopControl = NULL((void*)0);
4793 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
4794 MMC_SO()mmc_check_stackoverflow(threadData);
4795 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4796 // _outCache has no default value.
4797 // _outEnv has no default value.
4798 // _outLoopControl has no default value.
4799#line 1397 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4800
4801#line 1397 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4802
4803#line 1397 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4804
4805#line 4805 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4806 { /* match expression */
4807 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;
4808 tmp4_1 = _inEnv;
4809 tmp4_2 = _inValues;
4810 tmp4_3 = _inLoopControl;
4811 {
4812 modelica_metatype _value = NULL((void*)0);
4813 modelica_metatype _rest_vals = NULL((void*)0);
4814 modelica_metatype _cache = NULL((void*)0);
4815 modelica_metatype _env = NULL((void*)0);
4816 modelica_metatype _loop_ctrl = NULL((void*)0);
4817 volatile mmc_switch_type tmp4;
4818 int tmp5;
4819 // _value has no default value.
4820 // _rest_vals has no default value.
4821 // _cache has no default value.
4822 // _env has no default value.
4823 // _loop_ctrl has no default value.
4824 tmp4 = 0;
4825 for (; tmp4 < 4; tmp4++) {
4826 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4827 case 0: {
4828 if (mmc__uniontype__metarecord__typedef__equal(tmp4_3,1,0)((*(mmc_uint_t*)((void*)((char*)(tmp4_3) - 3)))==(((0 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
4829
4830 /* Pattern matching succeeded */
4831#line 1406 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4832 tmpMeta[0+0] = _inCache;
4833#line 1406 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4834 tmpMeta[0+1] = _inEnv;
4835#line 1406 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4836 tmpMeta[0+2] = _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3));
4837#line 4837 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4838 goto tmp3_done;
4839 }
4840 case 1: {
4841 if (mmc__uniontype__metarecord__typedef__equal(tmp4_3,2,0)((*(mmc_uint_t*)((void*)((char*)(tmp4_3) - 3)))==(((0 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
4842
4843 /* Pattern matching succeeded */
4844#line 1407 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4845 tmpMeta[0+0] = _inCache;
4846#line 1407 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4847 tmpMeta[0+1] = _inEnv;
4848#line 1407 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4849 tmpMeta[0+2] = _inLoopControl;
4850#line 4850 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4851 goto tmp3_done;
4852 }
4853 case 2: {
4854 if (!listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4855
4856 /* Pattern matching succeeded */
4857#line 1408 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4858 tmpMeta[0+0] = _inCache;
4859#line 1408 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4860 tmpMeta[0+1] = _inEnv;
4861#line 1408 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4862 tmpMeta[0+2] = _inLoopControl;
4863#line 4863 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4864 goto tmp3_done;
4865 }
4866 case 3: {
4867 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4868 tmpMeta[3] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
4869 tmpMeta[4] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
4870 if (mmc__uniontype__metarecord__typedef__equal(tmp4_3,0,0)((*(mmc_uint_t*)((void*)((char*)(tmp4_3) - 3)))==(((0 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
4871
4872 _value = tmpMeta[3];
4873 _rest_vals = tmpMeta[4];
4874 _env = tmp4_1;
4875 /* Pattern matching succeeded */
4876#line 1411 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4877 _env = omc_CevalFunction_updateVariableBinding(threadData, _inIter, _env, _inIterType, _value);
4878#line 4878 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4879
4880#line 1412 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4881 _cache = omc_CevalFunction_evaluateStatements(threadData, _inStatements, _inCache, _env ,&_env ,&_loop_ctrl);
4882#line 4882 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4883#line 1414 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4884 /* Tail recursive call */
4885#line 1414 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4886 _inCache = _cache;
4887#line 1414 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4888 _inEnv = _env;
4889#line 1414 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4890 _inValues = _rest_vals;
4891#line 1414 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4892 _inLoopControl = _loop_ctrl;
4893#line 1414 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4894 goto _tailrecursive;
4895#line 1414 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4896 /* TODO: Make sure any eventual dead code below is never generated */
4897#line 4897 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4898 goto tmp3_done;
4899 }
4900 }
4901 goto tmp3_end;
4902 tmp3_end: ;
4903 }
4904 goto goto_2;
4905 goto_2:;
4906 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4907 goto tmp3_done;
4908 tmp3_done:;
4909 }
4910 }
4911 _outCache = tmpMeta[0+0];
4912 _outEnv = tmpMeta[0+1];
4913 _outLoopControl = tmpMeta[0+2];
4914 _return: OMC_LABEL_UNUSED__attribute__((unused))
4915 if (out_outEnv) { *out_outEnv = _outEnv; }
4916 if (out_outLoopControl) { *out_outLoopControl = _outLoopControl; }
4917 return _outCache;
4918}
4919
4920PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateForStatement(threadData_t *threadData, modelica_metatype _inStatement, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv, modelica_metatype *out_outLoopControl)
4921{
4922 modelica_metatype _outCache = NULL((void*)0);
4923 modelica_metatype _outEnv = NULL((void*)0);
4924 modelica_metatype _outLoopControl = NULL((void*)0);
4925 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
4926 MMC_SO()mmc_check_stackoverflow(threadData);
4927 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4928 // _outCache has no default value.
4929 // _outEnv has no default value.
4930 // _outLoopControl has no default value.
4931#line 1348 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4932
4933#line 1348 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4934
4935#line 1348 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4936
4937#line 4937 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4938 { /* matchcontinue expression */
4939 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
4940 tmp4_1 = _inStatement;
4941 tmp4_2 = _inEnv;
4942 {
4943 modelica_metatype _ety = NULL((void*)0);
4944 modelica_metatype _ty = NULL((void*)0);
4945 modelica_string _iter_name = NULL((void*)0);
4946 modelica_metatype _range = NULL((void*)0);
4947 modelica_metatype _statements = NULL((void*)0);
4948 modelica_metatype _range_vals = NULL((void*)0);
4949 modelica_metatype _cache = NULL((void*)0);
4950 modelica_metatype _env = NULL((void*)0);
4951 modelica_metatype _iter_cr = NULL((void*)0);
4952 volatile mmc_switch_type tmp4;
4953 int tmp5;
4954 // _ety has no default value.
4955 // _ty has no default value.
4956 // _iter_name has no default value.
4957 // _range has no default value.
4958 // _statements has no default value.
4959 // _range_vals has no default value.
4960 // _cache has no default value.
4961 // _env has no default value.
4962 // _iter_cr has no default value.
4963 tmp4 = 0;
4964 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) {
4965 tmp3_top:
4966 threadData->mmc_jumper = &new_mmc_jumper;
4967 for (; tmp4 < 2; tmp4++) {
4968 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4969 case 0: {
4970 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,4,7)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((7 +1) <<
10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
4971 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4972 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
4973 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4974 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(7)))))
;
4975
4976 _ety = tmpMeta[3];
4977 _iter_name = tmpMeta[4];
4978 _range = tmpMeta[5];
4979 _statements = tmpMeta[6];
4980 _env = tmp4_2;
4981 /* Pattern matching succeeded */
4982#line 1366 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4983 /* Pattern-matching tuple assignment */
4984#line 1366 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4985 tmpMeta[5] = omc_CevalFunction_cevalExp(threadData, _range, _inCache, _env, &tmpMeta[3]);
4986#line 1366 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4987 _cache = tmpMeta[5];
4988#line 1366 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4989 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],5,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((2 +1)
<< 10) + (((5 +3) & 255) << 2)))
== 0) goto goto_2;
4990#line 1366 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4991 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
4992#line 1366 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4993 _range_vals = tmpMeta[4];
4994#line 4994 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4995
4996#line 1368 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
4997 _env = omc_CevalFunction_extendEnvWithForScope(threadData, _iter_name, _ety, _env ,&_ty ,&_iter_cr);
4998#line 4998 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
4999#line 1369 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5000 tmpMeta[0+0] = omc_CevalFunction_evaluateForLoopArray(threadData, _cache, _env, _iter_cr, _ty, _range_vals, _statements, _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)), &tmpMeta[0+1], &tmpMeta[0+2]);
5001#line 5001 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5002 goto tmp3_done;
5003 }
5004 case 1: {
5005 modelica_boolean tmp6;
5006 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,4,7)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((7 +1) <<
10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
5007 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
5008
5009 _range = tmpMeta[3];
5010 /* Pattern matching succeeded */
5011#line 1376 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5012 /* Pattern-matching assignment */
5013#line 1376 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5014 tmp6 = omc_Flags_isSet(threadData, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
5015#line 1376 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5016 if (1 != tmp6) goto goto_2;
5017#line 5017 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5018
5019#line 1377 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5020 omc_Debug_traceln(threadData, _OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)));
5021#line 5021 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5022
5023#line 1378 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5024 omc_Debug_traceln(threadData, omc_ExpressionDump_printExpStr(threadData, _range));
5025#line 5025 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5026#line 1379 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5027 goto goto_2;
5028#line 5028 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5029 goto tmp3_done;
5030 }
5031 }
5032 goto tmp3_end;
5033 tmp3_end: ;
5034 }
5035 goto goto_2;
5036 tmp3_done:
5037 (void)tmp4;
5038 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
5039 goto tmp3_done2;
5040 goto_2:;
5041 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
5042 if (++tmp4 < 2) {
5043 goto tmp3_top;
5044 }
5045 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5046 tmp3_done2:;
5047 }
5048 }
5049 _outCache = tmpMeta[0+0];
5050 _outEnv = tmpMeta[0+1];
5051 _outLoopControl = tmpMeta[0+2];
5052 _return: OMC_LABEL_UNUSED__attribute__((unused))
5053 if (out_outEnv) { *out_outEnv = _outEnv; }
5054 if (out_outLoopControl) { *out_outLoopControl = _outLoopControl; }
5055 return _outCache;
5056}
5057
5058PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateIfStatement2(threadData_t *threadData, modelica_boolean _inCondition, modelica_metatype _inStatements, modelica_metatype _inElse, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv, modelica_metatype *out_outLoopControl)
5059{
5060 modelica_metatype _outCache = NULL((void*)0);
5061 modelica_metatype _outEnv = NULL((void*)0);
5062 modelica_metatype _outLoopControl = NULL((void*)0);
5063 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
5064 MMC_SO()mmc_check_stackoverflow(threadData);
5065 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5066 // _outCache has no default value.
5067 // _outEnv has no default value.
5068 // _outLoopControl has no default value.
5069#line 1297 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5070
5071#line 1297 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5072
5073#line 1297 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5074
5075#line 5075 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5076 { /* match expression */
5077 modelica_boolean tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;modelica_metatype tmp4_4;
5078 tmp4_1 = _inCondition;
5079 tmp4_2 = _inStatements;
5080 tmp4_3 = _inElse;
5081 tmp4_4 = _inEnv;
5082 {
5083 modelica_metatype _cache = NULL((void*)0);
5084 modelica_metatype _env = NULL((void*)0);
5085 modelica_metatype _statements = NULL((void*)0);
5086 modelica_metatype _condition = NULL((void*)0);
5087 modelica_boolean _bool_condition;
5088 modelica_metatype _else_branch = NULL((void*)0);
5089 volatile mmc_switch_type tmp4;
5090 int tmp5;
5091 // _cache has no default value.
5092 // _env has no default value.
5093 // _statements has no default value.
5094 // _condition has no default value.
5095 // _bool_condition has no default value.
5096 // _else_branch has no default value.
5097 tmp4 = 0;
5098 for (; tmp4 < 4; tmp4++) {
5099 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
5100 case 0: {
5101 if (1 != tmp4_1) goto tmp3_end;
5102
5103 _statements = tmp4_2;
5104 _env = tmp4_4;
5105 /* Pattern matching succeeded */
5106#line 1311 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5107 tmpMeta[0+0] = omc_CevalFunction_evaluateStatements(threadData, _statements, _inCache, _env, &tmpMeta[0+1], &tmpMeta[0+2]);
5108#line 5108 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5109 goto tmp3_done;
5110 }
5111 case 1: {
5112 if (0 != tmp4_1) goto tmp3_end;
5113 if (mmc__uniontype__metarecord__typedef__equal(tmp4_3,2,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_3) - 3)))==(((1 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
5114 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_3), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_3) - 3))) +
(2)))))
;
5115
5116 _statements = tmpMeta[3];
5117 _env = tmp4_4;
5118 /* Pattern matching succeeded */
5119#line 1319 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5120 tmpMeta[0+0] = omc_CevalFunction_evaluateStatements(threadData, _statements, _inCache, _env, &tmpMeta[0+1], &tmpMeta[0+2]);
5121#line 5121 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5122 goto tmp3_done;
5123 }
5124 case 2: {
5125 modelica_integer tmp6;
5126 if (0 != tmp4_1) goto tmp3_end;
5127 if (mmc__uniontype__metarecord__typedef__equal(tmp4_3,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_3) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
5128 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_3), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_3) - 3))) +
(2)))))
;
5129 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_3), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_3) - 3))) +
(3)))))
;
5130 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_3), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_3) - 3))) +
(4)))))
;
5131
5132 _condition = tmpMeta[3];
5133 _statements = tmpMeta[4];
5134 _else_branch = tmpMeta[5];
5135 _env = tmp4_4;
5136 /* Pattern matching succeeded */
5137#line 1328 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5138 /* Pattern-matching tuple assignment */
5139#line 1328 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5140 tmpMeta[5] = omc_CevalFunction_cevalExp(threadData, _condition, _inCache, _env, &tmpMeta[3]);
5141#line 1328 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5142 _cache = tmpMeta[5];
5143#line 1328 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5144 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto goto_2;
5145#line 1328 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5146 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
5147#line 1328 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5148 tmp6 = mmc_unbox_integer(tmpMeta[4])(((mmc_sint_t) (tmpMeta[4])) >> 1);
5149#line 1328 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5150 _bool_condition = tmp6 /* pattern as ty=Boolean */;
5151#line 5151 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5152#line 1330 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5153 /* Tail recursive call */
5154#line 1330 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5155 _inCondition = _bool_condition;
5156#line 1330 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5157 _inStatements = _statements;
5158#line 1330 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5159 _inElse = _else_branch;
5160#line 1330 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5161 _inCache = _cache;
5162#line 1330 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5163 _inEnv = _env;
5164#line 1330 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5165 goto _tailrecursive;
5166#line 1330 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5167 /* TODO: Make sure any eventual dead code below is never generated */
5168#line 5168 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5169 goto tmp3_done;
5170 }
5171 case 3: {
5172 if (0 != tmp4_1) goto tmp3_end;
5173 if (mmc__uniontype__metarecord__typedef__equal(tmp4_3,0,0)((*(mmc_uint_t*)((void*)((char*)(tmp4_3) - 3)))==(((0 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
5174
5175 /* Pattern matching succeeded */
5176#line 1335 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5177 tmpMeta[0+0] = _inCache;
5178#line 1335 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5179 tmpMeta[0+1] = _inEnv;
5180#line 1335 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5181 tmpMeta[0+2] = _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3));
5182#line 5182 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5183 goto tmp3_done;
5184 }
5185 }
5186 goto tmp3_end;
5187 tmp3_end: ;
5188 }
5189 goto goto_2;
5190 goto_2:;
5191 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5192 goto tmp3_done;
5193 tmp3_done:;
5194 }
5195 }
5196 _outCache = tmpMeta[0+0];
5197 _outEnv = tmpMeta[0+1];
5198 _outLoopControl = tmpMeta[0+2];
5199 _return: OMC_LABEL_UNUSED__attribute__((unused))
5200 if (out_outEnv) { *out_outEnv = _outEnv; }
5201 if (out_outLoopControl) { *out_outLoopControl = _outLoopControl; }
5202 return _outCache;
5203}
5204PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_CevalFunction_evaluateIfStatement2(threadData_t *threadData, modelica_metatype _inCondition, modelica_metatype _inStatements, modelica_metatype _inElse, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv, modelica_metatype *out_outLoopControl)
5205{
5206 modelica_integer tmp1;
5207 modelica_metatype _outCache = NULL((void*)0);
5208 tmp1 = mmc_unbox_integer(_inCondition)(((mmc_sint_t) (_inCondition)) >> 1);
5209 _outCache = omc_CevalFunction_evaluateIfStatement2(threadData, tmp1, _inStatements, _inElse, _inCache, _inEnv, out_outEnv, out_outLoopControl);
5210 /* skip box _outCache; FCore.Cache */
5211 /* skip box _outEnv; FCore.Graph */
5212 /* skip box _outLoopControl; CevalFunction.LoopControl */
5213 return _outCache;
5214}
5215
5216PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateIfStatement(threadData_t *threadData, modelica_metatype _inStatement, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv, modelica_metatype *out_outLoopControl)
5217{
5218 modelica_metatype _outCache = NULL((void*)0);
5219 modelica_metatype _outEnv = NULL((void*)0);
5220 modelica_metatype _outLoopControl = NULL((void*)0);
5221 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
5222 MMC_SO()mmc_check_stackoverflow(threadData);
5223 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5224 // _outCache has no default value.
5225 // _outEnv has no default value.
5226 // _outLoopControl has no default value.
5227#line 1264 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5228
5229#line 1264 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5230
5231#line 1264 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5232
5233#line 5233 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5234 { /* match expression */
5235 modelica_metatype tmp4_1;
5236 tmp4_1 = _inStatement;
5237 {
5238 modelica_metatype _cond = NULL((void*)0);
5239 modelica_metatype _stmts = NULL((void*)0);
5240 modelica_metatype _else_branch = NULL((void*)0);
5241 modelica_metatype _cache = NULL((void*)0);
5242 modelica_boolean _bool_cond;
5243 volatile mmc_switch_type tmp4;
5244 int tmp5;
5245 // _cond has no default value.
5246 // _stmts has no default value.
5247 // _else_branch has no default value.
5248 // _cache has no default value.
5249 // _bool_cond has no default value.
5250 tmp4 = 0;
5251 for (; tmp4 < 1; tmp4++) {
5252 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
5253 case 0: {
5254 modelica_integer tmp6;
5255 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,3,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((4 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
5256 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
5257 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
5258 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
5259
5260 _cond = tmpMeta[3];
5261 _stmts = tmpMeta[4];
5262 _else_branch = tmpMeta[5];
5263 /* Pattern matching succeeded */
5264#line 1277 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5265 /* Pattern-matching tuple assignment */
5266#line 1277 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5267 tmpMeta[5] = omc_CevalFunction_cevalExp(threadData, _cond, _inCache, _inEnv, &tmpMeta[3]);
5268#line 1277 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5269 _cache = tmpMeta[5];
5270#line 1277 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5271 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto goto_2;
5272#line 1277 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5273 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
5274#line 1277 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5275 tmp6 = mmc_unbox_integer(tmpMeta[4])(((mmc_sint_t) (tmpMeta[4])) >> 1);
5276#line 1277 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5277 _bool_cond = tmp6 /* pattern as ty=Boolean */;
5278#line 5278 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5279#line 1279 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5280 tmpMeta[0+0] = omc_CevalFunction_evaluateIfStatement2(threadData, _bool_cond, _stmts, _else_branch, _cache, _inEnv, &tmpMeta[0+1], &tmpMeta[0+2]);
5281#line 5281 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5282 goto tmp3_done;
5283 }
5284 }
5285 goto tmp3_end;
5286 tmp3_end: ;
5287 }
5288 goto goto_2;
5289 goto_2:;
5290 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5291 goto tmp3_done;
5292 tmp3_done:;
5293 }
5294 }
5295 _outCache = tmpMeta[0+0];
5296 _outEnv = tmpMeta[0+1];
5297 _outLoopControl = tmpMeta[0+2];
5298 _return: OMC_LABEL_UNUSED__attribute__((unused))
5299 if (out_outEnv) { *out_outEnv = _outEnv; }
5300 if (out_outLoopControl) { *out_outLoopControl = _outLoopControl; }
5301 return _outCache;
5302}
5303
5304PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateTupleAssignStatement(threadData_t *threadData, modelica_metatype _inStatement, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv)
5305{
5306 modelica_metatype _outCache = NULL((void*)0);
5307 modelica_metatype _outEnv = NULL((void*)0);
5308 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
5309 MMC_SO()mmc_check_stackoverflow(threadData);
5310 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5311 // _outCache has no default value.
5312 // _outEnv has no default value.
5313#line 1235 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5314
5315#line 1235 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5316
5317#line 5317 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5318 { /* match expression */
5319 modelica_metatype tmp4_1;modelica_metatype tmp4_2;
5320 tmp4_1 = _inStatement;
5321 tmp4_2 = _inEnv;
5322 {
5323 modelica_metatype _lhs_expl = NULL((void*)0);
5324 modelica_metatype _rhs = NULL((void*)0);
5325 modelica_metatype _rhs_vals = NULL((void*)0);
5326 modelica_metatype _lhs_crefs = NULL((void*)0);
5327 modelica_metatype _cache = NULL((void*)0);
5328 modelica_metatype _env = NULL((void*)0);
5329 volatile mmc_switch_type tmp4;
5330 int tmp5;
5331 // _lhs_expl has no default value.
5332 // _rhs has no default value.
5333 // _rhs_vals has no default value.
5334 // _lhs_crefs has no default value.
5335 // _cache has no default value.
5336 // _env has no default value.
5337 tmp4 = 0;
5338 for (; tmp4 < 1; tmp4++) {
5339 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
5340 case 0: {
5341 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((4 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
5342 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
5343 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
5344
5345 _lhs_expl = tmpMeta[2];
5346 _rhs = tmpMeta[3];
5347 _env = tmp4_2;
5348 /* Pattern matching succeeded */
5349#line 1246 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5350 /* Pattern-matching tuple assignment */
5351#line 1246 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5352 tmpMeta[4] = omc_CevalFunction_cevalExp(threadData, _rhs, _inCache, _env, &tmpMeta[2]);
5353#line 1246 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5354 _cache = tmpMeta[4];
5355#line 1246 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5356 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],8,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((8 +3) & 255) << 2)))
== 0) goto goto_2;
5357#line 1246 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5358 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
5359#line 1246 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5360 _rhs_vals = tmpMeta[3];
5361#line 5361 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5362
5363#line 1248 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5364 _lhs_crefs = omc_List_map(threadData, _lhs_expl, boxvar_CevalFunction_extractLhsComponentRef((void*)((char*)(&(boxvar_lit_CevalFunction_extractLhsComponentRef
).header) + 3))
);
5365#line 5365 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5366#line 1249 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5367 tmpMeta[0+0] = omc_CevalFunction_assignTuple(threadData, _lhs_crefs, _rhs_vals, _cache, _env, &tmpMeta[0+1]);
5368#line 5368 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5369 goto tmp3_done;
5370 }
5371 }
5372 goto tmp3_end;
5373 tmp3_end: ;
5374 }
5375 goto goto_2;
5376 goto_2:;
5377 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5378 goto tmp3_done;
5379 tmp3_done:;
5380 }
5381 }
5382 _outCache = tmpMeta[0+0];
5383 _outEnv = tmpMeta[0+1];
5384 _return: OMC_LABEL_UNUSED__attribute__((unused))
5385 if (out_outEnv) { *out_outEnv = _outEnv; }
5386 return _outCache;
5387}
5388
5389PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateStatements2(threadData_t *threadData, modelica_metatype _inStatement, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inLoopControl, modelica_metatype *out_outEnv, modelica_metatype *out_outLoopControl)
5390{
5391 modelica_metatype _outCache = NULL((void*)0);
5392 modelica_metatype _outEnv = NULL((void*)0);
5393 modelica_metatype _outLoopControl = NULL((void*)0);
5394 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
5395 MMC_SO()mmc_check_stackoverflow(threadData);
5396 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5397 // _outCache has no default value.
5398 // _outEnv has no default value.
5399 // _outLoopControl has no default value.
5400#line 1204 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5401
5402#line 1204 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5403
5404#line 1204 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5405
5406#line 5406 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5407 { /* match expression */
5408 modelica_metatype tmp4_1;modelica_metatype tmp4_2;
5409 tmp4_1 = _inStatement;
5410 tmp4_2 = _inLoopControl;
5411 {
5412 modelica_metatype _stmt = NULL((void*)0);
5413 modelica_metatype _rest_stmts = NULL((void*)0);
5414 modelica_metatype _cache = NULL((void*)0);
5415 modelica_metatype _env = NULL((void*)0);
5416 modelica_metatype _loop_ctrl = NULL((void*)0);
5417 volatile mmc_switch_type tmp4;
5418 int tmp5;
5419 // _stmt has no default value.
5420 // _rest_stmts has no default value.
5421 // _cache has no default value.
5422 // _env has no default value.
5423 // _loop_ctrl has no default value.
5424 tmp4 = 0;
5425 for (; tmp4 < 4; tmp4++) {
5426 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
5427 case 0: {
5428 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,0)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((0 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
5429
5430 /* Pattern matching succeeded */
5431#line 1212 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5432 tmpMeta[0+0] = _inCache;
5433#line 1212 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5434 tmpMeta[0+1] = _inEnv;
5435#line 1212 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5436 tmpMeta[0+2] = _inLoopControl;
5437#line 5437 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5438 goto tmp3_done;
5439 }
5440 case 1: {
5441 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,2,0)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((0 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
5442
5443 /* Pattern matching succeeded */
5444#line 1213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5445 tmpMeta[0+0] = _inCache;
5446#line 1213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5447 tmpMeta[0+1] = _inEnv;
5448#line 1213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5449 tmpMeta[0+2] = _inLoopControl;
5450#line 5450 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5451 goto tmp3_done;
5452 }
5453 case 2: {
5454 if (!listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
5455
5456 /* Pattern matching succeeded */
5457#line 1214 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5458 tmpMeta[0+0] = _inCache;
5459#line 1214 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5460 tmpMeta[0+1] = _inEnv;
5461#line 1214 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5462 tmpMeta[0+2] = _inLoopControl;
5463#line 5463 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5464 goto tmp3_done;
5465 }
5466 case 3: {
5467 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
5468 tmpMeta[3] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
5469 tmpMeta[4] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
5470 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,0)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((0 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
5471 _stmt = tmpMeta[3];
5472 _rest_stmts = tmpMeta[4];
5473 /* Pattern matching succeeded */
5474#line 1217 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5475 _cache = omc_CevalFunction_evaluateStatement(threadData, _stmt, _inCache, _inEnv ,&_env ,&_loop_ctrl);
5476#line 5476 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5477#line 1218 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5478 /* Tail recursive call */
5479#line 1218 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5480 _inStatement = _rest_stmts;
5481#line 1218 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5482 _inCache = _cache;
5483#line 1218 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5484 _inEnv = _env;
5485#line 1218 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5486 _inLoopControl = _loop_ctrl;
5487#line 1218 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5488 goto _tailrecursive;
5489#line 1218 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5490 /* TODO: Make sure any eventual dead code below is never generated */
5491#line 5491 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5492 goto tmp3_done;
5493 }
5494 }
5495 goto tmp3_end;
5496 tmp3_end: ;
5497 }
5498 goto goto_2;
5499 goto_2:;
5500 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5501 goto tmp3_done;
5502 tmp3_done:;
5503 }
5504 }
5505 _outCache = tmpMeta[0+0];
5506 _outEnv = tmpMeta[0+1];
5507 _outLoopControl = tmpMeta[0+2];
5508 _return: OMC_LABEL_UNUSED__attribute__((unused))
5509 if (out_outEnv) { *out_outEnv = _outEnv; }
5510 if (out_outLoopControl) { *out_outLoopControl = _outLoopControl; }
5511 return _outCache;
5512}
5513
5514PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateStatements(threadData_t *threadData, modelica_metatype _inStatement, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv, modelica_metatype *out_outLoopControl)
5515{
5516 modelica_metatype _outCache = NULL((void*)0);
5517 modelica_metatype _outEnv = NULL((void*)0);
5518 modelica_metatype _outLoopControl = NULL((void*)0);
5519 MMC_SO()mmc_check_stackoverflow(threadData);
5520 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5521 // _outCache has no default value.
5522 // _outEnv has no default value.
5523 // _outLoopControl has no default value.
5524#line 1189 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5525 _outCache = omc_CevalFunction_evaluateStatements2(threadData, _inStatement, _inCache, _inEnv, _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)) ,&_outEnv ,&_outLoopControl);
5526#line 5526 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5527 _return: OMC_LABEL_UNUSED__attribute__((unused))
5528 if (out_outEnv) { *out_outEnv = _outEnv; }
5529 if (out_outLoopControl) { *out_outLoopControl = _outLoopControl; }
5530 return _outCache;
5531}
5532
5533PROTECTED_FUNCTION_STATIC modelica_metatype omc_CevalFunction_evaluateStatement(threadData_t *threadData, modelica_metatype _inStatement, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype *out_outEnv, modelica_metatype *out_outLoopControl)
5534{
5535 modelica_metatype _outCache = NULL((void*)0);
5536 modelica_metatype _outEnv = NULL((void*)0);
5537 modelica_metatype _outLoopControl = NULL((void*)0);
5538 modelica_metatype tmpMeta[10] __attribute__((unused)) = {0};
5539 MMC_SO()mmc_check_stackoverflow(threadData);
5540 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5541 // _outCache has no default value.
5542 // _outEnv has no default value.
5543 // _outLoopControl has no default value.
5544#line 1057 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5545
5546#line 1057 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5547
5548#line 1057 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5549
5550#line 5550 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5551 { /* match expression */
5552 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;
5553 tmp4_1 = _inStatement;
5554 tmp4_2 = _inCache;
5555 tmp4_3 = _inEnv;
5556 {
5557 modelica_metatype _cache = NULL((void*)0);
5558 modelica_metatype _env = NULL((void*)0);
5559 modelica_metatype _lhs = NULL((void*)0);
5560 modelica_metatype _rhs = NULL((void*)0);
5561 modelica_metatype _condition = NULL((void*)0);
5562 modelica_metatype _lhs_cref = NULL((void*)0);
5563 modelica_metatype _rhs_val = NULL((void*)0);
5564 modelica_metatype _v = NULL((void*)0);
5565 modelica_metatype _exps = NULL((void*)0);
5566 modelica_metatype _vals = NULL((void*)0);
5567 modelica_metatype _statements = NULL((void*)0);
5568 modelica_metatype _tailCall = NULL((void*)0);
5569 modelica_string _var = NULL((void*)0);
5570 modelica_metatype _vars = NULL((void*)0);
5571 volatile mmc_switch_type tmp4;
5572 int tmp5;
5573 // _cache has no default value.
5574 // _env has no default value.
5575 // _lhs has no default value.
5576 // _rhs has no default value.
5577 // _condition has no default value.
5578 // _lhs_cref has no default value.
5579 // _rhs_val has no default value.
5580 // _v has no default value.
5581 // _exps has no default value.
5582 // _vals has no default value.
5583 // _statements has no default value.
5584 // _tailCall has no default value.
5585 // _var has no default value.
5586 // _vars has no default value.
5587 tmp4 = 0;
5588 for (; tmp4 < 12; tmp4++) {
5589 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
5590 case 0: {
5591 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
5592 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
5593 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
5594
5595 _lhs = tmpMeta[3];
5596 _rhs = tmpMeta[4];
5597 _cache = tmp4_2;
5598 _env = tmp4_3;
5599 /* Pattern matching succeeded */
5600#line 1077 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5601 _cache = omc_CevalFunction_cevalExp(threadData, _rhs, _cache, _env ,&_rhs_val);
5602#line 5602 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5603
5604#line 1078 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5605 _lhs_cref = omc_CevalFunction_extractLhsComponentRef(threadData, _lhs);
5606#line 5606 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5607
5608#line 1079 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5609 _cache = omc_CevalFunction_assignVariable(threadData, _lhs_cref, _rhs_val, _cache, _env ,&_env);
5610#line 5610 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5611#line 1080 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5612 tmpMeta[0+0] = _cache;
5613#line 1080 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5614 tmpMeta[0+1] = _env;
5615#line 1080 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/CevalFunction.mo"
5616 tmpMeta[0+2] = _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3));
5617#line 5617 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/CevalFunction.c"
5618 goto tmp3_done;
5619 }
5620 case 1: {
5621 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((4 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
5622