Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_R134a_R134a1",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.765/1.765, allocations: 171.2 MB / 178.2 MB, free: 12 kB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1078/1.872, allocations: 41.09 MB / 219.2 MB, free: 6.848 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/2.088, allocations: 38.76 MB / 258 MB, free: 15.26 MB / 222.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.52/15.61, allocations: 5.483 GB / 5.735 GB, free: 25.98 MB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/15.61, allocations: 65.41 kB / 5.735 GB, free: 25.95 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 4.761/20.37, allocations: 0.7856 GB / 6.521 GB, free: 1.18 MB / 462.5 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/20.37, allocations: 8 kB / 6.521 GB, free: 1.172 MB / 462.5 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009455/20.37, allocations: 75.48 kB / 6.521 GB, free: 1.098 MB / 462.5 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007448/20.37, allocations: 319.8 kB / 6.521 GB, free: 0.7656 MB / 462.5 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/20.37, allocations: 8 kB / 6.521 GB, free: 0.7578 MB / 462.5 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.626e-05/20.37, allocations: 20 kB / 6.521 GB, free: 0.7383 MB / 462.5 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009462/20.37, allocations: 333.1 kB / 6.522 GB, free: 424 kB / 462.5 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/20.38, allocations: 374.6 kB / 6.522 GB, free: 12 kB / 462.5 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/20.38, allocations: 0 / 6.522 GB, free: 12 kB / 462.5 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.529e-05/20.38, allocations: 8 kB / 6.522 GB, free: 4 kB / 462.5 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2646/20.64, allocations: 5.953 kB / 6.522 GB, free: 80.73 MB / 462.5 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01013/20.65, allocations: 5.628 MB / 6.527 GB, free: 78.43 MB / 462.5 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/20.65, allocations: 167.4 kB / 6.528 GB, free: 78.41 MB / 462.5 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/20.65, allocations: 117.2 kB / 6.528 GB, free: 78.4 MB / 462.5 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002964/20.65, allocations: 1.665 MB / 6.529 GB, free: 77 MB / 462.5 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/20.65, allocations: 40.31 kB / 6.529 GB, free: 76.96 MB / 462.5 MB Notification: Performance of pre-optimization done (n=28): time 3.256e-06/20.65, allocations: 3.969 kB / 6.529 GB, free: 76.96 MB / 462.5 MB Notification: Performance of matching and sorting (n=32): time 0.008028/20.66, allocations: 1.113 MB / 6.531 GB, free: 76.64 MB / 462.5 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/20.66, allocations: 55.12 kB / 6.531 GB, free: 76.57 MB / 462.5 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/20.66, allocations: 213.4 kB / 6.531 GB, free: 76.48 MB / 462.5 MB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/20.66, allocations: 25.7 kB / 6.531 GB, free: 76.45 MB / 462.5 MB Notification: Performance of collectInitialEqns (initialization): time 9.835e-05/20.66, allocations: 186.3 kB / 6.531 GB, free: 76.32 MB / 462.5 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/20.66, allocations: 112.5 kB / 6.531 GB, free: 76.26 MB / 462.5 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/20.66, allocations: 4.688 kB / 6.531 GB, free: 76.26 MB / 462.5 MB Notification: Performance of setup shared object (initialization): time 8.283e-05/20.66, allocations: 343.9 kB / 6.531 GB, free: 75.95 MB / 462.5 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/20.66, allocations: 101.1 kB / 6.532 GB, free: 75.95 MB / 462.5 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003717/20.66, allocations: 219.7 kB / 6.532 GB, free: 75.82 MB / 462.5 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001974/20.67, allocations: 218.8 kB / 6.532 GB, free: 75.82 MB / 462.5 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/20.67, allocations: 6.25 kB / 6.532 GB, free: 75.82 MB / 462.5 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.003269/20.67, allocations: 0.5415 MB / 6.532 GB, free: 75.75 MB / 462.5 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/20.67, allocations: 6.531 kB / 6.532 GB, free: 75.75 MB / 462.5 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/20.67, allocations: 7.781 kB / 6.532 GB, free: 75.75 MB / 462.5 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003578/20.67, allocations: 60.03 kB / 6.533 GB, free: 75.73 MB / 462.5 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005921/20.67, allocations: 88.2 kB / 6.533 GB, free: 75.73 MB / 462.5 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/20.67, allocations: 1.791 MB / 6.534 GB, free: 74.03 MB / 462.5 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005813/20.67, allocations: 27.94 kB / 6.534 GB, free: 74.03 MB / 462.5 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.546e-05/20.67, allocations: 23 kB / 6.534 GB, free: 74.03 MB / 462.5 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 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.0001736/20.67, allocations: 123.3 kB / 6.535 GB, free: 73.92 MB / 462.5 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000395/20.67, allocations: 61.03 kB / 6.535 GB, free: 73.91 MB / 462.5 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002739/20.68, allocations: 0.7665 MB / 6.535 GB, free: 73.83 MB / 462.5 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/20.68, allocations: 11.75 kB / 6.535 GB, free: 73.83 MB / 462.5 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/20.68, allocations: 3.562 kB / 6.535 GB, free: 73.83 MB / 462.5 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001973/20.68, allocations: 0.8773 MB / 6.536 GB, free: 73.37 MB / 462.5 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/20.68, allocations: 1.157 MB / 6.537 GB, free: 73.07 MB / 462.5 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/20.68, allocations: 0 / 6.537 GB, free: 73.07 MB / 462.5 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004712/20.68, allocations: 55.36 kB / 6.537 GB, free: 73.07 MB / 462.5 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003822/20.68, allocations: 65.38 kB / 6.537 GB, free: 73.05 MB / 462.5 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/20.68, allocations: 7.719 kB / 6.537 GB, free: 73.05 MB / 462.5 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004718/20.68, allocations: 0.5928 MB / 6.538 GB, free: 72.54 MB / 462.5 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/20.68, allocations: 6.375 kB / 6.538 GB, free: 72.53 MB / 462.5 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002733/20.69, allocations: 0.8683 MB / 6.539 GB, free: 72.32 MB / 462.5 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003441/20.69, allocations: 1.487 MB / 6.54 GB, free: 71.72 MB / 462.5 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/20.69, allocations: 114.2 kB / 6.54 GB, free: 71.61 MB / 462.5 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/20.69, allocations: 2.562 kB / 6.54 GB, free: 71.61 MB / 462.5 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006777/20.69, allocations: 14.92 kB / 6.54 GB, free: 71.61 MB / 462.5 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/20.69, allocations: 25.36 kB / 6.541 GB, free: 71.61 MB / 462.5 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.058e-05/20.69, allocations: 15.02 kB / 6.541 GB, free: 71.61 MB / 462.5 MB Notification: Performance of sort global known variables: time 0.0003311/20.69, allocations: 165.1 kB / 6.541 GB, free: 71.52 MB / 462.5 MB Notification: Performance of remove unused functions: time 0.02488/20.72, allocations: 1 MB / 6.542 GB, free: 71.52 MB / 462.5 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse1.phase,$cse2,$cse3.phase,$cse4) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.5038/21.22, allocations: 36.7 MB / 6.577 GB, free: 52.84 MB / 462.5 MB Notification: Performance of simCode: created initialization part: time 0.002284/21.22, allocations: 0.5017 MB / 6.578 GB, free: 52.74 MB / 462.5 MB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/21.22, allocations: 0 / 6.578 GB, free: 52.74 MB / 462.5 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/21.22, allocations: 289.6 kB / 6.578 GB, free: 52.73 MB / 462.5 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/21.23, allocations: 125.3 kB / 6.578 GB, free: 52.73 MB / 462.5 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/21.23, allocations: 0.6592 MB / 6.579 GB, free: 52.55 MB / 462.5 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007785/21.23, allocations: 0.8545 MB / 6.58 GB, free: 51.85 MB / 462.5 MB Notification: Performance of SimCode: time 1.743e-06/21.23, allocations: 0 / 6.58 GB, free: 51.85 MB / 462.5 MB