Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.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.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") [: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.125/2.125, allocations: 253.1 MB / 260.4 MB, free: 7.492 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.001644/0.001644, allocations: 177 kB / 319.6 MB, free: 3.301 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.285/2.285, 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.001339/0.001339, allocations: 89.53 kB / 0.6746 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.422e-05/1.439e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2361, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.209/6.446, allocations: 2.504 GB / 3.392 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/6.446, allocations: 88.2 kB / 3.392 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 10.56/17, allocations: 2.252 GB / 5.644 GB, free: 34.81 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001412/17.01, allocations: 156.9 kB / 5.644 GB, free: 34.67 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1084 * Number of variables: 1084 Notification: Performance of Generate backend data structure: time 0.0263/17.03, allocations: 5.639 MB / 5.649 GB, free: 29 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/17.03, allocations: 8.031 kB / 5.649 GB, free: 29 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01392/17.05, allocations: 1.367 MB / 5.651 GB, free: 27.62 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02739/17.07, allocations: 7.206 MB / 5.658 GB, free: 20.43 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000311/17.07, allocations: 136 kB / 5.658 GB, free: 20.29 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002253/17.08, allocations: 263.9 kB / 5.658 GB, free: 20.04 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01706/17.09, allocations: 4.827 MB / 5.663 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02026/17.11, allocations: 5.314 MB / 5.668 GB, free: 9.727 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000215/17.11, allocations: 11.91 kB / 5.668 GB, free: 9.715 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001346/17.11, allocations: 11.94 kB / 5.668 GB, free: 9.703 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002322/17.11, allocations: 204.2 kB / 5.668 GB, free: 9.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.584/17.7, allocations: 26.1 MB / 5.694 GB, free: 132 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/17.71, allocations: 3.651 MB / 5.697 GB, free: 131.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005906/17.72, allocations: 2.198 MB / 5.7 GB, free: 131.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001674/17.72, allocations: 1.088 MB / 5.701 GB, free: 130.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006338/17.72, allocations: 2.036 MB / 5.703 GB, free: 130.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=286): time 7.293e-06/17.72, allocations: 0 / 5.703 GB, free: 130.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=290): time 0.04244/17.77, allocations: 10.05 MB / 5.712 GB, free: 127.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/17.77, allocations: 293.2 kB / 5.713 GB, free: 127.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01161/17.78, allocations: 4 MB / 5.717 GB, free: 127.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001037/17.78, allocations: 29.23 kB / 5.717 GB, free: 127.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00326/17.78, allocations: 1.601 MB / 5.718 GB, free: 126.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003296/17.79, allocations: 0.9684 MB / 5.719 GB, free: 126.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003742/17.79, allocations: 3.25 kB / 5.719 GB, free: 126.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003256/17.79, allocations: 427.1 kB / 5.72 GB, free: 125.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004373/17.79, allocations: 1.528 MB / 5.721 GB, free: 125.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005669/17.8, allocations: 2.398 MB / 5.723 GB, free: 125 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006264/17.8, allocations: 2.073 MB / 5.725 GB, free: 125 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.451e-05/17.8, allocations: 3.531 kB / 5.725 GB, free: 125 MB / 0.948 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.01517/17.82, allocations: 4.44 MB / 5.73 GB, free: 124.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001476/17.82, allocations: 5.849 MB / 5.735 GB, free: 118.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001231/17.82, allocations: 13.66 kB / 5.735 GB, free: 118.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/17.82, allocations: 204.3 kB / 5.736 GB, free: 118.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00679/17.83, allocations: 0.6814 MB / 5.736 GB, free: 118.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004656/17.83, allocations: 3.332 MB / 5.74 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01056/17.84, allocations: 454 kB / 5.74 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001062/17.84, allocations: 123.6 kB / 5.74 GB, free: 116.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/17.84, allocations: 7.625 kB / 5.74 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01288/17.86, allocations: 3.901 MB / 5.744 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.395e-05/17.86, allocations: 13.41 kB / 5.744 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009704/17.86, allocations: 205.2 kB / 5.744 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006311/17.86, allocations: 0.6659 MB / 5.745 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006233/17.87, allocations: 3.803 MB / 5.748 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01026/17.88, allocations: 450.6 kB / 5.749 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/17.88, allocations: 126 kB / 5.749 GB, free: 113.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (357): * Single equations (assignments): 351 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.001369/17.88, allocations: 202.6 kB / 5.749 GB, free: 113.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001846/17.89, allocations: 464 kB / 5.75 GB, free: 113 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01503/17.9, allocations: 4.16 MB / 5.754 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-05/17.9, allocations: 31.73 kB / 5.754 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/17.9, allocations: 6.844 kB / 5.754 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01099/17.91, allocations: 3.456 MB / 5.757 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03308/17.94, allocations: 10.29 MB / 5.767 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.931e-05/17.94, allocations: 6 kB / 5.767 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006687/17.95, allocations: 0.6255 MB / 5.768 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008764/17.95, allocations: 178.6 kB / 5.768 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008089/17.95, allocations: 53.34 kB / 5.768 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004052/17.96, allocations: 3.242 MB / 5.771 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/17.96, allocations: 9.219 kB / 5.771 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01812/17.98, allocations: 7.119 MB / 5.778 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00542/17.98, allocations: 1.138 MB / 5.779 GB, free: 107.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00227/17.98, allocations: 37.86 kB / 5.779 GB, free: 107.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008971/17.99, allocations: 395.7 kB / 5.78 GB, free: 107.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009591/17.99, allocations: 155.5 kB / 5.78 GB, free: 107.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005274/17.99, allocations: 116 kB / 5.78 GB, free: 107.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.009069/18, allocations: 3.098 MB / 5.783 GB, free: 107.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01914/18.02, allocations: 2.743 MB / 5.786 GB, free: 107.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.006983/18.03, allocations: 3.375 MB / 5.789 GB, free: 106.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01741/18.05, allocations: 6.35 MB / 5.795 GB, free: 105.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.747e-05/18.05, allocations: 4.969 kB / 5.795 GB, free: 105.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005628/18.05, allocations: 2.003 MB / 5.797 GB, free: 105.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02567/18.08, allocations: 2.7 MB / 5.8 GB, free: 105.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03549/18.11, allocations: 10.65 MB / 5.81 GB, free: 103.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01196/18.13, allocations: 4.642 MB / 5.815 GB, free: 102.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.753e-06/18.13, allocations: 3.188 kB / 5.815 GB, free: 102.7 MB / 0.948 GB Notification: Performance of Templates: time 0.3385/18.46, allocations: 135 MB / 5.947 GB, free: 93.06 MB / 0.948 GB