Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(ModelicaTest): time 2.023/2.023, allocations: 209.3 MB / 216.3 MB, free: 6.781 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2495/2.272, allocations: 51.04 MB / 267.3 MB, free: 5.125 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/2.405, allocations: 48.69 MB / 316 MB, free: 4.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7672/3.172, allocations: 230.1 MB / 0.5333 GB, free: 93.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/3.172, allocations: 97.75 kB / 0.5334 GB, free: 93.52 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 1.327/4.5, allocations: 269.3 MB / 0.7964 GB, free: 15.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/4.5, allocations: 11.94 kB / 0.7964 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002805/4.503, allocations: 139 kB / 0.7965 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002749/4.505, allocations: 0.5598 MB / 0.7971 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/4.506, allocations: 88.41 kB / 0.7971 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002502/4.506, allocations: 32 kB / 0.7972 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002381/4.508, allocations: 0.5098 MB / 0.7977 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002641/4.511, allocations: 0.7283 MB / 0.7984 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.62e-05/4.511, allocations: 7.938 kB / 0.7984 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/4.511, allocations: 3.984 kB / 0.7984 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.252e-05/4.511, allocations: 40.98 kB / 0.7984 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01058/4.522, allocations: 4.337 MB / 0.8027 GB, free: 9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/4.523, allocations: 261.5 kB / 0.8029 GB, free: 8.738 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004226/4.524, allocations: 120.8 kB / 0.803 GB, free: 8.617 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004248/4.524, allocations: 340.6 kB / 0.8034 GB, free: 8.211 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/4.524, allocations: 38.56 kB / 0.8034 GB, free: 8.164 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 4.168e-06/4.524, allocations: 0 / 0.8034 GB, free: 8.164 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.008586/4.533, allocations: 1.223 MB / 0.8046 GB, free: 6.879 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/4.533, allocations: 132.5 kB / 0.8047 GB, free: 6.719 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/4.534, allocations: 478.2 kB / 0.8052 GB, free: 6.246 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001477/4.534, allocations: 29.7 kB / 0.8052 GB, free: 6.211 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/4.535, allocations: 346.6 kB / 0.8055 GB, free: 5.863 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/4.535, allocations: 126.3 kB / 0.8057 GB, free: 5.738 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.901e-05/4.535, allocations: 0 / 0.8057 GB, free: 5.738 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/4.535, allocations: 370.8 kB / 0.806 GB, free: 5.367 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000675/4.536, allocations: 181.5 kB / 0.8062 GB, free: 5.191 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009008/4.537, allocations: 0.5078 MB / 0.8067 GB, free: 4.523 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002628/4.539, allocations: 350.8 kB / 0.807 GB, free: 4.184 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.489e-05/4.539, allocations: 4 kB / 0.807 GB, free: 4.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004736/4.544, allocations: 0.8456 MB / 0.8078 GB, free: 3.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/4.544, allocations: 8.141 kB / 0.8078 GB, free: 3.312 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.71e-05/4.544, allocations: 16 kB / 0.8079 GB, free: 3.297 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001874/4.546, allocations: 217.6 kB / 0.8081 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/4.548, allocations: 139.7 kB / 0.8082 GB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002833/4.55, allocations: 1.413 MB / 0.8096 GB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/4.552, allocations: 32.02 kB / 0.8096 GB, free: 1.445 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/4.552, allocations: 48.05 kB / 0.8097 GB, free: 1.398 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003179/4.553, allocations: 132.7 kB / 0.8098 GB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/4.553, allocations: 63.25 kB / 0.8098 GB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004629/4.558, allocations: 0.7973 MB / 0.8106 GB, free: 400 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/4.558, allocations: 8 kB / 0.8106 GB, free: 392 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/4.558, allocations: 0 / 0.8106 GB, free: 392 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/4.558, allocations: 3.984 kB / 0.8106 GB, free: 388 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.19/4.748, allocations: 1.148 MB / 0.8118 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/4.748, allocations: 6.188 kB / 0.8118 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/4.748, allocations: 46.03 kB / 0.8118 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008535/4.749, allocations: 157.6 kB / 0.812 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/4.749, allocations: 3.906 kB / 0.812 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/4.751, allocations: 1.341 MB / 0.8133 GB, free: 115.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/4.751, allocations: 8.719 kB / 0.8133 GB, free: 115.2 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002518/4.753, allocations: 0.8081 MB / 0.8141 GB, free: 115 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005656/4.759, allocations: 1.469 MB / 0.8155 GB, free: 114.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007571/4.76, allocations: 194 kB / 0.8157 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002601/4.76, allocations: 9.609 kB / 0.8157 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/4.762, allocations: 12.94 kB / 0.8157 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/4.762, allocations: 23.25 kB / 0.8157 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/4.762, allocations: 21.88 kB / 0.8158 GB, free: 114.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001128/4.763, allocations: 350.2 kB / 0.8161 GB, free: 114.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004698/4.768, allocations: 387.9 kB / 0.8165 GB, free: 114.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001936/4.77, allocations: 453.9 kB / 0.8169 GB, free: 114.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001904/4.772, allocations: 491.5 kB / 0.8174 GB, free: 114.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/4.772, allocations: 0 / 0.8174 GB, free: 114.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008956/4.773, allocations: 212.6 kB / 0.8176 GB, free: 114.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002786/4.776, allocations: 227.8 kB / 0.8178 GB, free: 114.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/4.78, allocations: 0.9511 MB / 0.8187 GB, free: 113.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/4.781, allocations: 1.028 MB / 0.8197 GB, free: 113.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.112e-06/4.781, allocations: 0 / 0.8197 GB, free: 113.2 MB / 426.7 MB