Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",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.367/2.367, allocations: 234.9 MB / 241.9 MB, free: 9.805 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2442/2.611, allocations: 57.21 MB / 299.1 MB, free: 488 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/2.892, allocations: 54.85 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.837/4.73, allocations: 0.6416 GB / 0.9872 GB, free: 111.6 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/4.73, allocations: 83 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.3448/5.075, allocations: 109.8 MB / 1.095 GB, free: 42.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/5.075, allocations: 8 kB / 1.095 GB, free: 42.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009541/5.076, allocations: 79.64 kB / 1.095 GB, free: 42.65 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/5.076, allocations: 242.7 kB / 1.095 GB, free: 42.37 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/5.076, allocations: 12 kB / 1.095 GB, free: 42.36 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/5.076, allocations: 12 kB / 1.095 GB, free: 42.35 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009925/5.077, allocations: 0.5906 MB / 1.095 GB, free: 41.75 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006191/5.078, allocations: 349.4 kB / 1.096 GB, free: 41.38 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/5.078, allocations: 7.938 kB / 1.096 GB, free: 41.37 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.775e-05/5.078, allocations: 0 / 1.096 GB, free: 41.37 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/5.078, allocations: 12 kB / 1.096 GB, free: 41.36 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3781/5.456, allocations: 39.03 MB / 1.134 GB, free: 171.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/5.456, allocations: 68.11 kB / 1.134 GB, free: 171.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.426e-05/5.457, allocations: 29.55 kB / 1.134 GB, free: 171.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03018/5.487, allocations: 7.092 MB / 1.141 GB, free: 168.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002838/5.487, allocations: 104.5 kB / 1.141 GB, free: 168.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=12): time 3.236e-06/5.487, allocations: 0 / 1.141 GB, free: 168.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=13): time 0.00206/5.489, allocations: 302.9 kB / 1.141 GB, free: 168.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/5.489, allocations: 51.41 kB / 1.141 GB, free: 168.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/5.49, allocations: 210 kB / 1.142 GB, free: 168 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/5.49, allocations: 27.95 kB / 1.142 GB, free: 168 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/5.49, allocations: 237.1 kB / 1.142 GB, free: 167.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/5.49, allocations: 48.5 kB / 1.142 GB, free: 167.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/5.49, allocations: 0 / 1.142 GB, free: 167.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.98e-05/5.49, allocations: 332.3 kB / 1.142 GB, free: 167.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/5.49, allocations: 58.86 kB / 1.142 GB, free: 167.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/5.49, allocations: 286.6 kB / 1.142 GB, free: 167.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00223/5.493, allocations: 226.2 kB / 1.143 GB, free: 167.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/5.493, allocations: 7.469 kB / 1.143 GB, free: 167.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00381/5.496, allocations: 0.5811 MB / 1.143 GB, free: 167.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/5.496, allocations: 6.781 kB / 1.143 GB, free: 167.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/5.497, allocations: 13.45 kB / 1.143 GB, free: 167.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.607e-05/5.497, allocations: 14 kB / 1.143 GB, free: 167.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/5.498, allocations: 146.7 kB / 1.143 GB, free: 167.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007217/5.498, allocations: 1.202 MB / 1.145 GB, free: 166 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005803/5.499, allocations: 7.094 kB / 1.145 GB, free: 166 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/5.499, allocations: 35.72 kB / 1.145 GB, free: 166 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $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: 38 * 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 (55): * Single equations (assignments): 53 * 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 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000221/5.499, allocations: 127.2 kB / 1.145 GB, free: 165.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004758/5.5, allocations: 90.42 kB / 1.145 GB, free: 165.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/5.501, allocations: 319.9 kB / 1.145 GB, free: 165.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/5.501, allocations: 11.16 kB / 1.145 GB, free: 165.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/5.501, allocations: 0 / 1.145 GB, free: 165.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/5.501, allocations: 0 / 1.145 GB, free: 165.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009691/5.511, allocations: 2.511 MB / 1.148 GB, free: 164.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/5.511, allocations: 1.312 kB / 1.148 GB, free: 164.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/5.512, allocations: 87.92 kB / 1.148 GB, free: 164.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/5.512, allocations: 3.688 kB / 1.148 GB, free: 164.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/5.512, allocations: 3.594 kB / 1.148 GB, free: 164.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003814/5.512, allocations: 0.5877 MB / 1.148 GB, free: 164.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/5.512, allocations: 3.844 kB / 1.148 GB, free: 164.1 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00127/5.514, allocations: 475.4 kB / 1.149 GB, free: 163.8 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001425/5.515, allocations: 0.8722 MB / 1.15 GB, free: 163.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/5.515, allocations: 140.7 kB / 1.15 GB, free: 163.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.954e-05/5.515, allocations: 2.688 kB / 1.15 GB, free: 163.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/5.516, allocations: 13.8 kB / 1.15 GB, free: 163.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/5.516, allocations: 10.97 kB / 1.15 GB, free: 163.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/5.516, allocations: 18.91 kB / 1.15 GB, free: 163.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0002412/5.516, allocations: 165.3 kB / 1.15 GB, free: 163.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003691/5.52, allocations: 0.5352 MB / 1.15 GB, free: 163.1 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004388/5.524, allocations: 0.9328 MB / 1.151 GB, free: 163 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001257/5.526, allocations: 288.7 kB / 1.152 GB, free: 163 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/5.526, allocations: 0 / 1.152 GB, free: 163 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004387/5.526, allocations: 126.3 kB / 1.152 GB, free: 163 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005747/5.527, allocations: 34.58 kB / 1.152 GB, free: 163 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4536/5.98, allocations: 159.7 MB / 1.308 GB, free: 53.95 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005399/5.981, allocations: 0.809 MB / 1.309 GB, free: 53.12 MB / 474.7 MB Notification: Performance of SimCode: time 1.352e-06/5.981, allocations: 0 / 1.309 GB, free: 53.12 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat