Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7547/0.7547, allocations: 141.8 MB / 149.1 MB, free: 3.691 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 182.2 kB / 181.9 MB, free: 15.47 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 221.4 MB / 436 MB, free: 8.586 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 98.67 kB / 0.507 GB, free: 24.24 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001827/0.001827, allocations: 280.6 kB / 0.5884 GB, free: 11.65 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.18e-05/1.182e-05, allocations: 7.938 kB / 0.6759 GB, free: 2.023 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4712/0.4712, allocations: 82.75 MB / 0.7567 GB, free: 112.2 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7216/1.193, allocations: 360.6 MB / 1.109 GB, free: 4.238 MB / 0.6357 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/1.193, allocations: 89.64 kB / 1.109 GB, free: 4.191 MB / 0.6357 GB Notification: Performance of FrontEnd: time 6.201/7.394, allocations: 1.538 GB / 2.647 GB, free: 104.2 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0003668/7.395, allocations: 52.23 kB / 2.647 GB, free: 104.2 MB / 0.7138 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.007038/7.402, allocations: 1.887 MB / 2.649 GB, free: 103.3 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 6.63e-05/7.402, allocations: 9 kB / 2.649 GB, free: 103.3 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004406/7.406, allocations: 0.6685 MB / 2.65 GB, free: 103.2 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006172/7.412, allocations: 1.51 MB / 2.651 GB, free: 102.7 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/7.412, allocations: 32.34 kB / 2.651 GB, free: 102.7 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004952/7.413, allocations: 73.36 kB / 2.652 GB, free: 102.7 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002356/7.415, allocations: 0.8235 MB / 2.652 GB, free: 102.7 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002551/7.418, allocations: 1.065 MB / 2.653 GB, free: 102.5 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.477e-05/7.418, allocations: 6.125 kB / 2.653 GB, free: 102.5 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/7.418, allocations: 2.969 kB / 2.653 GB, free: 102.5 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/7.418, allocations: 29.22 kB / 2.653 GB, free: 102.5 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0104/7.429, allocations: 6.704 MB / 2.66 GB, free: 98.55 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/7.43, allocations: 0.8496 MB / 2.661 GB, free: 98.52 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007664/7.431, allocations: 0.4974 MB / 2.661 GB, free: 98.51 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001899/7.433, allocations: 2.255 MB / 2.663 GB, free: 95.98 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009832/7.434, allocations: 0.6379 MB / 2.664 GB, free: 95.82 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=97): time 5.38e-06/7.434, allocations: 0 / 2.664 GB, free: 95.82 MB / 0.7138 GB Notification: Performance of matching and sorting (n=97): time 0.004112/7.438, allocations: 1.303 MB / 2.665 GB, free: 95.7 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/7.438, allocations: 150.1 kB / 2.666 GB, free: 95.54 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/7.441, allocations: 0.9128 MB / 2.666 GB, free: 95.39 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001473/7.441, allocations: 29.61 kB / 2.666 GB, free: 95.36 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005186/7.441, allocations: 461.3 kB / 2.667 GB, free: 95.11 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.000343/7.442, allocations: 309.6 kB / 2.667 GB, free: 94.91 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/7.442, allocations: 3.781 kB / 2.667 GB, free: 94.91 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0001038/7.442, allocations: 343.1 kB / 2.667 GB, free: 94.61 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006461/7.442, allocations: 413 kB / 2.668 GB, free: 94.61 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008053/7.443, allocations: 0.702 MB / 2.669 GB, free: 94.28 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/7.445, allocations: 0.7022 MB / 2.669 GB, free: 94.26 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/7.445, allocations: 0 / 2.669 GB, free: 94.26 MB / 0.7138 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00343/7.449, allocations: 1.461 MB / 2.671 GB, free: 94.14 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005214/7.449, allocations: 2.148 MB / 2.673 GB, free: 91.86 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/7.449, allocations: 7.391 kB / 2.673 GB, free: 91.86 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.942e-05/7.449, allocations: 10.66 kB / 2.673 GB, free: 91.86 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/7.451, allocations: 303.9 kB / 2.673 GB, free: 91.86 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.678e-05/7.451, allocations: 18.44 kB / 2.673 GB, free: 91.85 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/7.453, allocations: 228.8 kB / 2.673 GB, free: 91.81 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/7.453, allocations: 60.8 kB / 2.673 GB, free: 91.81 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/7.453, allocations: 3.906 kB / 2.673 GB, free: 91.81 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002939/7.456, allocations: 1.271 MB / 2.675 GB, free: 91.79 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/7.456, allocations: 5.281 kB / 2.675 GB, free: 91.79 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/7.456, allocations: 12.69 kB / 2.675 GB, free: 91.79 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/7.457, allocations: 303.8 kB / 2.675 GB, free: 91.79 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/7.457, allocations: 15.69 kB / 2.675 GB, free: 91.79 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/7.459, allocations: 222.7 kB / 2.675 GB, free: 91.76 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/7.46, allocations: 59.62 kB / 2.675 GB, free: 91.76 MB / 0.7138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (117): * Single equations (assignments): 114 * 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.0003935/7.46, allocations: 242.3 kB / 2.675 GB, free: 91.55 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004773/7.46, allocations: 156.2 kB / 2.676 GB, free: 91.47 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004792/7.465, allocations: 2.05 MB / 2.678 GB, free: 91.37 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-05/7.465, allocations: 16.89 kB / 2.678 GB, free: 91.37 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/7.465, allocations: 3.969 kB / 2.678 GB, free: 91.37 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/7.465, allocations: 7.641 kB / 2.678 GB, free: 91.37 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006914/7.472, allocations: 3.127 MB / 2.681 GB, free: 90.98 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/7.472, allocations: 0 / 2.681 GB, free: 90.98 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/7.473, allocations: 238.6 kB / 2.681 GB, free: 90.98 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/7.474, allocations: 9.688 kB / 2.681 GB, free: 90.98 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/7.474, allocations: 37.42 kB / 2.681 GB, free: 90.98 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/7.474, allocations: 3.969 kB / 2.681 GB, free: 90.98 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/7.474, allocations: 0 / 2.681 GB, free: 90.98 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004555/7.478, allocations: 2.597 MB / 2.683 GB, free: 90.57 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/7.479, allocations: 403.3 kB / 2.684 GB, free: 90.38 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004773/7.48, allocations: 13.81 kB / 2.684 GB, free: 90.38 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/7.481, allocations: 170.3 kB / 2.684 GB, free: 90.37 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/7.482, allocations: 71.75 kB / 2.684 GB, free: 90.37 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/7.482, allocations: 55.45 kB / 2.684 GB, free: 90.37 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.001188/7.483, allocations: 0.6846 MB / 2.685 GB, free: 90.26 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.003286/7.486, allocations: 0.8794 MB / 2.686 GB, free: 90.14 MB / 0.7138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.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 (101): * Single equations (assignments): 79 * 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.002083/7.488, allocations: 0.998 MB / 2.687 GB, free: 89.9 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.002896/7.491, allocations: 1.937 MB / 2.689 GB, free: 89.42 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/7.491, allocations: 0 / 2.689 GB, free: 89.42 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0009816/7.492, allocations: 0.8083 MB / 2.689 GB, free: 89.04 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/7.495, allocations: 0.5139 MB / 2.69 GB, free: 88.94 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005796/7.501, allocations: 2.717 MB / 2.693 GB, free: 88.04 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/7.502, allocations: 1.489 MB / 2.694 GB, free: 87.28 MB / 0.7138 GB Notification: Performance of SimCode: time 7.01e-07/7.502, allocations: 2.531 kB / 2.694 GB, free: 87.28 MB / 0.7138 GB Notification: Performance of Templates: time 0.07305/7.575, allocations: 37.5 MB / 2.731 GB, free: 62.26 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)