Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.451/2.451, allocations: 235.1 MB / 242 MB, free: 9.66 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.185/2.636, allocations: 57.2 MB / 299.2 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/2.943, allocations: 54.87 MB / 354.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.887/4.831, allocations: 0.6416 GB / 0.9874 GB, free: 111.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/4.831, allocations: 78.2 kB / 0.9874 GB, free: 111.3 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.3978/5.229, allocations: 109.7 MB / 1.095 GB, free: 41.97 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/5.229, allocations: 8 kB / 1.095 GB, free: 41.96 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/5.23, allocations: 83.64 kB / 1.095 GB, free: 41.88 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/5.23, allocations: 238.8 kB / 1.095 GB, free: 41.61 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/5.23, allocations: 11.94 kB / 1.095 GB, free: 41.59 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.365e-05/5.23, allocations: 16 kB / 1.095 GB, free: 41.58 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001165/5.232, allocations: 0.5945 MB / 1.096 GB, free: 40.98 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007266/5.232, allocations: 353.4 kB / 1.096 GB, free: 40.6 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/5.232, allocations: 0 / 1.096 GB, free: 40.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.481e-05/5.232, allocations: 0 / 1.096 GB, free: 40.6 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/5.232, allocations: 8 kB / 1.096 GB, free: 40.59 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3729/5.605, allocations: 39.04 MB / 1.134 GB, free: 170.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/5.606, allocations: 66.27 kB / 1.134 GB, free: 170.3 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.605e-05/5.606, allocations: 31.02 kB / 1.134 GB, free: 170.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03579/5.642, allocations: 7.103 MB / 1.141 GB, free: 167.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002866/5.642, allocations: 95.64 kB / 1.141 GB, free: 167.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=12): time 4.759e-06/5.642, allocations: 0 / 1.141 GB, free: 167.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=13): time 0.002311/5.644, allocations: 309.2 kB / 1.141 GB, free: 167.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/5.644, allocations: 54.84 kB / 1.141 GB, free: 167.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/5.645, allocations: 199.8 kB / 1.142 GB, free: 167 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/5.645, allocations: 28.39 kB / 1.142 GB, free: 166.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/5.645, allocations: 235.3 kB / 1.142 GB, free: 166.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.381e-05/5.645, allocations: 51.84 kB / 1.142 GB, free: 166.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/5.645, allocations: 0 / 1.142 GB, free: 166.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.021e-05/5.645, allocations: 328.3 kB / 1.142 GB, free: 166.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/5.645, allocations: 60.02 kB / 1.142 GB, free: 166.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/5.645, allocations: 295.2 kB / 1.143 GB, free: 166.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002534/5.648, allocations: 220.4 kB / 1.143 GB, free: 166.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/5.648, allocations: 3.094 kB / 1.143 GB, free: 166.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.004105/5.652, allocations: 0.5743 MB / 1.143 GB, free: 166.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/5.652, allocations: 7.547 kB / 1.143 GB, free: 166.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/5.652, allocations: 10 kB / 1.143 GB, free: 166.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.885e-05/5.652, allocations: 12.91 kB / 1.143 GB, free: 166.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/5.653, allocations: 162.3 kB / 1.144 GB, free: 166.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007439/5.654, allocations: 1.193 MB / 1.145 GB, free: 164.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000608/5.655, allocations: 11 kB / 1.145 GB, free: 164.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.454e-05/5.655, allocations: 40.39 kB / 1.145 GB, free: 164.9 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.0002092/5.655, allocations: 127.8 kB / 1.145 GB, free: 164.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005293/5.656, allocations: 87.5 kB / 1.145 GB, free: 164.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/5.657, allocations: 327.4 kB / 1.145 GB, free: 164.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/5.657, allocations: 10.53 kB / 1.145 GB, free: 164.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/5.657, allocations: 0 / 1.145 GB, free: 164.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/5.657, allocations: 3.844 kB / 1.145 GB, free: 164.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/5.668, allocations: 2.501 MB / 1.148 GB, free: 163.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/5.668, allocations: 2.5 kB / 1.148 GB, free: 163.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/5.669, allocations: 93.38 kB / 1.148 GB, free: 163.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/5.669, allocations: 3.188 kB / 1.148 GB, free: 163.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/5.669, allocations: 3.609 kB / 1.148 GB, free: 163.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004038/5.67, allocations: 0.5886 MB / 1.148 GB, free: 163 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/5.67, allocations: 2.812 kB / 1.148 GB, free: 163 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00142/5.671, allocations: 469.3 kB / 1.149 GB, free: 162.8 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001579/5.673, allocations: 0.8696 MB / 1.15 GB, free: 162.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/5.673, allocations: 145.7 kB / 1.15 GB, free: 162.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/5.673, allocations: 7.438 kB / 1.15 GB, free: 162.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004886/5.673, allocations: 10 kB / 1.15 GB, free: 162.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/5.674, allocations: 11.38 kB / 1.15 GB, free: 162.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/5.674, allocations: 6.969 kB / 1.15 GB, free: 162.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.000251/5.674, allocations: 171.5 kB / 1.15 GB, free: 162 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004045/5.678, allocations: 0.5338 MB / 1.151 GB, free: 162 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.004543/5.683, allocations: 0.9383 MB / 1.151 GB, free: 162 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001416/5.684, allocations: 288.8 kB / 1.152 GB, free: 162 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/5.684, allocations: 2.625 kB / 1.152 GB, free: 162 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005091/5.685, allocations: 131.7 kB / 1.152 GB, free: 162 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006268/5.685, allocations: 35.59 kB / 1.152 GB, free: 162 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5029/6.188, allocations: 159.7 MB / 1.308 GB, free: 52.94 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004344/6.189, allocations: 0.8055 MB / 1.309 GB, free: 52.11 MB / 474.7 MB Notification: Performance of SimCode: time 1.864e-06/6.189, allocations: 0 / 1.309 GB, free: 52.11 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat