Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",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.527/2.527, allocations: 235.1 MB / 242 MB, free: 9.738 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1996/2.727, allocations: 57.19 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/3.014, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9351/3.949, allocations: 294.2 MB / 0.6331 GB, free: 127.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003871/3.95, allocations: 75.12 kB / 0.6331 GB, free: 127.1 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.13/4.08, allocations: 20.39 MB / 0.6531 GB, free: 124.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.543e-05/4.08, allocations: 7.812 kB / 0.6531 GB, free: 124.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004703/4.08, allocations: 24.84 kB / 0.6531 GB, free: 124.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006026/4.081, allocations: 230.8 kB / 0.6533 GB, free: 124.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003089/4.081, allocations: 122 kB / 0.6534 GB, free: 124.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.991e-05/4.081, allocations: 11.72 kB / 0.6534 GB, free: 124.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002302/4.084, allocations: 0.7059 MB / 0.6541 GB, free: 124.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/4.085, allocations: 287.6 kB / 0.6544 GB, free: 124.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/4.085, allocations: 3.938 kB / 0.6544 GB, free: 124.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.548e-05/4.085, allocations: 0 / 0.6544 GB, free: 124.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-05/4.085, allocations: 12.34 kB / 0.6544 GB, free: 124.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006112/4.091, allocations: 3.195 MB / 0.6575 GB, free: 121.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/4.092, allocations: 42.38 kB / 0.6576 GB, free: 121.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.947e-05/4.092, allocations: 25.31 kB / 0.6576 GB, free: 121.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003392/4.092, allocations: 165.9 kB / 0.6578 GB, free: 121 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/4.092, allocations: 32.72 kB / 0.6578 GB, free: 120.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 5.15e-06/4.092, allocations: 4 kB / 0.6578 GB, free: 120.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.001552/4.094, allocations: 150.2 kB / 0.6579 GB, free: 120.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/4.094, allocations: 53.61 kB / 0.658 GB, free: 120.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/4.094, allocations: 199.9 kB / 0.6582 GB, free: 120.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/4.094, allocations: 29.52 kB / 0.6582 GB, free: 120.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/4.095, allocations: 227.4 kB / 0.6584 GB, free: 120.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.591e-05/4.095, allocations: 31.33 kB / 0.6584 GB, free: 120.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/4.095, allocations: 0 / 0.6584 GB, free: 120.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/4.095, allocations: 334 kB / 0.6588 GB, free: 120.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/4.095, allocations: 39.62 kB / 0.6588 GB, free: 120.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000412/4.095, allocations: 305.5 kB / 0.6591 GB, free: 119.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/4.097, allocations: 115.6 kB / 0.6592 GB, free: 119.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/4.097, allocations: 3.938 kB / 0.6592 GB, free: 119.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002017/4.099, allocations: 321.2 kB / 0.6595 GB, free: 119.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/4.099, allocations: 7.812 kB / 0.6595 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/4.099, allocations: 7.812 kB / 0.6595 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.217e-05/4.099, allocations: 19.44 kB / 0.6595 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/4.1, allocations: 108.8 kB / 0.6597 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.239e-05/4.1, allocations: 15.47 kB / 0.6597 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/4.101, allocations: 7.719 kB / 0.6597 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.462e-05/4.101, allocations: 35.02 kB / 0.6597 GB, free: 119.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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.00019/4.102, allocations: 128.1 kB / 0.6598 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/4.102, allocations: 23.25 kB / 0.6599 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006779/4.102, allocations: 97.02 kB / 0.6599 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.646e-05/4.102, allocations: 0 / 0.6599 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/4.103, allocations: 4 kB / 0.6599 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/4.103, allocations: 3.984 kB / 0.66 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/4.104, allocations: 381.8 kB / 0.6603 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/4.104, allocations: 0 / 0.6603 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000423/4.104, allocations: 19.36 kB / 0.6603 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/4.104, allocations: 3.812 kB / 0.6603 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/4.104, allocations: 0 / 0.6603 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/4.104, allocations: 7.922 kB / 0.6603 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.829e-06/4.104, allocations: 11.84 kB / 0.6604 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005492/4.105, allocations: 209.7 kB / 0.6606 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006619/4.106, allocations: 0.5989 MB / 0.6611 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/4.106, allocations: 111.9 kB / 0.6612 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/4.106, allocations: 12.02 kB / 0.6613 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006817/4.107, allocations: 11.84 kB / 0.6613 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/4.107, allocations: 7.797 kB / 0.6613 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/4.107, allocations: 3.906 kB / 0.6613 GB, free: 118.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0002625/4.107, allocations: 141.5 kB / 0.6614 GB, free: 118 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00265/4.11, allocations: 96.8 kB / 0.6615 GB, free: 118 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 1 * 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.0004508/4.11, allocations: 177.3 kB / 0.6617 GB, free: 117.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005128/4.111, allocations: 145.5 kB / 0.6618 GB, free: 117.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/4.111, allocations: 3.938 kB / 0.6618 GB, free: 117.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 7.431e-05/4.111, allocations: 20.28 kB / 0.6618 GB, free: 117.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/4.111, allocations: 35.61 kB / 0.6619 GB, free: 117.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006632/4.112, allocations: 194.2 kB / 0.6621 GB, free: 117.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/4.113, allocations: 0.7579 MB / 0.6628 GB, free: 117 MB / 474.7 MB Notification: Performance of SimCode: time 1.203e-06/4.113, allocations: 0 / 0.6628 GB, free: 117 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat