Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_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.609/2.609, allocations: 235.1 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1511/2.76, allocations: 57.2 MB / 299.2 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/3.07, allocations: 54.86 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.36/10.43, allocations: 2.583 GB / 2.929 GB, free: 108.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/10.43, allocations: 84.23 kB / 2.929 GB, free: 108.9 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 1.423/11.85, allocations: 208.8 MB / 3.133 GB, free: 71.75 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/11.85, allocations: 7.812 kB / 3.133 GB, free: 71.75 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002887/11.86, allocations: 201.2 kB / 3.133 GB, free: 71.74 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005745/11.86, allocations: 272.9 kB / 3.133 GB, free: 71.53 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/11.86, allocations: 15.41 kB / 3.133 GB, free: 71.52 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.429e-05/11.86, allocations: 19.47 kB / 3.133 GB, free: 71.52 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00115/11.86, allocations: 475.3 kB / 3.133 GB, free: 71.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008626/11.86, allocations: 380.1 kB / 3.134 GB, free: 71.37 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/11.86, allocations: 4.75 kB / 3.134 GB, free: 71.37 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.333e-05/11.86, allocations: 0 / 3.134 GB, free: 71.37 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/11.86, allocations: 11.91 kB / 3.134 GB, free: 71.37 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.71/13.57, allocations: 262.5 MB / 3.39 GB, free: 61.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/13.57, allocations: 68.97 kB / 3.39 GB, free: 61.63 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.061e-05/13.57, allocations: 36.8 kB / 3.39 GB, free: 61.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2843/13.85, allocations: 46.29 MB / 3.435 GB, free: 18.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004508/13.85, allocations: 114 kB / 3.436 GB, free: 18.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 4.949e-06/13.85, allocations: 0 / 3.436 GB, free: 18.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.004771/13.86, allocations: 475.4 kB / 3.436 GB, free: 18.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/13.86, allocations: 77.67 kB / 3.436 GB, free: 18.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004657/13.86, allocations: 217.9 kB / 3.436 GB, free: 18.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.376e-05/13.86, allocations: 37.16 kB / 3.436 GB, free: 18.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/13.86, allocations: 236 kB / 3.437 GB, free: 17.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.811e-05/13.86, allocations: 52.28 kB / 3.437 GB, free: 17.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/13.86, allocations: 0.8438 kB / 3.437 GB, free: 17.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/13.86, allocations: 341.6 kB / 3.437 GB, free: 17.53 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/13.86, allocations: 56.84 kB / 3.437 GB, free: 17.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004887/13.86, allocations: 319.3 kB / 3.437 GB, free: 17.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/13.86, allocations: 122.4 kB / 3.437 GB, free: 16.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/13.86, allocations: 4 kB / 3.437 GB, free: 16.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00714/13.87, allocations: 0.7786 MB / 3.438 GB, free: 16.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/13.87, allocations: 4 kB / 3.438 GB, free: 16.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/13.87, allocations: 18.41 kB / 3.438 GB, free: 16.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.048e-05/13.87, allocations: 12 kB / 3.438 GB, free: 16.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/13.87, allocations: 136.8 kB / 3.438 GB, free: 16.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/13.87, allocations: 1.202 MB / 3.44 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/13.88, allocations: 14.11 kB / 3.44 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/13.88, allocations: 35.56 kB / 3.44 GB, free: 14.99 MB / 490.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: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * 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.0003457/13.88, allocations: 127.6 kB / 3.44 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002705/13.88, allocations: 258.2 kB / 3.44 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003334/13.88, allocations: 0.8353 MB / 3.441 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.19e-05/13.88, allocations: 11.94 kB / 3.441 GB, free: 13.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/13.88, allocations: 0 / 3.441 GB, free: 13.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/13.88, allocations: 0 / 3.441 GB, free: 13.97 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/13.88, allocations: 405.1 kB / 3.441 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/13.88, allocations: 0 / 3.441 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004377/13.88, allocations: 26.33 kB / 3.441 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005863/13.88, allocations: 168.8 kB / 3.441 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/13.88, allocations: 7.719 kB / 3.441 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/13.89, allocations: 1.372 MB / 3.443 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/13.89, allocations: 192 / 3.443 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003801/13.89, allocations: 0.732 MB / 3.443 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004286/13.89, allocations: 1.176 MB / 3.445 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004112/13.89, allocations: 160.4 kB / 3.445 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/13.89, allocations: 7.062 kB / 3.445 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006411/13.9, allocations: 11.75 kB / 3.445 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/13.9, allocations: 12.97 kB / 3.445 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/13.9, allocations: 4 kB / 3.445 GB, free: 10.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005896/13.9, allocations: 216.1 kB / 3.445 GB, free: 9.949 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01349/13.91, allocations: 1.834 MB / 3.447 GB, free: 8.469 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02448/13.93, allocations: 2.307 MB / 3.449 GB, free: 6.551 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002334/13.94, allocations: 381.1 kB / 3.449 GB, free: 6.215 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.132e-05/13.94, allocations: 0 / 3.449 GB, free: 6.215 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/13.94, allocations: 274.6 kB / 3.45 GB, free: 5.969 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008649/13.94, allocations: 28.77 kB / 3.45 GB, free: 5.949 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6361/14.58, allocations: 81.9 MB / 3.53 GB, free: 125.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006607/14.58, allocations: 0.8543 MB / 3.53 GB, free: 125 MB / 490.7 MB Notification: Performance of SimCode: time 3.998e-06/14.58, allocations: 0 / 3.53 GB, free: 125 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat