Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") [: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.11/2.11, allocations: 253.1 MB / 260.4 MB, free: 7.543 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.001653/0.001653, allocations: 193.2 kB / 319.6 MB, free: 3.301 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.896/1.896, 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.001318/0.001317, allocations: 94.38 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.588e-06/9.748e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1946, allocations: 106.3 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8004/0.9951, allocations: 159.8 MB / 1.044 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004472/0.9956, allocations: 92.94 kB / 1.044 GB, free: 12.61 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);. [/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);. Notification: Performance of FrontEnd: time 0.09668/1.092, allocations: 17.31 MB / 1.061 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.331e-05/1.092, allocations: 12 kB / 1.061 GB, free: 14.39 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001559/1.094, allocations: 0.6196 MB / 1.062 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.094, allocations: 8.031 kB / 1.062 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/1.095, allocations: 127.4 kB / 1.062 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009698/1.096, allocations: 321.3 kB / 1.062 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.011e-05/1.097, allocations: 46.47 kB / 1.062 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.42e-05/1.097, allocations: 23.91 kB / 1.062 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009505/1.098, allocations: 324 kB / 1.063 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/1.099, allocations: 447.3 kB / 1.063 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/1.099, allocations: 0 / 1.063 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-05/1.099, allocations: 4 kB / 1.063 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.903e-05/1.099, allocations: 28.64 kB / 1.063 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003955/1.103, allocations: 2.16 MB / 1.065 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008184/1.104, allocations: 220.7 kB / 1.065 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000464/1.104, allocations: 138.8 kB / 1.065 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/1.104, allocations: 3.938 kB / 1.065 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/1.104, allocations: 42.44 kB / 1.066 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 3.247e-06/1.104, allocations: 0 / 1.066 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.001057/1.105, allocations: 249.4 kB / 1.066 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/1.105, allocations: 55.41 kB / 1.066 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/1.106, allocations: 173.7 kB / 1.066 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/1.106, allocations: 33.7 kB / 1.066 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/1.106, allocations: 197.4 kB / 1.066 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.571e-05/1.106, allocations: 68.83 kB / 1.066 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.755e-05/1.106, allocations: 0 / 1.066 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.106, allocations: 328.4 kB / 1.067 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/1.106, allocations: 72.36 kB / 1.067 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/1.107, allocations: 162.1 kB / 1.067 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/1.107, allocations: 105.6 kB / 1.067 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.107, allocations: 0 / 1.067 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001181/1.108, allocations: 320.8 kB / 1.067 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004066/1.109, allocations: 0.9558 MB / 1.068 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/1.109, allocations: 4 kB / 1.068 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007209/1.109, allocations: 94.2 kB / 1.068 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/1.11, allocations: 63.34 kB / 1.068 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003286/1.113, allocations: 1.936 MB / 1.07 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004974/1.114, allocations: 31.98 kB / 1.07 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/1.114, allocations: 15.34 kB / 1.07 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/1.114, allocations: 4 kB / 1.07 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009077/1.115, allocations: 245.6 kB / 1.07 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.115, allocations: 0 / 1.07 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004818/1.115, allocations: 75.2 kB / 1.071 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/1.116, allocations: 55.91 kB / 1.071 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/1.118, allocations: 1.409 MB / 1.072 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000443/1.119, allocations: 23.88 kB / 1.072 GB, free: 3.562 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/1.119, allocations: 8 kB / 1.072 GB, free: 3.555 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000174/1.119, allocations: 116.8 kB / 1.072 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.617e-05/1.119, allocations: 19.75 kB / 1.072 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.761e-05/1.119, allocations: 35.36 kB / 1.072 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.119, allocations: 0 / 1.072 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/1.119, allocations: 0 / 1.072 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.119, allocations: 0 / 1.072 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/1.121, allocations: 0.7381 MB / 1.073 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.121, allocations: 0 / 1.073 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/1.122, allocations: 32.12 kB / 1.073 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006416/1.122, allocations: 100.4 kB / 1.073 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/1.122, allocations: 2.75 kB / 1.073 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004333/1.127, allocations: 2.656 MB / 1.076 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/1.127, allocations: 4.031 kB / 1.076 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001137/1.128, allocations: 401.1 kB / 1.076 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/1.128, allocations: 112.6 kB / 1.076 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/1.128, allocations: 0 / 1.076 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000325/1.128, allocations: 19.42 kB / 1.076 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.648e-05/1.129, allocations: 15.89 kB / 1.076 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/1.129, allocations: 7.5 kB / 1.076 GB, free: 15.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0001889/1.129, allocations: 137.7 kB / 1.076 GB, free: 15.15 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009147/1.13, allocations: 155.4 kB / 1.076 GB, free: 15 MB / 0.698 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 (17): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001766/1.13, allocations: 103.2 kB / 1.077 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002822/1.133, allocations: 0.5747 MB / 1.077 GB, free: 14.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.133, allocations: 7.875 kB / 1.077 GB, free: 14.37 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/1.134, allocations: 332.2 kB / 1.077 GB, free: 14.06 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/1.135, allocations: 35.47 kB / 1.077 GB, free: 14.03 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/1.136, allocations: 408.7 kB / 1.078 GB, free: 13.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006216/1.137, allocations: 0.8485 MB / 1.079 GB, free: 12.78 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/1.137, allocations: 3.938 kB / 1.079 GB, free: 12.77 MB / 0.698 GB Notification: Performance of Templates: time 0.0156/1.152, allocations: 4.636 MB / 1.083 GB, free: 8.168 MB / 0.698 GB