Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesBalanced_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.258/4.258, allocations: 404 MB / 410.9 MB, free: 4.906 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2619/4.52, allocations: 95.02 MB / 0.4941 GB, free: 7.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5026/5.022, allocations: 92.68 MB / 0.5846 GB, free: 3.367 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3333/5.356, allocations: 139.8 MB / 0.7211 GB, free: 9.836 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004142/5.356, allocations: 95.88 kB / 0.7212 GB, free: 9.742 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.06023/5.417, allocations: 12.14 MB / 0.7331 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/5.417, allocations: 15.98 kB / 0.7331 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/5.418, allocations: 63.73 kB / 0.7331 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004808/5.418, allocations: 230.7 kB / 0.7334 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/5.418, allocations: 8 kB / 0.7334 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.739e-05/5.418, allocations: 11.98 kB / 0.7334 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005904/5.419, allocations: 160.3 kB / 0.7335 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007159/5.42, allocations: 262.5 kB / 0.7338 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/5.42, allocations: 3.938 kB / 0.7338 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/5.42, allocations: 0 / 0.7338 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.752e-05/5.42, allocations: 20.22 kB / 0.7338 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003275/5.423, allocations: 1.411 MB / 0.7352 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/5.423, allocations: 69.19 kB / 0.7353 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/5.424, allocations: 49.81 kB / 0.7353 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/5.424, allocations: 0 / 0.7353 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/5.424, allocations: 42.5 kB / 0.7353 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 3.527e-06/5.424, allocations: 0 / 0.7353 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001067/5.425, allocations: 172.6 kB / 0.7355 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/5.425, allocations: 81.05 kB / 0.7356 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005241/5.426, allocations: 205.8 kB / 0.7358 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/5.426, allocations: 25.7 kB / 0.7358 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/5.426, allocations: 151.5 kB / 0.736 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.739e-05/5.426, allocations: 39.55 kB / 0.736 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/5.426, allocations: 0 / 0.736 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002283/5.426, allocations: 322.8 kB / 0.7363 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/5.426, allocations: 71.97 kB / 0.7364 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/5.427, allocations: 154.9 kB / 0.7365 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005141/5.427, allocations: 119.8 kB / 0.7366 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/5.427, allocations: 4 kB / 0.7366 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009404/5.428, allocations: 261.4 kB / 0.7369 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006749/5.429, allocations: 1.134 MB / 0.738 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/5.429, allocations: 0 / 0.738 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.227e-05/5.429, allocations: 15.98 kB / 0.738 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006166/5.43, allocations: 39.98 kB / 0.738 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/5.43, allocations: 11.92 kB / 0.7381 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/5.43, allocations: 15.89 kB / 0.7381 GB, free: 7.914 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/5.43, allocations: 12 kB / 0.7381 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/5.43, allocations: 4 kB / 0.7381 GB, free: 7.898 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007445/5.431, allocations: 199.8 kB / 0.7383 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/5.431, allocations: 0 / 0.7383 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/5.431, allocations: 4 kB / 0.7383 GB, free: 7.699 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004351/5.432, allocations: 51.98 kB / 0.7383 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/5.432, allocations: 11.98 kB / 0.7383 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/5.432, allocations: 4 kB / 0.7383 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/5.432, allocations: 8 kB / 0.7383 GB, free: 7.625 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.0001362/5.432, allocations: 113 kB / 0.7385 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/5.432, allocations: 15.89 kB / 0.7385 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003842/5.433, allocations: 122.6 kB / 0.7386 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/5.433, allocations: 0 / 0.7386 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/5.433, allocations: 3.938 kB / 0.7386 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/5.433, allocations: 7.938 kB / 0.7386 GB, free: 7.355 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/5.434, allocations: 0.5819 MB / 0.7392 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/5.434, allocations: 4 kB / 0.7392 GB, free: 6.703 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/5.434, allocations: 15.98 kB / 0.7392 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/5.434, allocations: 4 kB / 0.7392 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/5.434, allocations: 0 / 0.7392 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/5.434, allocations: 7.938 kB / 0.7392 GB, free: 6.676 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/5.434, allocations: 3.984 kB / 0.7392 GB, free: 6.672 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004873/5.435, allocations: 347.8 kB / 0.7395 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005986/5.435, allocations: 0.7086 MB / 0.7402 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/5.436, allocations: 104.9 kB / 0.7403 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/5.436, allocations: 0 / 0.7403 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/5.436, allocations: 7.984 kB / 0.7403 GB, free: 5.332 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/5.436, allocations: 11.94 kB / 0.7403 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/5.436, allocations: 4 kB / 0.7404 GB, free: 5.316 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0002752/5.436, allocations: 159.2 kB / 0.7405 GB, free: 5.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003038/5.439, allocations: 87.84 kB / 0.7406 GB, free: 5.074 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.0002595/5.44, allocations: 130.5 kB / 0.7407 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008191/5.441, allocations: 256.8 kB / 0.741 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/5.441, allocations: 4 kB / 0.741 GB, free: 4.688 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/5.441, allocations: 43.86 kB / 0.741 GB, free: 4.645 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/5.441, allocations: 20.92 kB / 0.741 GB, free: 4.625 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/5.443, allocations: 270.2 kB / 0.7413 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007983/5.444, allocations: 0.7631 MB / 0.742 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of SimCode: time 1.734e-06/5.444, allocations: 0 / 0.742 GB, free: 3.527 MB / 0.6198 GB