Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) [: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.386/2.386, allocations: 235 MB / 241.9 MB, free: 9.684 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.168/2.554, allocations: 57.2 MB / 299.1 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/2.822, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/3.847, allocations: 401 MB / 0.7373 GB, free: 46.81 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/3.848, allocations: 80.02 kB / 0.7373 GB, free: 46.77 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 1.008/4.855, allocations: 191.6 MB / 0.9244 GB, free: 40.32 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.524e-05/4.855, allocations: 8 kB / 0.9244 GB, free: 40.32 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/4.857, allocations: 126.7 kB / 0.9246 GB, free: 40.19 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005013/4.862, allocations: 0.7916 MB / 0.9253 GB, free: 39.37 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002894/4.863, allocations: 96.7 kB / 0.9254 GB, free: 39.27 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005921/4.863, allocations: 40 kB / 0.9255 GB, free: 39.23 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004921/4.868, allocations: 1.097 MB / 0.9265 GB, free: 38.13 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005292/4.874, allocations: 1.122 MB / 0.9276 GB, free: 36.96 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.096e-05/4.874, allocations: 7.938 kB / 0.9276 GB, free: 36.96 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001985/4.874, allocations: 0 / 0.9276 GB, free: 36.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001287/4.874, allocations: 85.88 kB / 0.9277 GB, free: 36.87 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02158/4.896, allocations: 4.645 MB / 0.9323 GB, free: 32.03 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002082/4.898, allocations: 470.5 kB / 0.9327 GB, free: 31.56 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/4.899, allocations: 406.2 kB / 0.9331 GB, free: 31.16 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00817/4.908, allocations: 2.541 MB / 0.9356 GB, free: 28.39 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/4.908, allocations: 42.98 kB / 0.9356 GB, free: 28.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=50): time 3.818e-06/4.908, allocations: 4 kB / 0.9356 GB, free: 28.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=55): time 0.01674/4.925, allocations: 3.037 MB / 0.9386 GB, free: 25.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/4.925, allocations: 162.7 kB / 0.9387 GB, free: 25.03 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/4.926, allocations: 0.6209 MB / 0.9393 GB, free: 24.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002383/4.926, allocations: 29.7 kB / 0.9394 GB, free: 24.37 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/4.926, allocations: 402 kB / 0.9398 GB, free: 23.97 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002456/4.927, allocations: 185.3 kB / 0.9399 GB, free: 23.79 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.56e-05/4.927, allocations: 3.938 kB / 0.9399 GB, free: 23.78 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/4.927, allocations: 390.8 kB / 0.9403 GB, free: 23.39 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/4.928, allocations: 417.8 kB / 0.9407 GB, free: 22.98 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/4.93, allocations: 0.7198 MB / 0.9414 GB, free: 22.12 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01388/4.943, allocations: 1.685 MB / 0.9431 GB, free: 20.43 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.861e-05/4.944, allocations: 4 kB / 0.9431 GB, free: 20.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01701/4.961, allocations: 2.622 MB / 0.9456 GB, free: 17.77 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007763/4.961, allocations: 3.653 MB / 0.9492 GB, free: 13.83 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/4.961, allocations: 12 kB / 0.9492 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001889/4.963, allocations: 430.3 kB / 0.9496 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/4.965, allocations: 199.6 kB / 0.9498 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005814/4.971, allocations: 3.156 MB / 0.9529 GB, free: 9.875 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/4.973, allocations: 31.97 kB / 0.9529 GB, free: 9.844 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002612/4.973, allocations: 59.92 kB / 0.953 GB, free: 9.785 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/4.973, allocations: 4 kB / 0.953 GB, free: 9.781 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01626/4.989, allocations: 2.176 MB / 0.9551 GB, free: 7.578 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.847e-05/4.99, allocations: 15.98 kB / 0.9551 GB, free: 7.562 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002406/4.992, allocations: 290.6 kB / 0.9554 GB, free: 7.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/4.995, allocations: 203.6 kB / 0.9556 GB, free: 7.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004398/4.999, allocations: 2.669 MB / 0.9582 GB, free: 4.238 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/5.002, allocations: 43.91 kB / 0.9582 GB, free: 4.195 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000415/5.002, allocations: 47.98 kB / 0.9583 GB, free: 4.148 MB / 474.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.0005761/5.003, allocations: 132.7 kB / 0.9584 GB, free: 4.012 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004479/5.003, allocations: 82.97 kB / 0.9585 GB, free: 3.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/5.014, allocations: 1.58 MB / 0.96 GB, free: 2.309 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.79e-05/5.014, allocations: 4 kB / 0.96 GB, free: 2.305 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/5.014, allocations: 0 / 0.96 GB, free: 2.305 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.318e-05/5.014, allocations: 3.984 kB / 0.96 GB, free: 2.301 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2172/5.231, allocations: 2.392 MB / 0.9624 GB, free: 129.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/5.231, allocations: 0 / 0.9624 GB, free: 129.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/5.233, allocations: 88.77 kB / 0.9625 GB, free: 129.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002909/5.236, allocations: 424.5 kB / 0.9629 GB, free: 129.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003482/5.236, allocations: 14.52 kB / 0.9629 GB, free: 129.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006748/5.243, allocations: 3.11 MB / 0.9659 GB, free: 127 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/5.243, allocations: 0 / 0.9659 GB, free: 127 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01085/5.254, allocations: 1.943 MB / 0.9678 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01174/5.266, allocations: 2.888 MB / 0.9706 GB, free: 126.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/5.267, allocations: 271.3 kB / 0.9709 GB, free: 126 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004275/5.267, allocations: 0 / 0.9709 GB, free: 126 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001992/5.269, allocations: 30.42 kB / 0.9709 GB, free: 126 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003803/5.27, allocations: 54.38 kB / 0.971 GB, free: 126 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001881/5.27, allocations: 29.05 kB / 0.971 GB, free: 126 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001475/5.271, allocations: 467.1 kB / 0.9714 GB, free: 125.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01/5.282, allocations: 0.9387 MB / 0.9724 GB, free: 125.9 MB / 474.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.004775/5.286, allocations: 0.8266 MB / 0.9732 GB, free: 125.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008167/5.295, allocations: 1.77 MB / 0.9749 GB, free: 125.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/5.295, allocations: 0 / 0.9749 GB, free: 125.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003072/5.298, allocations: 0.5494 MB / 0.9754 GB, free: 125.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004733/5.303, allocations: 292.2 kB / 0.9757 GB, free: 125.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/5.313, allocations: 1.585 MB / 0.9773 GB, free: 125.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002093/5.315, allocations: 1.195 MB / 0.9784 GB, free: 124.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.903e-06/5.315, allocations: 0 / 0.9784 GB, free: 124.4 MB / 474.7 MB