Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_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.374/2.374, allocations: 235.1 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2188/2.593, allocations: 57.2 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/2.902, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.117/10.02, allocations: 2.584 GB / 2.93 GB, free: 107.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/10.02, allocations: 83.53 kB / 2.93 GB, free: 107.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.493/11.51, allocations: 209.4 MB / 3.135 GB, free: 75.18 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/11.51, allocations: 9.469 kB / 3.135 GB, free: 75.18 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003379/11.52, allocations: 244.6 kB / 3.135 GB, free: 75.16 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007032/11.52, allocations: 271.1 kB / 3.135 GB, free: 74.96 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.042e-05/11.52, allocations: 14.72 kB / 3.135 GB, free: 74.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/11.52, allocations: 17.06 kB / 3.135 GB, free: 74.95 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002254/11.52, allocations: 0.5172 MB / 3.136 GB, free: 74.95 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/11.52, allocations: 377.2 kB / 3.136 GB, free: 74.81 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/11.52, allocations: 5.031 kB / 3.136 GB, free: 74.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/11.52, allocations: 5.844 kB / 3.136 GB, free: 74.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/11.52, allocations: 8.406 kB / 3.136 GB, free: 74.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 2.686/14.21, allocations: 373.2 MB / 3.501 GB, free: 118.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/14.21, allocations: 40.41 kB / 3.501 GB, free: 118.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.848e-05/14.21, allocations: 17.83 kB / 3.501 GB, free: 118.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2586/14.47, allocations: 46.03 MB / 3.546 GB, free: 95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003238/14.47, allocations: 113.9 kB / 3.546 GB, free: 94.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 3.347e-06/14.47, allocations: 0 / 3.546 GB, free: 94.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.002757/14.47, allocations: 367 kB / 3.546 GB, free: 94.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/14.47, allocations: 131.6 kB / 3.546 GB, free: 94.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003772/14.47, allocations: 223.5 kB / 3.546 GB, free: 94.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/14.47, allocations: 29.7 kB / 3.546 GB, free: 94.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/14.47, allocations: 255.4 kB / 3.547 GB, free: 94.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/14.47, allocations: 40.02 kB / 3.547 GB, free: 94.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/14.47, allocations: 2.453 kB / 3.547 GB, free: 94.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.486e-05/14.47, allocations: 332.6 kB / 3.547 GB, free: 94.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/14.47, allocations: 60.33 kB / 3.547 GB, free: 94.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/14.47, allocations: 310.4 kB / 3.547 GB, free: 93.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008792/14.47, allocations: 118.9 kB / 3.547 GB, free: 93.76 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/14.47, allocations: 3.969 kB / 3.547 GB, free: 93.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.004274/14.48, allocations: 0.8276 MB / 3.548 GB, free: 93.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/14.48, allocations: 3.531 kB / 3.548 GB, free: 93.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/14.48, allocations: 10.66 kB / 3.548 GB, free: 93.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.525e-05/14.48, allocations: 11.78 kB / 3.548 GB, free: 93.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008301/14.48, allocations: 120.6 kB / 3.548 GB, free: 93.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.085e-05/14.48, allocations: 17.16 kB / 3.548 GB, free: 93.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008225/14.48, allocations: 60.02 kB / 3.548 GB, free: 93.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.988e-05/14.48, allocations: 34.42 kB / 3.549 GB, free: 93.69 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state_h_is.phase,state.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 (58): * Single equations (assignments): 58 * 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.0001627/14.48, allocations: 131.6 kB / 3.549 GB, free: 93.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001457/14.48, allocations: 274.9 kB / 3.549 GB, free: 93.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007009/14.48, allocations: 247.5 kB / 3.549 GB, free: 93.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/14.48, allocations: 3.797 kB / 3.549 GB, free: 93.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/14.48, allocations: 0 / 3.549 GB, free: 93.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/14.48, allocations: 3.906 kB / 3.549 GB, free: 93.47 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009473/14.48, allocations: 0.6003 MB / 3.55 GB, free: 93.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/14.48, allocations: 0 / 3.55 GB, free: 93.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/14.48, allocations: 13.5 kB / 3.55 GB, free: 93.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/14.48, allocations: 2.969 kB / 3.55 GB, free: 93.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/14.48, allocations: 2.938 kB / 3.55 GB, free: 93.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/14.48, allocations: 11.38 kB / 3.55 GB, free: 93.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/14.48, allocations: 0 / 3.55 GB, free: 93.07 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001677/14.48, allocations: 0.5314 MB / 3.55 GB, free: 92.77 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002215/14.48, allocations: 0.9631 MB / 3.551 GB, free: 92.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/14.49, allocations: 184.7 kB / 3.551 GB, free: 91.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/14.49, allocations: 3.906 kB / 3.551 GB, free: 91.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005491/14.49, allocations: 11.22 kB / 3.551 GB, free: 91.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/14.49, allocations: 17.09 kB / 3.551 GB, free: 91.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/14.49, allocations: 6.969 kB / 3.551 GB, free: 91.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004489/14.49, allocations: 258.4 kB / 3.552 GB, free: 91.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01096/14.5, allocations: 1.687 MB / 3.553 GB, free: 91.89 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.02419/14.52, allocations: 2.152 MB / 3.555 GB, free: 91.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001045/14.52, allocations: 171.1 kB / 3.556 GB, free: 91.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/14.52, allocations: 0 / 3.556 GB, free: 91.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.911e-05/14.52, allocations: 24.55 kB / 3.556 GB, free: 91.47 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006075/14.52, allocations: 25.28 kB / 3.556 GB, free: 91.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4383/14.96, allocations: 97.75 MB / 3.651 GB, free: 31.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006495/14.96, allocations: 0.8292 MB / 3.652 GB, free: 30.87 MB / 490.7 MB Notification: Performance of SimCode: time 1.753e-06/14.96, allocations: 0 / 3.652 GB, free: 30.87 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_ph_res.mat does not exist to compare? outputFormat=mat