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_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [: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.371/2.371, allocations: 253.1 MB / 260.4 MB, free: 7.57 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.002596/0.002595, allocations: 181.2 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.092/2.092, 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.00187/0.001869, allocations: 86.36 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.149e-05/1.178e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2135, allocations: 106.3 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7343/0.9479, allocations: 158.1 MB / 1.042 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003631/0.9483, allocations: 90.84 kB / 1.043 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.1545/1.103, allocations: 36.77 MB / 1.078 GB, free: 15.33 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.818e-05/1.103, allocations: 20 kB / 1.078 GB, free: 15.31 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002156/1.105, allocations: 0.8752 MB / 1.079 GB, free: 14.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/1.105, allocations: 8.031 kB / 1.079 GB, free: 14.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002731/1.108, allocations: 230.2 kB / 1.08 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/1.11, allocations: 0.5488 MB / 1.08 GB, free: 13.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/1.11, allocations: 20 kB / 1.08 GB, free: 13.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/1.11, allocations: 36 kB / 1.08 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001646/1.112, allocations: 0.5691 MB / 1.081 GB, free: 13.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002176/1.114, allocations: 0.999 MB / 1.082 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.678e-05/1.114, allocations: 11.84 kB / 1.082 GB, free: 12.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/1.114, allocations: 8 kB / 1.082 GB, free: 12.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/1.114, allocations: 68.2 kB / 1.082 GB, free: 12.24 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008186/1.122, allocations: 5.67 MB / 1.087 GB, free: 6.652 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009949/1.123, allocations: 398.6 kB / 1.088 GB, free: 6.383 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006828/1.124, allocations: 298.8 kB / 1.088 GB, free: 6.199 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-05/1.124, allocations: 4 kB / 1.088 GB, free: 6.195 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/1.124, allocations: 38.44 kB / 1.088 GB, free: 6.152 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 4.118e-06/1.124, allocations: 0 / 1.088 GB, free: 6.152 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.004147/1.128, allocations: 1.127 MB / 1.089 GB, free: 5.258 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/1.129, allocations: 67.33 kB / 1.089 GB, free: 5.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006802/1.129, allocations: 334.1 kB / 1.089 GB, free: 4.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.318e-05/1.129, allocations: 25.7 kB / 1.089 GB, free: 4.879 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/1.13, allocations: 331 kB / 1.09 GB, free: 4.586 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/1.13, allocations: 142.9 kB / 1.09 GB, free: 4.461 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/1.13, allocations: 0 / 1.09 GB, free: 4.461 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001859/1.13, allocations: 360.5 kB / 1.09 GB, free: 4.121 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005685/1.131, allocations: 227.2 kB / 1.091 GB, free: 3.977 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007313/1.131, allocations: 412.7 kB / 1.091 GB, free: 3.582 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007207/1.132, allocations: 291.8 kB / 1.091 GB, free: 3.387 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/1.132, allocations: 4 kB / 1.091 GB, free: 3.383 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003161/1.135, allocations: 0.9059 MB / 1.092 GB, free: 2.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/1.135, allocations: 8 kB / 1.092 GB, free: 2.652 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/1.135, allocations: 4 kB / 1.092 GB, free: 2.648 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001857/1.137, allocations: 272.2 kB / 1.092 GB, free: 2.418 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007707/1.138, allocations: 91.7 kB / 1.092 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/1.148, allocations: 6.211 MB / 1.098 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000762/1.149, allocations: 12.17 kB / 1.099 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.186e-05/1.149, allocations: 27.19 kB / 1.099 GB, free: 12.16 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 (51): * Single equations (assignments): 47 * 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 {(3,88.9%) 5,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001942/1.149, allocations: 124.1 kB / 1.099 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/1.149, allocations: 59.28 kB / 1.099 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002919/1.152, allocations: 0.822 MB / 1.1 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/1.152, allocations: 4 kB / 1.1 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/1.152, allocations: 4 kB / 1.1 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/1.153, allocations: 0 / 1.1 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004736/1.157, allocations: 1.529 MB / 1.101 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/1.157, allocations: 0 / 1.101 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000429/1.158, allocations: 43.92 kB / 1.101 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001671/1.159, allocations: 275.8 kB / 1.101 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.546e-05/1.16, allocations: 0 / 1.101 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00972/1.169, allocations: 6.21 MB / 1.107 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/1.169, allocations: 4 kB / 1.107 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003057/1.172, allocations: 0.9856 MB / 1.108 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005045/1.173, allocations: 170 kB / 1.109 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/1.173, allocations: 4 kB / 1.109 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/1.174, allocations: 7.984 kB / 1.109 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.582e-05/1.174, allocations: 26.62 kB / 1.109 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-05/1.174, allocations: 11 kB / 1.109 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0004631/1.174, allocations: 254.5 kB / 1.109 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001145/1.175, allocations: 164 kB / 1.109 GB, free: 2.227 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 (25): * Single equations (assignments): 21 * 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,(1,100.0%) 3,(1,100.0%) 5,(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002348/1.176, allocations: 119.8 kB / 1.109 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003154/1.179, allocations: 1.062 MB / 1.11 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.179, allocations: 3.938 kB / 1.11 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002226/1.181, allocations: 0.7603 MB / 1.111 GB, free: 464 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/1.183, allocations: 161 kB / 1.111 GB, free: 308 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/1.186, allocations: 0.9146 MB / 1.112 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/1.187, allocations: 1.02 MB / 1.113 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of SimCode: time 1.102e-06/1.187, allocations: 0 / 1.113 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of Templates: time 0.02722/1.215, allocations: 8.726 MB / 1.121 GB, free: 5.641 MB / 0.7292 GB