Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 181.2 kB / 7.8 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.442/0.442, allocations: 90.86 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 221.4 MB / 342.8 MB, free: 5.422 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009214/0.0009214, allocations: 92.33 kB / 415.5 MB, free: 6.453 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.675e-06/7.705e-06, allocations: 0 / 493.9 MB, free: 8.105 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3246, allocations: 72.31 MB / 0.5529 GB, free: 73.39 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.825/4.15, allocations: 2.139 GB / 2.692 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003603/4.151, allocations: 87.95 kB / 2.692 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.015/7.165, allocations: 0.9536 GB / 3.646 GB, free: 73.31 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002223/7.166, allocations: 40.14 kB / 3.646 GB, free: 73.3 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.006108/7.172, allocations: 2.122 MB / 3.648 GB, free: 72.37 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/7.172, allocations: 10.06 kB / 3.648 GB, free: 72.37 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003272/7.175, allocations: 0.5797 MB / 3.648 GB, free: 72.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003834/7.179, allocations: 1.372 MB / 3.65 GB, free: 71.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006338/7.18, allocations: 193 kB / 3.65 GB, free: 71.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/7.18, allocations: 69.47 kB / 3.65 GB, free: 71.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001782/7.182, allocations: 0.9587 MB / 3.651 GB, free: 71.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/7.183, allocations: 1.095 MB / 3.652 GB, free: 71.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/7.183, allocations: 7.094 kB / 3.652 GB, free: 71.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.901e-05/7.183, allocations: 2.938 kB / 3.652 GB, free: 71.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.711e-05/7.184, allocations: 49.47 kB / 3.652 GB, free: 71.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008548/7.192, allocations: 5.284 MB / 3.657 GB, free: 69.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/7.193, allocations: 0.7688 MB / 3.658 GB, free: 69.67 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005081/7.194, allocations: 413.7 kB / 3.658 GB, free: 69.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009399/7.195, allocations: 0.8452 MB / 3.659 GB, free: 68.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006586/7.195, allocations: 0.4909 MB / 3.659 GB, free: 68.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 2.926e-06/7.195, allocations: 0 / 3.659 GB, free: 68.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.002299/7.198, allocations: 1.013 MB / 3.66 GB, free: 68.65 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/7.198, allocations: 117 kB / 3.661 GB, free: 68.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/7.199, allocations: 0.8998 MB / 3.661 GB, free: 68.37 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.054e-05/7.199, allocations: 29.11 kB / 3.661 GB, free: 68.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/7.199, allocations: 445.3 kB / 3.662 GB, free: 68.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/7.199, allocations: 273.7 kB / 3.662 GB, free: 67.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.336e-05/7.199, allocations: 3.688 kB / 3.662 GB, free: 67.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.041e-05/7.199, allocations: 341.7 kB / 3.662 GB, free: 67.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005768/7.2, allocations: 395.7 kB / 3.663 GB, free: 67.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007204/7.201, allocations: 0.676 MB / 3.664 GB, free: 67.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/7.202, allocations: 0.5124 MB / 3.664 GB, free: 67.28 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/7.202, allocations: 3.406 kB / 3.664 GB, free: 67.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00209/7.204, allocations: 1.222 MB / 3.665 GB, free: 67.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003494/7.204, allocations: 2.031 MB / 3.667 GB, free: 65.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/7.204, allocations: 10.62 kB / 3.667 GB, free: 65.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/7.204, allocations: 12.16 kB / 3.667 GB, free: 65.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/7.206, allocations: 366 kB / 3.668 GB, free: 65.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005583/7.207, allocations: 1.211 MB / 3.669 GB, free: 63.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/7.208, allocations: 209 kB / 3.669 GB, free: 63.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/7.209, allocations: 56.52 kB / 3.669 GB, free: 63.85 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.757e-06/7.209, allocations: 6.656 kB / 3.669 GB, free: 63.85 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001903/7.21, allocations: 1.051 MB / 3.67 GB, free: 63.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/7.21, allocations: 4.094 kB / 3.67 GB, free: 63.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/7.21, allocations: 11.38 kB / 3.67 GB, free: 63.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/7.212, allocations: 351.4 kB / 3.67 GB, free: 63.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/7.212, allocations: 13.38 kB / 3.67 GB, free: 63.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/7.214, allocations: 192.4 kB / 3.671 GB, free: 63.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/7.214, allocations: 60.88 kB / 3.671 GB, free: 63.79 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0003096/7.214, allocations: 138.4 kB / 3.671 GB, free: 63.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002336/7.214, allocations: 139 kB / 3.671 GB, free: 63.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/7.217, allocations: 1.139 MB / 3.672 GB, free: 63.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/7.217, allocations: 14 kB / 3.672 GB, free: 63.52 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/7.217, allocations: 3.812 kB / 3.672 GB, free: 63.52 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/7.217, allocations: 3.516 kB / 3.672 GB, free: 63.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004427/7.221, allocations: 2.567 MB / 3.675 GB, free: 63.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/7.221, allocations: 7.375 kB / 3.675 GB, free: 63.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/7.222, allocations: 259.5 kB / 3.675 GB, free: 63.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/7.222, allocations: 10.12 kB / 3.675 GB, free: 63.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.758e-05/7.223, allocations: 16.95 kB / 3.675 GB, free: 63.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004013/7.223, allocations: 1.202 MB / 3.676 GB, free: 61.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/7.223, allocations: 5.656 kB / 3.676 GB, free: 61.9 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002597/7.226, allocations: 1.984 MB / 3.678 GB, free: 61.24 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005798/7.226, allocations: 364.5 kB / 3.678 GB, free: 61.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/7.226, allocations: 7.875 kB / 3.678 GB, free: 61.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/7.228, allocations: 154.9 kB / 3.678 GB, free: 61.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/7.228, allocations: 65.3 kB / 3.679 GB, free: 61.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/7.228, allocations: 50.33 kB / 3.679 GB, free: 61.04 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0008461/7.229, allocations: 0.6585 MB / 3.679 GB, free: 60.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002761/7.232, allocations: 0.942 MB / 3.68 GB, free: 60.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.002949/7.235, allocations: 2.29 MB / 3.682 GB, free: 60.19 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003073/7.238, allocations: 1.672 MB / 3.684 GB, free: 60.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/7.238, allocations: 1.312 kB / 3.684 GB, free: 60.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008723/7.239, allocations: 0.5137 MB / 3.684 GB, free: 60.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/7.241, allocations: 496 kB / 3.685 GB, free: 60.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004701/7.246, allocations: 2.09 MB / 3.687 GB, free: 59.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/7.247, allocations: 1.41 MB / 3.688 GB, free: 58.74 MB / 0.6355 GB Notification: Performance of SimCode: time 1.373e-06/7.247, allocations: 0 / 3.688 GB, free: 58.74 MB / 0.6355 GB Notification: Performance of Templates: time 0.06834/7.315, allocations: 42.13 MB / 3.73 GB, free: 56.25 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)