Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",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.453/2.453, allocations: 235 MB / 241.9 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1643/2.618, allocations: 57.21 MB / 299.1 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/2.884, allocations: 54.85 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.898/4.782, allocations: 0.6416 GB / 0.9872 GB, free: 111.6 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/4.782, allocations: 86.27 kB / 0.9873 GB, free: 111.6 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.3381/5.12, allocations: 109.7 MB / 1.094 GB, free: 42.75 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/5.12, allocations: 8 kB / 1.095 GB, free: 42.75 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009146/5.121, allocations: 79.64 kB / 1.095 GB, free: 42.67 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/5.122, allocations: 254.7 kB / 1.095 GB, free: 42.38 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/5.122, allocations: 8 kB / 1.095 GB, free: 42.37 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/5.122, allocations: 16 kB / 1.095 GB, free: 42.36 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001006/5.123, allocations: 0.5867 MB / 1.095 GB, free: 41.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000633/5.124, allocations: 345.4 kB / 1.096 GB, free: 41.39 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/5.124, allocations: 11.94 kB / 1.096 GB, free: 41.38 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.661e-05/5.124, allocations: 0 / 1.096 GB, free: 41.38 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/5.124, allocations: 8 kB / 1.096 GB, free: 41.38 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08244/5.206, allocations: 26.99 MB / 1.122 GB, free: 11.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/5.206, allocations: 70.66 kB / 1.122 GB, free: 11.82 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.481e-05/5.206, allocations: 28.84 kB / 1.122 GB, free: 11.79 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02991/5.236, allocations: 6.495 MB / 1.129 GB, free: 4.793 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/5.237, allocations: 95.36 kB / 1.129 GB, free: 4.688 MB / 474.7 MB Notification: Performance of pre-optimization done (n=12): time 3.788e-06/5.237, allocations: 3.984 kB / 1.129 GB, free: 4.684 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.002363/5.239, allocations: 386.4 kB / 1.129 GB, free: 4.293 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/5.239, allocations: 59.39 kB / 1.129 GB, free: 4.223 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/5.239, allocations: 194.8 kB / 1.129 GB, free: 4.023 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/5.239, allocations: 25.7 kB / 1.129 GB, free: 3.992 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/5.239, allocations: 238.6 kB / 1.13 GB, free: 3.754 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/5.24, allocations: 51.3 kB / 1.13 GB, free: 3.703 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/5.24, allocations: 0 / 1.13 GB, free: 3.703 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.575e-05/5.24, allocations: 331.5 kB / 1.13 GB, free: 3.371 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/5.24, allocations: 53 kB / 1.13 GB, free: 3.32 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/5.24, allocations: 333.6 kB / 1.13 GB, free: 2.863 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/5.241, allocations: 175.7 kB / 1.13 GB, free: 2.691 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/5.241, allocations: 4 kB / 1.13 GB, free: 2.688 MB / 474.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002584/5.244, allocations: 0.5648 MB / 1.131 GB, free: 2.109 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/5.244, allocations: 4.938 kB / 1.131 GB, free: 2.105 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/5.244, allocations: 12 kB / 1.131 GB, free: 2.094 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/5.244, allocations: 49.7 kB / 1.131 GB, free: 2.039 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/5.245, allocations: 99.83 kB / 1.131 GB, free: 1.941 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009151/5.246, allocations: 1.254 MB / 1.132 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004792/5.246, allocations: 16.09 kB / 1.132 GB, free: 0.625 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.213e-05/5.246, allocations: 28 kB / 1.132 GB, free: 0.5977 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $DER.medium.d:DUMMY_DER(fixed = false ) "Density of medium" type: Real $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000216/5.247, allocations: 128.7 kB / 1.133 GB, free: 476 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004384/5.247, allocations: 95.62 kB / 1.133 GB, free: 380 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1773/5.424, allocations: 420.2 kB / 1.133 GB, free: 171.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/5.424, allocations: 9.75 kB / 1.133 GB, free: 171.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/5.425, allocations: 0 / 1.133 GB, free: 171.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/5.425, allocations: 4.891 kB / 1.133 GB, free: 171.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00939/5.434, allocations: 2.408 MB / 1.135 GB, free: 170.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/5.434, allocations: 0 / 1.135 GB, free: 170.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/5.434, allocations: 20.91 kB / 1.135 GB, free: 170.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000157/5.434, allocations: 59.17 kB / 1.135 GB, free: 170.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/5.434, allocations: 6.438 kB / 1.135 GB, free: 170.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008898/5.435, allocations: 1.298 MB / 1.137 GB, free: 169 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/5.435, allocations: 0 / 1.137 GB, free: 169 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001344/5.437, allocations: 0.5265 MB / 1.137 GB, free: 168.8 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001553/5.438, allocations: 0.9413 MB / 1.138 GB, free: 168.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/5.438, allocations: 125.4 kB / 1.138 GB, free: 168.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.944e-05/5.438, allocations: 3.906 kB / 1.138 GB, free: 168.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/5.439, allocations: 13.78 kB / 1.138 GB, free: 168.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/5.439, allocations: 11.12 kB / 1.138 GB, free: 168.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/5.439, allocations: 10.64 kB / 1.138 GB, free: 168.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0002053/5.439, allocations: 161.5 kB / 1.138 GB, free: 168 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003217/5.442, allocations: 447.7 kB / 1.139 GB, free: 168 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00368/5.446, allocations: 0.8218 MB / 1.14 GB, free: 167.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008389/5.447, allocations: 294.5 kB / 1.14 GB, free: 167.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/5.447, allocations: 0 / 1.14 GB, free: 167.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002886/5.447, allocations: 165.7 kB / 1.14 GB, free: 167.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/5.448, allocations: 27.52 kB / 1.14 GB, free: 167.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5017/5.95, allocations: 176.3 MB / 1.312 GB, free: 49.98 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003627/5.95, allocations: 0.7989 MB / 1.313 GB, free: 49.16 MB / 474.7 MB Notification: Performance of SimCode: time 1.373e-06/5.95, allocations: 0 / 1.313 GB, free: 49.16 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat