Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",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.359/2.359, allocations: 235 MB / 241.9 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1768/2.536, allocations: 57.2 MB / 299.1 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/2.832, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.86/4.692, allocations: 0.6416 GB / 0.9872 GB, free: 111.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004074/4.693, allocations: 80.77 kB / 0.9873 GB, free: 111.4 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.4163/5.109, allocations: 109.7 MB / 1.095 GB, free: 42.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/5.109, allocations: 12 kB / 1.095 GB, free: 42.59 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008634/5.11, allocations: 79.64 kB / 1.095 GB, free: 42.51 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/5.11, allocations: 242.7 kB / 1.095 GB, free: 42.23 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/5.11, allocations: 8 kB / 1.095 GB, free: 42.22 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/5.111, allocations: 16 kB / 1.095 GB, free: 42.21 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009765/5.112, allocations: 0.5945 MB / 1.095 GB, free: 41.61 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006012/5.112, allocations: 357.3 kB / 1.096 GB, free: 41.23 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/5.112, allocations: 0 / 1.096 GB, free: 41.23 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.503e-05/5.112, allocations: 8 kB / 1.096 GB, free: 41.22 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/5.112, allocations: 8 kB / 1.096 GB, free: 41.21 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09401/5.206, allocations: 29.31 MB / 1.124 GB, free: 8.543 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/5.206, allocations: 34.56 kB / 1.124 GB, free: 8.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.189e-05/5.206, allocations: 12.98 kB / 1.124 GB, free: 8.484 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01528/5.222, allocations: 3.563 MB / 1.128 GB, free: 4.605 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/5.222, allocations: 87.22 kB / 1.128 GB, free: 4.508 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 2.926e-06/5.222, allocations: 0 / 1.128 GB, free: 4.508 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.001009/5.223, allocations: 153.4 kB / 1.128 GB, free: 4.352 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/5.223, allocations: 51.41 kB / 1.128 GB, free: 4.289 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/5.223, allocations: 220 kB / 1.128 GB, free: 4.066 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/5.223, allocations: 25.7 kB / 1.128 GB, free: 4.035 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/5.224, allocations: 266.1 kB / 1.129 GB, free: 3.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/5.224, allocations: 27.75 kB / 1.129 GB, free: 3.742 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/5.224, allocations: 0 / 1.129 GB, free: 3.742 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.834e-05/5.224, allocations: 334.7 kB / 1.129 GB, free: 3.406 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/5.224, allocations: 48.86 kB / 1.129 GB, free: 3.359 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/5.224, allocations: 294.4 kB / 1.129 GB, free: 2.953 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/5.226, allocations: 219.6 kB / 1.13 GB, free: 2.738 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/5.226, allocations: 7.938 kB / 1.13 GB, free: 2.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003345/5.23, allocations: 0.5475 MB / 1.13 GB, free: 2.176 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/5.23, allocations: 4.969 kB / 1.13 GB, free: 2.172 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/5.23, allocations: 8 kB / 1.13 GB, free: 2.164 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-05/5.23, allocations: 16 kB / 1.13 GB, free: 2.148 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006048/5.23, allocations: 111.9 kB / 1.13 GB, free: 2.039 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/5.23, allocations: 19.94 kB / 1.13 GB, free: 2.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/5.231, allocations: 51.28 kB / 1.13 GB, free: 1.969 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.791e-05/5.231, allocations: 31.98 kB / 1.13 GB, free: 1.938 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001205/5.231, allocations: 124.8 kB / 1.13 GB, free: 1.809 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004436/5.232, allocations: 87.72 kB / 1.131 GB, free: 1.723 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005601/5.232, allocations: 163.8 kB / 1.131 GB, free: 1.551 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/5.232, allocations: 0 / 1.131 GB, free: 1.551 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/5.232, allocations: 8 kB / 1.131 GB, free: 1.543 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/5.232, allocations: 0 / 1.131 GB, free: 1.543 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2097/5.442, allocations: 2.298 MB / 1.133 GB, free: 170.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/5.442, allocations: 3.531 kB / 1.133 GB, free: 170.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.488e-05/5.442, allocations: 10.83 kB / 1.133 GB, free: 170.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/5.442, allocations: 0 / 1.133 GB, free: 170.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/5.442, allocations: 3.25 kB / 1.133 GB, free: 170.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/5.442, allocations: 3.141 kB / 1.133 GB, free: 170.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/5.442, allocations: 3.875 kB / 1.133 GB, free: 170.8 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007281/5.443, allocations: 330.1 kB / 1.133 GB, free: 170.6 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008928/5.444, allocations: 0.7313 MB / 1.134 GB, free: 170 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/5.444, allocations: 143.5 kB / 1.134 GB, free: 169.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-05/5.444, allocations: 6.781 kB / 1.134 GB, free: 169.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/5.444, allocations: 17.39 kB / 1.134 GB, free: 169.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/5.445, allocations: 3.25 kB / 1.134 GB, free: 169.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/5.445, allocations: 3.594 kB / 1.134 GB, free: 169.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0002193/5.445, allocations: 188.1 kB / 1.134 GB, free: 169.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003168/5.448, allocations: 487.8 kB / 1.135 GB, free: 169.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003208/5.451, allocations: 0.8656 MB / 1.136 GB, free: 169.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000478/5.452, allocations: 172.9 kB / 1.136 GB, free: 169.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/5.452, allocations: 0 / 1.136 GB, free: 169.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.658e-05/5.452, allocations: 28.78 kB / 1.136 GB, free: 169.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/5.452, allocations: 25.42 kB / 1.136 GB, free: 169.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.725/6.177, allocations: 210.8 MB / 1.342 GB, free: 168.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005084/6.178, allocations: 0.7885 MB / 1.342 GB, free: 168.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.413e-06/6.178, allocations: 0 / 1.342 GB, free: 168.1 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat