Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [: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.282/2.282, allocations: 253.1 MB / 260.4 MB, free: 7.582 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.001671/0.00167, allocations: 193 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 2.152/2.152, 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.001344/0.001343, allocations: 103.1 kB / 0.6746 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.167e-06/9.318e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1944, allocations: 106.3 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7762/0.9706, allocations: 175 MB / 1.059 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004554/0.9712, allocations: 98.94 kB / 1.059 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1421/1.113, allocations: 30.78 MB / 1.089 GB, free: 3.875 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.859e-05/1.113, allocations: 16 kB / 1.089 GB, free: 3.859 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002432/1.116, allocations: 0.8072 MB / 1.09 GB, free: 3.047 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/1.116, allocations: 8.031 kB / 1.09 GB, free: 3.039 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002685/1.119, allocations: 198.2 kB / 1.09 GB, free: 2.848 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/1.121, allocations: 0.4896 MB / 1.091 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.227e-05/1.121, allocations: 16 kB / 1.091 GB, free: 2.352 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003013/1.121, allocations: 43.33 kB / 1.091 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001561/1.123, allocations: 472 kB / 1.091 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/1.125, allocations: 0.7985 MB / 1.092 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.608e-05/1.125, allocations: 8 kB / 1.092 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/1.125, allocations: 4 kB / 1.092 GB, free: 1.254 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.797e-05/1.125, allocations: 44.16 kB / 1.092 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008231/1.133, allocations: 4.498 MB / 1.096 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006996/1.134, allocations: 278.4 kB / 1.097 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005097/1.135, allocations: 214.9 kB / 1.097 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/1.135, allocations: 7.938 kB / 1.097 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/1.135, allocations: 41.8 kB / 1.097 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 3.587e-06/1.135, allocations: 4 kB / 1.097 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.008703/1.144, allocations: 2.012 MB / 1.099 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/1.144, allocations: 59.41 kB / 1.099 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006555/1.144, allocations: 327.7 kB / 1.099 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001141/1.144, allocations: 25.7 kB / 1.099 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/1.145, allocations: 295 kB / 1.1 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/1.145, allocations: 139.3 kB / 1.1 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/1.145, allocations: 0 / 1.1 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002523/1.145, allocations: 361 kB / 1.1 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005932/1.146, allocations: 230.5 kB / 1.1 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007162/1.147, allocations: 368.1 kB / 1.101 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007242/1.147, allocations: 282 kB / 1.101 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.147, allocations: 4 kB / 1.101 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002991/1.15, allocations: 0.8442 MB / 1.102 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/1.15, allocations: 6.188 kB / 1.102 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/1.15, allocations: 8 kB / 1.102 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/1.152, allocations: 221.1 kB / 1.102 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/1.153, allocations: 103.7 kB / 1.102 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007898/1.161, allocations: 4.624 MB / 1.107 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008892/1.162, allocations: 20.05 kB / 1.107 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-05/1.162, allocations: 23.48 kB / 1.107 GB, free: 3.34 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002359/1.162, allocations: 114.4 kB / 1.107 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/1.162, allocations: 51.34 kB / 1.107 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002782/1.165, allocations: 0.7424 MB / 1.107 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/1.165, allocations: 11.98 kB / 1.107 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/1.165, allocations: 0 / 1.107 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/1.165, allocations: 0 / 1.107 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004444/1.17, allocations: 1.392 MB / 1.109 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/1.17, allocations: 0 / 1.109 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008071/1.171, allocations: 67.3 kB / 1.109 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/1.172, allocations: 207.2 kB / 1.109 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.201e-05/1.172, allocations: 4 kB / 1.109 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007541/1.18, allocations: 4.538 MB / 1.113 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/1.18, allocations: 3.906 kB / 1.113 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003365/1.183, allocations: 1.188 MB / 1.115 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005044/1.184, allocations: 169.6 kB / 1.115 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/1.184, allocations: 4 kB / 1.115 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006019/1.185, allocations: 11.98 kB / 1.115 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.057e-05/1.185, allocations: 27.12 kB / 1.115 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-05/1.185, allocations: 11.88 kB / 1.115 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000454/1.185, allocations: 251.5 kB / 1.115 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001244/1.186, allocations: 148 kB / 1.115 GB, free: 11.11 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002908/1.187, allocations: 114.3 kB / 1.115 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002789/1.19, allocations: 0.9149 MB / 1.116 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/1.19, allocations: 0 / 1.116 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/1.191, allocations: 0.6185 MB / 1.117 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/1.193, allocations: 149 kB / 1.117 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003256/1.196, allocations: 0.9553 MB / 1.118 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/1.197, allocations: 0.9851 MB / 1.119 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of SimCode: time 1.152e-06/1.197, allocations: 0 / 1.119 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of Templates: time 0.02564/1.223, allocations: 8.153 MB / 1.127 GB, free: 15.6 MB / 0.7448 GB