Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.739/1.739, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2288/1.968, allocations: 46.82 MB / 249.4 MB, free: 5.316 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0936/2.061, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.97/17.03, allocations: 6.529 GB / 6.816 GB, free: 85.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/17.03, allocations: 75.48 kB / 6.816 GB, free: 85.47 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 3.428/20.45, allocations: 0.6665 GB / 7.482 GB, free: 23.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/20.45, allocations: 9.281 kB / 7.482 GB, free: 23.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007057/20.46, allocations: 81.81 kB / 7.483 GB, free: 23.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009736/20.46, allocations: 450.3 kB / 7.483 GB, free: 23.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/20.46, allocations: 18.47 kB / 7.483 GB, free: 23.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/20.46, allocations: 44.12 kB / 7.483 GB, free: 23.35 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002193/20.46, allocations: 0.8032 MB / 7.484 GB, free: 23.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/20.46, allocations: 0.5812 MB / 7.484 GB, free: 22.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/20.46, allocations: 0 / 7.484 GB, free: 22.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/20.46, allocations: 3.719 kB / 7.484 GB, free: 22.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/20.46, allocations: 18.06 kB / 7.484 GB, free: 22.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02426/20.49, allocations: 12.56 MB / 7.497 GB, free: 26.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/20.49, allocations: 445.4 kB / 7.497 GB, free: 26.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/20.49, allocations: 398.5 kB / 7.497 GB, free: 26.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06106/20.55, allocations: 30.26 MB / 7.527 GB, free: 11.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/20.55, allocations: 55.03 kB / 7.527 GB, free: 11.75 MB / 458.7 MB Notification: Performance of pre-optimization done (n=78): time 3.847e-06/20.55, allocations: 0 / 7.527 GB, free: 11.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.01169/20.56, allocations: 2.373 MB / 7.529 GB, free: 10.74 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/20.56, allocations: 59.12 kB / 7.529 GB, free: 10.68 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004591/20.56, allocations: 258.5 kB / 7.53 GB, free: 10.54 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001193/20.56, allocations: 29.45 kB / 7.53 GB, free: 10.51 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/20.56, allocations: 217.1 kB / 7.53 GB, free: 10.33 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/20.56, allocations: 293.8 kB / 7.53 GB, free: 10.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.757e-05/20.56, allocations: 3.875 kB / 7.53 GB, free: 10.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/20.56, allocations: 354.9 kB / 7.531 GB, free: 9.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009445/20.56, allocations: 315.2 kB / 7.531 GB, free: 9.648 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/20.56, allocations: 415.1 kB / 7.531 GB, free: 9.426 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002443/20.57, allocations: 0.5056 MB / 7.532 GB, free: 9.262 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/20.57, allocations: 0 / 7.532 GB, free: 9.262 MB / 458.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004855/20.57, allocations: 1.095 MB / 7.533 GB, free: 8.859 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/20.57, allocations: 4.844 kB / 7.533 GB, free: 8.859 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/20.57, allocations: 2.906 kB / 7.533 GB, free: 8.859 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005234/20.57, allocations: 118.9 kB / 7.533 GB, free: 8.797 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/20.57, allocations: 184.7 kB / 7.533 GB, free: 8.766 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.189/20.76, allocations: 3.87 MB / 7.537 GB, free: 86.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/20.76, allocations: 48.34 kB / 7.537 GB, free: 86.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/20.76, allocations: 46.42 kB / 7.537 GB, free: 86.49 MB / 458.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: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003935/20.76, allocations: 124.8 kB / 7.537 GB, free: 86.39 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000654/20.77, allocations: 53.56 kB / 7.537 GB, free: 86.39 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00455/20.77, allocations: 1.164 MB / 7.538 GB, free: 86.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/20.77, allocations: 6.531 kB / 7.538 GB, free: 86.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/20.77, allocations: 7.75 kB / 7.538 GB, free: 86.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003265/20.77, allocations: 1.386 MB / 7.54 GB, free: 85.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006355/20.78, allocations: 2.043 MB / 7.542 GB, free: 85.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/20.78, allocations: 3.188 kB / 7.542 GB, free: 85.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/20.78, allocations: 184.5 kB / 7.542 GB, free: 85.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005005/20.78, allocations: 141.7 kB / 7.542 GB, free: 85.29 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/20.78, allocations: 19.17 kB / 7.542 GB, free: 85.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/20.78, allocations: 1.371 MB / 7.543 GB, free: 84.12 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/20.78, allocations: 5.375 kB / 7.543 GB, free: 84.12 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004998/20.79, allocations: 1.593 MB / 7.545 GB, free: 83.78 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006863/20.8, allocations: 2.56 MB / 7.547 GB, free: 83.03 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002749/20.8, allocations: 136.7 kB / 7.547 GB, free: 82.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/20.8, allocations: 11.25 kB / 7.547 GB, free: 82.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/20.8, allocations: 43.5 kB / 7.548 GB, free: 82.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/20.8, allocations: 54.58 kB / 7.548 GB, free: 82.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000202/20.8, allocations: 54.55 kB / 7.548 GB, free: 82.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.000348/20.8, allocations: 211.3 kB / 7.548 GB, free: 82.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0145/20.81, allocations: 2.642 MB / 7.55 GB, free: 82.82 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02105/20.83, allocations: 3.62 MB / 7.554 GB, free: 82.69 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003024/20.84, allocations: 1.077 MB / 7.555 GB, free: 82.46 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/20.84, allocations: 2.875 kB / 7.555 GB, free: 82.46 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/20.84, allocations: 0.4945 MB / 7.555 GB, free: 82.44 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003447/20.84, allocations: 305.5 kB / 7.556 GB, free: 82.43 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004663/20.85, allocations: 1.434 MB / 7.557 GB, free: 82.14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/20.85, allocations: 1.058 MB / 7.558 GB, free: 81.42 MB / 458.7 MB Notification: Performance of SimCode: time 1.372e-06/20.85, allocations: 2.906 kB / 7.558 GB, free: 81.42 MB / 458.7 MB