Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_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(Modelica): time 1.721/1.721, allocations: 171.2 MB / 178.1 MB, free: 0.7539 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.174/1.895, allocations: 41.13 MB / 219.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/2.131, allocations: 38.76 MB / 258 MB, free: 12.34 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.323/11.45, allocations: 3.61 GB / 3.862 GB, free: 59.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004227/11.45, allocations: 85.62 kB / 3.862 GB, free: 59.32 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 1.805/13.26, allocations: 320.7 MB / 4.176 GB, free: 3.938 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/13.26, allocations: 12 kB / 4.176 GB, free: 3.926 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005491/13.26, allocations: 63.42 kB / 4.176 GB, free: 3.863 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009327/13.26, allocations: 364.2 kB / 4.176 GB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/13.26, allocations: 12 kB / 4.176 GB, free: 3.457 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002461/13.26, allocations: 31.91 kB / 4.176 GB, free: 3.426 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003004/13.26, allocations: 0.5642 MB / 4.177 GB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/13.27, allocations: 436.4 kB / 4.177 GB, free: 2.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.072e-05/13.27, allocations: 0 / 4.177 GB, free: 2.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002052/13.27, allocations: 0 / 4.177 GB, free: 2.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/13.27, allocations: 12 kB / 4.177 GB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008333/13.28, allocations: 1.889 MB / 4.179 GB, free: 364 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/13.28, allocations: 379 kB / 4.179 GB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/13.28, allocations: 250.4 kB / 4.18 GB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009531/13.28, allocations: 0.7048 MB / 4.18 GB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/13.28, allocations: 39 kB / 4.18 GB, free: 14.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 3.416e-06/13.28, allocations: 4 kB / 4.18 GB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.02178/13.3, allocations: 2.9 MB / 4.183 GB, free: 11.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/13.3, allocations: 56.06 kB / 4.183 GB, free: 11.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004218/13.3, allocations: 215 kB / 4.183 GB, free: 11.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001491/13.3, allocations: 25.7 kB / 4.183 GB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/13.3, allocations: 180.9 kB / 4.184 GB, free: 11.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003394/13.3, allocations: 220.7 kB / 4.184 GB, free: 11.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/13.3, allocations: 0 / 4.184 GB, free: 11.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/13.3, allocations: 346.8 kB / 4.184 GB, free: 10.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007869/13.3, allocations: 265.2 kB / 4.184 GB, free: 10.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008661/13.31, allocations: 338.7 kB / 4.185 GB, free: 10.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/13.31, allocations: 363 kB / 4.185 GB, free: 9.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/13.31, allocations: 0 / 4.185 GB, free: 9.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00365/13.31, allocations: 0.923 MB / 4.186 GB, free: 8.906 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/13.31, allocations: 4 kB / 4.186 GB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/13.31, allocations: 4 kB / 4.186 GB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002073/13.31, allocations: 270.3 kB / 4.186 GB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/13.31, allocations: 123.8 kB / 4.186 GB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004399/13.32, allocations: 3.337 MB / 4.19 GB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/13.32, allocations: 51.92 kB / 4.19 GB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/13.32, allocations: 23.98 kB / 4.19 GB, free: 4.84 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003838/13.32, allocations: 123.2 kB / 4.19 GB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/13.32, allocations: 47.52 kB / 4.19 GB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008444/13.33, allocations: 1.291 MB / 4.191 GB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.657e-05/13.33, allocations: 12 kB / 4.191 GB, free: 3.348 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.964e-06/13.33, allocations: 0 / 4.191 GB, free: 3.348 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007615/13.34, allocations: 1.345 MB / 4.192 GB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005351/13.34, allocations: 1.649 MB / 4.194 GB, free: 208 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/13.34, allocations: 4.312 kB / 4.194 GB, free: 204 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/13.34, allocations: 123.7 kB / 4.194 GB, free: 80 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1725/13.52, allocations: 313 kB / 4.194 GB, free: 77.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002383/13.52, allocations: 14.8 kB / 4.194 GB, free: 77.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/13.52, allocations: 0.8246 MB / 4.195 GB, free: 76.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-05/13.52, allocations: 8.906 kB / 4.195 GB, free: 76.52 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005259/13.52, allocations: 1.399 MB / 4.197 GB, free: 76.15 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006423/13.53, allocations: 2.233 MB / 4.199 GB, free: 75.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/13.53, allocations: 122.8 kB / 4.199 GB, free: 75.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/13.53, allocations: 10.64 kB / 4.199 GB, free: 75.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/13.53, allocations: 50.5 kB / 4.199 GB, free: 75.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/13.53, allocations: 42.12 kB / 4.199 GB, free: 75.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/13.53, allocations: 36.48 kB / 4.199 GB, free: 75.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002372/13.53, allocations: 173.2 kB / 4.199 GB, free: 75.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003672/13.54, allocations: 0.63 MB / 4.2 GB, free: 75.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (62): * Single equations (assignments): 61 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00529/13.54, allocations: 1.356 MB / 4.201 GB, free: 75.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004127/13.55, allocations: 0.8709 MB / 4.202 GB, free: 74.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/13.55, allocations: 3.375 kB / 4.202 GB, free: 74.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001975/13.55, allocations: 373.8 kB / 4.202 GB, free: 74.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003916/13.55, allocations: 225.2 kB / 4.203 GB, free: 74.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007175/13.56, allocations: 1.074 MB / 4.204 GB, free: 74.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008483/13.56, allocations: 0.9411 MB / 4.205 GB, free: 73.9 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/13.56, allocations: 0 / 4.205 GB, free: 73.9 MB / 362.7 MB