Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [: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.37/2.37, allocations: 253.1 MB / 260.4 MB, free: 7.523 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.001646/0.001646, allocations: 188.9 kB / 319.6 MB, free: 3.324 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 1.877/1.877, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001359/0.001358, allocations: 89.25 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.055e-06/8.145e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1937, allocations: 106.3 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7609/0.9547, allocations: 183.5 MB / 1.067 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004987/0.9553, allocations: 90.69 kB / 1.067 GB, free: 5.824 MB / 0.6823 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/PartialTwoPortRLC.mo:18:3-18: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.8428/1.798, allocations: 148.1 MB / 1.212 GB, free: 9.238 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0008303/1.799, allocations: 79.92 kB / 1.212 GB, free: 9.16 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.02771/1.827, allocations: 3.792 MB / 1.216 GB, free: 5.266 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.744e-05/1.827, allocations: 8.031 kB / 1.216 GB, free: 5.258 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05174/1.879, allocations: 3.183 MB / 1.219 GB, free: 2.066 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01926/1.898, allocations: 2.58 MB / 1.221 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009639/1.899, allocations: 385.7 kB / 1.222 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002017/1.901, allocations: 136 kB / 1.222 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01634/1.917, allocations: 3.59 MB / 1.225 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01587/1.933, allocations: 3.689 MB / 1.229 GB, free: 7.414 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.849e-05/1.934, allocations: 7.938 kB / 1.229 GB, free: 7.406 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007989/1.934, allocations: 4 kB / 1.229 GB, free: 7.402 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002495/1.935, allocations: 156.8 kB / 1.229 GB, free: 7.246 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04495/1.98, allocations: 14.53 MB / 1.243 GB, free: 7.566 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00365/1.983, allocations: 1.131 MB / 1.244 GB, free: 6.426 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003451/1.987, allocations: 1.101 MB / 1.245 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/1.987, allocations: 29.28 kB / 1.245 GB, free: 5.301 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004079/1.991, allocations: 1.367 MB / 1.247 GB, free: 3.867 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 6.132e-06/1.991, allocations: 0 / 1.247 GB, free: 3.867 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.4783/2.47, allocations: 8.692 MB / 1.255 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003047/2.47, allocations: 0.8961 MB / 1.256 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003848/2.474, allocations: 1.567 MB / 1.258 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.00075/2.475, allocations: 33.52 kB / 1.258 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001178/2.476, allocations: 0.9619 MB / 1.259 GB, free: 176 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001354/2.477, allocations: 0.782 MB / 1.259 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003839/2.478, allocations: 0 / 1.259 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001717/2.478, allocations: 401.6 kB / 1.26 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004057/2.482, allocations: 1.409 MB / 1.261 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005709/2.488, allocations: 1.777 MB / 1.263 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004219/2.492, allocations: 1.473 MB / 1.264 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.357e-05/2.492, allocations: 3.906 kB / 1.264 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02263/2.515, allocations: 5.147 MB / 1.269 GB, free: 174.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/2.515, allocations: 6.312 kB / 1.269 GB, free: 174.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/2.515, allocations: 3.969 kB / 1.269 GB, free: 174.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01749/2.532, allocations: 2.766 MB / 1.272 GB, free: 174.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006148/2.538, allocations: 0.626 MB / 1.273 GB, free: 174.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06694/2.605, allocations: 15.47 MB / 1.288 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008473/2.614, allocations: 437 kB / 1.288 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008982/2.615, allocations: 88.47 kB / 1.288 GB, free: 171.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,48.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.001011/2.616, allocations: 148.2 kB / 1.288 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001114/2.617, allocations: 308.8 kB / 1.289 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/2.618, allocations: 315.7 kB / 1.289 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.847e-05/2.618, allocations: 30.25 kB / 1.289 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.774e-05/2.618, allocations: 9.5 kB / 1.289 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.891e-05/2.618, allocations: 17.78 kB / 1.289 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008371/2.627, allocations: 3.326 MB / 1.292 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.204e-05/2.627, allocations: 0 / 1.292 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005547/2.633, allocations: 0.5584 MB / 1.293 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01824/2.651, allocations: 2.737 MB / 1.296 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007365/2.652, allocations: 22.92 kB / 1.296 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06993/2.722, allocations: 15.47 MB / 1.311 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/2.722, allocations: 0 / 1.311 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02123/2.743, allocations: 4.967 MB / 1.316 GB, free: 168 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002842/2.746, allocations: 0.6772 MB / 1.316 GB, free: 167.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001302/2.747, allocations: 8.656 kB / 1.316 GB, free: 167.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007501/2.755, allocations: 425.8 kB / 1.317 GB, free: 167.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001371/2.756, allocations: 269.7 kB / 1.317 GB, free: 167.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004088/2.756, allocations: 67.55 kB / 1.317 GB, free: 167.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.002831/2.759, allocations: 1.168 MB / 1.318 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005488/2.765, allocations: 0.8864 MB / 1.319 GB, free: 167.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {8 64} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009651/2.766, allocations: 147.8 kB / 1.319 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.03485/2.801, allocations: 4.933 MB / 1.324 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/2.801, allocations: 0 / 1.324 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.02879/2.83, allocations: 3.185 MB / 1.327 GB, free: 166.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007137/2.837, allocations: 0.8338 MB / 1.328 GB, free: 166.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01986/2.857, allocations: 5.204 MB / 1.333 GB, free: 165.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00437/2.861, allocations: 2.402 MB / 1.335 GB, free: 164.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.523e-06/2.861, allocations: 3.906 kB / 1.335 GB, free: 164.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.2728/3.134, allocations: 71.3 MB / 1.405 GB, free: 141.8 MB / 0.8542 GB