Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",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.055/2.055, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2248/2.28, allocations: 51.04 MB / 267.3 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/2.402, allocations: 48.69 MB / 316 MB, free: 4.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.406/8.807, allocations: 2.514 GB / 2.822 GB, free: 92.05 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003478/8.808, allocations: 102.2 kB / 2.823 GB, free: 92 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 2.557/11.36, allocations: 485.7 MB / 3.297 GB, free: 44.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/11.36, allocations: 6.562 kB / 3.297 GB, free: 44.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004426/11.37, allocations: 234.9 kB / 3.297 GB, free: 44.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002831/11.37, allocations: 0.5871 MB / 3.298 GB, free: 44.04 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001815/11.37, allocations: 90.41 kB / 3.298 GB, free: 43.97 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/11.37, allocations: 33.88 kB / 3.298 GB, free: 43.97 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002812/11.38, allocations: 0.6424 MB / 3.298 GB, free: 43.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00295/11.38, allocations: 0.8809 MB / 3.299 GB, free: 43.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.388e-05/11.38, allocations: 7.219 kB / 3.299 GB, free: 43.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/11.38, allocations: 7.156 kB / 3.299 GB, free: 43.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.763e-05/11.38, allocations: 43.08 kB / 3.299 GB, free: 43.64 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2586/11.64, allocations: 67.44 MB / 3.365 GB, free: 17.19 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005512/11.64, allocations: 234.4 kB / 3.365 GB, free: 17.17 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/11.64, allocations: 151.2 kB / 3.366 GB, free: 17.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2053/11.84, allocations: 53.34 MB / 3.418 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.636e-05/11.84, allocations: 37.06 kB / 3.418 GB, free: 11.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=31): time 3.437e-06/11.84, allocations: 1.594 kB / 3.418 GB, free: 11.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=36): time 0.006096/11.85, allocations: 1.35 MB / 3.419 GB, free: 10.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.987e-05/11.85, allocations: 137.5 kB / 3.419 GB, free: 10.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/11.85, allocations: 0.5056 MB / 3.42 GB, free: 9.781 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001265/11.85, allocations: 29.7 kB / 3.42 GB, free: 9.746 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000259/11.85, allocations: 386.3 kB / 3.42 GB, free: 9.441 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/11.85, allocations: 128.5 kB / 3.42 GB, free: 9.348 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/11.85, allocations: 4 kB / 3.42 GB, free: 9.344 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002051/11.85, allocations: 368.1 kB / 3.42 GB, free: 9.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/11.85, allocations: 230.2 kB / 3.421 GB, free: 8.898 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/11.85, allocations: 0.6073 MB / 3.421 GB, free: 8.242 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/11.86, allocations: 357.8 kB / 3.422 GB, free: 8.055 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.647e-06/11.86, allocations: 4 kB / 3.422 GB, free: 8.051 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003559/11.86, allocations: 1.042 MB / 3.423 GB, free: 7.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/11.86, allocations: 10.81 kB / 3.423 GB, free: 7.422 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/11.86, allocations: 15.52 kB / 3.423 GB, free: 7.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003901/11.86, allocations: 69.06 kB / 3.423 GB, free: 7.363 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002543/11.86, allocations: 282.7 kB / 3.423 GB, free: 7.152 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2028/12.07, allocations: 2.045 MB / 3.425 GB, free: 128.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/12.07, allocations: 48.42 kB / 3.425 GB, free: 128.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/12.07, allocations: 46.69 kB / 3.425 GB, free: 128.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002605/12.07, allocations: 140 kB / 3.425 GB, free: 128.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008559/12.07, allocations: 209.8 kB / 3.425 GB, free: 128.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003264/12.07, allocations: 1.667 MB / 3.427 GB, free: 128.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-05/12.07, allocations: 19.42 kB / 3.427 GB, free: 128.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/12.07, allocations: 0 / 3.427 GB, free: 128.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/12.07, allocations: 3.844 kB / 3.427 GB, free: 128.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004391/12.08, allocations: 2.528 MB / 3.43 GB, free: 127.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/12.08, allocations: 1.531 kB / 3.43 GB, free: 127.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001805/12.08, allocations: 165.2 kB / 3.43 GB, free: 127.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005355/12.08, allocations: 115.9 kB / 3.43 GB, free: 127.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-05/12.08, allocations: 10.56 kB / 3.43 GB, free: 127.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002352/12.08, allocations: 2.119 MB / 3.432 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/12.08, allocations: 1.5 kB / 3.432 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003702/12.08, allocations: 1.96 MB / 3.434 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004941/12.09, allocations: 2.901 MB / 3.437 GB, free: 125.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006062/12.09, allocations: 212 kB / 3.437 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/12.09, allocations: 3.531 kB / 3.437 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007508/12.09, allocations: 23.14 kB / 3.437 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/12.09, allocations: 24 kB / 3.437 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.537e-05/12.09, allocations: 17.72 kB / 3.437 GB, free: 125.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006859/12.09, allocations: 367.9 kB / 3.437 GB, free: 125 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007688/12.1, allocations: 1.233 MB / 3.438 GB, free: 125 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01151/12.11, allocations: 1.724 MB / 3.44 GB, free: 124.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003873/12.11, allocations: 1.116 MB / 3.441 GB, free: 124.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/12.11, allocations: 2.906 kB / 3.441 GB, free: 124.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003205/12.12, allocations: 0.8569 MB / 3.442 GB, free: 124.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003658/12.12, allocations: 257.2 kB / 3.442 GB, free: 124.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006531/12.13, allocations: 1.546 MB / 3.444 GB, free: 124.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001665/12.13, allocations: 1.134 MB / 3.445 GB, free: 123.9 MB / 490.7 MB Notification: Performance of SimCode: time 2.114e-06/12.13, allocations: 0 / 3.445 GB, free: 123.9 MB / 490.7 MB