Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",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.24/2.24, allocations: 235 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1866/2.427, allocations: 57.21 MB / 299.1 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/2.733, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.762/12.5, allocations: 3.667 GB / 4.012 GB, free: 102.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/12.5, allocations: 94.67 kB / 4.012 GB, free: 102.9 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 2.528/15.02, allocations: 433.7 MB / 4.436 GB, free: 33.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/15.02, allocations: 8 kB / 4.436 GB, free: 33.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009252/15.03, allocations: 114.9 kB / 4.436 GB, free: 33.67 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/15.03, allocations: 0.6399 MB / 4.437 GB, free: 33 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/15.03, allocations: 93.31 kB / 4.437 GB, free: 32.89 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/15.03, allocations: 40 kB / 4.437 GB, free: 32.86 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003013/15.03, allocations: 1.058 MB / 4.438 GB, free: 31.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003085/15.03, allocations: 1.046 MB / 4.439 GB, free: 30.69 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.702e-05/15.03, allocations: 3.938 kB / 4.439 GB, free: 30.69 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/15.03, allocations: 7.938 kB / 4.439 GB, free: 30.68 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.336e-05/15.03, allocations: 57.95 kB / 4.439 GB, free: 30.62 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/15.05, allocations: 5.041 MB / 4.444 GB, free: 25.26 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/15.05, allocations: 487.6 kB / 4.444 GB, free: 24.78 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007526/15.05, allocations: 343.1 kB / 4.445 GB, free: 24.44 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/15.05, allocations: 1.067 MB / 4.446 GB, free: 23.15 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/15.05, allocations: 39.22 kB / 4.446 GB, free: 23.11 MB / 474.7 MB Notification: Performance of pre-optimization done (n=63): time 3.286e-06/15.05, allocations: 4 kB / 4.446 GB, free: 23.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=75): time 0.02518/15.07, allocations: 3.693 MB / 4.449 GB, free: 19.36 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/15.07, allocations: 115.4 kB / 4.45 GB, free: 19.22 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008974/15.07, allocations: 498.1 kB / 4.45 GB, free: 18.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002189/15.08, allocations: 25.7 kB / 4.45 GB, free: 18.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/15.08, allocations: 358.8 kB / 4.45 GB, free: 18.34 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/15.08, allocations: 264.1 kB / 4.451 GB, free: 18.07 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.839e-05/15.08, allocations: 0 / 4.451 GB, free: 18.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/15.08, allocations: 382.8 kB / 4.451 GB, free: 17.69 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/15.08, allocations: 418.5 kB / 4.451 GB, free: 17.29 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/15.08, allocations: 0.7253 MB / 4.452 GB, free: 16.43 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002943/15.08, allocations: 0.6913 MB / 4.453 GB, free: 15.73 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/15.08, allocations: 4 kB / 4.453 GB, free: 15.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005522/15.09, allocations: 1.602 MB / 4.454 GB, free: 14.12 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/15.09, allocations: 12.22 kB / 4.454 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/15.09, allocations: 11.91 kB / 4.454 GB, free: 14.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01052/15.1, allocations: 1.073 MB / 4.455 GB, free: 13.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/15.1, allocations: 171.7 kB / 4.456 GB, free: 12.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003732/15.1, allocations: 1.516 MB / 4.457 GB, free: 11.31 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/15.1, allocations: 79.88 kB / 4.457 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002001/15.1, allocations: 63.97 kB / 4.457 GB, free: 11.17 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (95): * Single equations (assignments): 94 * 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 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.0003554/15.11, allocations: 133.8 kB / 4.457 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002336/15.11, allocations: 71.16 kB / 4.457 GB, free: 10.96 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005859/15.11, allocations: 1.531 MB / 4.459 GB, free: 9.418 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/15.11, allocations: 11.98 kB / 4.459 GB, free: 9.406 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/15.11, allocations: 3.906 kB / 4.459 GB, free: 9.402 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/15.11, allocations: 7.984 kB / 4.459 GB, free: 9.395 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007555/15.12, allocations: 2.747 MB / 4.462 GB, free: 6.531 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/15.12, allocations: 7.938 kB / 4.462 GB, free: 6.523 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002612/15.12, allocations: 244 kB / 4.462 GB, free: 6.285 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00263/15.12, allocations: 312 kB / 4.462 GB, free: 5.98 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002422/15.12, allocations: 23.98 kB / 4.462 GB, free: 5.957 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002628/15.13, allocations: 2.169 MB / 4.464 GB, free: 3.645 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/15.13, allocations: 4 kB / 4.464 GB, free: 3.641 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005814/15.13, allocations: 2.018 MB / 4.466 GB, free: 1.504 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008138/15.14, allocations: 3.099 MB / 4.469 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009816/15.14, allocations: 280 kB / 4.47 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002545/15.14, allocations: 8 kB / 4.47 GB, free: 13.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/15.14, allocations: 63.84 kB / 4.47 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/15.14, allocations: 52.58 kB / 4.47 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001919/15.14, allocations: 51.91 kB / 4.47 GB, free: 13.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008859/15.15, allocations: 378.9 kB / 4.47 GB, free: 13.44 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005964/15.15, allocations: 0.9523 MB / 4.471 GB, free: 12.48 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.006839/15.16, allocations: 1.813 MB / 4.473 GB, free: 10.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003966/15.16, allocations: 1.059 MB / 4.474 GB, free: 9.777 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/15.16, allocations: 0 / 4.474 GB, free: 9.777 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003461/15.17, allocations: 0.6485 MB / 4.474 GB, free: 9.129 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003801/15.17, allocations: 341.9 kB / 4.475 GB, free: 8.797 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009836/15.18, allocations: 1.7 MB / 4.476 GB, free: 7.035 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002488/15.18, allocations: 1.18 MB / 4.478 GB, free: 5.836 MB / 490.7 MB Notification: Performance of SimCode: time 1.442e-06/15.18, allocations: 0 / 4.478 GB, free: 5.836 MB / 490.7 MB