Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") [: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 loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.468/2.468, allocations: 253.1 MB / 260.4 MB, free: 7.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002384/0.002383, allocations: 192.9 kB / 319.6 MB, free: 3.297 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, allocations: 205.4 MB / 0.5704 GB, free: 15.04 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001307/0.001307, allocations: 88.77 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.057e-06/9.267e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2053, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.911/6.116, allocations: 2.224 GB / 3.112 GB, free: 136 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003524/6.116, allocations: 100.3 kB / 3.112 GB, free: 135.9 MB / 0.8698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.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/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39: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.3287/6.445, allocations: 69.16 MB / 3.179 GB, free: 72.32 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002041/6.445, allocations: 39.94 kB / 3.179 GB, free: 72.29 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 372 * Number of variables: 372 Notification: Performance of Generate backend data structure: time 0.006752/6.452, allocations: 1.598 MB / 3.181 GB, free: 70.63 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/6.452, allocations: 8.031 kB / 3.181 GB, free: 70.62 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/6.463, allocations: 0.8874 MB / 3.182 GB, free: 69.73 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002883/6.466, allocations: 0.8922 MB / 3.183 GB, free: 68.79 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-05/6.466, allocations: 44 kB / 3.183 GB, free: 68.75 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003452/6.466, allocations: 91.92 kB / 3.183 GB, free: 68.66 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0055/6.472, allocations: 1.856 MB / 3.185 GB, free: 66.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004436/6.476, allocations: 1.518 MB / 3.186 GB, free: 65.21 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.011e-05/6.477, allocations: 3.938 kB / 3.186 GB, free: 65.21 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002533/6.477, allocations: 4 kB / 3.186 GB, free: 65.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.629e-05/6.477, allocations: 66.75 kB / 3.186 GB, free: 65.14 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01789/6.495, allocations: 6.067 MB / 3.192 GB, free: 58.83 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003469/6.498, allocations: 1.188 MB / 3.193 GB, free: 57.62 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/6.5, allocations: 0.5822 MB / 3.194 GB, free: 57.04 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/6.501, allocations: 486.4 kB / 3.194 GB, free: 56.47 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001951/6.503, allocations: 0.7392 MB / 3.195 GB, free: 55.71 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=128): time 4.859e-06/6.503, allocations: 3.938 kB / 3.195 GB, free: 55.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=128): time 0.004481/6.508, allocations: 1.221 MB / 3.196 GB, free: 54.47 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/6.508, allocations: 359.1 kB / 3.196 GB, free: 54.04 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/6.509, allocations: 0.6684 MB / 3.197 GB, free: 53.36 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000377/6.51, allocations: 29.69 kB / 3.197 GB, free: 53.33 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005222/6.51, allocations: 487.7 kB / 3.198 GB, free: 52.84 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005732/6.511, allocations: 409.7 kB / 3.198 GB, free: 52.43 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/6.511, allocations: 4.062 kB / 3.198 GB, free: 52.43 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001237/6.511, allocations: 349.9 kB / 3.198 GB, free: 52.08 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/6.513, allocations: 442.5 kB / 3.199 GB, free: 51.65 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/6.514, allocations: 0.6272 MB / 3.199 GB, free: 50.96 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002269/6.517, allocations: 0.5723 MB / 3.2 GB, free: 50.39 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/6.517, allocations: 0 / 3.2 GB, free: 50.39 MB / 0.8698 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.004885/6.522, allocations: 1.322 MB / 3.201 GB, free: 49.05 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002603/6.522, allocations: 1.052 MB / 3.202 GB, free: 47.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/6.522, allocations: 4 kB / 3.202 GB, free: 47.92 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002757/6.522, allocations: 28.84 kB / 3.202 GB, free: 47.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003765/6.526, allocations: 327.5 kB / 3.203 GB, free: 47.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005051/6.527, allocations: 0.5523 MB / 3.203 GB, free: 46.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/6.53, allocations: 155.1 kB / 3.203 GB, free: 46.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003554/6.53, allocations: 59.86 kB / 3.203 GB, free: 46.78 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/6.53, allocations: 4 kB / 3.203 GB, free: 46.77 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00406/6.534, allocations: 1.172 MB / 3.204 GB, free: 45.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/6.534, allocations: 4 kB / 3.205 GB, free: 45.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/6.534, allocations: 8 kB / 3.205 GB, free: 45.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003513/6.538, allocations: 339.5 kB / 3.205 GB, free: 45.26 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/6.538, allocations: 8 kB / 3.205 GB, free: 45.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002716/6.54, allocations: 151 kB / 3.205 GB, free: 45.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/6.541, allocations: 55.95 kB / 3.205 GB, free: 45.05 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 146 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000479/6.541, allocations: 134.7 kB / 3.205 GB, free: 44.91 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003358/6.542, allocations: 114.6 kB / 3.205 GB, free: 44.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006384/6.548, allocations: 1.64 MB / 3.207 GB, free: 43.14 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/6.548, allocations: 19.94 kB / 3.207 GB, free: 43.12 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/6.548, allocations: 4 kB / 3.207 GB, free: 43.12 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/6.548, allocations: 7.969 kB / 3.207 GB, free: 43.11 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008197/6.556, allocations: 3.29 MB / 3.21 GB, free: 39.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/6.556, allocations: 0 / 3.21 GB, free: 39.75 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003276/6.56, allocations: 311.7 kB / 3.21 GB, free: 39.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001821/6.56, allocations: 28.84 kB / 3.21 GB, free: 39.41 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/6.56, allocations: 23.97 kB / 3.21 GB, free: 39.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/6.561, allocations: 1.228 MB / 3.212 GB, free: 38.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/6.561, allocations: 0 / 3.212 GB, free: 38.05 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004175/6.565, allocations: 1.482 MB / 3.213 GB, free: 36.51 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000946/6.566, allocations: 411 kB / 3.214 GB, free: 36.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003479/6.567, allocations: 11.94 kB / 3.214 GB, free: 36.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002588/6.569, allocations: 115.9 kB / 3.214 GB, free: 35.96 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002317/6.569, allocations: 77.19 kB / 3.214 GB, free: 35.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001858/6.57, allocations: 59.97 kB / 3.214 GB, free: 35.83 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001069/6.571, allocations: 0.5382 MB / 3.214 GB, free: 35.29 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002711/6.573, allocations: 0.6807 MB / 3.215 GB, free: 34.61 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001522/6.575, allocations: 0.5022 MB / 3.215 GB, free: 34.21 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004948/6.58, allocations: 1.856 MB / 3.217 GB, free: 32.35 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/6.58, allocations: 0 / 3.217 GB, free: 32.35 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001847/6.582, allocations: 0.7447 MB / 3.218 GB, free: 31.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/6.584, allocations: 252.1 kB / 3.218 GB, free: 31.36 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006984/6.591, allocations: 2.002 MB / 3.22 GB, free: 29.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002235/6.594, allocations: 1.437 MB / 3.222 GB, free: 27.83 MB / 0.8698 GB Notification: Performance of SimCode: time 1.993e-06/6.594, allocations: 0 / 3.222 GB, free: 27.83 MB / 0.8698 GB Notification: Performance of Templates: time 0.4802/7.074, allocations: 29.43 MB / 3.25 GB, free: 286.1 MB / 0.8698 GB