Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_1_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 1.844/1.844, allocations: 209.3 MB / 216.3 MB, free: 6.859 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2379/2.082, allocations: 51.04 MB / 267.3 MB, free: 5.199 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/2.201, allocations: 48.69 MB / 316 MB, free: 4.414 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.667/3.868, allocations: 0.6354 GB / 0.944 GB, free: 27.27 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004168/3.868, allocations: 88.5 kB / 0.9441 GB, free: 27.21 MB / 426.8 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.6029/4.471, allocations: 109.7 MB / 1.051 GB, free: 92.63 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/4.471, allocations: 12 kB / 1.051 GB, free: 92.62 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/4.472, allocations: 83.64 kB / 1.051 GB, free: 92.54 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/4.473, allocations: 250.7 kB / 1.052 GB, free: 92.25 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/4.473, allocations: 11.91 kB / 1.052 GB, free: 92.24 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.193e-05/4.473, allocations: 16 kB / 1.052 GB, free: 92.22 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009231/4.482, allocations: 0.579 MB / 1.052 GB, free: 91.64 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008647/4.483, allocations: 353.4 kB / 1.052 GB, free: 91.26 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/4.483, allocations: 3.938 kB / 1.052 GB, free: 91.25 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.421e-05/4.483, allocations: 4 kB / 1.052 GB, free: 91.25 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/4.483, allocations: 8.641 kB / 1.052 GB, free: 91.24 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1855/4.669, allocations: 39.03 MB / 1.091 GB, free: 48.81 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/4.669, allocations: 70.66 kB / 1.091 GB, free: 48.73 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.267e-05/4.669, allocations: 32.91 kB / 1.091 GB, free: 48.7 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0317/4.701, allocations: 7.103 MB / 1.098 GB, free: 41 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003397/4.701, allocations: 95.52 kB / 1.098 GB, free: 40.9 MB / 426.8 MB Notification: Performance of pre-optimization done (n=12): time 4.328e-06/4.701, allocations: 4 kB / 1.098 GB, free: 40.89 MB / 426.8 MB Notification: Performance of matching and sorting (n=13): time 0.002863/4.704, allocations: 304.8 kB / 1.098 GB, free: 40.59 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/4.704, allocations: 63.39 kB / 1.098 GB, free: 40.52 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/4.705, allocations: 194.9 kB / 1.098 GB, free: 40.32 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/4.705, allocations: 29.7 kB / 1.098 GB, free: 40.28 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/4.705, allocations: 238.4 kB / 1.099 GB, free: 40.04 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/4.705, allocations: 43.45 kB / 1.099 GB, free: 40 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/4.705, allocations: 0 / 1.099 GB, free: 40 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/4.705, allocations: 338.7 kB / 1.099 GB, free: 39.66 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/4.705, allocations: 56.98 kB / 1.099 GB, free: 39.61 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/4.705, allocations: 288.6 kB / 1.099 GB, free: 39.21 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002279/4.708, allocations: 223.7 kB / 1.099 GB, free: 38.99 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/4.708, allocations: 7.938 kB / 1.099 GB, free: 38.98 MB / 426.8 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00358/4.711, allocations: 0.5675 MB / 1.1 GB, free: 38.41 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/4.711, allocations: 4 kB / 1.1 GB, free: 38.4 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/4.711, allocations: 12 kB / 1.1 GB, free: 38.39 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.762e-05/4.711, allocations: 12 kB / 1.1 GB, free: 38.38 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000979/4.712, allocations: 155.8 kB / 1.1 GB, free: 38.23 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006378/4.713, allocations: 1.203 MB / 1.101 GB, free: 36.98 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/4.714, allocations: 8 kB / 1.101 GB, free: 36.97 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-05/4.714, allocations: 35.98 kB / 1.101 GB, free: 36.93 MB / 426.8 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.000187/4.714, allocations: 128.7 kB / 1.101 GB, free: 36.8 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004897/4.714, allocations: 91.81 kB / 1.102 GB, free: 36.71 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/4.715, allocations: 323.7 kB / 1.102 GB, free: 36.38 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/4.715, allocations: 7.906 kB / 1.102 GB, free: 36.38 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/4.715, allocations: 0 / 1.102 GB, free: 36.38 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/4.715, allocations: 7.984 kB / 1.102 GB, free: 36.37 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008972/4.724, allocations: 2.517 MB / 1.104 GB, free: 33.64 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/4.724, allocations: 0 / 1.104 GB, free: 33.64 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009303/4.725, allocations: 87.94 kB / 1.104 GB, free: 33.55 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/4.725, allocations: 4 kB / 1.104 GB, free: 33.55 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/4.725, allocations: 7.984 kB / 1.104 GB, free: 33.54 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003116/4.726, allocations: 0.5899 MB / 1.105 GB, free: 32.93 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/4.726, allocations: 7.938 kB / 1.105 GB, free: 32.92 MB / 426.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001255/4.727, allocations: 462.6 kB / 1.105 GB, free: 32.43 MB / 426.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001305/4.728, allocations: 0.8662 MB / 1.106 GB, free: 31.51 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/4.729, allocations: 144.7 kB / 1.106 GB, free: 31.35 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.622e-05/4.729, allocations: 0 / 1.106 GB, free: 31.35 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/4.729, allocations: 19.98 kB / 1.106 GB, free: 31.33 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/4.729, allocations: 7.938 kB / 1.106 GB, free: 31.32 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/4.729, allocations: 7.984 kB / 1.106 GB, free: 31.32 MB / 426.8 MB Notification: Performance of sort global known variables: time 0.0001994/4.729, allocations: 169.2 kB / 1.107 GB, free: 31.15 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.003375/4.733, allocations: 0.5345 MB / 1.107 GB, free: 30.62 MB / 426.8 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.003913/4.737, allocations: 0.9437 MB / 1.108 GB, free: 29.71 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001153/4.738, allocations: 288.3 kB / 1.108 GB, free: 29.43 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/4.738, allocations: 0 / 1.108 GB, free: 29.43 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004335/4.738, allocations: 126.3 kB / 1.108 GB, free: 29.3 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000535/4.739, allocations: 32.39 kB / 1.109 GB, free: 29.27 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.678/5.417, allocations: 159.7 MB / 1.264 GB, free: 76.35 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005683/5.418, allocations: 0.8141 MB / 1.265 GB, free: 75.51 MB / 426.8 MB Notification: Performance of SimCode: time 1.422e-06/5.418, allocations: 0 / 1.265 GB, free: 75.51 MB / 426.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat