Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",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.16/2.16, allocations: 235 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1505/2.311, allocations: 57.21 MB / 299.1 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/2.58, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8947/3.475, allocations: 347.1 MB / 0.6846 GB, free: 97.52 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/3.475, allocations: 93.88 kB / 0.6847 GB, free: 97.48 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.6365/4.112, allocations: 129.8 MB / 0.8114 GB, free: 120.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/4.112, allocations: 10.22 kB / 0.8114 GB, free: 120.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004949/4.113, allocations: 90.42 kB / 0.8115 GB, free: 120.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/4.114, allocations: 0.5461 MB / 0.8121 GB, free: 120.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/4.114, allocations: 83.12 kB / 0.8121 GB, free: 120.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/4.114, allocations: 33.97 kB / 0.8122 GB, free: 120.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001414/4.116, allocations: 0.5452 MB / 0.8127 GB, free: 120.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/4.117, allocations: 0.7396 MB / 0.8134 GB, free: 120 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/4.117, allocations: 5.625 kB / 0.8134 GB, free: 120 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-05/4.117, allocations: 7.469 kB / 0.8134 GB, free: 120 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.335e-05/4.117, allocations: 48.12 kB / 0.8135 GB, free: 120 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005994/4.123, allocations: 4.186 MB / 0.8176 GB, free: 117.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/4.124, allocations: 211.4 kB / 0.8178 GB, free: 117.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/4.124, allocations: 142.5 kB / 0.8179 GB, free: 117.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002311/4.127, allocations: 1.49 MB / 0.8194 GB, free: 115.9 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/4.127, allocations: 39.56 kB / 0.8194 GB, free: 115.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 2.114e-06/4.127, allocations: 0 / 0.8194 GB, free: 115.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=20): time 0.002582/4.129, allocations: 0.748 MB / 0.8201 GB, free: 115.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/4.129, allocations: 128.5 kB / 0.8203 GB, free: 115.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009124/4.13, allocations: 0.5257 MB / 0.8208 GB, free: 115.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.101e-05/4.13, allocations: 30.3 kB / 0.8208 GB, free: 115.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/4.131, allocations: 393.7 kB / 0.8212 GB, free: 114.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/4.131, allocations: 76.59 kB / 0.8213 GB, free: 114.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/4.131, allocations: 0 / 0.8213 GB, free: 114.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/4.131, allocations: 376.7 kB / 0.8216 GB, free: 114.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/4.131, allocations: 146.5 kB / 0.8218 GB, free: 114.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006134/4.132, allocations: 0.5374 MB / 0.8223 GB, free: 114 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007991/4.133, allocations: 265 kB / 0.8225 GB, free: 114 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/4.133, allocations: 3.875 kB / 0.8225 GB, free: 114 MB / 474.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001757/4.135, allocations: 0.6396 MB / 0.8232 GB, free: 114 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/4.135, allocations: 3.906 kB / 0.8232 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/4.135, allocations: 11.19 kB / 0.8232 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.121e-05/4.135, allocations: 29.94 kB / 0.8232 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/4.136, allocations: 203.7 kB / 0.8234 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.912e-05/4.136, allocations: 27.28 kB / 0.8234 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/4.138, allocations: 41 kB / 0.8235 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/4.138, allocations: 43.03 kB / 0.8235 GB, free: 114 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (91): * Single equations (assignments): 91 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002324/4.138, allocations: 136.5 kB / 0.8236 GB, free: 113.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/4.138, allocations: 58 kB / 0.8237 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009934/4.139, allocations: 265.5 kB / 0.8239 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/4.139, allocations: 9.547 kB / 0.824 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/4.139, allocations: 1.5 kB / 0.824 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/4.139, allocations: 3.906 kB / 0.824 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/4.141, allocations: 0.7848 MB / 0.8247 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/4.141, allocations: 2.156 kB / 0.8247 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003592/4.141, allocations: 44.17 kB / 0.8248 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001624/4.142, allocations: 27.41 kB / 0.8248 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/4.142, allocations: 0 / 0.8248 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005026/4.142, allocations: 0.5697 MB / 0.8253 GB, free: 112.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/4.142, allocations: 3.938 kB / 0.8254 GB, free: 112.9 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001088/4.143, allocations: 0.4933 MB / 0.8258 GB, free: 112.6 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001236/4.145, allocations: 0.9822 MB / 0.8268 GB, free: 112 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003885/4.145, allocations: 172.2 kB / 0.827 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/4.145, allocations: 0 / 0.827 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006703/4.146, allocations: 21.52 kB / 0.827 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/4.146, allocations: 18.89 kB / 0.827 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.726e-05/4.146, allocations: 13.09 kB / 0.827 GB, free: 111.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0007259/4.147, allocations: 394.7 kB / 0.8274 GB, free: 111.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002232/4.149, allocations: 211.3 kB / 0.8276 GB, free: 111.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (22): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007932/4.15, allocations: 329.7 kB / 0.8279 GB, free: 111.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009777/4.151, allocations: 376.1 kB / 0.8283 GB, free: 111.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/4.151, allocations: 0 / 0.8283 GB, free: 111.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002867/4.151, allocations: 87.91 kB / 0.8283 GB, free: 111.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/4.153, allocations: 219.9 kB / 0.8286 GB, free: 111.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/4.155, allocations: 0.7519 MB / 0.8293 GB, free: 111.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007178/4.156, allocations: 1.001 MB / 0.8303 GB, free: 110.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.332e-06/4.156, allocations: 0 / 0.8303 GB, free: 110.7 MB / 474.7 MB