Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",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.063/2.063, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2198/2.282, allocations: 51.04 MB / 267.3 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/2.406, allocations: 48.68 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7138/3.12, allocations: 230 MB / 0.5332 GB, free: 93.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/3.12, allocations: 94.94 kB / 0.5333 GB, free: 93.77 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.302/4.422, allocations: 280.6 MB / 0.8072 GB, free: 4.996 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/4.422, allocations: 8 kB / 0.8073 GB, free: 4.988 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/4.424, allocations: 139 kB / 0.8074 GB, free: 4.852 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/4.426, allocations: 0.5637 MB / 0.8079 GB, free: 4.246 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/4.426, allocations: 84.39 kB / 0.808 GB, free: 4.152 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/4.426, allocations: 28 kB / 0.808 GB, free: 4.125 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001433/4.428, allocations: 0.506 MB / 0.8085 GB, free: 3.613 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/4.43, allocations: 0.736 MB / 0.8093 GB, free: 2.793 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/4.43, allocations: 0 / 0.8093 GB, free: 2.793 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/4.43, allocations: 8 kB / 0.8093 GB, free: 2.785 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-05/4.43, allocations: 44.97 kB / 0.8093 GB, free: 2.742 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1894/4.619, allocations: 4.342 MB / 0.8135 GB, free: 112.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007174/4.62, allocations: 243.4 kB / 0.8138 GB, free: 112.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/4.621, allocations: 120.6 kB / 0.8139 GB, free: 112.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003136/4.621, allocations: 347.1 kB / 0.8142 GB, free: 112.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/4.621, allocations: 40.62 kB / 0.8143 GB, free: 112.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.855e-06/4.621, allocations: 0 / 0.8143 GB, free: 112.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.005628/4.627, allocations: 1.226 MB / 0.8155 GB, free: 111.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/4.627, allocations: 131.8 kB / 0.8156 GB, free: 111.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008634/4.628, allocations: 473 kB / 0.816 GB, free: 111.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/4.628, allocations: 29.58 kB / 0.8161 GB, free: 111.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000273/4.628, allocations: 352.4 kB / 0.8164 GB, free: 111.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/4.628, allocations: 126.8 kB / 0.8165 GB, free: 111.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/4.628, allocations: 0 / 0.8165 GB, free: 111.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/4.628, allocations: 371.9 kB / 0.8169 GB, free: 111 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/4.629, allocations: 184.8 kB / 0.8171 GB, free: 111 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000834/4.63, allocations: 0.5043 MB / 0.8175 GB, free: 110.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/4.631, allocations: 355.5 kB / 0.8179 GB, free: 110.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/4.631, allocations: 3.25 kB / 0.8179 GB, free: 110.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00294/4.634, allocations: 0.8443 MB / 0.8187 GB, free: 110.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/4.634, allocations: 7.125 kB / 0.8187 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/4.634, allocations: 13.5 kB / 0.8187 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/4.636, allocations: 213.1 kB / 0.8189 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009161/4.637, allocations: 131.1 kB / 0.8191 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/4.639, allocations: 1.416 MB / 0.8204 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/4.64, allocations: 29.53 kB / 0.8205 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/4.64, allocations: 45.64 kB / 0.8205 GB, free: 109.4 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.0002635/4.64, allocations: 134.9 kB / 0.8206 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/4.64, allocations: 63.88 kB / 0.8207 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003158/4.644, allocations: 0.8075 MB / 0.8215 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/4.644, allocations: 3.312 kB / 0.8215 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/4.644, allocations: 3.906 kB / 0.8215 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/4.644, allocations: 10.08 kB / 0.8215 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00343/4.647, allocations: 1.154 MB / 0.8226 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/4.647, allocations: 3.656 kB / 0.8226 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/4.648, allocations: 42.59 kB / 0.8227 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009966/4.649, allocations: 158 kB / 0.8228 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.283e-05/4.649, allocations: 7.406 kB / 0.8228 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/4.65, allocations: 1.34 MB / 0.8241 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/4.65, allocations: 3.844 kB / 0.8242 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002557/4.653, allocations: 0.8144 MB / 0.8249 GB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003298/4.656, allocations: 1.478 MB / 0.8264 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005317/4.657, allocations: 187.8 kB / 0.8266 GB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/4.657, allocations: 6.75 kB / 0.8266 GB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007567/4.658, allocations: 14.38 kB / 0.8266 GB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.025e-05/4.658, allocations: 20.19 kB / 0.8266 GB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/4.658, allocations: 21.75 kB / 0.8266 GB, free: 106.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0006295/4.659, allocations: 349.9 kB / 0.827 GB, free: 106.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002806/4.661, allocations: 397.6 kB / 0.8273 GB, free: 106.8 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.0015/4.663, allocations: 440.7 kB / 0.8278 GB, free: 106.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001534/4.665, allocations: 491.5 kB / 0.8282 GB, free: 106.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/4.665, allocations: 0 / 0.8282 GB, free: 106.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007228/4.665, allocations: 207.5 kB / 0.8284 GB, free: 106.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/4.668, allocations: 238 kB / 0.8287 GB, free: 106.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/4.671, allocations: 0.9494 MB / 0.8296 GB, free: 106.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001259/4.673, allocations: 1.026 MB / 0.8306 GB, free: 105.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.693e-06/4.673, allocations: 3.312 kB / 0.8306 GB, free: 105.7 MB / 426.7 MB