Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_Performance_Example3",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.213/4.213, allocations: 404 MB / 410.9 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2346/4.448, allocations: 94.99 MB / 0.4941 GB, free: 7.371 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5169/4.965, allocations: 92.68 MB / 0.5846 GB, free: 3.406 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/5.97, allocations: 383.5 MB / 0.9591 GB, free: 48.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/5.971, allocations: 85.64 kB / 0.9592 GB, free: 48.45 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 3.603/9.573, allocations: 0.6871 GB / 1.646 GB, free: 18.87 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/9.573, allocations: 12 kB / 1.646 GB, free: 18.86 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003906/9.577, allocations: 345.2 kB / 1.647 GB, free: 18.52 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01174/9.589, allocations: 2.532 MB / 1.649 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.529e-05/9.589, allocations: 31.98 kB / 1.649 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003603/9.59, allocations: 68 kB / 1.649 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003127/9.593, allocations: 0.8747 MB / 1.65 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003267/9.596, allocations: 1.155 MB / 1.651 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.473e-05/9.596, allocations: 7.938 kB / 1.651 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/9.596, allocations: 4 kB / 1.651 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/9.596, allocations: 24 kB / 1.651 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0138/9.61, allocations: 7.028 MB / 1.658 GB, free: 6.191 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/9.612, allocations: 451.8 kB / 1.658 GB, free: 5.738 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009317/9.612, allocations: 375 kB / 1.659 GB, free: 5.367 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004353/9.617, allocations: 1.554 MB / 1.66 GB, free: 3.707 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008768/9.618, allocations: 360.7 kB / 1.661 GB, free: 3.328 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=48): time 3.627e-06/9.618, allocations: 0 / 1.661 GB, free: 3.328 MB / 0.7605 GB Notification: Performance of matching and sorting (n=49): time 0.02299/9.641, allocations: 2.559 MB / 1.663 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/9.641, allocations: 137 kB / 1.663 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003577/9.645, allocations: 1.366 MB / 1.665 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002488/9.645, allocations: 29.7 kB / 1.665 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008329/9.646, allocations: 0.564 MB / 1.665 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003919/9.646, allocations: 169.6 kB / 1.665 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.32e-05/9.646, allocations: 3.938 kB / 1.665 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001988/9.646, allocations: 337.9 kB / 1.666 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/9.647, allocations: 309.9 kB / 1.666 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001918/9.649, allocations: 0.7729 MB / 1.667 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003986/9.653, allocations: 476.9 kB / 1.667 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.44e-05/9.654, allocations: 7.938 kB / 1.667 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01629/9.67, allocations: 1.444 MB / 1.669 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.002493/9.672, allocations: 4.622 MB / 1.673 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.812e-05/9.672, allocations: 12 kB / 1.673 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/9.674, allocations: 224.7 kB / 1.673 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/9.675, allocations: 179.7 kB / 1.674 GB, free: 5.395 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003223/9.679, allocations: 1.001 MB / 1.675 GB, free: 4.371 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003353/9.682, allocations: 95.81 kB / 1.675 GB, free: 4.277 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003638/9.683, allocations: 55.97 kB / 1.675 GB, free: 4.223 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/9.683, allocations: 6.969 kB / 1.675 GB, free: 4.219 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004437/9.687, allocations: 0.9708 MB / 1.676 GB, free: 3.223 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.173e-05/9.687, allocations: 15.94 kB / 1.676 GB, free: 3.207 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000497/9.688, allocations: 113.4 kB / 1.676 GB, free: 3.094 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/9.689, allocations: 183.7 kB / 1.676 GB, free: 2.914 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004207/9.694, allocations: 1.985 MB / 1.678 GB, free: 0.8164 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002523/9.696, allocations: 79.84 kB / 1.678 GB, free: 0.7383 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002211/9.696, allocations: 51.98 kB / 1.678 GB, free: 0.6875 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004514/9.697, allocations: 140.6 kB / 1.678 GB, free: 0.543 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005116/9.697, allocations: 165.9 kB / 1.678 GB, free: 388 kB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3404/10.04, allocations: 1.273 MB / 1.68 GB, free: 255.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.954e-05/10.04, allocations: 7.625 kB / 1.68 GB, free: 255.4 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/10.04, allocations: 3.906 kB / 1.68 GB, free: 255.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009298/10.05, allocations: 1.189 MB / 1.681 GB, free: 255.1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/10.06, allocations: 2.437 MB / 1.683 GB, free: 254.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/10.06, allocations: 0 / 1.683 GB, free: 254.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/10.06, allocations: 90.59 kB / 1.683 GB, free: 254.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/10.06, allocations: 249.8 kB / 1.683 GB, free: 254.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001552/10.06, allocations: 15.97 kB / 1.683 GB, free: 254.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01784/10.08, allocations: 3.678 MB / 1.687 GB, free: 252.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-05/10.08, allocations: 13.84 kB / 1.687 GB, free: 252.9 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01101/10.09, allocations: 1.689 MB / 1.689 GB, free: 252.7 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01234/10.11, allocations: 2.539 MB / 1.691 GB, free: 252 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/10.11, allocations: 312.3 kB / 1.691 GB, free: 251.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000449/10.11, allocations: 5.859 kB / 1.691 GB, free: 251.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002413/10.11, allocations: 88.31 kB / 1.692 GB, free: 251.9 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/10.11, allocations: 41.38 kB / 1.692 GB, free: 251.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/10.11, allocations: 33.95 kB / 1.692 GB, free: 251.9 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.002452/10.11, allocations: 1.041 MB / 1.693 GB, free: 251.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.007879/10.12, allocations: 0.9756 MB / 1.694 GB, free: 251.8 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (pump.vol.dynBal.U) * 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 12,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0023/10.12, allocations: 0.7767 MB / 1.694 GB, free: 251.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004897/10.13, allocations: 1.437 MB / 1.696 GB, free: 251.5 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/10.13, allocations: 0 / 1.696 GB, free: 251.5 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002156/10.13, allocations: 0.5083 MB / 1.696 GB, free: 251.4 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006006/10.14, allocations: 0.5914 MB / 1.697 GB, free: 251.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008436/10.14, allocations: 2.328 MB / 1.699 GB, free: 250.9 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002178/10.15, allocations: 1.662 MB / 1.701 GB, free: 250.1 MB / 0.7761 GB Notification: Performance of SimCode: time 1.633e-06/10.15, allocations: 0 / 1.701 GB, free: 250.1 MB / 0.7761 GB