Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",fmuType="me",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(Buildings): time 4.18/4.18, allocations: 404 MB / 410.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.308/4.488, allocations: 95 MB / 0.4941 GB, free: 7.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.514/5.002, allocations: 92.68 MB / 0.5846 GB, free: 3.379 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.1/6.103, allocations: 424.2 MB / 0.9988 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/6.103, allocations: 88.75 kB / 0.9989 GB, free: 8.332 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 308 * Number of variables: 308 Notification: Performance of Generate backend data structure: time 4.838/10.94, allocations: 0.9289 GB / 1.928 GB, free: 42.94 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/10.94, allocations: 16 kB / 1.928 GB, free: 42.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009609/10.95, allocations: 0.812 MB / 1.929 GB, free: 42.12 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03952/10.99, allocations: 8.673 MB / 1.937 GB, free: 33.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/10.99, allocations: 40 kB / 1.937 GB, free: 33.46 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005744/10.99, allocations: 80 kB / 1.937 GB, free: 33.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004267/11, allocations: 0.9538 MB / 1.938 GB, free: 32.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004316/11, allocations: 1.256 MB / 1.939 GB, free: 31.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.912e-05/11, allocations: 3.906 kB / 1.939 GB, free: 31.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002184/11, allocations: 7.938 kB / 1.939 GB, free: 31.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.209e-05/11, allocations: 35.94 kB / 1.939 GB, free: 30.99 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02053/11.02, allocations: 8.323 MB / 1.948 GB, free: 22.12 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/11.02, allocations: 0.4946 MB / 1.948 GB, free: 21.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/11.02, allocations: 379.9 kB / 1.948 GB, free: 21.23 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007922/11.03, allocations: 2.471 MB / 1.951 GB, free: 18.53 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001288/11.03, allocations: 470.7 kB / 1.951 GB, free: 18.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=67): time 4.398e-06/11.03, allocations: 0 / 1.951 GB, free: 18.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=68): time 0.0141/11.05, allocations: 2.429 MB / 1.954 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/11.05, allocations: 166.9 kB / 1.954 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/11.05, allocations: 1.167 MB / 1.955 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003339/11.05, allocations: 29.7 kB / 1.955 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007344/11.05, allocations: 0.6102 MB / 1.956 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000509/11.05, allocations: 232.6 kB / 1.956 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/11.05, allocations: 0 / 1.956 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001172/11.05, allocations: 346 kB / 1.956 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/11.05, allocations: 350.5 kB / 1.956 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/11.05, allocations: 0.789 MB / 1.957 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003061/11.06, allocations: 0.5194 MB / 1.958 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-05/11.06, allocations: 4 kB / 1.958 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.006191/11.06, allocations: 1.27 MB / 1.959 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001158/11.07, allocations: 4.862 MB / 1.964 GB, free: 4.543 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.377e-05/11.07, allocations: 12 kB / 1.964 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.625e-05/11.07, allocations: 24 kB / 1.964 GB, free: 4.508 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003673/11.07, allocations: 307.5 kB / 1.964 GB, free: 4.207 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.67e-05/11.07, allocations: 27.86 kB / 1.964 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004363/11.07, allocations: 135.8 kB / 1.964 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003593/11.07, allocations: 59.97 kB / 1.964 GB, free: 3.988 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/11.07, allocations: 4 kB / 1.964 GB, free: 3.984 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004429/11.08, allocations: 1.028 MB / 1.965 GB, free: 2.953 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.754e-05/11.08, allocations: 15.98 kB / 1.965 GB, free: 2.938 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.208e-05/11.08, allocations: 20.09 kB / 1.965 GB, free: 2.918 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00303/11.08, allocations: 303.5 kB / 1.966 GB, free: 2.621 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.621e-05/11.08, allocations: 27.92 kB / 1.966 GB, free: 2.594 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003363/11.09, allocations: 139.7 kB / 1.966 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002234/11.09, allocations: 63.97 kB / 1.966 GB, free: 2.395 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0004283/11.09, allocations: 140.5 kB / 1.966 GB, free: 2.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003669/11.09, allocations: 165.9 kB / 1.966 GB, free: 2.086 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005493/11.09, allocations: 1.239 MB / 1.967 GB, free: 0.8438 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/11.09, allocations: 8 kB / 1.967 GB, free: 0.8359 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/11.09, allocations: 0 / 1.967 GB, free: 0.8359 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003792/11.1, allocations: 1.039 MB / 1.968 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/11.11, allocations: 2.638 MB / 1.971 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/11.11, allocations: 4 kB / 1.971 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002823/11.11, allocations: 187.9 kB / 1.971 GB, free: 12.83 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002839/11.11, allocations: 48.83 kB / 1.971 GB, free: 12.78 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/11.11, allocations: 19.98 kB / 1.971 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008037/11.11, allocations: 0.5819 MB / 1.972 GB, free: 12.16 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/11.11, allocations: 7.938 kB / 1.972 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006254/11.12, allocations: 1.826 MB / 1.974 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0086/11.13, allocations: 2.859 MB / 1.976 GB, free: 7.324 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/11.13, allocations: 342.7 kB / 1.977 GB, free: 6.969 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005006/11.13, allocations: 4 kB / 1.977 GB, free: 6.965 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003175/11.13, allocations: 143.7 kB / 1.977 GB, free: 6.824 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/11.13, allocations: 56.56 kB / 1.977 GB, free: 6.77 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001822/11.13, allocations: 35.97 kB / 1.977 GB, free: 6.734 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.002548/11.14, allocations: 0.8721 MB / 1.978 GB, free: 5.871 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01168/11.15, allocations: 1.234 MB / 1.979 GB, free: 4.637 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003984/11.15, allocations: 1.169 MB / 1.98 GB, free: 3.516 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.005591/11.16, allocations: 1.673 MB / 1.982 GB, free: 1.82 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/11.16, allocations: 3.938 kB / 1.982 GB, free: 1.816 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001828/11.16, allocations: 479 kB / 1.982 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007777/11.17, allocations: 0.6835 MB / 1.983 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4172/11.59, allocations: 3 MB / 1.986 GB, free: 167.5 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00282/11.59, allocations: 1.607 MB / 1.987 GB, free: 166.8 MB / 0.7917 GB Notification: Performance of SimCode: time 1.804e-06/11.59, allocations: 3.562 kB / 1.987 GB, free: 166.8 MB / 0.7917 GB