Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestOnly_IdealGasN2Mix",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(ModelicaTest): time 2.493/2.493, allocations: 235.1 MB / 242 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1717/2.665, allocations: 57.2 MB / 299.2 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/3.008, allocations: 54.86 MB / 354.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.006/5.014, allocations: 0.7216 GB / 1.067 GB, free: 62.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/5.015, allocations: 78.33 kB / 1.067 GB, free: 62.36 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.1428/5.157, allocations: 33.19 MB / 1.1 GB, free: 35.05 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/5.158, allocations: 8 kB / 1.1 GB, free: 35.05 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004223/5.162, allocations: 220.6 kB / 1.1 GB, free: 34.85 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/5.162, allocations: 201.7 kB / 1.1 GB, free: 34.62 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/5.162, allocations: 4 kB / 1.1 GB, free: 34.62 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.572e-05/5.162, allocations: 11.92 kB / 1.1 GB, free: 34.61 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007253/5.163, allocations: 200.7 kB / 1.1 GB, free: 34.48 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/5.163, allocations: 150.2 kB / 1.101 GB, free: 34.37 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/5.164, allocations: 0 / 1.101 GB, free: 34.37 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/5.164, allocations: 0 / 1.101 GB, free: 34.37 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/5.164, allocations: 4 kB / 1.101 GB, free: 34.37 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/5.166, allocations: 0.581 MB / 1.101 GB, free: 33.85 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005085/5.167, allocations: 151.1 kB / 1.101 GB, free: 33.74 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/5.167, allocations: 69.8 kB / 1.101 GB, free: 33.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003301/5.167, allocations: 93.08 kB / 1.101 GB, free: 33.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/5.167, allocations: 38.31 kB / 1.102 GB, free: 33.54 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 2.905e-06/5.167, allocations: 4 kB / 1.102 GB, free: 33.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=19): time 0.008581/5.176, allocations: 0.969 MB / 1.102 GB, free: 32.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/5.176, allocations: 55.41 kB / 1.103 GB, free: 32.54 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/5.176, allocations: 108.1 kB / 1.103 GB, free: 32.43 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.367e-05/5.176, allocations: 25.7 kB / 1.103 GB, free: 32.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/5.176, allocations: 100.5 kB / 1.103 GB, free: 32.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/5.176, allocations: 62.11 kB / 1.103 GB, free: 32.25 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/5.177, allocations: 3.938 kB / 1.103 GB, free: 32.24 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/5.177, allocations: 326.4 kB / 1.103 GB, free: 31.92 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/5.177, allocations: 69.56 kB / 1.103 GB, free: 31.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/5.178, allocations: 100.6 kB / 1.103 GB, free: 31.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004402/5.178, allocations: 79.77 kB / 1.103 GB, free: 31.75 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/5.178, allocations: 7.938 kB / 1.103 GB, free: 31.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001207/5.179, allocations: 231.1 kB / 1.104 GB, free: 31.57 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/5.179, allocations: 4 kB / 1.104 GB, free: 31.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/5.179, allocations: 4 kB / 1.104 GB, free: 31.56 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002635/5.18, allocations: 20.09 kB / 1.104 GB, free: 31.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/5.181, allocations: 55.28 kB / 1.104 GB, free: 31.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007109/5.182, allocations: 0.5438 MB / 1.104 GB, free: 30.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007405/5.183, allocations: 4.031 kB / 1.104 GB, free: 30.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.532e-05/5.183, allocations: 11.98 kB / 1.104 GB, free: 30.92 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.0002372/5.183, allocations: 104.9 kB / 1.104 GB, free: 30.81 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/5.183, allocations: 19 kB / 1.104 GB, free: 30.79 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/5.185, allocations: 262.1 kB / 1.105 GB, free: 30.59 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/5.185, allocations: 3.984 kB / 1.105 GB, free: 30.59 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/5.185, allocations: 8 kB / 1.105 GB, free: 30.58 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/5.185, allocations: 0 / 1.105 GB, free: 30.58 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/5.188, allocations: 0.5958 MB / 1.105 GB, free: 30.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/5.188, allocations: 96 / 1.105 GB, free: 30.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/5.189, allocations: 55.39 kB / 1.105 GB, free: 29.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001788/5.189, allocations: 20.78 kB / 1.105 GB, free: 29.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.451e-05/5.189, allocations: 7.688 kB / 1.105 GB, free: 29.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/5.191, allocations: 1.205 MB / 1.106 GB, free: 28.66 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.178e-06/5.191, allocations: 4.031 kB / 1.106 GB, free: 28.65 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00162/5.192, allocations: 430.1 kB / 1.107 GB, free: 28.27 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00164/5.194, allocations: 0.9017 MB / 1.108 GB, free: 27.46 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.872e-05/5.194, allocations: 85 kB / 1.108 GB, free: 27.36 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-05/5.194, allocations: 4 kB / 1.108 GB, free: 27.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005683/5.195, allocations: 4.062 kB / 1.108 GB, free: 27.35 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/5.195, allocations: 19.83 kB / 1.108 GB, free: 27.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.813e-05/5.195, allocations: 14.8 kB / 1.108 GB, free: 27.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.624e-05/5.195, allocations: 86.84 kB / 1.108 GB, free: 27.24 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002129/5.197, allocations: 211.9 kB / 1.108 GB, free: 27.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 (19): * Single equations (assignments): 18 * 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.00204/5.199, allocations: 0.7282 MB / 1.109 GB, free: 26.38 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007909/5.2, allocations: 194.5 kB / 1.109 GB, free: 26.25 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/5.2, allocations: 0 / 1.109 GB, free: 26.25 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004514/5.201, allocations: 198 kB / 1.109 GB, free: 26.08 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007122/5.201, allocations: 48.86 kB / 1.109 GB, free: 26.04 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/5.202, allocations: 301.5 kB / 1.11 GB, free: 25.74 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004905/5.203, allocations: 0.7463 MB / 1.11 GB, free: 24.97 MB / 474.7 MB Notification: Performance of SimCode: time 1.253e-06/5.203, allocations: 0 / 1.11 GB, free: 24.97 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat