Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.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.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3") [: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.086/2.086, allocations: 253.1 MB / 260.4 MB, free: 7.547 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.002247/0.002247, allocations: 185.2 kB / 319.6 MB, free: 3.316 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.82/1.82, allocations: 205.4 MB / 0.5704 GB, free: 15.11 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.001254/0.001253, allocations: 94.34 kB / 0.6746 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.376e-06/8.526e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2217, allocations: 106.3 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.237/6.458, allocations: 2.547 GB / 3.435 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/6.459, allocations: 91 kB / 3.435 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 19.04/25.49, allocations: 4.045 GB / 7.48 GB, free: 81.3 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.002142/25.5, allocations: 225.5 kB / 7.48 GB, free: 81.27 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.04655/25.54, allocations: 8.591 MB / 7.489 GB, free: 77.56 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/25.54, allocations: 8.656 kB / 7.489 GB, free: 77.56 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03211/25.58, allocations: 2.779 MB / 7.492 GB, free: 76.96 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05571/25.63, allocations: 10.2 MB / 7.502 GB, free: 74.94 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009107/25.63, allocations: 219.2 kB / 7.502 GB, free: 74.94 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004426/25.64, allocations: 416.6 kB / 7.502 GB, free: 74.94 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03304/25.67, allocations: 7.806 MB / 7.51 GB, free: 68.76 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03619/25.71, allocations: 8.035 MB / 7.518 GB, free: 60.54 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004582/25.71, allocations: 7.938 kB / 7.518 GB, free: 60.54 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003186/25.71, allocations: 8 kB / 7.518 GB, free: 60.53 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000368/25.71, allocations: 313.3 kB / 7.518 GB, free: 60.22 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1027/25.81, allocations: 37.89 MB / 7.555 GB, free: 20.49 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/25.82, allocations: 3.618 MB / 7.558 GB, free: 16.88 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00921/25.83, allocations: 3.264 MB / 7.562 GB, free: 13.61 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002627/25.83, allocations: 1.406 MB / 7.563 GB, free: 11.93 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01001/25.84, allocations: 3.148 MB / 7.566 GB, free: 8.758 MB / 1.01 GB Notification: Performance of pre-optimization done (n=463): time 9.447e-06/25.84, allocations: 4 kB / 7.566 GB, free: 8.754 MB / 1.01 GB Notification: Performance of matching and sorting (n=474): time 0.0688/25.91, allocations: 13.62 MB / 7.579 GB, free: 11.04 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003041/25.91, allocations: 334.5 kB / 7.58 GB, free: 10.65 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01946/25.93, allocations: 5.301 MB / 7.585 GB, free: 5.359 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001771/25.94, allocations: 37.69 kB / 7.585 GB, free: 5.316 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.005913/25.94, allocations: 2.442 MB / 7.587 GB, free: 2.844 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.00561/25.95, allocations: 1.559 MB / 7.589 GB, free: 1.262 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007296/25.95, allocations: 0 / 7.589 GB, free: 1.262 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0006452/25.95, allocations: 0.5002 MB / 7.589 GB, free: 0.7539 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5797/26.53, allocations: 2.316 MB / 7.592 GB, free: 164.9 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008857/26.54, allocations: 3.526 MB / 7.595 GB, free: 163.6 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/26.55, allocations: 3.143 MB / 7.598 GB, free: 163.5 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.096e-05/26.55, allocations: 7.125 kB / 7.598 GB, free: 163.5 MB / 1.026 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.02816/26.58, allocations: 7.1 MB / 7.605 GB, free: 163.3 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.002271/26.58, allocations: 10.62 MB / 7.615 GB, free: 152.3 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001552/26.58, allocations: 27.97 kB / 7.615 GB, free: 152.3 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004037/26.58, allocations: 0.6292 MB / 7.616 GB, free: 152.3 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01019/26.59, allocations: 1.046 MB / 7.617 GB, free: 152.3 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01804/26.61, allocations: 9.119 MB / 7.626 GB, free: 146.8 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01445/26.63, allocations: 0.5636 MB / 7.627 GB, free: 146.8 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001746/26.63, allocations: 201.7 kB / 7.627 GB, free: 146.8 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/26.63, allocations: 3.75 kB / 7.627 GB, free: 146.8 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02572/26.65, allocations: 6.43 MB / 7.633 GB, free: 146.5 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001439/26.65, allocations: 22.91 kB / 7.633 GB, free: 146.5 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003873/26.66, allocations: 0.6279 MB / 7.634 GB, free: 146.5 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01009/26.67, allocations: 1.038 MB / 7.635 GB, free: 146.5 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02009/26.69, allocations: 10.03 MB / 7.644 GB, free: 140.3 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01411/26.7, allocations: 0.5604 MB / 7.645 GB, free: 140.3 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001707/26.7, allocations: 199.2 kB / 7.645 GB, free: 140.3 MB / 1.026 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: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.con.y,con.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (564): * Single equations (assignments): 556 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 4 {2 23,1 4,1 5,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00289/26.71, allocations: 215 kB / 7.645 GB, free: 140.2 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003655/26.71, allocations: 0.6608 MB / 7.646 GB, free: 140.2 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03366/26.74, allocations: 6.935 MB / 7.653 GB, free: 139.9 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000112/26.74, allocations: 54.03 kB / 7.653 GB, free: 139.9 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.79e-05/26.74, allocations: 0 / 7.653 GB, free: 139.9 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0212/26.76, allocations: 5.678 MB / 7.658 GB, free: 139.4 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05578/26.82, allocations: 15.28 MB / 7.673 GB, free: 138.2 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.834e-05/26.82, allocations: 0 / 7.673 GB, free: 138.2 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01129/26.83, allocations: 1.028 MB / 7.674 GB, free: 138.2 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002591/26.83, allocations: 397.9 kB / 7.675 GB, free: 138.2 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001449/26.84, allocations: 74.72 kB / 7.675 GB, free: 138.2 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01344/26.85, allocations: 9.095 MB / 7.684 GB, free: 131 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/26.85, allocations: 4.562 kB / 7.684 GB, free: 131 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0334/26.88, allocations: 10.32 MB / 7.694 GB, free: 130.1 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008494/26.89, allocations: 1.604 MB / 7.695 GB, free: 129.7 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003881/26.9, allocations: 30.56 kB / 7.695 GB, free: 129.7 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01377/26.91, allocations: 0.5468 MB / 7.696 GB, free: 129.6 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001566/26.91, allocations: 255.1 kB / 7.696 GB, free: 129.6 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000866/26.91, allocations: 184.9 kB / 7.696 GB, free: 129.6 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.01323/26.93, allocations: 4.056 MB / 7.7 GB, free: 129.4 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.03776/26.96, allocations: 4.2 MB / 7.704 GB, free: 129.4 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 24 (vol.dynBal.medium.X[2],vol.dynBal.medium.dT,vol.dynBal.m,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: 5 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,con.y) * Number of discrete states: 3 (weaDat.conTimMin.tNext,weaDat.conTim.tNext,con.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (478): * Single equations (assignments): 465 * 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%) 1,(1,100.0%) 7,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01701/26.98, allocations: 8.059 MB / 7.712 GB, free: 125.8 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.03006/27.01, allocations: 10.21 MB / 7.722 GB, free: 124.8 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.688e-05/27.01, allocations: 4.469 kB / 7.722 GB, free: 124.8 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.01017/27.02, allocations: 3.477 MB / 7.726 GB, free: 124.2 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03489/27.06, allocations: 3.477 MB / 7.729 GB, free: 124.2 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06333/27.12, allocations: 15.48 MB / 7.744 GB, free: 121.5 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0199/27.14, allocations: 6.358 MB / 7.75 GB, free: 120.6 MB / 1.026 GB Notification: Performance of SimCode: time 1.363e-06/27.14, allocations: 0 / 7.75 GB, free: 120.6 MB / 1.026 GB Notification: Performance of Templates: time 0.5284/27.67, allocations: 210.4 MB / 7.956 GB, free: 68.64 MB / 1.026 GB