Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",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.141/4.141, allocations: 404 MB / 410.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2538/4.395, allocations: 95 MB / 0.4941 GB, free: 7.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5138/4.909, allocations: 92.69 MB / 0.5846 GB, free: 3.383 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2916/5.2, allocations: 141.2 MB / 0.7225 GB, free: 8.445 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000401/5.201, allocations: 87.94 kB / 0.7226 GB, free: 8.359 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.08712/5.288, allocations: 17.06 MB / 0.7392 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/5.288, allocations: 8 kB / 0.7393 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/5.29, allocations: 103.5 kB / 0.7394 GB, free: 6.961 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006731/5.29, allocations: 278.3 kB / 0.7396 GB, free: 6.648 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/5.29, allocations: 8 kB / 0.7396 GB, free: 6.641 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-05/5.29, allocations: 12 kB / 0.7396 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009205/5.291, allocations: 248.8 kB / 0.7399 GB, free: 6.387 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/5.292, allocations: 357.4 kB / 0.7402 GB, free: 6.008 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/5.292, allocations: 0 / 0.7402 GB, free: 6.008 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.722e-05/5.293, allocations: 7.938 kB / 0.7402 GB, free: 6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.875e-05/5.293, allocations: 24.36 kB / 0.7402 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003829/5.296, allocations: 1.41 MB / 0.7416 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/5.298, allocations: 329.5 kB / 0.7419 GB, free: 4.152 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004917/5.298, allocations: 161.7 kB / 0.7421 GB, free: 3.988 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002492/5.298, allocations: 97.09 kB / 0.7422 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005868/5.299, allocations: 221.8 kB / 0.7424 GB, free: 3.641 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 3.206e-06/5.299, allocations: 0 / 0.7424 GB, free: 3.641 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.001815/5.301, allocations: 424.9 kB / 0.7428 GB, free: 3.215 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/5.301, allocations: 85.2 kB / 0.7429 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/5.301, allocations: 191 kB / 0.7431 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.247e-05/5.301, allocations: 29.7 kB / 0.7431 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/5.301, allocations: 148.2 kB / 0.7432 GB, free: 2.738 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/5.302, allocations: 90.66 kB / 0.7433 GB, free: 2.648 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/5.302, allocations: 0 / 0.7433 GB, free: 2.648 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000181/5.302, allocations: 330.8 kB / 0.7436 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004465/5.302, allocations: 136 kB / 0.7438 GB, free: 2.184 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/5.303, allocations: 209.3 kB / 0.744 GB, free: 1.949 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006638/5.304, allocations: 168.1 kB / 0.7441 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/5.304, allocations: 0 / 0.7441 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001603/5.305, allocations: 426.8 kB / 0.7445 GB, free: 1.359 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004315/5.306, allocations: 0.8734 MB / 0.7454 GB, free: 428 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/5.306, allocations: 0 / 0.7454 GB, free: 428 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004162/5.306, allocations: 44.83 kB / 0.7454 GB, free: 380 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009836/5.307, allocations: 91.81 kB / 0.7455 GB, free: 288 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/5.309, allocations: 1.418 MB / 0.7469 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008261/5.31, allocations: 47.92 kB / 0.7469 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.429e-05/5.31, allocations: 15.98 kB / 0.747 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/5.31, allocations: 6.969 kB / 0.747 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001385/5.312, allocations: 345.2 kB / 0.7473 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/5.312, allocations: 4.281 kB / 0.7473 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002764/5.312, allocations: 44.83 kB / 0.7473 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000879/5.313, allocations: 79.88 kB / 0.7474 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/5.315, allocations: 1.406 MB / 0.7488 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007433/5.316, allocations: 47.92 kB / 0.7488 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.118e-05/5.316, allocations: 15.98 kB / 0.7489 GB, free: 12.62 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002118/5.316, allocations: 112.9 kB / 0.749 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-05/5.316, allocations: 27.62 kB / 0.749 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/5.318, allocations: 387.9 kB / 0.7494 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/5.318, allocations: 8 kB / 0.7494 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/5.318, allocations: 0 / 0.7494 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/5.318, allocations: 0 / 0.7494 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/5.319, allocations: 0.5237 MB / 0.7499 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/5.319, allocations: 0 / 0.7499 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009092/5.32, allocations: 76.17 kB / 0.7499 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000262/5.32, allocations: 40.81 kB / 0.75 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/5.32, allocations: 3.938 kB / 0.75 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/5.322, allocations: 1.346 MB / 0.7513 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/5.322, allocations: 0 / 0.7513 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00139/5.324, allocations: 0.4997 MB / 0.7518 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001481/5.325, allocations: 0.8863 MB / 0.7527 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/5.325, allocations: 136.7 kB / 0.7528 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.89e-05/5.325, allocations: 0 / 0.7528 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007444/5.326, allocations: 35.97 kB / 0.7528 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/5.326, allocations: 39.8 kB / 0.7529 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.904e-05/5.326, allocations: 8 kB / 0.7529 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0002679/5.327, allocations: 164.5 kB / 0.753 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003026/5.33, allocations: 127.9 kB / 0.7531 GB, free: 7.926 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003026/5.33, allocations: 127 kB / 0.7533 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002346/5.332, allocations: 0.7617 MB / 0.754 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/5.332, allocations: 0 / 0.754 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008345/5.333, allocations: 278.6 kB / 0.7543 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006678/5.334, allocations: 42.94 kB / 0.7543 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/5.336, allocations: 476.5 kB / 0.7548 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000777/5.337, allocations: 0.8274 MB / 0.7556 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of SimCode: time 1.332e-06/5.337, allocations: 4 kB / 0.7556 GB, free: 5.32 MB / 0.6355 GB