Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",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(ModelicaTest): time 2.087/2.087, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2501/2.337, allocations: 51.04 MB / 267.3 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/2.465, allocations: 48.69 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.706/4.171, allocations: 0.6294 GB / 0.938 GB, free: 31.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003464/4.172, allocations: 95.06 kB / 0.9381 GB, free: 31.26 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 1.35/5.522, allocations: 229 MB / 1.162 GB, free: 70.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/5.522, allocations: 10.25 kB / 1.162 GB, free: 70.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/5.523, allocations: 135.5 kB / 1.162 GB, free: 70.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/5.525, allocations: 0.556 MB / 1.162 GB, free: 69.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/5.526, allocations: 86.67 kB / 1.162 GB, free: 69.76 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/5.526, allocations: 28.38 kB / 1.162 GB, free: 69.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001532/5.527, allocations: 0.538 MB / 1.163 GB, free: 69.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/5.529, allocations: 0.729 MB / 1.164 GB, free: 69.53 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/5.529, allocations: 8.531 kB / 1.164 GB, free: 69.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/5.529, allocations: 3.438 kB / 1.164 GB, free: 69.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-05/5.529, allocations: 39.88 kB / 1.164 GB, free: 69.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006927/5.536, allocations: 4.023 MB / 1.168 GB, free: 66.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006631/5.537, allocations: 201.2 kB / 1.168 GB, free: 66.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/5.537, allocations: 136.7 kB / 1.168 GB, free: 66.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.731e-05/5.537, allocations: 20.91 kB / 1.168 GB, free: 66.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/5.537, allocations: 38.61 kB / 1.168 GB, free: 66.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.426e-06/5.537, allocations: 0 / 1.168 GB, free: 66.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.0127/5.55, allocations: 1.417 MB / 1.169 GB, free: 66.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/5.55, allocations: 135.1 kB / 1.17 GB, free: 66.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/5.552, allocations: 476.3 kB / 1.17 GB, free: 66.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.185e-05/5.552, allocations: 25.7 kB / 1.17 GB, free: 66.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/5.552, allocations: 339.8 kB / 1.17 GB, free: 65.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/5.552, allocations: 121.2 kB / 1.171 GB, free: 65.81 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/5.552, allocations: 0 / 1.171 GB, free: 65.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002045/5.553, allocations: 370.9 kB / 1.171 GB, free: 65.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008863/5.553, allocations: 186.8 kB / 1.171 GB, free: 65.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009879/5.554, allocations: 0.5095 MB / 1.172 GB, free: 65.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/5.556, allocations: 347 kB / 1.172 GB, free: 65.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/5.556, allocations: 3.875 kB / 1.172 GB, free: 65.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003883/5.56, allocations: 0.8389 MB / 1.173 GB, free: 64.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/5.56, allocations: 3.406 kB / 1.173 GB, free: 64.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/5.56, allocations: 13.77 kB / 1.173 GB, free: 64.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003776/5.564, allocations: 273.1 kB / 1.173 GB, free: 64.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009235/5.565, allocations: 133.5 kB / 1.173 GB, free: 64.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/5.567, allocations: 0.9349 MB / 1.174 GB, free: 64.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/5.568, allocations: 37.2 kB / 1.174 GB, free: 64.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/5.568, allocations: 70.27 kB / 1.174 GB, free: 64.45 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002716/5.569, allocations: 131.5 kB / 1.174 GB, free: 64.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/5.569, allocations: 64.38 kB / 1.174 GB, free: 64.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002212/5.571, allocations: 0.5568 MB / 1.175 GB, free: 64.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/5.571, allocations: 3.781 kB / 1.175 GB, free: 64.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/5.571, allocations: 0 / 1.175 GB, free: 64.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/5.571, allocations: 8.75 kB / 1.175 GB, free: 64.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003762/5.575, allocations: 0.9757 MB / 1.176 GB, free: 63.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/5.575, allocations: 2.25 kB / 1.176 GB, free: 63.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003183/5.578, allocations: 184.3 kB / 1.176 GB, free: 63.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002264/5.578, allocations: 22.95 kB / 1.176 GB, free: 63.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/5.579, allocations: 10.88 kB / 1.176 GB, free: 63.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003416/5.582, allocations: 2.575 MB / 1.179 GB, free: 61.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/5.582, allocations: 0 / 1.179 GB, free: 61.52 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002562/5.585, allocations: 0.6813 MB / 1.179 GB, free: 61.31 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003296/5.588, allocations: 1.296 MB / 1.18 GB, free: 60.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007231/5.589, allocations: 173.4 kB / 1.181 GB, free: 60.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002631/5.589, allocations: 6.656 kB / 1.181 GB, free: 60.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/5.59, allocations: 17.66 kB / 1.181 GB, free: 60.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/5.591, allocations: 42.95 kB / 1.181 GB, free: 60.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/5.591, allocations: 35.02 kB / 1.181 GB, free: 60.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.000989/5.592, allocations: 345 kB / 1.181 GB, free: 60.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006181/5.598, allocations: 446.2 kB / 1.181 GB, free: 60.49 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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: 1 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00293/5.601, allocations: 1.204 MB / 1.183 GB, free: 60.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001979/5.603, allocations: 492 kB / 1.183 GB, free: 60.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/5.603, allocations: 0 / 1.183 GB, free: 60.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00264/5.606, allocations: 395.3 kB / 1.184 GB, free: 60.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003402/5.609, allocations: 226.6 kB / 1.184 GB, free: 60.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/5.623, allocations: 2.345 MB / 1.186 GB, free: 59.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/5.624, allocations: 1.075 MB / 1.187 GB, free: 59.21 MB / 426.7 MB Notification: Performance of SimCode: time 3.227e-06/5.624, allocations: 0 / 1.187 GB, free: 59.21 MB / 426.7 MB