Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") [: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.18/2.18, allocations: 253.1 MB / 260.4 MB, free: 7.477 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.003019/0.003019, allocations: 181.2 kB / 319.6 MB, free: 3.285 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.868/1.868, 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.001303/0.001302, allocations: 95.53 kB / 0.6746 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.768e-06/9.939e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1927, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7145/0.9073, allocations: 141.4 MB / 1.026 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.9076, allocations: 82.45 kB / 1.026 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.1849/1.093, allocations: 27.59 MB / 1.053 GB, free: 6.145 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.679e-05/1.093, allocations: 20 kB / 1.053 GB, free: 6.125 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00264/1.095, allocations: 0.9295 MB / 1.054 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/1.095, allocations: 8.031 kB / 1.054 GB, free: 5.188 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005478/1.096, allocations: 106.8 kB / 1.054 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004292/1.1, allocations: 1.064 MB / 1.055 GB, free: 4.207 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/1.1, allocations: 8 kB / 1.055 GB, free: 4.199 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/1.101, allocations: 39.91 kB / 1.055 GB, free: 4.16 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006481/1.101, allocations: 193.5 kB / 1.055 GB, free: 4.031 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008382/1.102, allocations: 358.6 kB / 1.056 GB, free: 3.719 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/1.102, allocations: 3.938 kB / 1.056 GB, free: 3.715 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.199e-05/1.102, allocations: 4 kB / 1.056 GB, free: 3.711 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/1.102, allocations: 8 kB / 1.056 GB, free: 3.703 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004488/1.107, allocations: 2.408 MB / 1.058 GB, free: 1.418 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/1.108, allocations: 352.8 kB / 1.058 GB, free: 1.145 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/1.108, allocations: 151 kB / 1.059 GB, free: 1.039 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/1.108, allocations: 4 kB / 1.059 GB, free: 1.035 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/1.108, allocations: 41.98 kB / 1.059 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=30): time 2.905e-06/1.108, allocations: 0 / 1.059 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30): time 0.001501/1.11, allocations: 446.8 kB / 1.059 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/1.11, allocations: 55.41 kB / 1.059 GB, free: 0.5469 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/1.112, allocations: 0.7638 MB / 1.06 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/1.112, allocations: 25.7 kB / 1.06 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000255/1.112, allocations: 249.6 kB / 1.06 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/1.112, allocations: 118.9 kB / 1.06 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/1.112, allocations: 4 kB / 1.06 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002386/1.113, allocations: 394.7 kB / 1.061 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006485/1.113, allocations: 221.9 kB / 1.061 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/1.114, allocations: 0.6158 MB / 1.061 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008216/1.115, allocations: 327 kB / 1.062 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/1.115, allocations: 7.938 kB / 1.062 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002662/1.118, allocations: 0.9081 MB / 1.063 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/1.118, allocations: 10.19 kB / 1.063 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/1.118, allocations: 16.03 kB / 1.063 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006559/1.119, allocations: 121.7 kB / 1.063 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/1.12, allocations: 191.4 kB / 1.063 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004928/1.125, allocations: 4.011 MB / 1.067 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/1.128, allocations: 111 kB / 1.067 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/1.128, allocations: 42.25 kB / 1.067 GB, free: 8.727 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * 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 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002143/1.128, allocations: 140 kB / 1.067 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/1.128, allocations: 82.88 kB / 1.067 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/1.129, allocations: 70.11 kB / 1.067 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/1.129, allocations: 8 kB / 1.067 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/1.129, allocations: 4 kB / 1.067 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/1.129, allocations: 3.984 kB / 1.067 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/1.13, allocations: 0.6604 MB / 1.068 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/1.13, allocations: 0 / 1.068 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007303/1.131, allocations: 59.89 kB / 1.068 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005735/1.131, allocations: 107.6 kB / 1.068 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.418e-05/1.131, allocations: 4 kB / 1.068 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004674/1.136, allocations: 3.997 MB / 1.072 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/1.136, allocations: 0 / 1.072 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001828/1.138, allocations: 0.7029 MB / 1.073 GB, free: 2.988 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006413/1.139, allocations: 210.5 kB / 1.073 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/1.139, allocations: 7.984 kB / 1.073 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/1.14, allocations: 31.81 kB / 1.073 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.464e-05/1.14, allocations: 19.34 kB / 1.073 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/1.14, allocations: 4 kB / 1.073 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001187/1.141, allocations: 0.5573 MB / 1.074 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001701/1.143, allocations: 278.9 kB / 1.074 GB, free: 2.059 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003631/1.144, allocations: 171 kB / 1.074 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002104/1.146, allocations: 0.8411 MB / 1.075 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.146, allocations: 4 kB / 1.075 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009349/1.147, allocations: 484.8 kB / 1.075 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/1.148, allocations: 148.1 kB / 1.075 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004087/1.152, allocations: 1.392 MB / 1.077 GB, free: 15.24 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/1.153, allocations: 1.052 MB / 1.078 GB, free: 14.18 MB / 0.698 GB Notification: Performance of SimCode: time 9.12e-07/1.153, allocations: 0 / 1.078 GB, free: 14.18 MB / 0.698 GB Notification: Performance of Templates: time 0.02968/1.183, allocations: 8.747 MB / 1.086 GB, free: 5.547 MB / 0.698 GB