Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") [: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.396/2.396, allocations: 253.1 MB / 260.4 MB, free: 7.52 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.001688/0.001687, allocations: 181.3 kB / 319.6 MB, free: 3.309 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.98/1.98, 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.001346/0.001345, allocations: 95.31 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.087e-05/1.104e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2137, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7056/0.9194, allocations: 159.6 MB / 1.044 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/0.9198, allocations: 83.2 kB / 1.044 GB, free: 12.88 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.08112/1.001, allocations: 18.92 MB / 1.062 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.833e-05/1.001, allocations: 8 kB / 1.062 GB, free: 13.52 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.002032/1.003, allocations: 0.6058 MB / 1.063 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/1.003, allocations: 11.97 kB / 1.063 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002054/1.005, allocations: 99.44 kB / 1.063 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000896/1.006, allocations: 299.2 kB / 1.063 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/1.006, allocations: 8 kB / 1.063 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.479e-05/1.006, allocations: 16 kB / 1.063 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00123/1.008, allocations: 294.5 kB / 1.064 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/1.009, allocations: 416.3 kB / 1.064 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/1.009, allocations: 0 / 1.064 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.431e-05/1.009, allocations: 0 / 1.064 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-05/1.009, allocations: 32.64 kB / 1.064 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004827/1.014, allocations: 1.991 MB / 1.066 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000928/1.015, allocations: 182.2 kB / 1.066 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006213/1.016, allocations: 143.3 kB / 1.066 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.182e-05/1.016, allocations: 3.984 kB / 1.066 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/1.016, allocations: 37.88 kB / 1.066 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 3.376e-06/1.016, allocations: 0 / 1.066 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0009442/1.017, allocations: 193 kB / 1.067 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/1.017, allocations: 51.41 kB / 1.067 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/1.017, allocations: 192.3 kB / 1.067 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.12e-05/1.017, allocations: 29.64 kB / 1.067 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/1.018, allocations: 205.3 kB / 1.067 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/1.018, allocations: 65.91 kB / 1.067 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/1.018, allocations: 0 / 1.067 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001929/1.018, allocations: 328.1 kB / 1.067 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/1.018, allocations: 61.42 kB / 1.068 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004514/1.019, allocations: 174.8 kB / 1.068 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/1.019, allocations: 92.86 kB / 1.068 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.019, allocations: 0 / 1.068 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001175/1.02, allocations: 277.1 kB / 1.068 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008498/1.021, allocations: 1.396 MB / 1.069 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/1.021, allocations: 4 kB / 1.069 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003334/1.022, allocations: 31.83 kB / 1.069 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008225/1.022, allocations: 75.16 kB / 1.07 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007602/1.023, allocations: 0.554 MB / 1.07 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007037/1.024, allocations: 43.58 kB / 1.07 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-05/1.024, allocations: 15.98 kB / 1.07 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.024, allocations: 4 kB / 1.07 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000812/1.025, allocations: 192.4 kB / 1.07 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/1.025, allocations: 4 kB / 1.07 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/1.025, allocations: 4 kB / 1.07 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007866/1.026, allocations: 78.95 kB / 1.07 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/1.026, allocations: 12.06 kB / 1.07 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005957/1.026, allocations: 35.77 kB / 1.07 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.652e-05/1.026, allocations: 15.31 kB / 1.07 GB, free: 5.531 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * 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: 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.000208/1.027, allocations: 123.3 kB / 1.071 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/1.027, allocations: 19.72 kB / 1.071 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/1.027, allocations: 27.28 kB / 1.071 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/1.027, allocations: 3.984 kB / 1.071 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/1.027, allocations: 7.844 kB / 1.071 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/1.027, allocations: 7.984 kB / 1.071 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/1.029, allocations: 0.6385 MB / 1.071 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.029, allocations: 0 / 1.071 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00056/1.03, allocations: 43.97 kB / 1.071 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002303/1.03, allocations: 28.47 kB / 1.071 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/1.03, allocations: 0 / 1.071 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/1.032, allocations: 1.268 MB / 1.073 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.032, allocations: 0 / 1.073 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009383/1.033, allocations: 326.9 kB / 1.073 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/1.033, allocations: 119.4 kB / 1.073 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.938e-05/1.033, allocations: 0 / 1.073 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005578/1.034, allocations: 19.98 kB / 1.073 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.637e-05/1.034, allocations: 19.36 kB / 1.073 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/1.034, allocations: 4 kB / 1.073 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002884/1.034, allocations: 156.2 kB / 1.073 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001391/1.036, allocations: 131.5 kB / 1.073 GB, free: 2.598 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002279/1.036, allocations: 103.2 kB / 1.073 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001328/1.037, allocations: 292.7 kB / 1.074 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.037, allocations: 0 / 1.074 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005538/1.038, allocations: 185.1 kB / 1.074 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008978/1.039, allocations: 52.52 kB / 1.074 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/1.041, allocations: 379 kB / 1.074 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000882/1.042, allocations: 0.8328 MB / 1.075 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of SimCode: time 1.423e-06/1.042, allocations: 0 / 1.075 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of Templates: time 0.0183/1.06, allocations: 3.777 MB / 1.079 GB, free: 13.12 MB / 0.698 GB