[: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.22/3.22, allocations: 404 MB / 410.9 MB, free: 2.168 MB / 312.6 MB Notification: Performance of FrontEnd - loaded program: time 8.707e-06/8.759e-06, allocations: 4 kB / 0.494 GB, free: 4.539 MB / 408.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4581/0.4581, allocations: 92.76 MB / 0.5846 GB, free: 1.852 MB / 472.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2049/0.6631, allocations: 145.6 MB / 0.7268 GB, free: 1.191 MB / 0.6022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.6634, allocations: 87.94 kB / 0.7269 GB, free: 1.105 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);. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd: time 0.07616/0.7396, allocations: 20.32 MB / 0.7468 GB, free: 12.58 MB / 0.6334 GB Notification: Performance of Transformations before backend: time 4.196e-05/0.7397, allocations: 12.66 kB / 0.7468 GB, free: 12.57 MB / 0.6334 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.00154/0.7412, allocations: 0.79 MB / 0.7475 GB, free: 11.72 MB / 0.6334 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.7413, allocations: 8.031 kB / 0.7476 GB, free: 11.71 MB / 0.6334 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.7424, allocations: 123.1 kB / 0.7477 GB, free: 11.59 MB / 0.6334 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008869/0.7434, allocations: 409.3 kB / 0.7481 GB, free: 11.14 MB / 0.6334 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.664e-05/0.7434, allocations: 28 kB / 0.7481 GB, free: 11.12 MB / 0.6334 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.7436, allocations: 48 kB / 0.7481 GB, free: 11.07 MB / 0.6334 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001278/0.7449, allocations: 0.4998 MB / 0.7486 GB, free: 10.57 MB / 0.6334 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.7464, allocations: 0.7404 MB / 0.7493 GB, free: 9.766 MB / 0.6334 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.7465, allocations: 3.906 kB / 0.7494 GB, free: 9.762 MB / 0.6334 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.332e-05/0.7466, allocations: 15.92 kB / 0.7494 GB, free: 9.746 MB / 0.6334 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.344e-05/0.7467, allocations: 37.3 kB / 0.7494 GB, free: 9.707 MB / 0.6334 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005075/0.7518, allocations: 3.168 MB / 0.7525 GB, free: 6.418 MB / 0.6334 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007375/0.7525, allocations: 274.8 kB / 0.7528 GB, free: 6.137 MB / 0.6334 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/0.753, allocations: 173.6 kB / 0.7529 GB, free: 5.965 MB / 0.6334 GB Notification: Performance of preOpt evalFunc (simulation): time 4.264e-05/0.7531, allocations: 12.34 kB / 0.7529 GB, free: 5.953 MB / 0.6334 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004026/0.7535, allocations: 189.1 kB / 0.7531 GB, free: 5.758 MB / 0.6334 GB Notification: Performance of pre-optimization done (n=46): time 4e-06/0.7535, allocations: 0 / 0.7531 GB, free: 5.758 MB / 0.6334 GB Notification: Performance of matching and sorting (n=46): time 0.0007477/0.7543, allocations: 284.8 kB / 0.7534 GB, free: 5.473 MB / 0.6334 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.7543, allocations: 55.41 kB / 0.7534 GB, free: 5.406 MB / 0.6334 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/0.7548, allocations: 305.6 kB / 0.7537 GB, free: 5.098 MB / 0.6334 GB Notification: Performance of collectPreVariables (initialization): time 7.799e-05/0.7549, allocations: 37.7 kB / 0.7538 GB, free: 5.055 MB / 0.6334 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/0.7552, allocations: 323.2 kB / 0.7541 GB, free: 4.73 MB / 0.6334 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.7553, allocations: 118.5 kB / 0.7542 GB, free: 4.613 MB / 0.6334 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.7554, allocations: 4 kB / 0.7542 GB, free: 4.609 MB / 0.6334 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.7556, allocations: 362.6 kB / 0.7545 GB, free: 4.246 MB / 0.6334 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/0.7559, allocations: 133.5 kB / 0.7547 GB, free: 4.117 MB / 0.6334 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/0.7564, allocations: 364 kB / 0.755 GB, free: 3.664 MB / 0.6334 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004003/0.7568, allocations: 171.1 kB / 0.7552 GB, free: 3.496 MB / 0.6334 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.7569, allocations: 0 / 0.7552 GB, free: 3.496 MB / 0.6334 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00117/0.758, allocations: 0.5029 MB / 0.7557 GB, free: 2.984 MB / 0.6334 GB Notification: Performance of prepare postOptimizeDAE: time 0.001226/0.7593, allocations: 2.704 MB / 0.7583 GB, free: 76 kB / 0.6334 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.7593, allocations: 4 kB / 0.7583 GB, free: 72 kB / 0.6334 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/0.7594, allocations: 12 kB / 0.7583 GB, free: 60 kB / 0.6334 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005729/0.76, allocations: 99.83 kB / 0.7584 GB, free: 15.96 MB / 0.6491 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.041e-05/0.76, allocations: 19.92 kB / 0.7584 GB, free: 15.94 MB / 0.6491 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005152/0.7605, allocations: 39.53 kB / 0.7585 GB, free: 15.9 MB / 0.6491 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.51e-05/0.7606, allocations: 39.92 kB / 0.7585 GB, free: 15.86 MB / 0.6491 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.7606, allocations: 4 kB / 0.7585 GB, free: 15.86 MB / 0.6491 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00101/0.7616, allocations: 434.4 kB / 0.7589 GB, free: 15.43 MB / 0.6491 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.7617, allocations: 8 kB / 0.7589 GB, free: 15.43 MB / 0.6491 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.7617, allocations: 12 kB / 0.759 GB, free: 15.41 MB / 0.6491 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.7622, allocations: 103.8 kB / 0.759 GB, free: 15.31 MB / 0.6491 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/0.7622, allocations: 19.92 kB / 0.7591 GB, free: 15.29 MB / 0.6491 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000464/0.7627, allocations: 23.75 kB / 0.7591 GB, free: 15.27 MB / 0.6491 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.92e-05/0.7628, allocations: 39.98 kB / 0.7591 GB, free: 15.23 MB / 0.6491 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.toOn.enableFire,$PRE.toHold.enableFire,$PRE.toDischarge.enableFire,$PRE.toOff.enableFire,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition1,$PRE.bat.cha.underCharged,bat.cha.underCharged,$PRE.bat.cha.overCharged,bat.cha.overCharged,startCharge.y,greaterEqualThreshold.y,startDischarge.y,lessEqualThreshold.y,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,toOn.enableFire,$PRE.charge.localActive,charge.localActive,$PRE.charge.newActive,charge.newActive,$PRE.charge.oldActive,charge.oldActive,charge.active,toHold.enableFire,$PRE.hold.localActive,hold.localActive,$PRE.hold.newActive,hold.newActive,$PRE.hold.oldActive,hold.oldActive,hold.active,toDischarge.enableFire,$PRE.discharge.localActive,discharge.localActive,$PRE.discharge.newActive,discharge.newActive,$PRE.discharge.oldActive,discharge.oldActive,discharge.active,toOff.enableFire,stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 93 * 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.0002833/0.7631, allocations: 148.9 kB / 0.7593 GB, free: 15.08 MB / 0.6491 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.7632, allocations: 43.44 kB / 0.7593 GB, free: 15.04 MB / 0.6491 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009205/0.7641, allocations: 335.8 kB / 0.7596 GB, free: 14.7 MB / 0.6491 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.517e-06/0.7641, allocations: 4 kB / 0.7596 GB, free: 14.7 MB / 0.6491 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.708e-06/0.7642, allocations: 0 / 0.7596 GB, free: 14.7 MB / 0.6491 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.7642, allocations: 0 / 0.7596 GB, free: 14.7 MB / 0.6491 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.7662, allocations: 0.9091 MB / 0.7605 GB, free: 13.74 MB / 0.6491 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.28e-06/0.7663, allocations: 3.938 kB / 0.7605 GB, free: 13.73 MB / 0.6491 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.7666, allocations: 47.91 kB / 0.7606 GB, free: 13.69 MB / 0.6491 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.7666, allocations: 4 kB / 0.7606 GB, free: 13.68 MB / 0.6491 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.7667, allocations: 4.062 kB / 0.7606 GB, free: 13.68 MB / 0.6491 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.617e-06/0.7667, allocations: 4 kB / 0.7606 GB, free: 13.68 MB / 0.6491 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.64e-06/0.7667, allocations: 0 / 0.7606 GB, free: 13.68 MB / 0.6491 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001181/0.7679, allocations: 0.5896 MB / 0.7612 GB, free: 13.05 MB / 0.6491 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.7681, allocations: 156.5 kB / 0.7613 GB, free: 12.88 MB / 0.6491 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.175e-05/0.7682, allocations: 0 / 0.7613 GB, free: 12.88 MB / 0.6491 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.7685, allocations: 8 kB / 0.7613 GB, free: 12.87 MB / 0.6491 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.7687, allocations: 44.36 kB / 0.7614 GB, free: 12.83 MB / 0.6491 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/0.7687, allocations: 16 kB / 0.7614 GB, free: 12.81 MB / 0.6491 GB Notification: Performance of sort global known variables: time 0.0002725/0.769, allocations: 196.6 kB / 0.7616 GB, free: 12.62 MB / 0.6491 GB Notification: Performance of remove unused functions: time 0.00121/0.7702, allocations: 211.4 kB / 0.7618 GB, free: 12.41 MB / 0.6491 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (bat.cha.SOC) * Number of discrete variables: 32 (off.localActive,charge.localActive,hold.localActive,discharge.localActive,$cse1,$cse2,$cse3,$cse4,$whenCondition1,bat.cha.underCharged,bat.cha.overCharged,startCharge.y,greaterEqualThreshold.y,startDischarge.y,lessEqualThreshold.y,off.newActive,off.oldActive,off.active,toOn.enableFire,charge.newActive,charge.oldActive,charge.active,toHold.enableFire,hold.newActive,hold.oldActive,hold.active,toDischarge.enableFire,discharge.newActive,discharge.oldActive,discharge.active,toOff.enableFire,stateGraphRoot.activeSteps) * Number of discrete states: 6 (discharge.newActive,hold.newActive,charge.newActive,off.newActive,bat.cha.underCharged,bat.cha.overCharged) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002302/0.7705, allocations: 137.5 kB / 0.7619 GB, free: 12.27 MB / 0.6491 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.772, allocations: 0.6512 MB / 0.7625 GB, free: 11.63 MB / 0.6491 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.772, allocations: 448 / 0.7625 GB, free: 11.63 MB / 0.6491 GB Notification: Performance of simCode: created simulation system equations: time 0.0003616/0.7724, allocations: 177.5 kB / 0.7627 GB, free: 11.46 MB / 0.6491 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006643/0.773, allocations: 77.14 kB / 0.7628 GB, free: 11.38 MB / 0.6491 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.775, allocations: 0.6884 MB / 0.7634 GB, free: 10.66 MB / 0.6491 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008388/0.7758, allocations: 0.9697 MB / 0.7644 GB, free: 9.66 MB / 0.6491 GB Notification: Performance of SimCode: time 1.122e-06/0.7759, allocations: 0 / 0.7644 GB, free: 9.66 MB / 0.6491 GB Notification: Performance of Templates: time 0.02006/0.7959, allocations: 7.166 MB / 0.7714 GB, free: 2.547 MB / 0.6491 GB