Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Tubular,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_SolarCollectors_Examples_Tubular",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.3/4.3, allocations: 404 MB / 410.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2761/4.576, allocations: 94.99 MB / 0.4941 GB, free: 7.348 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6787/5.255, allocations: 92.68 MB / 0.5846 GB, free: 3.387 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.85/12.11, allocations: 2.442 GB / 3.027 GB, free: 180.7 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003408/12.11, allocations: 91.27 kB / 3.027 GB, free: 180.7 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 977 * Number of variables: 977 Notification: Performance of Generate backend data structure: time 4.703/16.81, allocations: 0.8789 GB / 3.906 GB, free: 129.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/16.81, allocations: 11.81 kB / 3.906 GB, free: 129.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01943/16.83, allocations: 1.5 MB / 3.907 GB, free: 129.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07436/16.9, allocations: 12.3 MB / 3.919 GB, free: 128.1 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000548/16.9, allocations: 121.4 kB / 3.919 GB, free: 128.1 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003054/16.91, allocations: 230.7 kB / 3.92 GB, free: 128.1 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02296/16.93, allocations: 4.536 MB / 3.924 GB, free: 128.1 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02563/16.96, allocations: 4.621 MB / 3.928 GB, free: 127.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00045/16.96, allocations: 14.5 kB / 3.928 GB, free: 127.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002728/16.96, allocations: 10.19 kB / 3.929 GB, free: 127.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003515/16.96, allocations: 123.3 kB / 3.929 GB, free: 127.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0599/17.02, allocations: 19.27 MB / 3.947 GB, free: 119.2 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006942/17.03, allocations: 2.026 MB / 3.949 GB, free: 118.7 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005489/17.03, allocations: 1.688 MB / 3.951 GB, free: 118.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003361/17.03, allocations: 1.551 MB / 3.953 GB, free: 116.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006537/17.04, allocations: 1.884 MB / 3.954 GB, free: 115.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=276): time 9.869e-06/17.04, allocations: 3.516 kB / 3.954 GB, free: 115.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=285): time 0.0731/17.11, allocations: 10.84 MB / 3.965 GB, free: 111.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/17.11, allocations: 300.3 kB / 3.965 GB, free: 111 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009685/17.12, allocations: 2.875 MB / 3.968 GB, free: 109.9 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.001167/17.13, allocations: 28.92 kB / 3.968 GB, free: 109.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.00257/17.13, allocations: 1.368 MB / 3.969 GB, free: 108.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.00272/17.13, allocations: 0.9255 MB / 3.97 GB, free: 108.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005945/17.13, allocations: 1.312 kB / 3.97 GB, free: 108.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003196/17.13, allocations: 436.9 kB / 3.971 GB, free: 107.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005155/17.14, allocations: 1.512 MB / 3.972 GB, free: 107.2 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006109/17.14, allocations: 2.178 MB / 3.974 GB, free: 105.9 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03046/17.17, allocations: 3.162 MB / 3.977 GB, free: 105.1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.08e-05/17.17, allocations: 6.062 kB / 3.977 GB, free: 105.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=406) (initialization): time 0.0471/17.22, allocations: 5.829 MB / 3.983 GB, free: 103.4 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001702/17.22, allocations: 7.413 MB / 3.99 GB, free: 95.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.522e-05/17.22, allocations: 22.3 kB / 3.99 GB, free: 95.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006073/17.23, allocations: 0.5382 MB / 3.991 GB, free: 95.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01252/17.24, allocations: 0.9355 MB / 3.992 GB, free: 95.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/17.26, allocations: 5.147 MB / 3.997 GB, free: 91.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0102/17.27, allocations: 260.8 kB / 3.997 GB, free: 91.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001343/17.27, allocations: 155.6 kB / 3.997 GB, free: 91.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/17.27, allocations: 6.844 kB / 3.997 GB, free: 91.57 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0482/17.32, allocations: 5.455 MB / 4.003 GB, free: 90.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-05/17.32, allocations: 17.25 kB / 4.003 GB, free: 90.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006194/17.32, allocations: 0.5664 MB / 4.003 GB, free: 90.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01114/17.33, allocations: 0.8399 MB / 4.004 GB, free: 90.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/17.35, allocations: 4.491 MB / 4.008 GB, free: 86.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009644/17.36, allocations: 257.2 kB / 4.009 GB, free: 86.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001451/17.36, allocations: 158.7 kB / 4.009 GB, free: 86.71 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (387): * Single equations (assignments): 382 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 17,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001469/17.36, allocations: 182 kB / 4.009 GB, free: 86.57 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001546/17.36, allocations: 347.7 kB / 4.009 GB, free: 86.23 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03563/17.4, allocations: 5.44 MB / 4.015 GB, free: 81.97 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.301e-05/17.4, allocations: 31.61 kB / 4.015 GB, free: 81.94 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.665e-05/17.4, allocations: 7.828 kB / 4.015 GB, free: 81.94 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02471/17.42, allocations: 4.362 MB / 4.019 GB, free: 78.26 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04178/17.46, allocations: 9.731 MB / 4.028 GB, free: 70.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.83e-05/17.46, allocations: 8 kB / 4.028 GB, free: 70.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01129/17.47, allocations: 0.7604 MB / 4.029 GB, free: 69.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002842/17.48, allocations: 481.8 kB / 4.03 GB, free: 69.53 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001005/17.48, allocations: 73.45 kB / 4.03 GB, free: 69.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01162/17.49, allocations: 8.32 MB / 4.038 GB, free: 61.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/17.49, allocations: 11.98 kB / 4.038 GB, free: 61.02 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03074/17.52, allocations: 7.454 MB / 4.045 GB, free: 54.21 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03814/17.56, allocations: 10.11 MB / 4.055 GB, free: 44.62 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00436/17.56, allocations: 0.9882 MB / 4.056 GB, free: 43.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001841/17.57, allocations: 19.98 kB / 4.056 GB, free: 43.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009228/17.57, allocations: 296.5 kB / 4.056 GB, free: 43.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001201/17.58, allocations: 177.5 kB / 4.056 GB, free: 43.15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007657/17.58, allocations: 131.9 kB / 4.057 GB, free: 43.02 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.006773/17.58, allocations: 2.207 MB / 4.059 GB, free: 40.82 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01693/17.6, allocations: 2.342 MB / 4.061 GB, free: 38.5 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (289): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005089/17.61, allocations: 1.75 MB / 4.063 GB, free: 37.11 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.02953/17.64, allocations: 6.772 MB / 4.069 GB, free: 30.27 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.498e-05/17.64, allocations: 3.812 kB / 4.069 GB, free: 30.27 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.009338/17.64, allocations: 2.108 MB / 4.071 GB, free: 28.15 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01778/17.66, allocations: 1.66 MB / 4.073 GB, free: 26.54 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03371/17.7, allocations: 8.341 MB / 4.081 GB, free: 18.12 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009683/17.71, allocations: 3.619 MB / 4.085 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of SimCode: time 1.914e-06/17.71, allocations: 0 / 4.085 GB, free: 14.47 MB / 0.7761 GB