Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") [: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.176/2.176, allocations: 253.1 MB / 260.4 MB, free: 7.527 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.001685/0.001685, allocations: 185.2 kB / 319.6 MB, free: 3.281 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.852/1.852, allocations: 205.4 MB / 0.5704 GB, free: 15.02 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: 90.31 kB / 0.6746 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.24e-05/1.257e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2557, allocations: 106.2 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7181/0.9739, allocations: 164.6 MB / 1.049 GB, free: 8.051 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/0.9743, allocations: 89.89 kB / 1.049 GB, free: 8.008 MB / 0.6667 GB [/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);. [/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/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);. [/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);. [/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.1052/1.079, allocations: 17.41 MB / 1.066 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.833e-05/1.08, allocations: 8 kB / 1.066 GB, free: 9.656 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.002401/1.082, allocations: 0.6321 MB / 1.067 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.237e-05/1.082, allocations: 11.97 kB / 1.067 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003266/1.085, allocations: 159.3 kB / 1.067 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/1.087, allocations: 340.3 kB / 1.067 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/1.087, allocations: 12 kB / 1.067 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/1.087, allocations: 20 kB / 1.067 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001434/1.089, allocations: 348.4 kB / 1.067 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003073/1.092, allocations: 486.4 kB / 1.068 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/1.092, allocations: 3.938 kB / 1.068 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.134e-05/1.092, allocations: 0 / 1.068 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.11e-05/1.092, allocations: 36.39 kB / 1.068 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004456/1.096, allocations: 2.348 MB / 1.07 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/1.097, allocations: 123.9 kB / 1.07 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/1.097, allocations: 104.5 kB / 1.07 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/1.097, allocations: 3.953 kB / 1.07 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/1.097, allocations: 42.56 kB / 1.07 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 3.517e-06/1.097, allocations: 0 / 1.07 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.002668/1.1, allocations: 0.7939 MB / 1.071 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.685e-05/1.1, allocations: 55.41 kB / 1.071 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/1.1, allocations: 224.1 kB / 1.071 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/1.1, allocations: 25.7 kB / 1.071 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/1.101, allocations: 209.8 kB / 1.072 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.017e-05/1.101, allocations: 81.66 kB / 1.072 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/1.101, allocations: 0 / 1.072 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.101, allocations: 338.1 kB / 1.072 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/1.101, allocations: 96.31 kB / 1.072 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/1.101, allocations: 177.6 kB / 1.072 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/1.102, allocations: 125.8 kB / 1.072 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/1.102, allocations: 4 kB / 1.072 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00129/1.103, allocations: 409 kB / 1.073 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/1.103, allocations: 10.5 kB / 1.073 GB, free: 2.988 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.103, allocations: 0 / 1.073 GB, free: 2.988 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005884/1.104, allocations: 95.34 kB / 1.073 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005811/1.104, allocations: 63.34 kB / 1.073 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004189/1.109, allocations: 3.855 MB / 1.077 GB, free: 14.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/1.109, allocations: 8.031 kB / 1.077 GB, free: 14.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/1.109, allocations: 19.38 kB / 1.077 GB, free: 14.78 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001484/1.109, allocations: 113.2 kB / 1.077 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.873e-05/1.109, allocations: 31.62 kB / 1.077 GB, free: 14.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/1.11, allocations: 39.11 kB / 1.077 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.11, allocations: 0 / 1.077 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/1.11, allocations: 4 kB / 1.077 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/1.11, allocations: 7.922 kB / 1.077 GB, free: 14.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006246/1.11, allocations: 337.9 kB / 1.077 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.11, allocations: 3.938 kB / 1.077 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003996/1.111, allocations: 35.97 kB / 1.077 GB, free: 14.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005387/1.111, allocations: 84.33 kB / 1.077 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/1.111, allocations: 4 kB / 1.077 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004314/1.116, allocations: 3.863 MB / 1.081 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/1.116, allocations: 0 / 1.081 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002148/1.118, allocations: 0.5499 MB / 1.082 GB, free: 9.672 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003861/1.118, allocations: 118.8 kB / 1.082 GB, free: 9.547 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/1.118, allocations: 0 / 1.082 GB, free: 9.547 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006518/1.119, allocations: 11.89 kB / 1.082 GB, free: 9.535 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.656e-05/1.119, allocations: 16.05 kB / 1.082 GB, free: 9.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-05/1.119, allocations: 7.438 kB / 1.082 GB, free: 9.516 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0006251/1.12, allocations: 173.1 kB / 1.082 GB, free: 9.379 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001427/1.121, allocations: 84 kB / 1.082 GB, free: 9.297 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002957/1.122, allocations: 103.2 kB / 1.082 GB, free: 9.188 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002148/1.124, allocations: 0.5524 MB / 1.083 GB, free: 8.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/1.124, allocations: 0 / 1.083 GB, free: 8.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/1.125, allocations: 433.9 kB / 1.083 GB, free: 8.266 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/1.126, allocations: 49.31 kB / 1.083 GB, free: 8.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/1.129, allocations: 0.4945 MB / 1.084 GB, free: 7.762 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009812/1.13, allocations: 0.8572 MB / 1.085 GB, free: 6.891 MB / 0.698 GB Notification: Performance of SimCode: time 1.864e-06/1.13, allocations: 4 kB / 1.085 GB, free: 6.887 MB / 0.698 GB Notification: Performance of Templates: time 0.02218/1.152, allocations: 4.151 MB / 1.089 GB, free: 2.777 MB / 0.698 GB