Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",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.062/4.062, allocations: 404 MB / 410.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.239/4.301, allocations: 95.01 MB / 0.4941 GB, free: 7.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5324/4.833, allocations: 92.68 MB / 0.5846 GB, free: 3.371 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3085/5.142, allocations: 150 MB / 0.7311 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004044/5.142, allocations: 91.92 kB / 0.7312 GB, free: 15.57 MB / 0.6198 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:41:5-41:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0834/5.226, allocations: 17.88 MB / 0.7486 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/5.226, allocations: 12 kB / 0.7486 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/5.228, allocations: 99.59 kB / 0.7487 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006768/5.228, allocations: 266.5 kB / 0.749 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/5.228, allocations: 4 kB / 0.749 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.918e-05/5.228, allocations: 12 kB / 0.749 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008774/5.229, allocations: 236.8 kB / 0.7492 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008981/5.23, allocations: 320.2 kB / 0.7495 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/5.23, allocations: 8 kB / 0.7495 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.032e-05/5.23, allocations: 0 / 0.7495 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.069e-05/5.23, allocations: 28.33 kB / 0.7496 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003871/5.234, allocations: 1.435 MB / 0.751 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005507/5.235, allocations: 205.1 kB / 0.7511 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/5.235, allocations: 105.7 kB / 0.7512 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002013/5.235, allocations: 89.09 kB / 0.7513 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/5.235, allocations: 34.5 kB / 0.7514 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 6.251e-06/5.235, allocations: 0 / 0.7514 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.003408/5.239, allocations: 0.6999 MB / 0.752 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/5.239, allocations: 81.3 kB / 0.7521 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/5.239, allocations: 181.6 kB / 0.7523 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/5.239, allocations: 29.73 kB / 0.7523 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/5.24, allocations: 163.8 kB / 0.7525 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/5.24, allocations: 78.84 kB / 0.7526 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/5.24, allocations: 0 / 0.7526 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001475/5.24, allocations: 326.8 kB / 0.7529 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/5.24, allocations: 131.9 kB / 0.753 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004722/5.241, allocations: 201.4 kB / 0.7532 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008952/5.242, allocations: 199.1 kB / 0.7534 GB, free: 8.246 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/5.242, allocations: 0 / 0.7534 GB, free: 8.246 MB / 0.6355 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002086/5.244, allocations: 0.5161 MB / 0.7539 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/5.244, allocations: 4 kB / 0.7539 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/5.244, allocations: 4 kB / 0.7539 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007957/5.245, allocations: 139.4 kB / 0.754 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007454/5.245, allocations: 55.91 kB / 0.7541 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007707/5.253, allocations: 3.839 MB / 0.7578 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008299/5.254, allocations: 12.02 kB / 0.7578 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.31e-05/5.254, allocations: 12 kB / 0.7578 GB, free: 3.355 MB / 0.6355 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: idealACDCConverter1.P_n[1]:DUMMY_STATE(unit = "W" protected = true ) "Power transmitted at pin n (primary)" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.idealACDCConverter1.P_n[1]:DUMMY_DER(fixed = false ) "Power transmitted at pin n (primary)" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 28 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003762/5.255, allocations: 120.5 kB / 0.758 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/5.255, allocations: 15.81 kB / 0.758 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00291/5.258, allocations: 489.5 kB / 0.7584 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/5.258, allocations: 4 kB / 0.7584 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/5.258, allocations: 4 kB / 0.7585 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/5.258, allocations: 3.984 kB / 0.7585 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004026/5.262, allocations: 0.973 MB / 0.7594 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/5.262, allocations: 0 / 0.7594 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/5.262, allocations: 35.92 kB / 0.7594 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007576/5.263, allocations: 139.6 kB / 0.7596 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/5.263, allocations: 4 kB / 0.7596 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004774/5.268, allocations: 3.823 MB / 0.7633 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/5.268, allocations: 8.094 kB / 0.7633 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001922/5.27, allocations: 0.7369 MB / 0.764 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002017/5.272, allocations: 1.129 MB / 0.7651 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/5.272, allocations: 128.8 kB / 0.7653 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.09e-05/5.272, allocations: 0 / 0.7653 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005136/5.273, allocations: 11.98 kB / 0.7653 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/5.273, allocations: 19.98 kB / 0.7653 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/5.273, allocations: 12 kB / 0.7653 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002662/5.273, allocations: 159.8 kB / 0.7655 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001993/5.275, allocations: 99.86 kB / 0.7656 GB, free: 10.83 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000381/5.276, allocations: 146.8 kB / 0.7657 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001737/5.277, allocations: 0.5294 MB / 0.7662 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/5.278, allocations: 8 kB / 0.7662 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009336/5.278, allocations: 360.4 kB / 0.7666 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006283/5.279, allocations: 35.97 kB / 0.7666 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/5.281, allocations: 453.2 kB / 0.767 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007787/5.282, allocations: 0.8175 MB / 0.7678 GB, free: 8.387 MB / 0.6511 GB Notification: Performance of SimCode: time 1.653e-06/5.282, allocations: 3.938 kB / 0.7678 GB, free: 8.383 MB / 0.6511 GB