Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2.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.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2") [: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.11/2.11, allocations: 253.1 MB / 260.4 MB, free: 7.461 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.001649/0.001648, allocations: 189.1 kB / 319.6 MB, free: 3.289 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.789/1.789, allocations: 205.4 MB / 0.5704 GB, free: 15.01 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.001333/0.001332, allocations: 89.41 kB / 0.6746 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.093e-05/1.104e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2173, allocations: 106.3 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.405/1.622, allocations: 415.4 MB / 1.294 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/1.622, allocations: 90 kB / 1.294 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 10.77/12.4, allocations: 2.276 GB / 3.57 GB, free: 56.38 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001964/12.4, allocations: 256 kB / 3.57 GB, free: 56.15 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.05466/12.45, allocations: 10.78 MB / 3.581 GB, free: 45.37 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/12.45, allocations: 11.97 kB / 3.581 GB, free: 45.36 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/12.46, allocations: 1.257 MB / 3.582 GB, free: 44.09 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05101/12.52, allocations: 12.87 MB / 3.594 GB, free: 31.38 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004076/12.52, allocations: 183.9 kB / 3.595 GB, free: 31.2 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003599/12.52, allocations: 355.9 kB / 3.595 GB, free: 30.85 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04409/12.56, allocations: 18.13 MB / 3.613 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4545/13.02, allocations: 12.76 MB / 3.625 GB, free: 164 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003827/13.02, allocations: 26.81 kB / 3.625 GB, free: 164 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003486/13.02, allocations: 11.78 kB / 3.625 GB, free: 164 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001414/13.02, allocations: 136.1 kB / 3.625 GB, free: 164 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1797/13.2, allocations: 62.18 MB / 3.686 GB, free: 146.2 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01954/13.22, allocations: 8.477 MB / 3.694 GB, free: 146.2 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0201/13.24, allocations: 9.404 MB / 3.703 GB, free: 145.9 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09805/13.34, allocations: 29.53 MB / 3.732 GB, free: 139.1 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01792/13.36, allocations: 7.357 MB / 3.739 GB, free: 139 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=301): time 9.939e-06/13.36, allocations: 0 / 3.739 GB, free: 139 MB / 0.9011 GB Notification: Performance of matching and sorting (n=301): time 0.05139/13.41, allocations: 14.94 MB / 3.754 GB, free: 138.4 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.748e-05/13.41, allocations: 84.12 kB / 3.754 GB, free: 138.4 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02004/13.43, allocations: 6.562 MB / 3.761 GB, free: 138 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.002526/13.43, allocations: 39.64 kB / 3.761 GB, free: 138 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.005737/13.44, allocations: 2.548 MB / 3.763 GB, free: 137 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.006467/13.44, allocations: 1.047 MB / 3.764 GB, free: 136.5 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002306/13.45, allocations: 0 / 3.764 GB, free: 136.5 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0005926/13.45, allocations: 0.4895 MB / 3.765 GB, free: 136.2 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01528/13.46, allocations: 6.244 MB / 3.771 GB, free: 136.1 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01691/13.48, allocations: 8.022 MB / 3.778 GB, free: 134 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0203/13.5, allocations: 7.318 MB / 3.786 GB, free: 133.9 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-05/13.5, allocations: 14.78 kB / 3.786 GB, free: 133.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.0587/13.56, allocations: 16.74 MB / 3.802 GB, free: 133.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.005976/13.57, allocations: 24.47 MB / 3.826 GB, free: 107.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002603/13.57, allocations: 49.66 kB / 3.826 GB, free: 107.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009577/13.58, allocations: 1.603 MB / 3.828 GB, free: 107.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01705/13.59, allocations: 1.569 MB / 3.829 GB, free: 107.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01536/13.61, allocations: 4.638 MB / 3.834 GB, free: 105.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02055/13.63, allocations: 0.6902 MB / 3.834 GB, free: 105.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003509/13.63, allocations: 0.5455 MB / 3.835 GB, free: 105.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/13.63, allocations: 3.719 kB / 3.835 GB, free: 105.6 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05338/13.69, allocations: 15.9 MB / 3.85 GB, free: 105.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002176/13.69, allocations: 48.41 kB / 3.85 GB, free: 105.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009203/13.69, allocations: 1.472 MB / 3.852 GB, free: 105.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01694/13.71, allocations: 1.564 MB / 3.853 GB, free: 105.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02157/13.73, allocations: 7.875 MB / 3.861 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01941/13.75, allocations: 0.5922 MB / 3.862 GB, free: 101.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003529/13.76, allocations: 0.5347 MB / 3.862 GB, free: 101.6 MB / 0.9011 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: val.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (524): * Single equations (assignments): 519 * Array equations: 1 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 3 {3 4,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.004982/13.76, allocations: 269 kB / 3.862 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005081/13.77, allocations: 0.6954 MB / 3.863 GB, free: 101.1 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05571/13.82, allocations: 14.43 MB / 3.877 GB, free: 95.58 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.126e-05/13.82, allocations: 34.44 kB / 3.877 GB, free: 95.58 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/13.82, allocations: 3.625 kB / 3.877 GB, free: 95.58 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02997/13.85, allocations: 10.33 MB / 3.887 GB, free: 90.93 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06502/13.92, allocations: 23.26 MB / 3.91 GB, free: 80.01 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.008e-05/13.92, allocations: 0 / 3.91 GB, free: 80.01 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01085/13.93, allocations: 0.6815 MB / 3.911 GB, free: 79.98 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00394/13.93, allocations: 0.8087 MB / 3.911 GB, free: 79.79 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001546/13.93, allocations: 67.73 kB / 3.911 GB, free: 79.77 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008167/13.94, allocations: 3.406 MB / 3.915 GB, free: 77.63 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/13.94, allocations: 0 / 3.915 GB, free: 77.63 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04849/13.99, allocations: 18.61 MB / 3.933 GB, free: 68.97 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01176/14, allocations: 1.966 MB / 3.935 GB, free: 68.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005601/14.01, allocations: 21.72 kB / 3.935 GB, free: 68.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01895/14.03, allocations: 323.2 kB / 3.935 GB, free: 68.04 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002457/14.03, allocations: 197.2 kB / 3.935 GB, free: 68.01 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001906/14.03, allocations: 156.8 kB / 3.936 GB, free: 67.98 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.01936/14.05, allocations: 4.995 MB / 3.94 GB, free: 66.37 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.03869/14.09, allocations: 4.718 MB / 3.945 GB, free: 65.53 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (303): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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: 0 * Non-linear torn systems: 3 {3 4,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004334/14.09, allocations: 1.181 MB / 3.946 GB, free: 64.65 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0613/14.16, allocations: 23.13 MB / 3.969 GB, free: 44.58 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/14.16, allocations: 4 kB / 3.969 GB, free: 44.58 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.01544/14.17, allocations: 6.111 MB / 3.975 GB, free: 38.92 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03516/14.21, allocations: 3.816 MB / 3.979 GB, free: 36.15 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06228/14.27, allocations: 17.52 MB / 3.996 GB, free: 20.78 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02002/14.29, allocations: 6.332 MB / 4.002 GB, free: 16.18 MB / 0.9011 GB Notification: Performance of SimCode: time 1.543e-06/14.29, allocations: 0 / 4.002 GB, free: 16.18 MB / 0.9011 GB Notification: Performance of Templates: time 1.017/15.31, allocations: 259 MB / 4.255 GB, free: 113.6 MB / 0.9011 GB