Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17",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.083/2.083, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2395/2.323, allocations: 51.03 MB / 267.3 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/2.455, allocations: 48.69 MB / 316 MB, free: 4.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.752/4.207, allocations: 0.6806 GB / 0.9892 GB, free: 97.92 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/4.208, allocations: 85.84 kB / 0.9892 GB, free: 97.92 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 2.983/7.191, allocations: 0.6135 GB / 1.603 GB, free: 1.539 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/7.191, allocations: 11.98 kB / 1.603 GB, free: 1.527 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005413/7.196, allocations: 460.6 kB / 1.603 GB, free: 1.074 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01343/7.21, allocations: 2.009 MB / 1.605 GB, free: 15.05 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003814/7.21, allocations: 60 kB / 1.605 GB, free: 14.99 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001526/7.212, allocations: 100 kB / 1.605 GB, free: 14.89 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01198/7.224, allocations: 2.26 MB / 1.608 GB, free: 12.63 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01294/7.237, allocations: 2.507 MB / 1.61 GB, free: 9.965 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001077/7.237, allocations: 3.938 kB / 1.61 GB, free: 9.961 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000606/7.237, allocations: 8 kB / 1.61 GB, free: 9.953 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004101/7.238, allocations: 159.1 kB / 1.61 GB, free: 9.797 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2668/7.505, allocations: 11.91 MB / 1.622 GB, free: 62.42 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005215/7.51, allocations: 1.101 MB / 1.623 GB, free: 62.39 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004259/7.514, allocations: 1.037 MB / 1.624 GB, free: 62.38 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002265/7.517, allocations: 464 kB / 1.624 GB, free: 62.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005093/7.522, allocations: 1.13 MB / 1.625 GB, free: 61.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=163): time 1.236e-05/7.522, allocations: 7.812 kB / 1.625 GB, free: 61.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=188): time 0.1118/7.634, allocations: 10.28 MB / 1.635 GB, free: 61.29 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/7.634, allocations: 260.5 kB / 1.636 GB, free: 61.01 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/7.636, allocations: 1.101 MB / 1.637 GB, free: 60.85 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007044/7.637, allocations: 30.72 kB / 1.637 GB, free: 60.82 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000676/7.638, allocations: 0.6908 MB / 1.637 GB, free: 60.51 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00104/7.639, allocations: 0.6118 MB / 1.638 GB, free: 60.19 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/7.639, allocations: 0 / 1.638 GB, free: 60.19 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/7.639, allocations: 399.4 kB / 1.638 GB, free: 59.88 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002885/7.642, allocations: 1.035 MB / 1.639 GB, free: 59.87 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003468/7.646, allocations: 1.508 MB / 1.641 GB, free: 59.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01855/7.664, allocations: 2.465 MB / 1.643 GB, free: 59.38 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3e-05/7.664, allocations: 3.594 kB / 1.643 GB, free: 59.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.02532/7.69, allocations: 4.251 MB / 1.648 GB, free: 59.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001142/7.691, allocations: 4.723 MB / 1.652 GB, free: 54.35 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.368e-05/7.691, allocations: 11.34 kB / 1.652 GB, free: 54.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/7.692, allocations: 276.4 kB / 1.652 GB, free: 54.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005315/7.698, allocations: 0.5649 MB / 1.653 GB, free: 54.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002727/7.7, allocations: 3.064 MB / 1.656 GB, free: 51.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004823/7.705, allocations: 174.5 kB / 1.656 GB, free: 51.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/7.706, allocations: 200.5 kB / 1.656 GB, free: 51.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/7.706, allocations: 3.406 kB / 1.656 GB, free: 51.71 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02255/7.729, allocations: 3.719 MB / 1.66 GB, free: 51.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-05/7.729, allocations: 11.5 kB / 1.66 GB, free: 51.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/7.73, allocations: 274.3 kB / 1.66 GB, free: 51.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004983/7.735, allocations: 0.5552 MB / 1.661 GB, free: 51.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/7.738, allocations: 3.057 MB / 1.664 GB, free: 48.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004585/7.742, allocations: 169 kB / 1.664 GB, free: 48.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008802/7.743, allocations: 199.9 kB / 1.664 GB, free: 48.99 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (262): * Single equations (assignments): 255 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0009961/7.744, allocations: 230.7 kB / 1.664 GB, free: 48.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007222/7.745, allocations: 197.5 kB / 1.664 GB, free: 48.72 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03222/7.777, allocations: 4.774 MB / 1.669 GB, free: 48.56 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.729e-05/7.777, allocations: 23.34 kB / 1.669 GB, free: 48.56 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/7.777, allocations: 0 / 1.669 GB, free: 48.56 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02926/7.807, allocations: 3.803 MB / 1.673 GB, free: 48.03 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03745/7.844, allocations: 7.311 MB / 1.68 GB, free: 47.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.938e-05/7.844, allocations: 5.562 kB / 1.68 GB, free: 47.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004096/7.848, allocations: 444.5 kB / 1.68 GB, free: 47.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00144/7.85, allocations: 295.1 kB / 1.681 GB, free: 47.02 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006737/7.851, allocations: 76.66 kB / 1.681 GB, free: 47.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003503/7.854, allocations: 3.74 MB / 1.684 GB, free: 43.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/7.854, allocations: 11.69 kB / 1.684 GB, free: 43.75 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03296/7.887, allocations: 5.702 MB / 1.69 GB, free: 42.68 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03949/7.927, allocations: 7.684 MB / 1.698 GB, free: 41.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002307/7.929, allocations: 0.5205 MB / 1.698 GB, free: 41.04 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/7.93, allocations: 27.41 kB / 1.698 GB, free: 41.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003393/7.934, allocations: 90.44 kB / 1.698 GB, free: 41.03 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007087/7.934, allocations: 165.5 kB / 1.698 GB, free: 41.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004808/7.935, allocations: 174 kB / 1.698 GB, free: 41.02 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.001793/7.937, allocations: 0.8077 MB / 1.699 GB, free: 40.91 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01361/7.95, allocations: 2.377 MB / 1.702 GB, free: 40.91 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 9 (pipe1.mediums[1].p,pipe1.mediums[1].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe3.mediums[1].p,pipe3.mediums[1].T,junctionIdeal.medium.p,junctionIdeal.medium.T,junctionVolume.medium.T) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent) * Number of discrete states: 10 (valveOpening2.last,valveOpening2.nextEvent,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * 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: 4 {1 6,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01022/7.961, allocations: 2.853 MB / 1.704 GB, free: 40.59 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01244/7.973, allocations: 4.177 MB / 1.708 GB, free: 40.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/7.973, allocations: 3.125 kB / 1.708 GB, free: 40.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004238/7.977, allocations: 1.459 MB / 1.71 GB, free: 40.24 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008639/7.986, allocations: 0.8906 MB / 1.711 GB, free: 40.23 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02295/8.009, allocations: 5.851 MB / 1.716 GB, free: 39.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007826/8.017, allocations: 2.241 MB / 1.719 GB, free: 38.56 MB / 458.7 MB Notification: Performance of SimCode: time 3.807e-06/8.017, allocations: 2.844 kB / 1.719 GB, free: 38.56 MB / 458.7 MB