Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.188/4.188, allocations: 404 MB / 410.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.32/4.508, allocations: 95.01 MB / 0.4941 GB, free: 7.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5123/5.021, allocations: 92.69 MB / 0.5846 GB, free: 3.375 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2689/5.29, allocations: 138.5 MB / 0.7199 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004162/5.29, allocations: 95.88 kB / 0.72 GB, free: 11.08 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.05393/5.344, allocations: 11.71 MB / 0.7314 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/5.344, allocations: 15.94 kB / 0.7314 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/5.345, allocations: 59.73 kB / 0.7315 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/5.346, allocations: 230.7 kB / 0.7317 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/5.346, allocations: 4 kB / 0.7317 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-05/5.346, allocations: 8 kB / 0.7317 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005985/5.346, allocations: 156.3 kB / 0.7318 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006284/5.347, allocations: 262.5 kB / 0.7321 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/5.347, allocations: 0 / 0.7321 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/5.347, allocations: 7.984 kB / 0.7321 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.701e-05/5.347, allocations: 16.22 kB / 0.7321 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002818/5.35, allocations: 1.419 MB / 0.7335 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/5.35, allocations: 77.12 kB / 0.7336 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/5.35, allocations: 45.81 kB / 0.7336 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/5.35, allocations: 4 kB / 0.7336 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/5.35, allocations: 30.56 kB / 0.7337 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/5.35, allocations: 4 kB / 0.7337 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.000712/5.351, allocations: 180.6 kB / 0.7338 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/5.351, allocations: 77.11 kB / 0.7339 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/5.352, allocations: 189.8 kB / 0.7341 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/5.352, allocations: 25.7 kB / 0.7341 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/5.352, allocations: 159.5 kB / 0.7343 GB, free: 12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/5.352, allocations: 31.55 kB / 0.7343 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/5.352, allocations: 0 / 0.7343 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001467/5.352, allocations: 326.9 kB / 0.7346 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/5.352, allocations: 75.97 kB / 0.7347 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/5.353, allocations: 158.3 kB / 0.7348 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/5.353, allocations: 107.9 kB / 0.7349 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/5.353, allocations: 7.938 kB / 0.7349 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000856/5.354, allocations: 269.1 kB / 0.7352 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005433/5.354, allocations: 1.126 MB / 0.7363 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/5.355, allocations: 7.984 kB / 0.7363 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/5.355, allocations: 4 kB / 0.7363 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005169/5.355, allocations: 55.97 kB / 0.7364 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/5.355, allocations: 7.938 kB / 0.7364 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004431/5.356, allocations: 15.89 kB / 0.7364 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/5.356, allocations: 12 kB / 0.7364 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/5.356, allocations: 8 kB / 0.7364 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006543/5.356, allocations: 195.6 kB / 0.7366 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/5.356, allocations: 4 kB / 0.7366 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/5.356, allocations: 4 kB / 0.7366 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/5.357, allocations: 44.3 kB / 0.7366 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/5.357, allocations: 15.92 kB / 0.7367 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/5.357, allocations: 7.938 kB / 0.7367 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/5.357, allocations: 12 kB / 0.7367 GB, free: 9.391 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001148/5.357, allocations: 112.8 kB / 0.7368 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-05/5.357, allocations: 15.89 kB / 0.7368 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003426/5.358, allocations: 110.6 kB / 0.7369 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/5.358, allocations: 0 / 0.7369 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/5.358, allocations: 4 kB / 0.7369 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/5.358, allocations: 7.984 kB / 0.7369 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/5.359, allocations: 0.5858 MB / 0.7375 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/5.359, allocations: 256 / 0.7375 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/5.359, allocations: 19.98 kB / 0.7375 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/5.359, allocations: 4 kB / 0.7375 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/5.359, allocations: 4 kB / 0.7375 GB, free: 8.453 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/5.359, allocations: 0 / 0.7375 GB, free: 8.453 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-05/5.359, allocations: 7.938 kB / 0.7375 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000452/5.36, allocations: 339.6 kB / 0.7378 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006047/5.36, allocations: 0.7087 MB / 0.7385 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/5.361, allocations: 104.9 kB / 0.7386 GB, free: 7.121 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.779e-05/5.361, allocations: 4 kB / 0.7386 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/5.361, allocations: 7.984 kB / 0.7386 GB, free: 7.109 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/5.361, allocations: 8 kB / 0.7387 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/5.361, allocations: 8.062 kB / 0.7387 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0002523/5.361, allocations: 151.2 kB / 0.7388 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002828/5.364, allocations: 83.91 kB / 0.7389 GB, free: 6.863 MB / 0.6198 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002224/5.364, allocations: 141.7 kB / 0.739 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007989/5.365, allocations: 263.6 kB / 0.7393 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/5.365, allocations: 1.5 kB / 0.7393 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/5.365, allocations: 43.86 kB / 0.7393 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/5.366, allocations: 26.73 kB / 0.7393 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009486/5.367, allocations: 269.3 kB / 0.7396 GB, free: 6.086 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/5.367, allocations: 0.7592 MB / 0.7403 GB, free: 5.301 MB / 0.6198 GB Notification: Performance of SimCode: time 9.42e-07/5.367, allocations: 0 / 0.7403 GB, free: 5.301 MB / 0.6198 GB