Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") [: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.1/2.1, allocations: 253.1 MB / 260.4 MB, free: 7.512 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.001614/0.001613, allocations: 177.3 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 2.109/2.109, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001336/0.001336, allocations: 87.33 kB / 0.6746 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.218e-05/1.242e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2467, allocations: 106.3 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8034/1.05, allocations: 157.9 MB / 1.042 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/1.051, allocations: 97.84 kB / 1.042 GB, free: 14.6 MB / 0.6667 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.06675/1.117, allocations: 15.67 MB / 1.058 GB, free: 1.766 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.632e-05/1.117, allocations: 8 kB / 1.058 GB, free: 1.758 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001193/1.119, allocations: 0.5537 MB / 1.058 GB, free: 1.18 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/1.119, allocations: 8.031 kB / 1.058 GB, free: 1.172 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/1.12, allocations: 139.5 kB / 1.058 GB, free: 1.035 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006705/1.121, allocations: 296.7 kB / 1.059 GB, free: 0.7305 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/1.121, allocations: 12 kB / 1.059 GB, free: 0.7188 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/1.121, allocations: 16 kB / 1.059 GB, free: 0.7031 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008037/1.122, allocations: 281.1 kB / 1.059 GB, free: 0.5195 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009233/1.123, allocations: 418 kB / 1.059 GB, free: 172 kB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/1.123, allocations: 3.938 kB / 1.059 GB, free: 168 kB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.952e-05/1.123, allocations: 4 kB / 1.059 GB, free: 164 kB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.617e-05/1.123, allocations: 28.64 kB / 1.059 GB, free: 136 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004191/1.127, allocations: 2.115 MB / 1.061 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006368/1.128, allocations: 152.8 kB / 1.062 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000419/1.128, allocations: 112.4 kB / 1.062 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/1.128, allocations: 0 / 1.062 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/1.129, allocations: 38.55 kB / 1.062 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 2.314e-06/1.129, allocations: 0 / 1.062 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0005645/1.129, allocations: 157.8 kB / 1.062 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/1.129, allocations: 55.41 kB / 1.062 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/1.129, allocations: 193.1 kB / 1.062 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/1.13, allocations: 25.7 kB / 1.062 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/1.13, allocations: 195.3 kB / 1.062 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/1.13, allocations: 50.17 kB / 1.062 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/1.13, allocations: 3.938 kB / 1.062 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.13, allocations: 329.9 kB / 1.063 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/1.13, allocations: 52.7 kB / 1.063 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/1.13, allocations: 136.2 kB / 1.063 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/1.131, allocations: 76.39 kB / 1.063 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.131, allocations: 0 / 1.063 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006347/1.131, allocations: 249 kB / 1.063 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.131, allocations: 4 kB / 1.063 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/1.131, allocations: 7.984 kB / 1.063 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002062/1.131, allocations: 24.97 kB / 1.063 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/1.132, allocations: 55.11 kB / 1.063 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/1.133, allocations: 1.259 MB / 1.064 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/1.134, allocations: 11.84 kB / 1.064 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/1.134, allocations: 11.75 kB / 1.064 GB, free: 10.88 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001813/1.134, allocations: 118.4 kB / 1.065 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-05/1.134, allocations: 15.81 kB / 1.065 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.055e-05/1.134, allocations: 28.27 kB / 1.065 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/1.134, allocations: 0 / 1.065 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.134, allocations: 12 kB / 1.065 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/1.134, allocations: 0 / 1.065 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/1.136, allocations: 0.6448 MB / 1.065 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.136, allocations: 0 / 1.065 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/1.136, allocations: 27.36 kB / 1.065 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00014/1.136, allocations: 24.22 kB / 1.065 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/1.136, allocations: 4 kB / 1.065 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/1.137, allocations: 1.25 MB / 1.067 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.137, allocations: 0 / 1.067 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005629/1.138, allocations: 384.2 kB / 1.067 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/1.138, allocations: 111.2 kB / 1.067 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/1.138, allocations: 11.89 kB / 1.067 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/1.138, allocations: 8 kB / 1.067 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/1.138, allocations: 11.98 kB / 1.067 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/1.139, allocations: 6.812 kB / 1.067 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002077/1.139, allocations: 152.4 kB / 1.067 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006071/1.139, allocations: 75.69 kB / 1.067 GB, free: 7.938 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001575/1.14, allocations: 103.1 kB / 1.067 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006267/1.14, allocations: 251.4 kB / 1.068 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.14, allocations: 0 / 1.068 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003397/1.141, allocations: 172.6 kB / 1.068 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/1.141, allocations: 37.83 kB / 1.068 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/1.142, allocations: 383 kB / 1.068 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006673/1.143, allocations: 0.8169 MB / 1.069 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of SimCode: time 8.82e-07/1.143, allocations: 0 / 1.069 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of Templates: time 0.009079/1.152, allocations: 2.361 MB / 1.071 GB, free: 3.871 MB / 0.6823 GB