Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_2_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.761/1.761, allocations: 194.9 MB / 202.5 MB, free: 6.938 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2011/1.962, allocations: 46.82 MB / 249.3 MB, free: 5.305 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09854/2.061, allocations: 44.51 MB / 293.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.13/14.19, allocations: 5.72 GB / 6.006 GB, free: 97.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004007/14.19, allocations: 76.33 kB / 6.007 GB, free: 97.29 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 4.562/18.76, allocations: 1.001 GB / 7.008 GB, free: 7.121 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/18.76, allocations: 12 kB / 7.008 GB, free: 7.109 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008334/18.76, allocations: 71.42 kB / 7.008 GB, free: 7.039 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006804/18.76, allocations: 321.3 kB / 7.008 GB, free: 6.707 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/18.76, allocations: 12 kB / 7.008 GB, free: 6.695 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/18.76, allocations: 20 kB / 7.008 GB, free: 6.676 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009103/18.76, allocations: 325.2 kB / 7.009 GB, free: 6.355 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008711/18.76, allocations: 378.6 kB / 7.009 GB, free: 5.949 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/18.76, allocations: 8 kB / 7.009 GB, free: 5.941 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.303e-05/18.76, allocations: 0 / 7.009 GB, free: 5.941 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/18.76, allocations: 8 kB / 7.009 GB, free: 5.934 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01095/18.77, allocations: 5.635 MB / 7.014 GB, free: 12 kB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/18.77, allocations: 164.5 kB / 7.015 GB, free: 15.85 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/18.77, allocations: 115.2 kB / 7.015 GB, free: 15.73 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003252/18.77, allocations: 1.664 MB / 7.016 GB, free: 13.8 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/18.77, allocations: 42.88 kB / 7.016 GB, free: 13.75 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=28): time 2.985e-06/18.77, allocations: 4 kB / 7.016 GB, free: 13.74 MB / 0.5421 GB Notification: Performance of matching and sorting (n=32): time 0.008088/18.78, allocations: 1.109 MB / 7.017 GB, free: 12.59 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/18.78, allocations: 67.34 kB / 7.018 GB, free: 12.51 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/18.78, allocations: 206.9 kB / 7.018 GB, free: 12.3 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/18.78, allocations: 25.7 kB / 7.018 GB, free: 12.27 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/18.78, allocations: 190.8 kB / 7.018 GB, free: 12.09 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/18.78, allocations: 106.4 kB / 7.018 GB, free: 12 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/18.78, allocations: 0 / 7.018 GB, free: 12 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001404/18.78, allocations: 342.7 kB / 7.018 GB, free: 11.66 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/18.78, allocations: 108.9 kB / 7.018 GB, free: 11.55 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/18.78, allocations: 213.2 kB / 7.019 GB, free: 11.3 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/18.79, allocations: 232 kB / 7.019 GB, free: 11.07 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/18.79, allocations: 0 / 7.019 GB, free: 11.07 MB / 0.5421 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.003449/18.79, allocations: 0.5385 MB / 7.019 GB, free: 10.52 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/18.79, allocations: 4 kB / 7.019 GB, free: 10.52 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/18.79, allocations: 4.438 kB / 7.019 GB, free: 10.51 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003822/18.79, allocations: 65.53 kB / 7.019 GB, free: 10.44 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006237/18.79, allocations: 87.89 kB / 7.02 GB, free: 10.36 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/18.79, allocations: 1.789 MB / 7.021 GB, free: 8.422 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005533/18.79, allocations: 26.05 kB / 7.021 GB, free: 8.398 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.266e-05/18.79, allocations: 19.98 kB / 7.021 GB, free: 8.379 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.0001728/18.79, allocations: 118.8 kB / 7.021 GB, free: 8.258 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003925/18.79, allocations: 63.67 kB / 7.022 GB, free: 8.195 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002875/18.8, allocations: 0.7637 MB / 7.022 GB, free: 7.418 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/18.8, allocations: 8 kB / 7.022 GB, free: 7.41 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/18.8, allocations: 0 / 7.022 GB, free: 7.41 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002201/18.8, allocations: 0.8916 MB / 7.023 GB, free: 6.438 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003281/18.8, allocations: 1.157 MB / 7.024 GB, free: 5.234 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/18.8, allocations: 4 kB / 7.024 GB, free: 5.23 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004952/18.8, allocations: 55.91 kB / 7.024 GB, free: 5.176 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003923/18.8, allocations: 64.77 kB / 7.024 GB, free: 5.109 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/18.8, allocations: 8 kB / 7.024 GB, free: 5.102 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005474/18.8, allocations: 0.5914 MB / 7.025 GB, free: 4.484 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/18.8, allocations: 3.938 kB / 7.025 GB, free: 4.48 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002871/18.81, allocations: 0.8714 MB / 7.026 GB, free: 3.574 MB / 0.5421 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003761/18.81, allocations: 1.508 MB / 7.027 GB, free: 2.027 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/18.81, allocations: 112.7 kB / 7.027 GB, free: 1.898 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.391e-05/18.81, allocations: 3.984 kB / 7.027 GB, free: 1.895 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004259/18.81, allocations: 8 kB / 7.027 GB, free: 1.887 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.886e-05/18.81, allocations: 27.97 kB / 7.027 GB, free: 1.859 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.191e-05/18.81, allocations: 19.89 kB / 7.027 GB, free: 1.84 MB / 0.5421 GB Notification: Performance of sort global known variables: time 0.0002568/18.81, allocations: 168.4 kB / 7.028 GB, free: 1.676 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.01821/18.83, allocations: 1.007 MB / 7.029 GB, free: 0.7266 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.5412/19.37, allocations: 36.69 MB / 7.064 GB, free: 72.41 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001387/19.37, allocations: 0.5096 MB / 7.065 GB, free: 72.31 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/19.37, allocations: 0 / 7.065 GB, free: 72.31 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0005899/19.37, allocations: 284.2 kB / 7.065 GB, free: 72.31 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/19.37, allocations: 130.7 kB / 7.065 GB, free: 72.3 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/19.38, allocations: 0.6592 MB / 7.066 GB, free: 72.12 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004859/19.38, allocations: 0.8558 MB / 7.067 GB, free: 71.41 MB / 0.5421 GB Notification: Performance of SimCode: time 1.102e-06/19.38, allocations: 0 / 7.067 GB, free: 71.41 MB / 0.5421 GB