Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_Performance_Example1v1",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.111/4.111, allocations: 404 MB / 410.9 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2318/4.343, allocations: 95 MB / 0.4941 GB, free: 7.355 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5277/4.871, allocations: 92.67 MB / 0.5846 GB, free: 3.414 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/5.882, allocations: 398.8 MB / 0.974 GB, free: 32.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/5.882, allocations: 87.02 kB / 0.9741 GB, free: 32.67 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 7.008/12.89, allocations: 1.308 GB / 2.282 GB, free: 16.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/12.89, allocations: 12 kB / 2.282 GB, free: 16.29 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007165/12.9, allocations: 0.6008 MB / 2.283 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02541/12.92, allocations: 4.233 MB / 2.287 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/12.92, allocations: 52 kB / 2.287 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007588/12.92, allocations: 112 kB / 2.287 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006273/12.93, allocations: 1.654 MB / 2.289 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005967/12.94, allocations: 1.903 MB / 2.291 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.789e-05/12.94, allocations: 7.938 kB / 2.291 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003136/12.94, allocations: 11.91 kB / 2.291 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.904e-05/12.94, allocations: 44 kB / 2.291 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3775/13.31, allocations: 11.98 MB / 2.302 GB, free: 205.6 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004171/13.32, allocations: 1.241 MB / 2.304 GB, free: 205.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002613/13.32, allocations: 0.9389 MB / 2.305 GB, free: 205.5 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01079/13.33, allocations: 3.202 MB / 2.308 GB, free: 204 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0021/13.33, allocations: 0.7329 MB / 2.308 GB, free: 203.9 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=98): time 6.151e-06/13.33, allocations: 0 / 2.308 GB, free: 203.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=99): time 0.06605/13.4, allocations: 6.334 MB / 2.315 GB, free: 203 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/13.4, allocations: 192 kB / 2.315 GB, free: 202.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005593/13.41, allocations: 2.176 MB / 2.317 GB, free: 202.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0005256/13.41, allocations: 35.86 kB / 2.317 GB, free: 202.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/13.41, allocations: 0.8694 MB / 2.318 GB, free: 202.1 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007474/13.41, allocations: 333.4 kB / 2.318 GB, free: 202 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/13.41, allocations: 0 / 2.318 GB, free: 202 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001353/13.41, allocations: 363.5 kB / 2.318 GB, free: 201.7 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002287/13.41, allocations: 0.7004 MB / 2.319 GB, free: 201.7 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002873/13.41, allocations: 1.469 MB / 2.321 GB, free: 200.7 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004482/13.42, allocations: 0.9824 MB / 2.322 GB, free: 200.7 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.895e-05/13.42, allocations: 3.438 kB / 2.322 GB, free: 200.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.0464/13.47, allocations: 3.872 MB / 2.325 GB, free: 200.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001413/13.47, allocations: 6.376 MB / 2.332 GB, free: 193.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.147e-05/13.47, allocations: 21.75 kB / 2.332 GB, free: 193.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004507/13.47, allocations: 0.8329 MB / 2.332 GB, free: 193.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002988/13.47, allocations: 291.8 kB / 2.333 GB, free: 193.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/13.49, allocations: 4.319 MB / 2.337 GB, free: 191.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007151/13.5, allocations: 202.2 kB / 2.337 GB, free: 191.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007167/13.5, allocations: 98.09 kB / 2.337 GB, free: 191.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/13.5, allocations: 3.438 kB / 2.337 GB, free: 191.3 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009774/13.51, allocations: 2.16 MB / 2.339 GB, free: 191.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.112e-05/13.51, allocations: 13.16 kB / 2.339 GB, free: 191.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002929/13.51, allocations: 470.5 kB / 2.34 GB, free: 191.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002858/13.51, allocations: 293 kB / 2.34 GB, free: 191.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01531/13.53, allocations: 6.776 MB / 2.347 GB, free: 187.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004841/13.53, allocations: 151.8 kB / 2.347 GB, free: 187.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004856/13.53, allocations: 77.08 kB / 2.347 GB, free: 187.2 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 133 * 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: 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 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0008748/13.53, allocations: 158.4 kB / 2.347 GB, free: 187.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009528/13.53, allocations: 276.9 kB / 2.347 GB, free: 187 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04053/13.58, allocations: 3.57 MB / 2.351 GB, free: 186.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.037e-05/13.58, allocations: 19.2 kB / 2.351 GB, free: 186.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/13.58, allocations: 0 / 2.351 GB, free: 186.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03724/13.61, allocations: 3.171 MB / 2.354 GB, free: 186.4 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04694/13.66, allocations: 5.619 MB / 2.359 GB, free: 185.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/13.66, allocations: 0 / 2.359 GB, free: 185.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002054/13.66, allocations: 163.5 kB / 2.36 GB, free: 185.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003973/13.67, allocations: 0.811 MB / 2.36 GB, free: 185.8 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003795/13.67, allocations: 38.48 kB / 2.36 GB, free: 185.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07313/13.74, allocations: 11.73 MB / 2.372 GB, free: 181.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/13.74, allocations: 2.375 kB / 2.372 GB, free: 181.5 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04103/13.78, allocations: 4.438 MB / 2.376 GB, free: 181 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04464/13.83, allocations: 5.932 MB / 2.382 GB, free: 180.1 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002454/13.83, allocations: 0.4931 MB / 2.382 GB, free: 179.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001245/13.83, allocations: 3.406 kB / 2.382 GB, free: 179.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006111/13.84, allocations: 183.2 kB / 2.383 GB, free: 179.9 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005321/13.84, allocations: 90.39 kB / 2.383 GB, free: 179.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003226/13.84, allocations: 61.17 kB / 2.383 GB, free: 179.9 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.004663/13.84, allocations: 1.655 MB / 2.384 GB, free: 179.7 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01391/13.85, allocations: 1.648 MB / 2.386 GB, free: 179.7 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * 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: 3 {2 4,2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.003044/13.86, allocations: 1.03 MB / 2.387 GB, free: 179.5 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01418/13.87, allocations: 3.422 MB / 2.39 GB, free: 179 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/13.87, allocations: 5.188 kB / 2.39 GB, free: 179 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.007295/13.88, allocations: 1.409 MB / 2.392 GB, free: 178.7 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01105/13.89, allocations: 1.017 MB / 2.393 GB, free: 178.7 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02804/13.92, allocations: 4.722 MB / 2.397 GB, free: 177.7 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003756/13.92, allocations: 2.314 MB / 2.4 GB, free: 177 MB / 0.8073 GB Notification: Performance of SimCode: time 1.513e-06/13.92, allocations: 0 / 2.4 GB, free: 177 MB / 0.8073 GB