Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_R134a_R134a1",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.718/1.718, allocations: 194.9 MB / 202.6 MB, free: 6.891 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2486/1.967, allocations: 46.82 MB / 249.4 MB, free: 5.309 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09096/2.058, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.39/15.45, allocations: 5.72 GB / 6.007 GB, free: 98.08 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/15.45, allocations: 71.5 kB / 6.007 GB, free: 98.07 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 5.598/21.05, allocations: 1.001 GB / 7.008 GB, free: 8.395 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/21.05, allocations: 16 kB / 7.008 GB, free: 8.379 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/21.05, allocations: 67.48 kB / 7.008 GB, free: 8.312 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000914/21.05, allocations: 315.1 kB / 7.008 GB, free: 7.98 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/21.05, allocations: 15.23 kB / 7.008 GB, free: 7.969 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.393e-05/21.05, allocations: 20 kB / 7.008 GB, free: 7.949 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001181/21.05, allocations: 321.2 kB / 7.009 GB, free: 7.633 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/21.05, allocations: 386.5 kB / 7.009 GB, free: 7.219 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/21.05, allocations: 0 / 7.009 GB, free: 7.219 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.406e-05/21.05, allocations: 0 / 7.009 GB, free: 7.219 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/21.06, allocations: 8 kB / 7.009 GB, free: 7.211 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01472/21.07, allocations: 5.647 MB / 7.014 GB, free: 1.281 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006/21.07, allocations: 162.9 kB / 7.015 GB, free: 1.117 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000392/21.07, allocations: 117.6 kB / 7.015 GB, free: 1 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004367/21.08, allocations: 1.666 MB / 7.016 GB, free: 15.06 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.054e-05/21.08, allocations: 42.94 kB / 7.016 GB, free: 15.01 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=28): time 3.517e-06/21.08, allocations: 0 / 7.016 GB, free: 15.01 MB / 0.5421 GB Notification: Performance of matching and sorting (n=32): time 0.01087/21.09, allocations: 1.117 MB / 7.018 GB, free: 13.85 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/21.09, allocations: 51.41 kB / 7.018 GB, free: 13.79 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000475/21.09, allocations: 209.8 kB / 7.018 GB, free: 13.57 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-05/21.09, allocations: 25.7 kB / 7.018 GB, free: 13.54 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/21.09, allocations: 187.9 kB / 7.018 GB, free: 13.37 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/21.09, allocations: 109.4 kB / 7.018 GB, free: 13.27 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/21.09, allocations: 0 / 7.018 GB, free: 13.27 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001831/21.09, allocations: 342.7 kB / 7.018 GB, free: 12.93 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/21.09, allocations: 104.9 kB / 7.019 GB, free: 12.83 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005422/21.09, allocations: 222.1 kB / 7.019 GB, free: 12.57 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002761/21.09, allocations: 228 kB / 7.019 GB, free: 12.34 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/21.09, allocations: 0 / 7.019 GB, free: 12.34 MB / 0.5421 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.004847/21.1, allocations: 0.5385 MB / 7.019 GB, free: 11.79 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/21.1, allocations: 4 kB / 7.019 GB, free: 11.79 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/21.1, allocations: 4 kB / 7.019 GB, free: 11.79 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005136/21.1, allocations: 61.59 kB / 7.02 GB, free: 11.72 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008919/21.1, allocations: 95.89 kB / 7.02 GB, free: 11.62 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002653/21.1, allocations: 1.785 MB / 7.021 GB, free: 9.695 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007284/21.1, allocations: 25.92 kB / 7.021 GB, free: 9.672 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/21.1, allocations: 16 kB / 7.021 GB, free: 9.656 MB / 0.5421 GB 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.0002335/21.1, allocations: 122.5 kB / 7.022 GB, free: 9.535 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005781/21.1, allocations: 67.66 kB / 7.022 GB, free: 9.469 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004101/21.11, allocations: 0.7607 MB / 7.022 GB, free: 8.691 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.991e-05/21.11, allocations: 11.98 kB / 7.022 GB, free: 8.68 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/21.11, allocations: 4 kB / 7.022 GB, free: 8.676 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003075/21.11, allocations: 0.884 MB / 7.023 GB, free: 7.703 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004537/21.11, allocations: 1.153 MB / 7.024 GB, free: 6.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/21.11, allocations: 0 / 7.024 GB, free: 6.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000682/21.11, allocations: 55.91 kB / 7.024 GB, free: 6.445 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005368/21.12, allocations: 68.77 kB / 7.024 GB, free: 6.375 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.205e-05/21.12, allocations: 4 kB / 7.024 GB, free: 6.371 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000769/21.12, allocations: 0.5952 MB / 7.025 GB, free: 5.75 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/21.12, allocations: 96 / 7.025 GB, free: 5.75 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003924/21.12, allocations: 0.8749 MB / 7.026 GB, free: 4.844 MB / 0.5421 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005057/21.13, allocations: 1.515 MB / 7.027 GB, free: 3.289 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/21.13, allocations: 112.7 kB / 7.027 GB, free: 3.16 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/21.13, allocations: 0 / 7.027 GB, free: 3.16 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005687/21.13, allocations: 17.45 kB / 7.027 GB, free: 3.145 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/21.13, allocations: 23.91 kB / 7.028 GB, free: 3.121 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/21.13, allocations: 19.91 kB / 7.028 GB, free: 3.102 MB / 0.5421 GB Notification: Performance of sort global known variables: time 0.0003579/21.13, allocations: 164.5 kB / 7.028 GB, free: 2.941 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.02272/21.15, allocations: 1.002 MB / 7.029 GB, free: 1.996 MB / 0.5421 GB 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.6449/21.79, allocations: 36.7 MB / 7.065 GB, free: 72.54 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001823/21.8, allocations: 0.5014 MB / 7.065 GB, free: 72.44 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/21.8, allocations: 3.938 kB / 7.065 GB, free: 72.44 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0007866/21.8, allocations: 282.1 kB / 7.065 GB, free: 72.44 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/21.8, allocations: 132.4 kB / 7.065 GB, free: 72.44 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/21.8, allocations: 0.6669 MB / 7.066 GB, free: 72.26 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000593/21.8, allocations: 0.8509 MB / 7.067 GB, free: 71.54 MB / 0.5421 GB Notification: Performance of SimCode: time 1.543e-06/21.8, allocations: 0 / 7.067 GB, free: 71.54 MB / 0.5421 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat