Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.001/4.001, allocations: 404 MB / 410.9 MB, free: 4.934 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.256/4.258, allocations: 95.01 MB / 0.4941 GB, free: 7.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5392/4.797, allocations: 92.68 MB / 0.5846 GB, free: 3.414 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2619/5.059, allocations: 135.2 MB / 0.7166 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004186/5.059, allocations: 95.92 kB / 0.7167 GB, free: 14.37 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.1297/5.189, allocations: 29.69 MB / 0.7457 GB, free: 300 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/5.189, allocations: 16 kB / 0.7457 GB, free: 284 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002399/5.191, allocations: 198.8 kB / 0.7459 GB, free: 84 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/5.193, allocations: 484.4 kB / 0.7464 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/5.193, allocations: 16 kB / 0.7464 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/5.193, allocations: 24 kB / 0.7464 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001336/5.194, allocations: 438.2 kB / 0.7468 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/5.196, allocations: 0.8575 MB / 0.7477 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.067e-05/5.196, allocations: 15.83 kB / 0.7477 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-05/5.196, allocations: 12 kB / 0.7477 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/5.197, allocations: 56.73 kB / 0.7478 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007046/5.204, allocations: 5.049 MB / 0.7527 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/5.205, allocations: 422.3 kB / 0.7531 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008862/5.206, allocations: 224.8 kB / 0.7533 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.989e-05/5.206, allocations: 4 kB / 0.7533 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/5.206, allocations: 46.5 kB / 0.7534 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=32): time 5.591e-06/5.206, allocations: 0 / 0.7534 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.004509/5.211, allocations: 0.813 MB / 0.7542 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/5.211, allocations: 55.41 kB / 0.7542 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/5.212, allocations: 357.2 kB / 0.7545 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/5.212, allocations: 25.7 kB / 0.7546 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004001/5.213, allocations: 295.5 kB / 0.7549 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/5.213, allocations: 114.3 kB / 0.755 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/5.213, allocations: 0 / 0.755 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002716/5.213, allocations: 362.8 kB / 0.7553 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007847/5.214, allocations: 181.2 kB / 0.7555 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008589/5.215, allocations: 393.5 kB / 0.7559 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/5.216, allocations: 255.9 kB / 0.7561 GB, free: 5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/5.216, allocations: 0 / 0.7561 GB, free: 5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003318/5.219, allocations: 0.712 MB / 0.7568 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/5.219, allocations: 4 kB / 0.7568 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/5.219, allocations: 8 kB / 0.7568 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/5.221, allocations: 148.4 kB / 0.757 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/5.222, allocations: 115.8 kB / 0.7571 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005486/5.228, allocations: 3.857 MB / 0.7608 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008926/5.229, allocations: 15.98 kB / 0.7608 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-05/5.229, allocations: 24 kB / 0.7609 GB, free: 15.74 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002107/5.229, allocations: 132.3 kB / 0.761 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/5.229, allocations: 55.34 kB / 0.761 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/5.231, allocations: 0.5765 MB / 0.7616 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/5.231, allocations: 4 kB / 0.7616 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/5.231, allocations: 3.938 kB / 0.7616 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/5.231, allocations: 3.984 kB / 0.7616 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/5.235, allocations: 1.164 MB / 0.7628 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/5.235, allocations: 8.219 kB / 0.7628 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005973/5.235, allocations: 47.95 kB / 0.7628 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008208/5.236, allocations: 148 kB / 0.763 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/5.236, allocations: 0 / 0.763 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005992/5.242, allocations: 3.85 MB / 0.7667 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/5.242, allocations: 4.031 kB / 0.7667 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002392/5.245, allocations: 0.7706 MB / 0.7675 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002338/5.247, allocations: 1.16 MB / 0.7686 GB, free: 7.152 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004605/5.248, allocations: 160.4 kB / 0.7688 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/5.248, allocations: 7.984 kB / 0.7688 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/5.248, allocations: 11.98 kB / 0.7688 GB, free: 6.957 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/5.248, allocations: 19.89 kB / 0.7688 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.985e-05/5.248, allocations: 8 kB / 0.7688 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.00048/5.249, allocations: 270.9 kB / 0.7691 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001921/5.251, allocations: 120 kB / 0.7692 GB, free: 6.551 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003349/5.251, allocations: 114.9 kB / 0.7693 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002299/5.253, allocations: 0.9635 MB / 0.7702 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/5.253, allocations: 0 / 0.7702 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001682/5.255, allocations: 0.7002 MB / 0.7709 GB, free: 4.621 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/5.257, allocations: 167.3 kB / 0.7711 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/5.26, allocations: 0.8054 MB / 0.7719 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009464/5.261, allocations: 0.9564 MB / 0.7728 GB, free: 2.617 MB / 0.6511 GB Notification: Performance of SimCode: time 1.482e-06/5.261, allocations: 4 kB / 0.7728 GB, free: 2.613 MB / 0.6511 GB