Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [: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.475/2.475, allocations: 253.1 MB / 260.4 MB, free: 7.516 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.001576/0.001575, allocations: 177.1 kB / 319.6 MB, free: 3.34 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.038/2.038, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001804/0.001804, allocations: 102.7 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.104e-05/1.114e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1963, allocations: 106.2 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7614/0.9578, allocations: 160.6 MB / 1.045 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003473/0.9583, allocations: 92.25 kB / 1.045 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.249/1.207, allocations: 59.8 MB / 1.103 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001226/1.207, allocations: 35.98 kB / 1.103 GB, free: 8.941 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.005912/1.213, allocations: 1.529 MB / 1.105 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/1.213, allocations: 8.031 kB / 1.105 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005259/1.219, allocations: 465.4 kB / 1.105 GB, free: 7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004017/1.223, allocations: 1.144 MB / 1.106 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-05/1.223, allocations: 51.94 kB / 1.107 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005711/1.223, allocations: 80 kB / 1.107 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006682/1.23, allocations: 2.037 MB / 1.109 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008746/1.239, allocations: 2.62 MB / 1.111 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.32e-05/1.239, allocations: 0 / 1.111 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002817/1.239, allocations: 7.938 kB / 1.111 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008044/1.24, allocations: 162.9 kB / 1.111 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03437/1.275, allocations: 13.96 MB / 1.125 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003457/1.278, allocations: 1.267 MB / 1.126 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002701/1.281, allocations: 1.109 MB / 1.127 GB, free: 288 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.446e-05/1.281, allocations: 16.64 kB / 1.127 GB, free: 272 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/1.281, allocations: 39.22 kB / 1.127 GB, free: 224 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=82): time 4.318e-06/1.281, allocations: 0 / 1.127 GB, free: 224 kB / 0.7292 GB Notification: Performance of matching and sorting (n=139): time 0.05047/1.331, allocations: 8.981 MB / 1.136 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/1.332, allocations: 64.72 kB / 1.136 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/1.334, allocations: 0.9018 MB / 1.137 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0004471/1.334, allocations: 29.64 kB / 1.137 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005788/1.335, allocations: 0.6385 MB / 1.138 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008257/1.336, allocations: 465 kB / 1.138 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/1.336, allocations: 0 / 1.138 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003362/1.336, allocations: 418.7 kB / 1.139 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004112/1.34, allocations: 1.495 MB / 1.14 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004435/1.345, allocations: 1.788 MB / 1.142 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008168/1.353, allocations: 2.109 MB / 1.144 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.626e-05/1.353, allocations: 3.938 kB / 1.144 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.02336/1.377, allocations: 5.784 MB / 1.149 GB, free: 9.359 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/1.377, allocations: 4.562 kB / 1.149 GB, free: 9.355 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.037e-05/1.377, allocations: 12 kB / 1.149 GB, free: 9.344 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01633/1.393, allocations: 2.723 MB / 1.152 GB, free: 6.609 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/1.395, allocations: 219.6 kB / 1.152 GB, free: 6.395 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04096/1.436, allocations: 14.41 MB / 1.166 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002908/1.439, allocations: 51.89 kB / 1.166 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007576/1.44, allocations: 163.9 kB / 1.167 GB, free: 7.48 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * 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: 2 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0006077/1.44, allocations: 132.7 kB / 1.167 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005567/1.441, allocations: 106.8 kB / 1.167 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02138/1.462, allocations: 5.251 MB / 1.172 GB, free: 1.957 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-05/1.462, allocations: 15.94 kB / 1.172 GB, free: 1.941 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.761e-05/1.463, allocations: 12 kB / 1.172 GB, free: 1.93 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.502e-05/1.463, allocations: 3.984 kB / 1.172 GB, free: 1.926 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03195/1.495, allocations: 8.375 MB / 1.18 GB, free: 9.441 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-05/1.495, allocations: 7.938 kB / 1.18 GB, free: 9.434 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/1.496, allocations: 107.9 kB / 1.18 GB, free: 9.328 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0156/1.511, allocations: 2.57 MB / 1.183 GB, free: 6.746 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005023/1.512, allocations: 39.94 kB / 1.183 GB, free: 6.707 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03741/1.549, allocations: 12.38 MB / 1.195 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.477e-05/1.549, allocations: 7.938 kB / 1.195 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02171/1.571, allocations: 5.108 MB / 1.2 GB, free: 4.738 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002203/1.573, allocations: 0.5932 MB / 1.2 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000677/1.574, allocations: 7.984 kB / 1.2 GB, free: 4.117 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00204/1.576, allocations: 35.97 kB / 1.201 GB, free: 4.082 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004865/1.577, allocations: 109 kB / 1.201 GB, free: 3.973 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003814/1.577, allocations: 111.9 kB / 1.201 GB, free: 3.863 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.00166/1.579, allocations: 0.6864 MB / 1.201 GB, free: 3.18 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003555/1.582, allocations: 0.5038 MB / 1.202 GB, free: 2.676 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (62): * Single equations (assignments): 58 * 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: 2 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007381/1.583, allocations: 123 kB / 1.202 GB, free: 2.547 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01423/1.597, allocations: 3.947 MB / 1.206 GB, free: 14.59 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.478e-05/1.597, allocations: 8.25 kB / 1.206 GB, free: 14.58 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.009511/1.607, allocations: 2.272 MB / 1.208 GB, free: 12.29 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/1.609, allocations: 150.6 kB / 1.208 GB, free: 12.14 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/1.621, allocations: 3.34 MB / 1.212 GB, free: 8.707 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003452/1.624, allocations: 1.748 MB / 1.213 GB, free: 6.93 MB / 0.823 GB Notification: Performance of SimCode: time 1.172e-06/1.624, allocations: 0 / 1.213 GB, free: 6.93 MB / 0.823 GB Notification: Performance of Templates: time 0.4318/2.056, allocations: 39.65 MB / 1.252 GB, free: 370.4 MB / 0.8542 GB