Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",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(Modelica): time 1.78/1.78, allocations: 194.9 MB / 202.6 MB, free: 6.891 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2472/2.027, allocations: 46.84 MB / 249.4 MB, free: 5.324 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0928/2.12, allocations: 44.5 MB / 293.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.444/2.564, allocations: 185.1 MB / 479 MB, free: 5.797 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003484/2.565, allocations: 87.62 kB / 479.1 MB, free: 5.746 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 1.24/3.805, allocations: 280.4 MB / 0.7417 GB, free: 60.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/3.805, allocations: 8 kB / 0.7417 GB, free: 60.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004601/3.805, allocations: 47.61 kB / 0.7418 GB, free: 60.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/3.806, allocations: 302.3 kB / 0.7421 GB, free: 59.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.138e-05/3.806, allocations: 10.88 kB / 0.7421 GB, free: 59.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-05/3.806, allocations: 16 kB / 0.7421 GB, free: 59.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000518/3.807, allocations: 165.2 kB / 0.7422 GB, free: 59.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006412/3.807, allocations: 313.9 kB / 0.7425 GB, free: 59.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/3.807, allocations: 4 kB / 0.7425 GB, free: 59.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.103e-05/3.807, allocations: 0 / 0.7425 GB, free: 59.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/3.807, allocations: 8 kB / 0.7425 GB, free: 59.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/3.81, allocations: 2.07 MB / 0.7446 GB, free: 57.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/3.811, allocations: 141.5 kB / 0.7447 GB, free: 57.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/3.811, allocations: 77.25 kB / 0.7448 GB, free: 56.94 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/3.811, allocations: 269.3 kB / 0.745 GB, free: 56.62 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/3.811, allocations: 34.42 kB / 0.7451 GB, free: 56.58 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 2.856e-06/3.811, allocations: 3.938 kB / 0.7451 GB, free: 56.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.004985/3.816, allocations: 0.9629 MB / 0.746 GB, free: 55.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/3.816, allocations: 62.84 kB / 0.7461 GB, free: 55.47 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/3.816, allocations: 196 kB / 0.7463 GB, free: 55.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/3.816, allocations: 25.7 kB / 0.7463 GB, free: 55.24 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.985e-05/3.817, allocations: 171.9 kB / 0.7464 GB, free: 55.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.528e-05/3.817, allocations: 106.5 kB / 0.7465 GB, free: 54.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/3.817, allocations: 3.938 kB / 0.7465 GB, free: 54.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.632e-05/3.817, allocations: 334.7 kB / 0.7469 GB, free: 54.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/3.817, allocations: 84.09 kB / 0.7469 GB, free: 54.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/3.817, allocations: 155.2 kB / 0.7471 GB, free: 54.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/3.819, allocations: 154.7 kB / 0.7472 GB, free: 54.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/3.819, allocations: 4 kB / 0.7472 GB, free: 54.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001872/3.82, allocations: 393.5 kB / 0.7476 GB, free: 53.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/3.821, allocations: 4 kB / 0.7476 GB, free: 53.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/3.821, allocations: 4 kB / 0.7476 GB, free: 53.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005711/3.821, allocations: 84.8 kB / 0.7477 GB, free: 53.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/3.822, allocations: 79.89 kB / 0.7478 GB, free: 53.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/3.823, allocations: 0.6959 MB / 0.7485 GB, free: 52.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/3.823, allocations: 10.88 kB / 0.7485 GB, free: 52.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-05/3.823, allocations: 32 kB / 0.7485 GB, free: 52.89 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002381/3.824, allocations: 127.9 kB / 0.7486 GB, free: 52.76 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/3.824, allocations: 27.72 kB / 0.7487 GB, free: 52.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003357/3.827, allocations: 0.7113 MB / 0.7494 GB, free: 52.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-05/3.827, allocations: 23.89 kB / 0.7494 GB, free: 52.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/3.827, allocations: 0 / 0.7494 GB, free: 52.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001597/3.829, allocations: 0.7432 MB / 0.7501 GB, free: 51.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/3.832, allocations: 0.9171 MB / 0.751 GB, free: 50.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/3.832, allocations: 0 / 0.751 GB, free: 50.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/3.832, allocations: 47.91 kB / 0.751 GB, free: 50.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004465/3.833, allocations: 76.81 kB / 0.7511 GB, free: 50.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/3.833, allocations: 11.98 kB / 0.7511 GB, free: 50.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009267/3.834, allocations: 0.6737 MB / 0.7518 GB, free: 49.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/3.834, allocations: 4.062 kB / 0.7518 GB, free: 49.41 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002074/3.836, allocations: 0.7364 MB / 0.7525 GB, free: 48.65 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002788/3.838, allocations: 1.357 MB / 0.7538 GB, free: 47.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/3.839, allocations: 108.8 kB / 0.7539 GB, free: 47.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-05/3.839, allocations: 8 kB / 0.7539 GB, free: 47.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005327/3.839, allocations: 11.89 kB / 0.754 GB, free: 47.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/3.839, allocations: 24.27 kB / 0.754 GB, free: 47.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.684e-05/3.839, allocations: 35.98 kB / 0.754 GB, free: 47.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002007/3.84, allocations: 152.5 kB / 0.7542 GB, free: 46.92 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002446/3.842, allocations: 267.8 kB / 0.7544 GB, free: 46.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 21 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001132/3.843, allocations: 347.3 kB / 0.7547 GB, free: 46.33 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001069/3.844, allocations: 327.1 kB / 0.7551 GB, free: 46.01 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/3.844, allocations: 7.938 kB / 0.7551 GB, free: 46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007/3.845, allocations: 210.5 kB / 0.7553 GB, free: 45.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/3.847, allocations: 129.7 kB / 0.7554 GB, free: 45.67 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05126/3.898, allocations: 15.02 MB / 0.7701 GB, free: 30.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008738/3.899, allocations: 0.8873 MB / 0.7709 GB, free: 29.72 MB / 394.7 MB Notification: Performance of SimCode: time 1.643e-06/3.899, allocations: 0 / 0.7709 GB, free: 29.72 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat