Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [: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.265/2.265, 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.001597/0.001597, allocations: 173.3 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 2.023/2.023, allocations: 205.4 MB / 0.5704 GB, free: 15.03 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.001244/0.001244, allocations: 93.42 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.009e-05/1.018e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.24, allocations: 106.2 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6601/0.9002, allocations: 157.3 MB / 1.042 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/0.9006, allocations: 88.19 kB / 1.042 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.1527/1.053, allocations: 36.44 MB / 1.077 GB, free: 216 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.191e-05/1.053, allocations: 23.98 kB / 1.077 GB, free: 192 kB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002628/1.056, allocations: 0.9675 MB / 1.078 GB, free: 15.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/1.056, allocations: 8.031 kB / 1.078 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002721/1.059, allocations: 250.5 kB / 1.079 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/1.061, allocations: 0.5375 MB / 1.079 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/1.061, allocations: 28 kB / 1.079 GB, free: 14.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/1.061, allocations: 36 kB / 1.079 GB, free: 14.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001843/1.063, allocations: 0.622 MB / 1.08 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/1.065, allocations: 1.037 MB / 1.081 GB, free: 13.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.019e-05/1.065, allocations: 11.92 kB / 1.081 GB, free: 13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/1.065, allocations: 4 kB / 1.081 GB, free: 13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/1.065, allocations: 59.16 kB / 1.081 GB, free: 12.95 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008866/1.074, allocations: 5.788 MB / 1.087 GB, free: 7.289 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/1.076, allocations: 0.5276 MB / 1.087 GB, free: 6.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007182/1.076, allocations: 316.1 kB / 1.087 GB, free: 6.711 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-05/1.077, allocations: 12.34 kB / 1.087 GB, free: 6.699 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/1.077, allocations: 41.69 kB / 1.087 GB, free: 6.656 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 3.276e-06/1.077, allocations: 7.875 kB / 1.087 GB, free: 6.648 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.00377/1.08, allocations: 1.177 MB / 1.089 GB, free: 5.719 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/1.08, allocations: 55.84 kB / 1.089 GB, free: 5.652 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007408/1.081, allocations: 409 kB / 1.089 GB, free: 5.328 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.043e-05/1.081, allocations: 29.64 kB / 1.089 GB, free: 5.297 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/1.082, allocations: 350.3 kB / 1.089 GB, free: 4.988 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/1.082, allocations: 161.8 kB / 1.089 GB, free: 4.844 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/1.082, allocations: 0 / 1.089 GB, free: 4.844 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001913/1.082, allocations: 370.4 kB / 1.09 GB, free: 4.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007043/1.083, allocations: 255.4 kB / 1.09 GB, free: 4.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000842/1.084, allocations: 452.1 kB / 1.091 GB, free: 3.926 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008325/1.084, allocations: 330.7 kB / 1.091 GB, free: 3.703 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.084, allocations: 0 / 1.091 GB, free: 3.703 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003052/1.088, allocations: 0.9842 MB / 1.092 GB, free: 2.926 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.717e-05/1.088, allocations: 11.56 kB / 1.092 GB, free: 2.918 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/1.088, allocations: 4 kB / 1.092 GB, free: 2.914 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/1.089, allocations: 279.1 kB / 1.092 GB, free: 2.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009626/1.09, allocations: 111.4 kB / 1.092 GB, free: 2.574 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009594/1.1, allocations: 6.206 MB / 1.098 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/1.101, allocations: 19.92 kB / 1.098 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-05/1.101, allocations: 31.56 kB / 1.098 GB, free: 12.38 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002427/1.101, allocations: 124.7 kB / 1.098 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/1.101, allocations: 67.16 kB / 1.098 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002944/1.104, allocations: 0.8437 MB / 1.099 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/1.104, allocations: 4 kB / 1.099 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.868e-05/1.104, allocations: 8 kB / 1.099 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/1.105, allocations: 3.984 kB / 1.099 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004928/1.109, allocations: 1.594 MB / 1.101 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/1.11, allocations: 7.969 kB / 1.101 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005932/1.11, allocations: 55.34 kB / 1.101 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001568/1.112, allocations: 266 kB / 1.101 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-05/1.112, allocations: 4 kB / 1.101 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01002/1.122, allocations: 6.192 MB / 1.107 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.122, allocations: 0 / 1.107 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003566/1.126, allocations: 1.019 MB / 1.108 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006419/1.126, allocations: 189.7 kB / 1.108 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/1.126, allocations: 0 / 1.108 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006849/1.127, allocations: 15.92 kB / 1.108 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/1.127, allocations: 35.8 kB / 1.108 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.566e-05/1.127, allocations: 19.56 kB / 1.108 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0006393/1.128, allocations: 298.5 kB / 1.109 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001294/1.129, allocations: 199.9 kB / 1.109 GB, free: 2.262 MB / 0.7136 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 (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002507/1.13, allocations: 111.8 kB / 1.109 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003471/1.133, allocations: 1.145 MB / 1.11 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/1.133, allocations: 0 / 1.11 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002184/1.135, allocations: 0.8075 MB / 1.111 GB, free: 324 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/1.137, allocations: 164.8 kB / 1.111 GB, free: 164 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003691/1.141, allocations: 1 MB / 1.112 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/1.142, allocations: 1.055 MB / 1.113 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of SimCode: time 1.252e-06/1.142, allocations: 0 / 1.113 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of Templates: time 0.03263/1.175, allocations: 10.1 MB / 1.123 GB, free: 4.027 MB / 0.7292 GB