[: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 3.272/3.272, allocations: 404 MB / 410.9 MB, free: 2.102 MB / 312.6 MB Notification: Performance of FrontEnd - loaded program: time 8.769e-06/8.873e-06, allocations: 0 / 0.494 GB, free: 4.453 MB / 408.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4513/0.4514, allocations: 92.77 MB / 0.5846 GB, free: 1.836 MB / 472.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1917/0.6432, allocations: 136.2 MB / 0.7177 GB, free: 10.56 MB / 0.6022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.6435, allocations: 75.95 kB / 0.7177 GB, free: 10.48 MB / 0.6022 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. Notification: Performance of FrontEnd: time 0.01902/0.6625, allocations: 5.226 MB / 0.7228 GB, free: 5.188 MB / 0.6022 GB Notification: Performance of Transformations before backend: time 1.412e-05/0.6625, allocations: 8 kB / 0.7228 GB, free: 5.18 MB / 0.6022 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005938/0.6632, allocations: 457.7 kB / 0.7233 GB, free: 4.672 MB / 0.6022 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.6632, allocations: 8.031 kB / 0.7233 GB, free: 4.664 MB / 0.6022 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003257/0.6635, allocations: 23.8 kB / 0.7233 GB, free: 4.641 MB / 0.6022 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.6638, allocations: 212.2 kB / 0.7235 GB, free: 4.395 MB / 0.6022 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.406e-05/0.6639, allocations: 33.83 kB / 0.7235 GB, free: 4.355 MB / 0.6022 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.6639, allocations: 8 kB / 0.7235 GB, free: 4.348 MB / 0.6022 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001939/0.6641, allocations: 60.17 kB / 0.7236 GB, free: 4.289 MB / 0.6022 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.6644, allocations: 129 kB / 0.7237 GB, free: 4.148 MB / 0.6022 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.6644, allocations: 0 / 0.7237 GB, free: 4.148 MB / 0.6022 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.6645, allocations: 7.938 kB / 0.7237 GB, free: 4.141 MB / 0.6022 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.6645, allocations: 4.188 kB / 0.7237 GB, free: 4.137 MB / 0.6022 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009367/0.6654, allocations: 0.6116 MB / 0.7243 GB, free: 3.477 MB / 0.6022 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.6657, allocations: 50.56 kB / 0.7244 GB, free: 3.418 MB / 0.6022 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.069e-05/0.6658, allocations: 20.98 kB / 0.7244 GB, free: 3.395 MB / 0.6022 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.6658, allocations: 3.906 kB / 0.7244 GB, free: 3.391 MB / 0.6022 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.6659, allocations: 110.9 kB / 0.7245 GB, free: 3.258 MB / 0.6022 GB Notification: Performance of pre-optimization done (n=7): time 2.266e-06/0.6659, allocations: 4 kB / 0.7245 GB, free: 3.254 MB / 0.6022 GB Notification: Performance of matching and sorting (n=7): time 0.0002223/0.6662, allocations: 77.52 kB / 0.7246 GB, free: 3.172 MB / 0.6022 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.6663, allocations: 136.5 kB / 0.7247 GB, free: 3.008 MB / 0.6022 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.6665, allocations: 161.3 kB / 0.7249 GB, free: 2.844 MB / 0.6022 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.6665, allocations: 33.7 kB / 0.7249 GB, free: 2.805 MB / 0.6022 GB Notification: Performance of collectInitialEqns (initialization): time 8.31e-05/0.6666, allocations: 127.5 kB / 0.725 GB, free: 2.676 MB / 0.6022 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.6666, allocations: 19.64 kB / 0.725 GB, free: 2.656 MB / 0.6022 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/0.6667, allocations: 4 kB / 0.7251 GB, free: 2.652 MB / 0.6022 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.6668, allocations: 322.8 kB / 0.7254 GB, free: 2.328 MB / 0.6022 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.441e-05/0.6669, allocations: 24 kB / 0.7254 GB, free: 2.305 MB / 0.6022 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.667, allocations: 101.4 kB / 0.7255 GB, free: 2.172 MB / 0.6022 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.872e-05/0.6671, allocations: 47.91 kB / 0.7255 GB, free: 2.125 MB / 0.6022 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.719e-06/0.6671, allocations: 0 / 0.7255 GB, free: 2.125 MB / 0.6022 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003189/0.6675, allocations: 141.2 kB / 0.7257 GB, free: 1.98 MB / 0.6022 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.6675, allocations: 11.98 kB / 0.7257 GB, free: 1.969 MB / 0.6022 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.82e-06/0.6675, allocations: 0 / 0.7257 GB, free: 1.969 MB / 0.6022 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.6675, allocations: 8.312 kB / 0.7257 GB, free: 1.961 MB / 0.6022 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.6677, allocations: 31.92 kB / 0.7257 GB, free: 1.93 MB / 0.6022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.6678, allocations: 8.062 kB / 0.7257 GB, free: 1.922 MB / 0.6022 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.668, allocations: 27.83 kB / 0.7257 GB, free: 1.895 MB / 0.6022 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.668, allocations: 7.906 kB / 0.7258 GB, free: 1.887 MB / 0.6022 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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.0001321/0.6681, allocations: 152.2 kB / 0.7259 GB, free: 1.73 MB / 0.6022 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.6682, allocations: 11.91 kB / 0.7259 GB, free: 1.719 MB / 0.6022 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.6682, allocations: 21.3 kB / 0.7259 GB, free: 1.691 MB / 0.6022 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.193e-06/0.6683, allocations: 0 / 0.7259 GB, free: 1.691 MB / 0.6022 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.718e-06/0.6683, allocations: 3.938 kB / 0.7259 GB, free: 1.688 MB / 0.6022 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.343e-06/0.6683, allocations: 0 / 0.7259 GB, free: 1.688 MB / 0.6022 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.6685, allocations: 178.2 kB / 0.7261 GB, free: 1.477 MB / 0.6022 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.635e-06/0.6685, allocations: 4 kB / 0.7261 GB, free: 1.473 MB / 0.6022 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.6686, allocations: 15.98 kB / 0.7261 GB, free: 1.457 MB / 0.6022 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.975e-06/0.6687, allocations: 8.031 kB / 0.7261 GB, free: 1.449 MB / 0.6022 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.6687, allocations: 0 / 0.7261 GB, free: 1.449 MB / 0.6022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.954e-06/0.6687, allocations: 3.906 kB / 0.7261 GB, free: 1.445 MB / 0.6022 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.996e-06/0.6687, allocations: 4 kB / 0.7261 GB, free: 1.441 MB / 0.6022 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003159/0.669, allocations: 148.8 kB / 0.7263 GB, free: 1.277 MB / 0.6022 GB Notification: Performance of postOpt removeConstants (simulation): time 5.912e-05/0.6691, allocations: 81.02 kB / 0.7264 GB, free: 1.18 MB / 0.6022 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.6692, allocations: 4 kB / 0.7264 GB, free: 1.176 MB / 0.6022 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.6693, allocations: 16.09 kB / 0.7264 GB, free: 1.16 MB / 0.6022 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.818e-05/0.6694, allocations: 15.89 kB / 0.7264 GB, free: 1.145 MB / 0.6022 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.6694, allocations: 4 kB / 0.7264 GB, free: 1.141 MB / 0.6022 GB Notification: Performance of sort global known variables: time 0.0001292/0.6695, allocations: 128.3 kB / 0.7265 GB, free: 1.016 MB / 0.6022 GB Notification: Performance of remove unused functions: time 0.0004029/0.67, allocations: 27.94 kB / 0.7265 GB, free: 0.9883 MB / 0.6022 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001473/0.6701, allocations: 115 kB / 0.7267 GB, free: 0.8672 MB / 0.6022 GB Notification: Performance of simCode: created initialization part: time 0.0002605/0.6704, allocations: 139.3 kB / 0.7268 GB, free: 0.7188 MB / 0.6022 GB Notification: Performance of simCode: created event and clocks part: time 1.808e-06/0.6704, allocations: 0 / 0.7268 GB, free: 0.7188 MB / 0.6022 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.6705, allocations: 65.7 kB / 0.7268 GB, free: 0.6484 MB / 0.6022 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.6708, allocations: 12 kB / 0.7269 GB, free: 0.6367 MB / 0.6022 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005637/0.6713, allocations: 175.8 kB / 0.727 GB, free: 452 kB / 0.6022 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003769/0.6717, allocations: 0.7354 MB / 0.7277 GB, free: 15.68 MB / 0.6178 GB Notification: Performance of SimCode: time 8.69e-07/0.6718, allocations: 0 / 0.7277 GB, free: 15.68 MB / 0.6178 GB Notification: Performance of Templates: time 0.004912/0.6767, allocations: 1.186 MB / 0.7289 GB, free: 14.51 MB / 0.6178 GB