Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [: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.521/2.521, allocations: 253.1 MB / 260.4 MB, free: 7.566 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.001565/0.001565, allocations: 185 kB / 319.6 MB, free: 3.32 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.952/1.952, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001382/0.001382, allocations: 89.58 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.197e-06/9.348e-06, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2084, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6926/0.901, allocations: 158.9 MB / 1.043 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/0.9014, allocations: 96.19 kB / 1.043 GB, free: 13.47 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.04641/0.9478, allocations: 11.31 MB / 1.054 GB, free: 4.25 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.548e-05/0.9479, allocations: 4 kB / 1.054 GB, free: 4.246 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001017/0.9489, allocations: 498.8 kB / 1.055 GB, free: 3.73 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.949, allocations: 12.03 kB / 1.055 GB, free: 3.719 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.9501, allocations: 83.64 kB / 1.055 GB, free: 3.637 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005567/0.9507, allocations: 261.5 kB / 1.055 GB, free: 3.359 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.9507, allocations: 8 kB / 1.055 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.9508, allocations: 12 kB / 1.055 GB, free: 3.34 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005449/0.9513, allocations: 174 kB / 1.055 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006475/0.952, allocations: 284.3 kB / 1.056 GB, free: 2.984 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.952, allocations: 0 / 1.056 GB, free: 2.984 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.9521, allocations: 4 kB / 1.056 GB, free: 2.98 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.655e-05/0.9521, allocations: 12.44 kB / 1.056 GB, free: 2.969 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002549/0.9547, allocations: 1.444 MB / 1.057 GB, free: 1.484 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.9552, allocations: 97.67 kB / 1.057 GB, free: 1.402 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.9553, allocations: 40.22 kB / 1.057 GB, free: 1.367 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.9553, allocations: 0 / 1.057 GB, free: 1.367 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.9554, allocations: 34.5 kB / 1.057 GB, free: 1.328 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=8): time 2.585e-06/0.9554, allocations: 0 / 1.057 GB, free: 1.328 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.00051/0.9559, allocations: 113.8 kB / 1.057 GB, free: 1.227 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.956, allocations: 67.38 kB / 1.057 GB, free: 1.148 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.9563, allocations: 168.2 kB / 1.058 GB, free: 0.9961 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.9563, allocations: 25.7 kB / 1.058 GB, free: 0.9648 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.9565, allocations: 167.4 kB / 1.058 GB, free: 0.8047 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.9565, allocations: 23.47 kB / 1.058 GB, free: 0.7852 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.9566, allocations: 3.938 kB / 1.058 GB, free: 0.7812 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.9567, allocations: 326.6 kB / 1.058 GB, free: 472 kB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.9568, allocations: 35.44 kB / 1.058 GB, free: 448 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.957, allocations: 99.95 kB / 1.058 GB, free: 332 kB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.9572, allocations: 57 kB / 1.058 GB, free: 292 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.9572, allocations: 0 / 1.058 GB, free: 292 kB / 0.6667 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005777/0.9578, allocations: 180.9 kB / 1.058 GB, free: 132 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.9578, allocations: 4 kB / 1.058 GB, free: 128 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.9579, allocations: 4.281 kB / 1.058 GB, free: 124 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002303/0.9581, allocations: 36.56 kB / 1.059 GB, free: 88 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.9584, allocations: 31.98 kB / 1.059 GB, free: 56 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.96, allocations: 1.25 MB / 1.06 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/0.9605, allocations: 23.44 kB / 1.06 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.9605, allocations: 4 kB / 1.06 GB, free: 14.71 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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.0001352/0.9606, allocations: 113 kB / 1.06 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/0.9607, allocations: 19.8 kB / 1.06 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.091e-05/0.9608, allocations: 20.72 kB / 1.06 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.9608, allocations: 0 / 1.06 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.9608, allocations: 0 / 1.06 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.9608, allocations: 3.984 kB / 1.06 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.9612, allocations: 221 kB / 1.06 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.9612, allocations: 0 / 1.06 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.9614, allocations: 15.98 kB / 1.06 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000158/0.9616, allocations: 24.66 kB / 1.06 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.9616, allocations: 0 / 1.06 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.9629, allocations: 1.246 MB / 1.061 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.9629, allocations: 3.938 kB / 1.061 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004072/0.9634, allocations: 223 kB / 1.062 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.9635, allocations: 100.8 kB / 1.062 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.9636, allocations: 4.094 kB / 1.062 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.9638, allocations: 7.984 kB / 1.062 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.9639, allocations: 7.906 kB / 1.062 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.9639, allocations: 7.812 kB / 1.062 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001806/0.9641, allocations: 135.4 kB / 1.062 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005568/0.9646, allocations: 51.84 kB / 1.062 GB, free: 12.44 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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.0001629/0.9648, allocations: 95.25 kB / 1.062 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005599/0.9654, allocations: 216.8 kB / 1.062 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.9654, allocations: 0 / 1.062 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002707/0.9657, allocations: 149 kB / 1.062 GB, free: 12 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.9661, allocations: 24.67 kB / 1.062 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007999/0.9669, allocations: 234.6 kB / 1.063 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005791/0.9675, allocations: 0.7701 MB / 1.063 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of SimCode: time 1.222e-06/0.9675, allocations: 4 kB / 1.063 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of Templates: time 0.007512/0.9751, allocations: 1.784 MB / 1.065 GB, free: 9.207 MB / 0.6823 GB