Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.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.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2") [: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.096/2.096, allocations: 253.1 MB / 260.4 MB, free: 0.5781 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.001593/0.001592, allocations: 187.2 kB / 319.6 MB, free: 7.676 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.022/2.022, allocations: 205.4 MB / 0.5704 GB, free: 25.64 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.001299/0.001299, allocations: 93.39 kB / 0.6746 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.276e-05/1.293e-05, allocations: 4 kB / 0.7843 GB, free: 2.715 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5895/0.5895, allocations: 106.2 MB / 0.888 GB, free: 77.14 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.401/6.99, allocations: 2.546 GB / 3.434 GB, free: 209 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/6.991, allocations: 91.12 kB / 3.434 GB, free: 209 MB / 0.8698 GB Notification: Performance of FrontEnd: time 19.64/26.63, allocations: 4.044 GB / 7.478 GB, free: 69.61 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.002022/26.63, allocations: 231.4 kB / 7.478 GB, free: 69.58 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1757 * Number of variables: 1757 Notification: Performance of Generate backend data structure: time 0.04028/26.67, allocations: 8.543 MB / 7.486 GB, free: 65.98 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/26.67, allocations: 8.5 kB / 7.486 GB, free: 65.98 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02994/26.7, allocations: 2.772 MB / 7.489 GB, free: 65.45 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04411/26.74, allocations: 10.21 MB / 7.499 GB, free: 64.2 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00059/26.75, allocations: 218.8 kB / 7.499 GB, free: 64.2 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003552/26.75, allocations: 417.5 kB / 7.5 GB, free: 64.2 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02907/26.78, allocations: 7.774 MB / 7.507 GB, free: 64.17 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03456/26.81, allocations: 8.012 MB / 7.515 GB, free: 63.52 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004053/26.81, allocations: 9.938 kB / 7.515 GB, free: 63.52 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002972/26.82, allocations: 16.53 kB / 7.515 GB, free: 63.52 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003909/26.82, allocations: 310 kB / 7.515 GB, free: 63.5 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1009/26.92, allocations: 37.81 MB / 7.552 GB, free: 48.66 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00971/26.93, allocations: 3.452 MB / 7.556 GB, free: 48.62 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008754/26.94, allocations: 3.21 MB / 7.559 GB, free: 48.58 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002538/26.94, allocations: 1.396 MB / 7.56 GB, free: 47.17 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01002/26.95, allocations: 3.118 MB / 7.563 GB, free: 47.02 MB / 1.026 GB Notification: Performance of pre-optimization done (n=456): time 9.457e-06/26.95, allocations: 0 / 7.563 GB, free: 47.02 MB / 1.026 GB Notification: Performance of matching and sorting (n=460): time 0.0683/27.02, allocations: 15.32 MB / 7.578 GB, free: 43.08 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001744/27.02, allocations: 411.6 kB / 7.579 GB, free: 42.64 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01857/27.04, allocations: 5.314 MB / 7.584 GB, free: 42.23 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001584/27.04, allocations: 35.83 kB / 7.584 GB, free: 42.2 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.004838/27.04, allocations: 2.443 MB / 7.586 GB, free: 40.95 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.004882/27.05, allocations: 1.519 MB / 7.588 GB, free: 39.93 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005858/27.05, allocations: 1.969 kB / 7.588 GB, free: 39.93 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0004975/27.05, allocations: 0.4897 MB / 7.588 GB, free: 39.61 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007027/27.06, allocations: 2.269 MB / 7.59 GB, free: 39.59 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008885/27.06, allocations: 3.466 MB / 7.594 GB, free: 38.34 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/27.07, allocations: 3.085 MB / 7.597 GB, free: 38.29 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-05/27.07, allocations: 9.781 kB / 7.597 GB, free: 38.29 MB / 1.026 GB Notification: Performance of matching and sorting (n=598) (initialization): time 0.02709/27.1, allocations: 6.728 MB / 7.603 GB, free: 37.8 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.002425/27.1, allocations: 10.63 MB / 7.614 GB, free: 26.75 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001923/27.1, allocations: 22.56 kB / 7.614 GB, free: 26.75 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002456/27.11, allocations: 364.5 kB / 7.614 GB, free: 26.72 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01083/27.12, allocations: 1.069 MB / 7.615 GB, free: 26.72 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/27.13, allocations: 6.268 MB / 7.621 GB, free: 21.92 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01405/27.14, allocations: 0.5445 MB / 7.622 GB, free: 21.88 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001719/27.14, allocations: 199.9 kB / 7.622 GB, free: 21.88 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/27.14, allocations: 5.812 kB / 7.622 GB, free: 21.88 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02374/27.17, allocations: 6.063 MB / 7.628 GB, free: 21.4 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001999/27.17, allocations: 23 kB / 7.628 GB, free: 21.4 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00247/27.17, allocations: 372.6 kB / 7.628 GB, free: 21.3 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01065/27.18, allocations: 1.054 MB / 7.629 GB, free: 21.21 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/27.19, allocations: 6.599 MB / 7.636 GB, free: 31.48 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01356/27.21, allocations: 0.5257 MB / 7.636 GB, free: 31.45 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001685/27.21, allocations: 190.5 kB / 7.637 GB, free: 31.41 MB / 1.042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: fan.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (577): * Single equations (assignments): 569 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 3 {1 4,1 5,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002063/27.21, allocations: 215 kB / 7.637 GB, free: 31.22 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002706/27.21, allocations: 0.6674 MB / 7.637 GB, free: 30.88 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0261/27.24, allocations: 6.701 MB / 7.644 GB, free: 28.53 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.776e-05/27.24, allocations: 46.97 kB / 7.644 GB, free: 28.53 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.12e-05/27.24, allocations: 8.875 kB / 7.644 GB, free: 28.53 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01915/27.26, allocations: 5.505 MB / 7.649 GB, free: 26.46 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05442/27.31, allocations: 14.84 MB / 7.664 GB, free: 20.36 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.212e-05/27.31, allocations: 1.406 kB / 7.664 GB, free: 20.36 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01097/27.32, allocations: 0.9919 MB / 7.665 GB, free: 19.9 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002343/27.33, allocations: 370.9 kB / 7.665 GB, free: 19.6 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001286/27.33, allocations: 70.84 kB / 7.665 GB, free: 19.55 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01362/27.34, allocations: 9.068 MB / 7.674 GB, free: 10.3 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.256e-05/27.34, allocations: 7.906 kB / 7.674 GB, free: 10.29 MB / 1.042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03571/27.38, allocations: 10.34 MB / 7.684 GB, free: 0.9961 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01114/27.39, allocations: 1.734 MB / 7.686 GB, free: 0 / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003653/27.39, allocations: 37.05 kB / 7.686 GB, free: 0 / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01293/27.41, allocations: 0.4964 MB / 7.686 GB, free: 15.69 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001499/27.41, allocations: 246.8 kB / 7.687 GB, free: 15.55 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008592/27.41, allocations: 174.4 kB / 7.687 GB, free: 15.41 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.01315/27.42, allocations: 4.068 MB / 7.691 GB, free: 11.88 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.03541/27.46, allocations: 4.084 MB / 7.695 GB, free: 7.852 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 24 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],cooCoi.ele[1].vol1.dynBal.U,cooCoi.ele[1].vol2.dynBal.U,cooCoi.ele[1].vol2.dynBal.mXi[1],cooCoi.ele[1].mas.T,cooCoi.ele[2].vol1.dynBal.U,cooCoi.ele[2].vol2.dynBal.U,cooCoi.ele[2].vol2.dynBal.mXi[1],cooCoi.ele[2].mas.T,cooCoi.ele[3].vol1.dynBal.U,cooCoi.ele[3].vol2.dynBal.U,cooCoi.ele[3].vol2.dynBal.mXi[1],cooCoi.ele[3].mas.T,cooCoi.ele[4].vol1.dynBal.U,cooCoi.ele[4].vol2.dynBal.U,cooCoi.ele[4].vol2.dynBal.m,cooCoi.ele[4].vol2.dynBal.mXi[1],cooCoi.ele[4].mas.T,senTemHXOut.T,senTemSupAir.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (461): * Single equations (assignments): 448 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 7,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 2 {1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01791/27.47, allocations: 8.057 MB / 7.703 GB, free: 1.109 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.6022/28.08, allocations: 9.962 MB / 7.712 GB, free: 150.8 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-05/28.08, allocations: 8.812 kB / 7.712 GB, free: 150.8 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.008887/28.09, allocations: 3.341 MB / 7.716 GB, free: 150.3 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03191/28.12, allocations: 3.456 MB / 7.719 GB, free: 150.3 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05742/28.18, allocations: 15.26 MB / 7.734 GB, free: 147.7 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01856/28.19, allocations: 6.321 MB / 7.74 GB, free: 146.7 MB / 1.057 GB Notification: Performance of SimCode: time 1.733e-06/28.19, allocations: 0 / 7.74 GB, free: 146.7 MB / 1.057 GB Notification: Performance of Templates: time 0.512/28.71, allocations: 204.4 MB / 7.94 GB, free: 136.6 MB / 1.057 GB