Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",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.624/2.624, allocations: 235 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2081/2.832, allocations: 57.2 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/3.134, allocations: 54.86 MB / 354.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.903/5.037, allocations: 0.6416 GB / 0.9873 GB, free: 111.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004127/5.037, allocations: 84.06 kB / 0.9874 GB, free: 111.5 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.4601/5.497, allocations: 109.7 MB / 1.095 GB, free: 41.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.734e-05/5.497, allocations: 8 kB / 1.095 GB, free: 41.97 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/5.499, allocations: 79.64 kB / 1.095 GB, free: 41.89 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006641/5.5, allocations: 246.7 kB / 1.095 GB, free: 41.61 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/5.5, allocations: 16 kB / 1.095 GB, free: 41.59 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.661e-05/5.5, allocations: 12 kB / 1.095 GB, free: 41.58 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00176/5.502, allocations: 0.5906 MB / 1.096 GB, free: 40.99 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/5.503, allocations: 349.4 kB / 1.096 GB, free: 40.61 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/5.503, allocations: 7.938 kB / 1.096 GB, free: 40.61 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.377e-05/5.503, allocations: 4 kB / 1.096 GB, free: 40.6 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/5.503, allocations: 8 kB / 1.096 GB, free: 40.59 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1164/5.62, allocations: 29.31 MB / 1.124 GB, free: 7.926 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/5.62, allocations: 38.55 kB / 1.125 GB, free: 7.879 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/5.62, allocations: 16.98 kB / 1.125 GB, free: 7.859 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01742/5.637, allocations: 3.555 MB / 1.128 GB, free: 3.988 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/5.638, allocations: 87.22 kB / 1.128 GB, free: 3.891 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 3.276e-06/5.638, allocations: 4 kB / 1.128 GB, free: 3.887 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.001192/5.639, allocations: 149.4 kB / 1.128 GB, free: 3.734 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/5.639, allocations: 55.41 kB / 1.128 GB, free: 3.668 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/5.639, allocations: 220 kB / 1.129 GB, free: 3.445 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/5.639, allocations: 29.7 kB / 1.129 GB, free: 3.41 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/5.639, allocations: 258.1 kB / 1.129 GB, free: 3.152 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/5.639, allocations: 27.8 kB / 1.129 GB, free: 3.125 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/5.639, allocations: 0 / 1.129 GB, free: 3.125 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.449e-05/5.64, allocations: 330.7 kB / 1.129 GB, free: 2.793 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/5.64, allocations: 52.8 kB / 1.129 GB, free: 2.742 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/5.64, allocations: 294.4 kB / 1.129 GB, free: 2.336 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002507/5.643, allocations: 215.7 kB / 1.13 GB, free: 2.125 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/5.643, allocations: 4 kB / 1.13 GB, free: 2.121 MB / 474.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.004014/5.647, allocations: 0.556 MB / 1.13 GB, free: 1.559 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/5.647, allocations: 4 kB / 1.13 GB, free: 1.555 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/5.647, allocations: 12.12 kB / 1.13 GB, free: 1.543 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.46e-05/5.647, allocations: 16 kB / 1.13 GB, free: 1.527 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007255/5.647, allocations: 107.8 kB / 1.13 GB, free: 1.422 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/5.647, allocations: 15.94 kB / 1.13 GB, free: 1.406 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006585/5.648, allocations: 51.28 kB / 1.13 GB, free: 1.355 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-05/5.648, allocations: 35.98 kB / 1.13 GB, free: 1.32 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.000129/5.648, allocations: 124.7 kB / 1.131 GB, free: 1.191 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005073/5.649, allocations: 87.72 kB / 1.131 GB, free: 1.105 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006178/5.65, allocations: 167.8 kB / 1.131 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/5.65, allocations: 4 kB / 1.131 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/5.65, allocations: 0 / 1.131 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/5.65, allocations: 0 / 1.131 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.192/5.842, allocations: 2.305 MB / 1.133 GB, free: 170.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/5.842, allocations: 0 / 1.133 GB, free: 170.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.631e-05/5.842, allocations: 9.938 kB / 1.133 GB, free: 170.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/5.842, allocations: 3.469 kB / 1.133 GB, free: 170.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/5.842, allocations: 0 / 1.133 GB, free: 170.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/5.842, allocations: 7.219 kB / 1.133 GB, free: 170.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/5.842, allocations: 2.844 kB / 1.133 GB, free: 170.1 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008583/5.843, allocations: 328 kB / 1.133 GB, free: 169.9 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001054/5.844, allocations: 0.7287 MB / 1.134 GB, free: 169.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/5.844, allocations: 148 kB / 1.134 GB, free: 169.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-05/5.844, allocations: 3.875 kB / 1.134 GB, free: 169.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004167/5.844, allocations: 13.91 kB / 1.134 GB, free: 169.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/5.845, allocations: 3.094 kB / 1.134 GB, free: 169.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/5.845, allocations: 3.75 kB / 1.134 GB, free: 169.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0002766/5.845, allocations: 187.7 kB / 1.134 GB, free: 169.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003839/5.849, allocations: 498.4 kB / 1.135 GB, free: 169.1 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.00491/5.854, allocations: 0.8579 MB / 1.136 GB, free: 169.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006151/5.854, allocations: 172 kB / 1.136 GB, free: 169.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/5.854, allocations: 3.156 kB / 1.136 GB, free: 169.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.186e-05/5.854, allocations: 20.7 kB / 1.136 GB, free: 169.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005258/5.855, allocations: 22.83 kB / 1.136 GB, free: 169.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.794/6.649, allocations: 210.8 MB / 1.342 GB, free: 168.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/6.649, allocations: 0.7904 MB / 1.343 GB, free: 167.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.503e-06/6.65, allocations: 0 / 1.343 GB, free: 167.8 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_ph_res.mat does not exist to compare? outputFormat=mat