Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.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.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet") [: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.000947/0.0009471, allocations: 192.2 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4366/0.4366, allocations: 90.85 MB / 99.07 MB, free: 14.9 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.19/1.19, allocations: 221.4 MB / 342.8 MB, free: 5.113 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.0009393/0.0009393, allocations: 86.58 kB / 415.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.925e-06/7.955e-06, allocations: 4 kB / 493.9 MB, free: 8.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4034, allocations: 72.3 MB / 0.5529 GB, free: 73.36 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5909/0.9944, allocations: 353 MB / 0.8976 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.9947, allocations: 86.89 kB / 0.8977 GB, free: 5.012 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.26/4.255, allocations: 0.953 GB / 1.851 GB, free: 24.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001498/4.255, allocations: 59.92 kB / 1.851 GB, free: 24.21 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.003235/4.258, allocations: 1.868 MB / 1.853 GB, free: 22.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/4.258, allocations: 8.906 kB / 1.853 GB, free: 22.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003123/4.262, allocations: 0.665 MB / 1.853 GB, free: 21.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003354/4.265, allocations: 1.461 MB / 1.855 GB, free: 20.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.625e-05/4.265, allocations: 32 kB / 1.855 GB, free: 20.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/4.265, allocations: 68 kB / 1.855 GB, free: 20 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0017/4.267, allocations: 0.8592 MB / 1.856 GB, free: 19.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/4.269, allocations: 1.056 MB / 1.857 GB, free: 18.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/4.269, allocations: 0 / 1.857 GB, free: 18.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/4.269, allocations: 7.906 kB / 1.857 GB, free: 18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/4.269, allocations: 28 kB / 1.857 GB, free: 17.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008693/4.278, allocations: 6.442 MB / 1.863 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/4.279, allocations: 0.8693 MB / 1.864 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006623/4.28, allocations: 0.5031 MB / 1.864 GB, free: 9.699 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/4.281, allocations: 2.264 MB / 1.866 GB, free: 6.938 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007195/4.282, allocations: 0.6561 MB / 1.867 GB, free: 6.254 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=100): time 3.406e-06/4.282, allocations: 0 / 1.867 GB, free: 6.254 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100): time 0.003325/4.285, allocations: 1.367 MB / 1.868 GB, free: 4.879 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/4.285, allocations: 145.3 kB / 1.869 GB, free: 4.703 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/4.286, allocations: 0.8858 MB / 1.869 GB, free: 3.809 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.318e-05/4.286, allocations: 25.7 kB / 1.87 GB, free: 3.777 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003586/4.287, allocations: 445.9 kB / 1.87 GB, free: 3.336 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/4.287, allocations: 322.2 kB / 1.87 GB, free: 3.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/4.287, allocations: 4 kB / 1.87 GB, free: 3.016 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001023/4.287, allocations: 345.9 kB / 1.871 GB, free: 2.672 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00055/4.288, allocations: 405.9 kB / 1.871 GB, free: 2.273 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006635/4.288, allocations: 0.6359 MB / 1.872 GB, free: 1.543 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/4.29, allocations: 0.7246 MB / 1.872 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/4.29, allocations: 4 kB / 1.872 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003196/4.294, allocations: 1.48 MB / 1.874 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005886/4.294, allocations: 1.617 MB / 1.875 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/4.294, allocations: 4 kB / 1.875 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/4.294, allocations: 8 kB / 1.875 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/4.296, allocations: 295.6 kB / 1.876 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/4.296, allocations: 8 kB / 1.876 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/4.297, allocations: 215.1 kB / 1.876 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/4.297, allocations: 55.97 kB / 1.876 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.823e-06/4.297, allocations: 4 kB / 1.876 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00299/4.3, allocations: 1.297 MB / 1.877 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/4.3, allocations: 7.938 kB / 1.877 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/4.3, allocations: 12 kB / 1.877 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/4.302, allocations: 291.6 kB / 1.877 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/4.302, allocations: 15.94 kB / 1.877 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/4.303, allocations: 211.1 kB / 1.878 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/4.303, allocations: 59.97 kB / 1.878 GB, free: 11.16 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003069/4.304, allocations: 227.6 kB / 1.878 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/4.304, allocations: 154.1 kB / 1.878 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004613/4.309, allocations: 2.113 MB / 1.88 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/4.309, allocations: 15.98 kB / 1.88 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/4.309, allocations: 0 / 1.88 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/4.309, allocations: 3.984 kB / 1.88 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006134/4.315, allocations: 3.217 MB / 1.883 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/4.315, allocations: 7.219 kB / 1.883 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/4.316, allocations: 247.7 kB / 1.884 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/4.316, allocations: 7.984 kB / 1.884 GB, free: 5.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.913e-05/4.316, allocations: 31.97 kB / 1.884 GB, free: 5.059 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/4.316, allocations: 7.938 kB / 1.884 GB, free: 5.051 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/4.316, allocations: 7.391 kB / 1.884 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004593/4.321, allocations: 2.666 MB / 1.886 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007764/4.322, allocations: 411.9 kB / 1.887 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/4.322, allocations: 8 kB / 1.887 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/4.323, allocations: 167.8 kB / 1.887 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/4.323, allocations: 68.81 kB / 1.887 GB, free: 1.648 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/4.323, allocations: 59.91 kB / 1.887 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0009238/4.324, allocations: 0.6756 MB / 1.888 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002511/4.327, allocations: 0.8734 MB / 1.888 GB, free: 40 kB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3207/4.648, allocations: 0.9715 MB / 1.889 GB, free: 118.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002827/4.65, allocations: 1.93 MB / 1.891 GB, free: 118 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/4.65, allocations: 0 / 1.891 GB, free: 118 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008686/4.651, allocations: 0.8143 MB / 1.892 GB, free: 117.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/4.654, allocations: 0.4914 MB / 1.893 GB, free: 117.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004936/4.659, allocations: 2.489 MB / 1.895 GB, free: 117.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/4.66, allocations: 1.483 MB / 1.896 GB, free: 116.6 MB / 0.6198 GB Notification: Performance of SimCode: time 1.823e-06/4.66, allocations: 2.656 kB / 1.896 GB, free: 116.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.05793/4.718, allocations: 36.79 MB / 1.932 GB, free: 115.5 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)