Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.7287/0.7287, allocations: 127.4 MB / 134.6 MB, free: 4.09 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 189.2 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.1 MB / 399.1 MB, free: 6.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00139/0.00139, allocations: 87.11 kB / 476.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.054e-05/1.065e-05, allocations: 4 kB / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1971, allocations: 76.74 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.275/1.472, allocations: 349.8 MB / 0.9625 GB, free: 131.9 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/1.472, allocations: 92.06 kB / 0.9626 GB, free: 131.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.564/5.036, allocations: 0.9001 GB / 1.863 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003784/5.036, allocations: 54.33 kB / 1.863 GB, free: 4.715 MB / 0.6823 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.00705/5.043, allocations: 1.88 MB / 1.865 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.186e-05/5.043, allocations: 8.031 kB / 1.865 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004789/5.048, allocations: 0.6671 MB / 1.865 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006476/5.055, allocations: 1.504 MB / 1.867 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.267e-05/5.055, allocations: 36 kB / 1.867 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004945/5.055, allocations: 75.86 kB / 1.867 GB, free: 456 kB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.5762/5.632, allocations: 0.8565 MB / 1.868 GB, free: 58.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004688/5.636, allocations: 1.041 MB / 1.869 GB, free: 58.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.007e-05/5.636, allocations: 5.594 kB / 1.869 GB, free: 58.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002128/5.637, allocations: 1.844 kB / 1.869 GB, free: 58.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.644e-05/5.637, allocations: 26.78 kB / 1.869 GB, free: 58.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/5.647, allocations: 7.102 MB / 1.876 GB, free: 53.96 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/5.648, allocations: 0.8243 MB / 1.876 GB, free: 53.94 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005848/5.649, allocations: 472.7 kB / 1.877 GB, free: 53.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/5.65, allocations: 2.094 MB / 1.879 GB, free: 51.59 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007598/5.651, allocations: 0.6177 MB / 1.88 GB, free: 51.44 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=91): time 4.409e-06/5.651, allocations: 0 / 1.88 GB, free: 51.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=91): time 0.003961/5.655, allocations: 1.376 MB / 1.881 GB, free: 51.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/5.655, allocations: 147.3 kB / 1.881 GB, free: 51.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/5.656, allocations: 0.9278 MB / 1.882 GB, free: 51.01 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/5.657, allocations: 36.88 kB / 1.882 GB, free: 50.98 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000404/5.657, allocations: 476.3 kB / 1.882 GB, free: 50.77 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/5.657, allocations: 286.6 kB / 1.883 GB, free: 50.62 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/5.657, allocations: 0 / 1.883 GB, free: 50.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.771e-05/5.657, allocations: 348.6 kB / 1.883 GB, free: 50.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005909/5.658, allocations: 416.3 kB / 1.883 GB, free: 50.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007583/5.659, allocations: 0.669 MB / 1.884 GB, free: 50.04 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002168/5.661, allocations: 0.7461 MB / 1.885 GB, free: 50.03 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/5.661, allocations: 2.562 kB / 1.885 GB, free: 50.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003567/5.665, allocations: 1.494 MB / 1.886 GB, free: 49.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004465/5.665, allocations: 1.613 MB / 1.888 GB, free: 48.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/5.665, allocations: 5.719 kB / 1.888 GB, free: 48.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.167e-05/5.665, allocations: 10.88 kB / 1.888 GB, free: 48.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/5.667, allocations: 302.5 kB / 1.888 GB, free: 48.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/5.667, allocations: 14.19 kB / 1.888 GB, free: 48.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/5.669, allocations: 248.5 kB / 1.888 GB, free: 48.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/5.669, allocations: 57.2 kB / 1.888 GB, free: 48.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/5.669, allocations: 7.062 kB / 1.888 GB, free: 48.18 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003028/5.672, allocations: 1.274 MB / 1.89 GB, free: 48.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/5.672, allocations: 3.625 kB / 1.89 GB, free: 48.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/5.672, allocations: 9.969 kB / 1.89 GB, free: 48.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/5.673, allocations: 296.9 kB / 1.89 GB, free: 48.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/5.673, allocations: 13.34 kB / 1.89 GB, free: 48.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/5.675, allocations: 205.2 kB / 1.89 GB, free: 48.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/5.675, allocations: 57.16 kB / 1.89 GB, free: 48.13 MB / 0.6823 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 (110): * Single equations (assignments): 107 * 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.0003835/5.676, allocations: 236.6 kB / 1.89 GB, free: 47.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004407/5.676, allocations: 157.3 kB / 1.891 GB, free: 47.85 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004583/5.681, allocations: 1.933 MB / 1.892 GB, free: 47.76 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.683e-05/5.681, allocations: 15.44 kB / 1.893 GB, free: 47.76 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/5.681, allocations: 0 / 1.893 GB, free: 47.76 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/5.681, allocations: 7.719 kB / 1.893 GB, free: 47.76 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/5.683, allocations: 1.184 MB / 1.894 GB, free: 47.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/5.683, allocations: 0 / 1.894 GB, free: 47.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/5.685, allocations: 243.9 kB / 1.894 GB, free: 47.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.966e-05/5.685, allocations: 3.875 kB / 1.894 GB, free: 47.57 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/5.685, allocations: 34.09 kB / 1.894 GB, free: 47.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.904e-06/5.685, allocations: 4.719 kB / 1.894 GB, free: 47.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/5.685, allocations: 3.906 kB / 1.894 GB, free: 47.57 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004606/5.69, allocations: 2.346 MB / 1.896 GB, free: 47.39 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007125/5.69, allocations: 234.7 kB / 1.896 GB, free: 47.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005543/5.691, allocations: 11.53 kB / 1.896 GB, free: 47.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/5.693, allocations: 168.6 kB / 1.897 GB, free: 47.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/5.693, allocations: 59.25 kB / 1.897 GB, free: 47.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/5.693, allocations: 47.59 kB / 1.897 GB, free: 47.21 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001506/5.694, allocations: 0.703 MB / 1.897 GB, free: 47.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003927/5.698, allocations: 0.8744 MB / 1.898 GB, free: 47.07 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 15 * 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.002678/5.701, allocations: 1.001 MB / 1.899 GB, free: 46.89 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00339/5.704, allocations: 1.885 MB / 1.901 GB, free: 46.68 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/5.704, allocations: 0 / 1.901 GB, free: 46.68 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/5.706, allocations: 0.7646 MB / 1.902 GB, free: 46.58 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003298/5.709, allocations: 0.5068 MB / 1.902 GB, free: 46.57 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006856/5.716, allocations: 2.424 MB / 1.905 GB, free: 46.02 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0021/5.718, allocations: 1.497 MB / 1.906 GB, free: 45.29 MB / 0.6823 GB Notification: Performance of SimCode: time 2.034e-06/5.718, allocations: 0 / 1.906 GB, free: 45.29 MB / 0.6823 GB Notification: Performance of Templates: time 0.08083/5.799, allocations: 38 MB / 1.943 GB, free: 44.17 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)