Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_ReferenceAir_MoistAir1",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.742/1.742, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2266/1.969, allocations: 46.81 MB / 249.4 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0927/2.061, allocations: 44.51 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.7/16.76, allocations: 6.529 GB / 6.816 GB, free: 85.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/16.76, allocations: 75.28 kB / 6.816 GB, free: 85.41 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 4.358/21.12, allocations: 0.8354 GB / 7.651 GB, free: 23.05 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/21.12, allocations: 10.25 kB / 7.651 GB, free: 23.04 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000616/21.12, allocations: 59.62 kB / 7.651 GB, free: 23.02 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008516/21.12, allocations: 356.7 kB / 7.652 GB, free: 22.73 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/21.12, allocations: 13.56 kB / 7.652 GB, free: 22.73 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/21.12, allocations: 24.53 kB / 7.652 GB, free: 22.73 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001755/21.12, allocations: 0.5812 MB / 7.652 GB, free: 22.56 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/21.12, allocations: 433.5 kB / 7.653 GB, free: 22.26 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/21.12, allocations: 4 kB / 7.653 GB, free: 22.26 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/21.12, allocations: 3.906 kB / 7.653 GB, free: 22.25 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/21.12, allocations: 8 kB / 7.653 GB, free: 22.25 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02443/21.15, allocations: 11.79 MB / 7.664 GB, free: 9.172 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009434/21.15, allocations: 320.9 kB / 7.665 GB, free: 8.883 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007305/21.15, allocations: 250.9 kB / 7.665 GB, free: 8.656 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04183/21.19, allocations: 20.17 MB / 7.685 GB, free: 0.9414 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.179e-05/21.19, allocations: 50.84 kB / 7.685 GB, free: 0.8828 MB / 442.8 MB Notification: Performance of pre-optimization done (n=50): time 3.437e-06/21.19, allocations: 0 / 7.685 GB, free: 0.8828 MB / 442.8 MB Notification: Performance of matching and sorting (n=55): time 0.208/21.4, allocations: 1.523 MB / 7.686 GB, free: 71.51 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/21.4, allocations: 59.47 kB / 7.686 GB, free: 71.45 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/21.4, allocations: 232.6 kB / 7.686 GB, free: 71.36 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 8.038e-05/21.4, allocations: 27.3 kB / 7.686 GB, free: 71.32 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.924e-05/21.4, allocations: 192.7 kB / 7.687 GB, free: 71.21 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/21.4, allocations: 180.9 kB / 7.687 GB, free: 71.11 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/21.4, allocations: 0 / 7.687 GB, free: 71.11 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 9.106e-05/21.4, allocations: 346.1 kB / 7.687 GB, free: 70.8 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000616/21.4, allocations: 204.5 kB / 7.687 GB, free: 70.8 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006781/21.4, allocations: 291 kB / 7.688 GB, free: 70.71 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/21.4, allocations: 338.9 kB / 7.688 GB, free: 70.71 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/21.4, allocations: 3.688 kB / 7.688 GB, free: 70.71 MB / 442.8 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003394/21.41, allocations: 0.739 MB / 7.689 GB, free: 70.63 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/21.41, allocations: 5.938 kB / 7.689 GB, free: 70.63 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/21.41, allocations: 2.938 kB / 7.689 GB, free: 70.63 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000404/21.41, allocations: 78.44 kB / 7.689 GB, free: 70.61 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/21.41, allocations: 126.8 kB / 7.689 GB, free: 70.61 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/21.41, allocations: 3.186 MB / 7.692 GB, free: 67.64 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009209/21.41, allocations: 29.22 kB / 7.692 GB, free: 67.64 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/21.41, allocations: 36.23 kB / 7.692 GB, free: 67.64 MB / 442.8 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 (67): * Single equations (assignments): 64 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {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.0003318/21.41, allocations: 128.2 kB / 7.692 GB, free: 67.53 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005299/21.41, allocations: 39.47 kB / 7.692 GB, free: 67.52 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003094/21.42, allocations: 0.7425 MB / 7.693 GB, free: 67.45 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/21.42, allocations: 7.469 kB / 7.693 GB, free: 67.45 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/21.42, allocations: 3.625 kB / 7.693 GB, free: 67.45 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002162/21.42, allocations: 0.8074 MB / 7.694 GB, free: 67.09 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004399/21.42, allocations: 1.396 MB / 7.695 GB, free: 66.73 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/21.42, allocations: 4.578 kB / 7.695 GB, free: 66.73 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/21.42, allocations: 113.8 kB / 7.695 GB, free: 66.73 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002771/21.42, allocations: 69.3 kB / 7.695 GB, free: 66.72 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.048e-05/21.42, allocations: 16.42 kB / 7.695 GB, free: 66.72 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008272/21.43, allocations: 0.6882 MB / 7.696 GB, free: 66.13 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/21.43, allocations: 2.375 kB / 7.696 GB, free: 66.13 MB / 442.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003456/21.43, allocations: 1.086 MB / 7.697 GB, free: 65.79 MB / 442.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0054/21.43, allocations: 1.947 MB / 7.699 GB, free: 65.06 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/21.43, allocations: 117.1 kB / 7.699 GB, free: 64.95 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/21.43, allocations: 12.14 kB / 7.699 GB, free: 64.95 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/21.44, allocations: 27.39 kB / 7.699 GB, free: 64.95 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/21.44, allocations: 44.62 kB / 7.699 GB, free: 64.95 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/21.44, allocations: 34.08 kB / 7.699 GB, free: 64.95 MB / 442.8 MB Notification: Performance of sort global known variables: time 0.0002967/21.44, allocations: 188.3 kB / 7.699 GB, free: 64.87 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01326/21.45, allocations: 2.32 MB / 7.702 GB, free: 64.87 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (61): * Single equations (assignments): 60 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01959/21.47, allocations: 3.307 MB / 7.705 GB, free: 64.63 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.002128/21.47, allocations: 0.7552 MB / 7.706 GB, free: 64.43 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/21.47, allocations: 0 / 7.706 GB, free: 64.43 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008085/21.47, allocations: 305.4 kB / 7.706 GB, free: 64.42 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002615/21.48, allocations: 211.8 kB / 7.706 GB, free: 64.42 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/21.48, allocations: 0.9002 MB / 7.707 GB, free: 64.18 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008273/21.48, allocations: 0.9323 MB / 7.708 GB, free: 63.48 MB / 442.8 MB Notification: Performance of SimCode: time 1.192e-06/21.48, allocations: 0 / 7.708 GB, free: 63.48 MB / 442.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat does not exist to compare? outputFormat=mat