Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_R134a_R134a2",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.717/1.717, allocations: 171.2 MB / 178.1 MB, free: 8.332 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2322/1.949, allocations: 41.09 MB / 219.2 MB, free: 11.21 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/2.049, allocations: 38.76 MB / 258 MB, free: 4.387 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.3/16.35, allocations: 5.484 GB / 5.736 GB, free: 63.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/16.35, allocations: 64.84 kB / 5.736 GB, free: 63.18 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 5.767/22.12, allocations: 0.9562 GB / 6.692 GB, free: 11.36 MB / 459.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/22.12, allocations: 8 kB / 6.692 GB, free: 11.35 MB / 459.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/22.12, allocations: 99.28 kB / 6.692 GB, free: 11.25 MB / 459.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000745/22.12, allocations: 370.3 kB / 6.692 GB, free: 10.88 MB / 459.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/22.12, allocations: 12 kB / 6.692 GB, free: 10.86 MB / 459.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-05/22.12, allocations: 35.84 kB / 6.692 GB, free: 10.83 MB / 459.2 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001096/22.12, allocations: 457.8 kB / 6.693 GB, free: 10.38 MB / 459.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/22.12, allocations: 0.5054 MB / 6.693 GB, free: 9.824 MB / 459.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/22.12, allocations: 0 / 6.693 GB, free: 9.824 MB / 459.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-05/22.12, allocations: 3.938 kB / 6.693 GB, free: 9.82 MB / 459.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/22.12, allocations: 16 kB / 6.693 GB, free: 9.805 MB / 459.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01312/22.14, allocations: 6.507 MB / 6.7 GB, free: 2.965 MB / 459.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006461/22.14, allocations: 246.2 kB / 6.7 GB, free: 2.715 MB / 459.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003973/22.14, allocations: 173 kB / 6.7 GB, free: 2.543 MB / 459.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00424/22.14, allocations: 2.45 MB / 6.702 GB, free: 15.69 MB / 475.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/22.14, allocations: 42.56 kB / 6.702 GB, free: 15.64 MB / 475.2 MB Notification: Performance of pre-optimization done (n=44): time 3.676e-06/22.14, allocations: 0 / 6.702 GB, free: 15.64 MB / 475.2 MB Notification: Performance of matching and sorting (n=52): time 0.02139/22.16, allocations: 1.65 MB / 6.704 GB, free: 13.95 MB / 475.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/22.16, allocations: 59.75 kB / 6.704 GB, free: 13.88 MB / 475.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007153/22.16, allocations: 249.3 kB / 6.704 GB, free: 13.63 MB / 475.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0001588/22.16, allocations: 29.7 kB / 6.704 GB, free: 13.59 MB / 475.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.000249/22.16, allocations: 222.3 kB / 6.705 GB, free: 13.39 MB / 475.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.000327/22.16, allocations: 177.4 kB / 6.705 GB, free: 13.24 MB / 475.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/22.16, allocations: 0 / 6.705 GB, free: 13.24 MB / 475.2 MB Notification: Performance of setup shared object (initialization): time 0.0002939/22.16, allocations: 354.6 kB / 6.705 GB, free: 12.88 MB / 475.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008164/22.17, allocations: 165.3 kB / 6.705 GB, free: 12.72 MB / 475.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000996/22.17, allocations: 311.2 kB / 6.706 GB, free: 12.36 MB / 475.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004963/22.17, allocations: 328.5 kB / 6.706 GB, free: 12.04 MB / 475.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/22.17, allocations: 4 kB / 6.706 GB, free: 12.04 MB / 475.2 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008667/22.18, allocations: 0.7876 MB / 6.707 GB, free: 11.23 MB / 475.2 MB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/22.18, allocations: 8 kB / 6.707 GB, free: 11.23 MB / 475.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/22.18, allocations: 7.938 kB / 6.707 GB, free: 11.22 MB / 475.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008921/22.18, allocations: 90.52 kB / 6.707 GB, free: 11.12 MB / 475.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/22.18, allocations: 152.1 kB / 6.707 GB, free: 10.97 MB / 475.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005021/22.19, allocations: 2.973 MB / 6.71 GB, free: 7.824 MB / 475.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/22.19, allocations: 39.91 kB / 6.71 GB, free: 7.789 MB / 475.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/22.19, allocations: 28 kB / 6.71 GB, free: 7.762 MB / 475.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * 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: 3 * 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: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003535/22.19, allocations: 117.6 kB / 6.71 GB, free: 7.645 MB / 475.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009785/22.19, allocations: 99.45 kB / 6.71 GB, free: 7.547 MB / 475.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007654/22.2, allocations: 1.189 MB / 6.711 GB, free: 6.336 MB / 475.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.199e-05/22.2, allocations: 11.98 kB / 6.711 GB, free: 6.324 MB / 475.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/22.2, allocations: 0 / 6.711 GB, free: 6.324 MB / 475.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00587/22.2, allocations: 1.123 MB / 6.712 GB, free: 5.129 MB / 475.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008813/22.21, allocations: 1.702 MB / 6.714 GB, free: 3.379 MB / 475.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/22.21, allocations: 3.938 kB / 6.714 GB, free: 3.375 MB / 475.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/22.22, allocations: 95.89 kB / 6.714 GB, free: 3.281 MB / 475.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/22.22, allocations: 121.6 kB / 6.714 GB, free: 3.156 MB / 475.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/22.22, allocations: 8 kB / 6.714 GB, free: 3.148 MB / 475.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/22.22, allocations: 1.194 MB / 6.715 GB, free: 1.902 MB / 475.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/22.22, allocations: 0 / 6.715 GB, free: 1.902 MB / 475.2 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007445/22.23, allocations: 1.313 MB / 6.717 GB, free: 0.5469 MB / 475.2 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009267/22.24, allocations: 2.077 MB / 6.719 GB, free: 14.43 MB / 491.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004013/22.24, allocations: 128.5 kB / 6.719 GB, free: 14.29 MB / 491.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/22.24, allocations: 4 kB / 6.719 GB, free: 14.29 MB / 491.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009724/22.24, allocations: 21.86 kB / 6.719 GB, free: 14.27 MB / 491.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/22.24, allocations: 35.69 kB / 6.719 GB, free: 14.23 MB / 491.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/22.24, allocations: 19.98 kB / 6.719 GB, free: 14.21 MB / 491.2 MB Notification: Performance of sort global known variables: time 0.0005279/22.24, allocations: 191.1 kB / 6.719 GB, free: 14.03 MB / 491.2 MB Notification: Performance of remove unused functions: time 0.03305/22.27, allocations: 1.311 MB / 6.72 GB, free: 12.79 MB / 491.2 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.7249/23, allocations: 45.55 MB / 6.765 GB, free: 70.84 MB / 491.2 MB Notification: Performance of simCode: created initialization part: time 0.004301/23, allocations: 0.757 MB / 6.766 GB, free: 70.73 MB / 491.2 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/23, allocations: 0 / 6.766 GB, free: 70.73 MB / 491.2 MB Notification: Performance of simCode: created simulation system equations: time 0.001696/23, allocations: 460.2 kB / 6.766 GB, free: 70.73 MB / 491.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/23.01, allocations: 209.1 kB / 6.766 GB, free: 70.72 MB / 491.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/23.01, allocations: 1.06 MB / 6.767 GB, free: 70.47 MB / 491.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006954/23.01, allocations: 0.9384 MB / 6.768 GB, free: 69.76 MB / 491.2 MB Notification: Performance of SimCode: time 1.543e-06/23.01, allocations: 0 / 6.768 GB, free: 69.76 MB / 491.2 MB