Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.563/1.563, allocations: 289.8 MB / 297.1 MB, free: 6.645 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 181.2 kB / 366.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.1 MB / 0.6256 GB, free: 5.855 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009753/0.0009752, allocations: 92.22 kB / 0.7396 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.285e-06/8.305e-06, allocations: 0 / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7199/0.7199, allocations: 116.3 MB / 0.9726 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.278/5.997, allocations: 2.387 GB / 3.36 GB, free: 62.73 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/5.998, allocations: 101.6 kB / 3.36 GB, free: 62.63 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.586/14.58, allocations: 2.315 GB / 5.674 GB, free: 105.3 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001195/14.59, allocations: 150.1 kB / 5.675 GB, free: 105.3 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: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.02551/14.61, allocations: 5.615 MB / 5.68 GB, free: 103.5 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 7.232e-05/14.61, allocations: 11 kB / 5.68 GB, free: 103.5 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0123/14.62, allocations: 1.364 MB / 5.681 GB, free: 103.2 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02129/14.64, allocations: 7.194 MB / 5.688 GB, free: 102.4 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003345/14.65, allocations: 132.7 kB / 5.689 GB, free: 102.4 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002726/14.65, allocations: 263.2 kB / 5.689 GB, free: 102.4 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01452/14.66, allocations: 4.8 MB / 5.694 GB, free: 102.4 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01324/14.68, allocations: 5.296 MB / 5.699 GB, free: 101.9 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001334/14.68, allocations: 11.88 kB / 5.699 GB, free: 101.9 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005807/14.68, allocations: 9.938 kB / 5.699 GB, free: 101.9 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/14.68, allocations: 210.1 kB / 5.699 GB, free: 101.9 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04179/14.72, allocations: 26.05 MB / 5.724 GB, free: 91.23 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006396/14.72, allocations: 3.835 MB / 5.728 GB, free: 90.89 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003354/14.73, allocations: 2.205 MB / 5.73 GB, free: 90.85 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/14.73, allocations: 1.083 MB / 5.731 GB, free: 89.72 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002916/14.73, allocations: 2.036 MB / 5.733 GB, free: 89.56 MB / 1.01 GB Notification: Performance of pre-optimization done (n=286): time 5.781e-06/14.73, allocations: 6.094 kB / 5.733 GB, free: 89.56 MB / 1.01 GB Notification: Performance of matching and sorting (n=290): time 0.02737/14.76, allocations: 10.07 MB / 5.743 GB, free: 86.85 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/14.76, allocations: 296.2 kB / 5.743 GB, free: 86.54 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00674/14.77, allocations: 3.971 MB / 5.747 GB, free: 86.25 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001056/14.77, allocations: 32.17 kB / 5.747 GB, free: 86.21 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00225/14.77, allocations: 1.581 MB / 5.749 GB, free: 85.42 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002686/14.77, allocations: 0.9704 MB / 5.75 GB, free: 84.77 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/14.77, allocations: 0 / 5.75 GB, free: 84.77 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002273/14.77, allocations: 432.4 kB / 5.75 GB, free: 84.46 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00235/14.78, allocations: 1.539 MB / 5.752 GB, free: 84.45 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002863/14.78, allocations: 2.403 MB / 5.754 GB, free: 83.6 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003346/14.78, allocations: 2.093 MB / 5.756 GB, free: 83.55 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/14.78, allocations: 3.281 kB / 5.756 GB, free: 83.55 MB / 1.01 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.008158/14.79, allocations: 4.463 MB / 5.761 GB, free: 83.18 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001057/14.79, allocations: 5.843 MB / 5.766 GB, free: 77.07 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.58e-05/14.79, allocations: 20.89 kB / 5.766 GB, free: 77.07 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006008/14.79, allocations: 205 kB / 5.766 GB, free: 77.05 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003048/14.79, allocations: 0.6802 MB / 5.767 GB, free: 77.05 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/14.8, allocations: 3.323 MB / 5.77 GB, free: 74.67 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006783/14.8, allocations: 456.4 kB / 5.771 GB, free: 74.63 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006891/14.8, allocations: 128.1 kB / 5.771 GB, free: 74.63 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/14.8, allocations: 3.906 kB / 5.771 GB, free: 74.63 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006612/14.81, allocations: 3.932 MB / 5.775 GB, free: 74.53 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.804e-05/14.81, allocations: 17.23 kB / 5.775 GB, free: 74.53 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005797/14.81, allocations: 200.7 kB / 5.775 GB, free: 74.51 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/14.82, allocations: 0.6718 MB / 5.776 GB, free: 74.51 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003681/14.82, allocations: 3.794 MB / 5.779 GB, free: 71.96 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006828/14.83, allocations: 437.8 kB / 5.78 GB, free: 71.93 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008418/14.83, allocations: 130.1 kB / 5.78 GB, free: 71.93 MB / 1.01 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.001567/14.83, allocations: 214 kB / 5.78 GB, free: 71.77 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002093/14.83, allocations: 465.9 kB / 5.78 GB, free: 71.54 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009548/14.84, allocations: 4.178 MB / 5.785 GB, free: 71.34 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-05/14.84, allocations: 31.73 kB / 5.785 GB, free: 71.34 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.293e-05/14.84, allocations: 2.906 kB / 5.785 GB, free: 71.34 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005678/14.85, allocations: 3.476 MB / 5.788 GB, free: 71.08 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02605/14.87, allocations: 10.48 MB / 5.798 GB, free: 69.97 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/14.87, allocations: 3.688 kB / 5.798 GB, free: 69.97 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003948/14.88, allocations: 0.6315 MB / 5.799 GB, free: 69.96 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006033/14.88, allocations: 175.3 kB / 5.799 GB, free: 69.95 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003917/14.88, allocations: 56.52 kB / 5.799 GB, free: 69.95 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002907/14.88, allocations: 3.243 MB / 5.802 GB, free: 67.57 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/14.88, allocations: 9.625 kB / 5.802 GB, free: 67.57 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01104/14.89, allocations: 7.143 MB / 5.809 GB, free: 66.18 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004492/14.9, allocations: 1.119 MB / 5.81 GB, free: 65.85 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001986/14.9, allocations: 30.17 kB / 5.81 GB, free: 65.85 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005804/14.9, allocations: 394.5 kB / 5.811 GB, free: 65.83 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004207/14.9, allocations: 154.3 kB / 5.811 GB, free: 65.82 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003617/14.9, allocations: 121.7 kB / 5.811 GB, free: 65.82 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.006103/14.91, allocations: 3.069 MB / 5.814 GB, free: 65.64 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01604/14.93, allocations: 2.732 MB / 5.817 GB, free: 65.57 MB / 1.01 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.005933/14.93, allocations: 3.369 MB / 5.82 GB, free: 64.39 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01061/14.94, allocations: 6.384 MB / 5.826 GB, free: 63.86 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/14.94, allocations: 5.219 kB / 5.826 GB, free: 63.86 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002929/14.95, allocations: 2.019 MB / 5.828 GB, free: 63.71 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01557/14.96, allocations: 2.703 MB / 5.831 GB, free: 63.64 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02486/14.99, allocations: 10.62 MB / 5.841 GB, free: 61.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00688/14.99, allocations: 4.616 MB / 5.846 GB, free: 60.85 MB / 1.01 GB Notification: Performance of SimCode: time 1.333e-06/14.99, allocations: 3.312 kB / 5.846 GB, free: 60.85 MB / 1.01 GB Notification: Performance of Templates: time 0.2291/15.22, allocations: 134.9 MB / 5.977 GB, free: 25.23 MB / 1.01 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1)