Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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/4, allocations: 404 MB / 410.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2548/4.255, allocations: 95.02 MB / 0.4941 GB, free: 7.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5107/4.766, allocations: 92.68 MB / 0.5846 GB, free: 3.367 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3413/5.107, allocations: 135.6 MB / 0.717 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006226/5.108, allocations: 91.92 kB / 0.7171 GB, free: 13.96 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.129/5.237, allocations: 20.53 MB / 0.7372 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/5.237, allocations: 8 kB / 0.7372 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002826/5.24, allocations: 131.3 kB / 0.7373 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/5.242, allocations: 371.2 kB / 0.7376 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.429e-05/5.242, allocations: 12 kB / 0.7376 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/5.242, allocations: 23.94 kB / 0.7377 GB, free: 8.566 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001436/5.243, allocations: 289.3 kB / 0.7379 GB, free: 8.285 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/5.245, allocations: 0.5402 MB / 0.7385 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.536e-05/5.245, allocations: 3.906 kB / 0.7385 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/5.246, allocations: 4 kB / 0.7385 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001412/5.246, allocations: 40.62 kB / 0.7385 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007547/5.253, allocations: 2.997 MB / 0.7414 GB, free: 4.434 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/5.255, allocations: 290.8 kB / 0.7417 GB, free: 4.137 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006234/5.255, allocations: 164.8 kB / 0.7419 GB, free: 3.973 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.642e-05/5.255, allocations: 3.984 kB / 0.7419 GB, free: 3.969 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.415e-05/5.256, allocations: 34.56 kB / 0.7419 GB, free: 3.926 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 4.869e-06/5.256, allocations: 4 kB / 0.7419 GB, free: 3.922 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.003098/5.259, allocations: 0.5868 MB / 0.7425 GB, free: 3.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/5.259, allocations: 51.64 kB / 0.7425 GB, free: 3.258 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000457/5.259, allocations: 254 kB / 0.7428 GB, free: 3.008 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/5.259, allocations: 25.7 kB / 0.7428 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/5.259, allocations: 211.5 kB / 0.743 GB, free: 2.766 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/5.26, allocations: 90.66 kB / 0.7431 GB, free: 2.676 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/5.26, allocations: 0 / 0.7431 GB, free: 2.676 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002183/5.26, allocations: 346.8 kB / 0.7434 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/5.26, allocations: 124.7 kB / 0.7435 GB, free: 2.203 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/5.261, allocations: 256.4 kB / 0.7438 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005112/5.261, allocations: 168.5 kB / 0.744 GB, free: 1.734 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/5.261, allocations: 4 kB / 0.744 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001993/5.263, allocations: 486.9 kB / 0.7444 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/5.263, allocations: 4 kB / 0.7444 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/5.264, allocations: 4 kB / 0.7444 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005883/5.264, allocations: 94.86 kB / 0.7445 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008095/5.265, allocations: 83.89 kB / 0.7446 GB, free: 1.051 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.263e-05/5.265, allocations: 11.92 kB / 0.7446 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009271/5.266, allocations: 23.92 kB / 0.7446 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.657e-05/5.266, allocations: 20 kB / 0.7447 GB, free: 0.9961 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000259/5.266, allocations: 112.9 kB / 0.7448 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/5.267, allocations: 35.53 kB / 0.7448 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/5.268, allocations: 424 kB / 0.7452 GB, free: 420 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/5.268, allocations: 4 kB / 0.7452 GB, free: 416 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/5.268, allocations: 4 kB / 0.7452 GB, free: 412 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/5.268, allocations: 0 / 0.7452 GB, free: 412 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002637/5.271, allocations: 0.8785 MB / 0.7461 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/5.271, allocations: 4 kB / 0.7461 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008925/5.272, allocations: 52 kB / 0.7461 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005285/5.272, allocations: 82.52 kB / 0.7462 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/5.272, allocations: 0 / 0.7462 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.876e-06/5.272, allocations: 4 kB / 0.7462 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/5.272, allocations: 0 / 0.7462 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001525/5.274, allocations: 0.5474 MB / 0.7467 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001765/5.276, allocations: 0.9193 MB / 0.7476 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003663/5.276, allocations: 136.6 kB / 0.7478 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.515e-05/5.276, allocations: 0 / 0.7478 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005154/5.277, allocations: 19.97 kB / 0.7478 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.174e-05/5.277, allocations: 19.92 kB / 0.7478 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/5.277, allocations: 7.938 kB / 0.7478 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0003421/5.277, allocations: 204.6 kB / 0.748 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001709/5.279, allocations: 75.91 kB / 0.7481 GB, free: 13.26 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002081/5.279, allocations: 117.7 kB / 0.7482 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00127/5.281, allocations: 0.5805 MB / 0.7488 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/5.281, allocations: 4.25 kB / 0.7488 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006746/5.281, allocations: 417.7 kB / 0.7492 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/5.283, allocations: 105.2 kB / 0.7493 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/5.284, allocations: 0.5498 MB / 0.7498 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000864/5.285, allocations: 0.8683 MB / 0.7506 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of SimCode: time 1.363e-06/5.285, allocations: 0 / 0.7506 GB, free: 10.43 MB / 0.6355 GB