Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestOnly_IdealGasN2",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.315/2.315, allocations: 234.9 MB / 241.9 MB, free: 9.805 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1415/2.456, allocations: 57.2 MB / 299.1 MB, free: 500 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/2.762, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.354/4.116, allocations: 455.7 MB / 0.7907 GB, free: 127.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/4.117, allocations: 69.67 kB / 0.7907 GB, free: 127.3 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.1122/4.229, allocations: 29.59 MB / 0.8196 GB, free: 124.4 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/4.229, allocations: 7.875 kB / 0.8196 GB, free: 124.4 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003182/4.232, allocations: 221.4 kB / 0.8198 GB, free: 124.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/4.232, allocations: 212.5 kB / 0.82 GB, free: 124.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/4.232, allocations: 3.812 kB / 0.82 GB, free: 124.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-05/4.233, allocations: 3.906 kB / 0.8201 GB, free: 124.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005159/4.233, allocations: 148.8 kB / 0.8202 GB, free: 124.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/4.233, allocations: 135.9 kB / 0.8203 GB, free: 124.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/4.233, allocations: 0 / 0.8203 GB, free: 124.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/4.233, allocations: 3.938 kB / 0.8203 GB, free: 124.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/4.233, allocations: 3.938 kB / 0.8203 GB, free: 124.1 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/4.235, allocations: 0.5656 MB / 0.8209 GB, free: 123.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/4.235, allocations: 118.1 kB / 0.821 GB, free: 123.6 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/4.235, allocations: 56.69 kB / 0.821 GB, free: 123.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/4.235, allocations: 3.906 kB / 0.8211 GB, free: 123.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/4.235, allocations: 45.86 kB / 0.8211 GB, free: 123.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 2.685e-06/4.235, allocations: 0 / 0.8211 GB, free: 123.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=19): time 0.007161/4.243, allocations: 0.8648 MB / 0.8219 GB, free: 123.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/4.243, allocations: 59.41 kB / 0.822 GB, free: 123.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/4.243, allocations: 98.91 kB / 0.8221 GB, free: 123 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/4.243, allocations: 29.52 kB / 0.8221 GB, free: 123 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/4.243, allocations: 97.75 kB / 0.8222 GB, free: 122.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.078e-05/4.243, allocations: 60.33 kB / 0.8223 GB, free: 122.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/4.243, allocations: 0 / 0.8223 GB, free: 122.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.878e-05/4.243, allocations: 322.5 kB / 0.8226 GB, free: 122.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/4.243, allocations: 58.67 kB / 0.8226 GB, free: 122.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/4.243, allocations: 95.22 kB / 0.8227 GB, free: 122.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/4.244, allocations: 73.62 kB / 0.8228 GB, free: 122.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/4.244, allocations: 3.938 kB / 0.8228 GB, free: 122.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005877/4.244, allocations: 232.6 kB / 0.823 GB, free: 122.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/4.244, allocations: 9.281 kB / 0.823 GB, free: 122.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/4.244, allocations: 4.094 kB / 0.823 GB, free: 122.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002001/4.244, allocations: 46.05 kB / 0.8231 GB, free: 122.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005745/4.245, allocations: 48.3 kB / 0.8231 GB, free: 122.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004823/4.246, allocations: 0.5779 MB / 0.8237 GB, free: 121.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/4.246, allocations: 8 kB / 0.8237 GB, free: 121.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/4.246, allocations: 27.16 kB / 0.8237 GB, free: 121.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001343/4.246, allocations: 108.9 kB / 0.8238 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.949e-05/4.246, allocations: 11.72 kB / 0.8238 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/4.248, allocations: 353.2 kB / 0.8242 GB, free: 121.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/4.248, allocations: 0 / 0.8242 GB, free: 121.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/4.248, allocations: 3.906 kB / 0.8242 GB, free: 121.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/4.248, allocations: 1.781 kB / 0.8242 GB, free: 121.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/4.249, allocations: 0.558 MB / 0.8247 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/4.249, allocations: 3.875 kB / 0.8247 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007568/4.25, allocations: 59.47 kB / 0.8248 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001561/4.25, allocations: 23.69 kB / 0.8248 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-05/4.25, allocations: 6.016 kB / 0.8248 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/4.252, allocations: 1.215 MB / 0.826 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/4.252, allocations: 3.938 kB / 0.826 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000807/4.252, allocations: 435.2 kB / 0.8264 GB, free: 119.9 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001129/4.254, allocations: 0.907 MB / 0.8273 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/4.254, allocations: 94.34 kB / 0.8274 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.716e-05/4.254, allocations: 0 / 0.8274 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/4.254, allocations: 5.828 kB / 0.8274 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/4.254, allocations: 17.25 kB / 0.8274 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.626e-05/4.254, allocations: 26.59 kB / 0.8274 GB, free: 119.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.1e-05/4.254, allocations: 93.19 kB / 0.8275 GB, free: 119.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002382/4.257, allocations: 152.2 kB / 0.8277 GB, free: 119.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001948/4.259, allocations: 0.6192 MB / 0.8283 GB, free: 118.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001143/4.26, allocations: 181.5 kB / 0.8285 GB, free: 118.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/4.26, allocations: 0 / 0.8285 GB, free: 118.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007297/4.261, allocations: 202 kB / 0.8286 GB, free: 118.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009831/4.262, allocations: 40.88 kB / 0.8287 GB, free: 118.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/4.263, allocations: 314.8 kB / 0.829 GB, free: 118.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/4.265, allocations: 0.7856 MB / 0.8298 GB, free: 117.9 MB / 474.7 MB Notification: Performance of SimCode: time 3.236e-06/4.265, allocations: 7.906 kB / 0.8298 GB, free: 117.9 MB / 474.7 MB