Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_1_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 1.951/1.951, allocations: 209.3 MB / 216.3 MB, free: 4.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1411/2.092, allocations: 51.03 MB / 267.3 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/2.331, allocations: 48.7 MB / 316 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.646/3.977, allocations: 0.6352 GB / 0.9438 GB, free: 103.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/3.977, allocations: 75.19 kB / 0.9439 GB, free: 103.1 MB / 426.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.3383/4.316, allocations: 109.7 MB / 1.051 GB, free: 20.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/4.316, allocations: 8 kB / 1.051 GB, free: 20.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009444/4.317, allocations: 83.64 kB / 1.051 GB, free: 20.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/4.317, allocations: 238.8 kB / 1.051 GB, free: 19.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/4.317, allocations: 15.84 kB / 1.051 GB, free: 19.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/4.317, allocations: 16 kB / 1.051 GB, free: 19.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001011/4.318, allocations: 0.5868 MB / 1.052 GB, free: 19.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006186/4.319, allocations: 353.4 kB / 1.052 GB, free: 18.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/4.319, allocations: 0 / 1.052 GB, free: 18.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/4.319, allocations: 0 / 1.052 GB, free: 18.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/4.319, allocations: 12 kB / 1.052 GB, free: 18.92 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2501/4.569, allocations: 29.32 MB / 1.081 GB, free: 143.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/4.569, allocations: 40.55 kB / 1.081 GB, free: 143.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.379e-05/4.569, allocations: 12.95 kB / 1.081 GB, free: 143.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01642/4.586, allocations: 3.571 MB / 1.084 GB, free: 141.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/4.586, allocations: 76.17 kB / 1.085 GB, free: 141.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.725e-06/4.586, allocations: 0.5625 kB / 1.085 GB, free: 141.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.00102/4.587, allocations: 153.8 kB / 1.085 GB, free: 141.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/4.587, allocations: 57.03 kB / 1.085 GB, free: 141.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/4.587, allocations: 224.5 kB / 1.085 GB, free: 141.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/4.587, allocations: 25.7 kB / 1.085 GB, free: 141.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/4.588, allocations: 253.5 kB / 1.085 GB, free: 141.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/4.588, allocations: 22.64 kB / 1.085 GB, free: 141.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/4.588, allocations: 5.562 kB / 1.085 GB, free: 141.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.821e-05/4.588, allocations: 334.4 kB / 1.086 GB, free: 141.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/4.588, allocations: 51.62 kB / 1.086 GB, free: 141.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/4.588, allocations: 293.6 kB / 1.086 GB, free: 140.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002229/4.59, allocations: 209.1 kB / 1.086 GB, free: 140.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/4.591, allocations: 3.656 kB / 1.086 GB, free: 140.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003684/4.594, allocations: 0.5555 MB / 1.087 GB, free: 140.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/4.594, allocations: 3.969 kB / 1.087 GB, free: 140.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/4.594, allocations: 16.06 kB / 1.087 GB, free: 140.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.529e-05/4.594, allocations: 11.41 kB / 1.087 GB, free: 140.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006152/4.595, allocations: 112.1 kB / 1.087 GB, free: 140.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/4.595, allocations: 18.41 kB / 1.087 GB, free: 140.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005654/4.596, allocations: 49.31 kB / 1.087 GB, free: 140.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.577e-05/4.596, allocations: 36.62 kB / 1.087 GB, free: 140.7 MB / 426.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.0001249/4.596, allocations: 122.7 kB / 1.087 GB, free: 140.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004474/4.596, allocations: 86.8 kB / 1.087 GB, free: 140.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005537/4.597, allocations: 156.3 kB / 1.087 GB, free: 140.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/4.597, allocations: 7.766 kB / 1.087 GB, free: 140.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/4.597, allocations: 0 / 1.087 GB, free: 140.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/4.597, allocations: 0 / 1.087 GB, free: 140.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008771/4.606, allocations: 2.307 MB / 1.089 GB, free: 139.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/4.606, allocations: 3.969 kB / 1.089 GB, free: 139.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.741e-05/4.606, allocations: 13.62 kB / 1.089 GB, free: 139.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/4.606, allocations: 3.969 kB / 1.089 GB, free: 139.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/4.606, allocations: 0 / 1.089 GB, free: 139.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.912e-06/4.606, allocations: 3.875 kB / 1.089 GB, free: 139.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/4.606, allocations: 0 / 1.089 GB, free: 139.4 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007531/4.607, allocations: 330.2 kB / 1.09 GB, free: 139.2 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009355/4.608, allocations: 0.7384 MB / 1.091 GB, free: 138.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/4.608, allocations: 146.8 kB / 1.091 GB, free: 138.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.312e-05/4.608, allocations: 0 / 1.091 GB, free: 138.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/4.608, allocations: 11.94 kB / 1.091 GB, free: 138.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/4.608, allocations: 11.48 kB / 1.091 GB, free: 138.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/4.608, allocations: 7.781 kB / 1.091 GB, free: 138.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.000225/4.609, allocations: 177.7 kB / 1.091 GB, free: 138.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003292/4.612, allocations: 493.1 kB / 1.091 GB, free: 138.4 MB / 426.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.003665/4.616, allocations: 0.8597 MB / 1.092 GB, free: 138.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005339/4.616, allocations: 169 kB / 1.092 GB, free: 138.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/4.616, allocations: 0.75 kB / 1.092 GB, free: 138.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.561e-05/4.616, allocations: 21.8 kB / 1.092 GB, free: 138.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/4.617, allocations: 25.73 kB / 1.092 GB, free: 138.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6963/5.313, allocations: 210.8 MB / 1.298 GB, free: 144.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003936/5.313, allocations: 0.7865 MB / 1.299 GB, free: 144.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.763e-06/5.313, allocations: 0 / 1.299 GB, free: 144.1 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat