Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",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.589/2.589, allocations: 235.1 MB / 242 MB, free: 9.742 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1721/2.762, allocations: 57.2 MB / 299.2 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/3.05, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.2/4.25, allocations: 401 MB / 0.7374 GB, free: 78.57 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/4.25, allocations: 82.39 kB / 0.7374 GB, free: 78.53 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 1.168/5.419, allocations: 191.6 MB / 0.9245 GB, free: 95.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/5.419, allocations: 8 kB / 0.9245 GB, free: 95.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/5.42, allocations: 118.8 kB / 0.9246 GB, free: 95.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003569/5.423, allocations: 0.8033 MB / 0.9254 GB, free: 94.51 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/5.424, allocations: 96.7 kB / 0.9255 GB, free: 94.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/5.424, allocations: 36 kB / 0.9255 GB, free: 94.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00383/5.428, allocations: 1.097 MB / 0.9266 GB, free: 93.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003711/5.431, allocations: 1.134 MB / 0.9277 GB, free: 92.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.173e-05/5.432, allocations: 0 / 0.9277 GB, free: 92.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002238/5.432, allocations: 0 / 0.9277 GB, free: 92.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000143/5.432, allocations: 81.94 kB / 0.9278 GB, free: 92.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01703/5.449, allocations: 4.659 MB / 0.9323 GB, free: 87.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002293/5.451, allocations: 474.5 kB / 0.9328 GB, free: 86.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001776/5.453, allocations: 406.2 kB / 0.9332 GB, free: 86.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009605/5.463, allocations: 2.537 MB / 0.9357 GB, free: 83.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/5.463, allocations: 43 kB / 0.9357 GB, free: 83.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=50): time 6.893e-06/5.463, allocations: 0 / 0.9357 GB, free: 83.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.0217/5.485, allocations: 3.036 MB / 0.9387 GB, free: 80.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/5.485, allocations: 162.7 kB / 0.9388 GB, free: 80.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/5.486, allocations: 0.6285 MB / 0.9394 GB, free: 79.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002094/5.487, allocations: 25.7 kB / 0.9395 GB, free: 79.51 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000289/5.487, allocations: 402 kB / 0.9398 GB, free: 79.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/5.487, allocations: 185.3 kB / 0.94 GB, free: 78.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/5.487, allocations: 0 / 0.94 GB, free: 78.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/5.487, allocations: 394.7 kB / 0.9404 GB, free: 78.53 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/5.489, allocations: 417.8 kB / 0.9408 GB, free: 78.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/5.49, allocations: 0.7198 MB / 0.9415 GB, free: 77.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01881/5.509, allocations: 1.681 MB / 0.9431 GB, free: 75.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.357e-05/5.509, allocations: 0 / 0.9431 GB, free: 75.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.02674/5.536, allocations: 2.625 MB / 0.9457 GB, free: 72.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001069/5.537, allocations: 3.66 MB / 0.9493 GB, free: 68.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.096e-05/5.537, allocations: 12 kB / 0.9493 GB, free: 68.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002897/5.54, allocations: 434 kB / 0.9497 GB, free: 68.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002472/5.542, allocations: 195.7 kB / 0.9499 GB, free: 68.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008373/5.551, allocations: 3.148 MB / 0.953 GB, free: 65.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/5.554, allocations: 40.03 kB / 0.953 GB, free: 64.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003496/5.554, allocations: 51.98 kB / 0.9531 GB, free: 64.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/5.554, allocations: 6.031 kB / 0.9531 GB, free: 64.93 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01895/5.573, allocations: 2.18 MB / 0.9552 GB, free: 62.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.474e-05/5.573, allocations: 8 kB / 0.9552 GB, free: 62.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001586/5.575, allocations: 306.6 kB / 0.9555 GB, free: 62.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/5.577, allocations: 195.6 kB / 0.9557 GB, free: 62.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/5.58, allocations: 2.672 MB / 0.9583 GB, free: 59.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/5.581, allocations: 40.03 kB / 0.9583 GB, free: 59.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002664/5.582, allocations: 47.98 kB / 0.9584 GB, free: 59.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004387/5.582, allocations: 136.6 kB / 0.9585 GB, free: 59.15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003186/5.582, allocations: 82.97 kB / 0.9586 GB, free: 59.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007624/5.59, allocations: 1.573 MB / 0.9601 GB, free: 57.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/5.59, allocations: 7.906 kB / 0.9601 GB, free: 57.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/5.59, allocations: 4 kB / 0.9601 GB, free: 57.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/5.59, allocations: 3.984 kB / 0.9601 GB, free: 57.44 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/5.601, allocations: 2.39 MB / 0.9625 GB, free: 54.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/5.601, allocations: 4.125 kB / 0.9625 GB, free: 54.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/5.602, allocations: 95.81 kB / 0.9626 GB, free: 54.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002284/5.604, allocations: 414.3 kB / 0.963 GB, free: 54.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002038/5.604, allocations: 11.89 kB / 0.963 GB, free: 54.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007123/5.612, allocations: 3.113 MB / 0.966 GB, free: 51.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/5.612, allocations: 0 / 0.966 GB, free: 51.18 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0121/5.624, allocations: 1.943 MB / 0.9679 GB, free: 49.17 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009489/5.633, allocations: 2.885 MB / 0.9707 GB, free: 46.22 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/5.634, allocations: 263.9 kB / 0.971 GB, free: 45.94 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003856/5.635, allocations: 8.062 kB / 0.971 GB, free: 45.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/5.636, allocations: 35.81 kB / 0.971 GB, free: 45.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002578/5.637, allocations: 44.58 kB / 0.9711 GB, free: 45.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/5.637, allocations: 31.98 kB / 0.9711 GB, free: 45.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001069/5.638, allocations: 471.1 kB / 0.9715 GB, free: 45.37 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007381/5.645, allocations: 0.9369 MB / 0.9725 GB, free: 44.43 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003826/5.649, allocations: 0.825 MB / 0.9733 GB, free: 43.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006632/5.656, allocations: 1.773 MB / 0.975 GB, free: 41.87 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/5.656, allocations: 0 / 0.975 GB, free: 41.87 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002355/5.658, allocations: 0.5391 MB / 0.9755 GB, free: 41.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003604/5.662, allocations: 312.9 kB / 0.9758 GB, free: 41.01 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007769/5.67, allocations: 1.583 MB / 0.9774 GB, free: 39.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00149/5.671, allocations: 1.186 MB / 0.9785 GB, free: 38.18 MB / 490.7 MB Notification: Performance of SimCode: time 1.613e-06/5.671, allocations: 3.938 kB / 0.9785 GB, free: 38.18 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat does not exist to compare? outputFormat=mat