[:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Warning: Requested package Modelica of version 3.2.2, but this package was already loaded with version 3.2.1. You might experience problems if these versions are incompatible. Notification: Performance of loadModel(Buildings): time 3.115/3.115, allocations: 320.9 MB / 327.9 MB, free: 5.555 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3503/3.465, allocations: 75.73 MB / 403.6 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/3.635, allocations: 73.4 MB / 477 MB, free: 6.996 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5452/4.18, allocations: 126.5 MB / 0.5893 GB, free: 11.72 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003858/4.181, allocations: 88.48 kB / 0.5894 GB, free: 11.68 MB / 474.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 3.0.0/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/Modelica_StateGraph2 2.0.3/package.mo:12150:5-12156:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 3.0.0/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: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.09878/4.28, allocations: 22.92 MB / 0.6118 GB, free: 8.895 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.457e-05/4.28, allocations: 8 kB / 0.6118 GB, free: 8.887 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/4.282, allocations: 142.8 kB / 0.612 GB, free: 8.746 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/4.284, allocations: 0.4944 MB / 0.6124 GB, free: 8.281 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.623e-05/4.284, allocations: 31.98 kB / 0.6125 GB, free: 8.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000245/4.284, allocations: 56 kB / 0.6125 GB, free: 8.195 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003979/4.288, allocations: 0.5834 MB / 0.6131 GB, free: 7.812 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003203/4.291, allocations: 0.9016 MB / 0.614 GB, free: 7.039 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.818e-05/4.292, allocations: 4 kB / 0.614 GB, free: 7.035 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/4.292, allocations: 3.984 kB / 0.614 GB, free: 7.031 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/4.292, allocations: 45.98 kB / 0.614 GB, free: 6.988 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009782/4.302, allocations: 3.825 MB / 0.6178 GB, free: 3.438 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/4.303, allocations: 0.618 MB / 0.6184 GB, free: 2.809 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007662/4.304, allocations: 170.1 kB / 0.6185 GB, free: 2.684 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003231/4.307, allocations: 1.065 MB / 0.6196 GB, free: 1.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000541/4.308, allocations: 155.8 kB / 0.6197 GB, free: 1.551 MB / 490.7 MB Notification: Performance of pre-optimization done (n=38): time 5.691e-06/4.308, allocations: 0 / 0.6197 GB, free: 1.551 MB / 490.7 MB Notification: Performance of matching and sorting (n=38): time 0.00116/4.309, allocations: 247.6 kB / 0.62 GB, free: 1.348 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/4.309, allocations: 59.41 kB / 0.62 GB, free: 1.277 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009704/4.31, allocations: 388.5 kB / 0.6204 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.365e-05/4.31, allocations: 32.89 kB / 0.6204 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005097/4.311, allocations: 369 kB / 0.6208 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/4.311, allocations: 101.7 kB / 0.6209 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/4.311, allocations: 4 kB / 0.6209 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002345/4.311, allocations: 358.7 kB / 0.6212 GB, free: 184 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005027/4.312, allocations: 113.7 kB / 0.6213 GB, free: 112 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008617/4.313, allocations: 386.4 kB / 0.6217 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007836/4.314, allocations: 173.3 kB / 0.6218 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/4.314, allocations: 4 kB / 0.6218 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002006/4.316, allocations: 497.5 kB / 0.6223 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002053/4.318, allocations: 3.486 MB / 0.6257 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.179e-05/4.318, allocations: 8 kB / 0.6257 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.987e-05/4.318, allocations: 19.98 kB / 0.6258 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008285/4.319, allocations: 75.47 kB / 0.6258 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.803e-05/4.319, allocations: 23.92 kB / 0.6258 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009749/4.32, allocations: 31.69 kB / 0.6259 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/4.32, allocations: 47.8 kB / 0.6259 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/4.32, allocations: 0 / 0.6259 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001814/4.322, allocations: 404.8 kB / 0.6263 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/4.322, allocations: 9 kB / 0.6263 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.275e-05/4.322, allocations: 19.91 kB / 0.6263 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006754/4.323, allocations: 79.09 kB / 0.6264 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.916e-05/4.323, allocations: 23.92 kB / 0.6264 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008676/4.323, allocations: 23.83 kB / 0.6265 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/4.324, allocations: 34.5 kB / 0.6265 GB, free: 10.74 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.THold.enableFire,$PRE.TOn.enableFire,$PRE.TDischarge.enableFire,$PRE.TOff.enableFire,$PRE.off.oldActive,off.oldActive,$PRE.charge.oldActive,charge.oldActive,$PRE.discharge.oldActive,discharge.oldActive,$PRE.hold.oldActive,hold.oldActive,off.outPort[1].checkOneDelayedTransitionPerLoop,discharge.outPort[1].checkOneDelayedTransitionPerLoop,off.node.resume,off.node.suspend,$whenCondition1,$PRE.bat.cha.underCharged,bat.cha.underCharged,$PRE.bat.cha.overCharged,bat.cha.overCharged,$PRE.off.newActive,off.newActive,off.activePort,THold.enableFire,THold.conditionPort,$PRE.charge.newActive,charge.newActive,charge.inport_fire,charge.activePort,TOn.enableFire,TOn.conditionPort,$PRE.discharge.newActive,discharge.newActive,discharge.outport_fire,discharge.activePort,hold.active,$PRE.hold.newActive,hold.newActive,hold.inport_fire,hold.outport_fire,TDischarge.enableFire,TDischarge.conditionPort,TOff.enableFire,TOff.conditionPort,hold.inPort[1].checkUnaryConnection,TOn.outPort.checkOneDelayedTransitionPerLoop,charge.outPort[1].checkOneDelayedTransitionPerLoop,hold.outPort[1].checkOneDelayedTransitionPerLoop,off.inPort[1].checkUnaryConnection,discharge.inPort[1].checkUnaryConnection,charge.inPort[1].checkUnaryConnection,TOff.condition,TDischarge.condition,TOn.condition,THold.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0003567/4.324, allocations: 152.8 kB / 0.6266 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/4.324, allocations: 47.44 kB / 0.6267 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/4.325, allocations: 274.7 kB / 0.6269 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/4.325, allocations: 4 kB / 0.6269 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/4.326, allocations: 0 / 0.6269 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/4.326, allocations: 3.984 kB / 0.627 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/4.327, allocations: 490.3 kB / 0.6274 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/4.327, allocations: 7.984 kB / 0.6274 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/4.327, allocations: 31.36 kB / 0.6275 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/4.327, allocations: 4.031 kB / 0.6275 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.868e-05/4.327, allocations: 4 kB / 0.6275 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.318e-06/4.327, allocations: 0 / 0.6275 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/4.327, allocations: 3.938 kB / 0.6275 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00156/4.329, allocations: 427.3 kB / 0.6279 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002113/4.331, allocations: 0.9124 MB / 0.6288 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000366/4.332, allocations: 146 kB / 0.6289 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/4.332, allocations: 0 / 0.6289 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004107/4.332, allocations: 11.94 kB / 0.6289 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/4.332, allocations: 39.19 kB / 0.629 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.195e-05/4.332, allocations: 15.44 kB / 0.629 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.000598/4.333, allocations: 241.5 kB / 0.6292 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005404/4.338, allocations: 219.3 kB / 0.6294 GB, free: 8.117 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (bat.cha.SOC) * Number of discrete variables: 27 ($whenCondition1,bat.cha.underCharged,bat.cha.overCharged,off.newActive,off.oldActive,off.activePort,THold.enableFire,THold.conditionPort,charge.newActive,charge.oldActive,charge.inport_fire,charge.activePort,TOn.enableFire,TOn.conditionPort,discharge.newActive,discharge.oldActive,discharge.outport_fire,discharge.activePort,hold.active,hold.newActive,hold.oldActive,hold.inport_fire,hold.outport_fire,TDischarge.enableFire,TDischarge.conditionPort,TOff.enableFire,TOff.conditionPort) * Number of discrete states: 6 (off.newActive,charge.newActive,discharge.newActive,hold.newActive,bat.cha.underCharged,bat.cha.overCharged) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * 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.0004439/4.339, allocations: 124.7 kB / 0.6295 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002207/4.341, allocations: 0.5899 MB / 0.6301 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.527e-06/4.341, allocations: 0 / 0.6301 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003709/4.342, allocations: 120.2 kB / 0.6302 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009063/4.343, allocations: 81.28 kB / 0.6303 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/4.346, allocations: 0.7783 MB / 0.6311 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/4.347, allocations: 1.026 MB / 0.6321 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of SimCode: time 1.423e-06/4.347, allocations: 0 / 0.6321 GB, free: 5.637 MB / 0.4948 GB