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: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) [: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.001519/0.001519, allocations: 189.1 kB / 7.803 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.4843/0.4843, allocations: 90.86 MB / 99.08 MB, free: 14.94 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.25/1.25, allocations: 221.4 MB / 342.8 MB, free: 5.223 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.001022/0.001022, allocations: 96.23 kB / 415.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1693/0.1703, allocations: 78.43 MB / 493.9 MB, free: 8.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.56, allocations: 72.3 MB / 0.553 GB, free: 73.29 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5948/1.155, allocations: 353 MB / 0.8977 GB, free: 3.148 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/1.155, allocations: 82.33 kB / 0.8978 GB, free: 3.109 MB / 0.5573 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 3.185/4.34, allocations: 0.9549 GB / 1.853 GB, free: 20.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/4.34, allocations: 12 kB / 1.853 GB, free: 20.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003823/4.344, allocations: 0.6689 MB / 1.853 GB, free: 19.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004696/4.349, allocations: 1.469 MB / 1.855 GB, free: 18.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.025e-05/4.349, allocations: 32 kB / 1.855 GB, free: 17.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004159/4.349, allocations: 64 kB / 1.855 GB, free: 17.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002137/4.351, allocations: 0.8592 MB / 1.856 GB, free: 17.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/4.353, allocations: 1.047 MB / 1.857 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.178e-05/4.353, allocations: 0 / 1.857 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/4.354, allocations: 7.906 kB / 1.857 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/4.354, allocations: 24 kB / 1.857 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009094/4.363, allocations: 6.457 MB / 1.863 GB, free: 9.004 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/4.364, allocations: 0.8615 MB / 1.864 GB, free: 8.129 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006722/4.365, allocations: 0.512 MB / 1.864 GB, free: 7.617 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/4.366, allocations: 2.26 MB / 1.867 GB, free: 4.859 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008171/4.367, allocations: 0.6541 MB / 1.867 GB, free: 4.176 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=100): time 4.398e-06/4.367, allocations: 4 kB / 1.867 GB, free: 4.172 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100): time 0.003639/4.371, allocations: 1.367 MB / 1.869 GB, free: 2.797 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/4.371, allocations: 141.3 kB / 1.869 GB, free: 2.625 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/4.373, allocations: 0.8853 MB / 1.87 GB, free: 1.734 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/4.373, allocations: 29.7 kB / 1.87 GB, free: 1.699 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003687/4.373, allocations: 445.8 kB / 1.87 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003362/4.374, allocations: 319.3 kB / 1.87 GB, free: 0.9414 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/4.374, allocations: 0 / 1.87 GB, free: 0.9414 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.786e-05/4.374, allocations: 345.9 kB / 1.871 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005944/4.374, allocations: 409.9 kB / 1.871 GB, free: 200 kB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009274/4.375, allocations: 0.632 MB / 1.872 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/4.378, allocations: 0.7388 MB / 1.872 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/4.378, allocations: 0 / 1.872 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004111/4.382, allocations: 1.477 MB / 1.874 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008488/4.383, allocations: 1.615 MB / 1.875 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/4.383, allocations: 8 kB / 1.875 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.564e-05/4.383, allocations: 8 kB / 1.875 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/4.384, allocations: 295.6 kB / 1.876 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.217e-05/4.384, allocations: 11.98 kB / 1.876 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/4.386, allocations: 223 kB / 1.876 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/4.387, allocations: 59.95 kB / 1.876 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/4.387, allocations: 5.875 kB / 1.876 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003653/4.39, allocations: 1.289 MB / 1.877 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/4.39, allocations: 4 kB / 1.877 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/4.39, allocations: 15.27 kB / 1.877 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/4.392, allocations: 291.6 kB / 1.878 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.24e-05/4.392, allocations: 8 kB / 1.878 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/4.394, allocations: 215.1 kB / 1.878 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/4.394, allocations: 59.97 kB / 1.878 GB, free: 9.078 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.0004282/4.394, allocations: 231.6 kB / 1.878 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004825/4.395, allocations: 154.1 kB / 1.878 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005665/4.401, allocations: 2.105 MB / 1.88 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.93e-05/4.401, allocations: 15.98 kB / 1.88 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/4.401, allocations: 1.062 kB / 1.88 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/4.401, allocations: 11.97 kB / 1.88 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008341/4.409, allocations: 3.209 MB / 1.883 GB, free: 3.273 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/4.409, allocations: 3.938 kB / 1.883 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/4.41, allocations: 251.8 kB / 1.884 GB, free: 3.023 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.356e-05/4.41, allocations: 11.33 kB / 1.884 GB, free: 3.016 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/4.411, allocations: 31.97 kB / 1.884 GB, free: 2.984 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.286e-05/4.411, allocations: 9.375 kB / 1.884 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/4.411, allocations: 0 / 1.884 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005891/4.417, allocations: 2.67 MB / 1.886 GB, free: 240 kB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.3371/4.754, allocations: 3.925 MB / 1.89 GB, free: 114.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009167/4.755, allocations: 402.9 kB / 1.891 GB, free: 114.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002531/4.755, allocations: 15.19 kB / 1.891 GB, free: 114.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/4.756, allocations: 168.7 kB / 1.891 GB, free: 114.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/4.756, allocations: 72.72 kB / 1.891 GB, free: 114.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/4.757, allocations: 57.95 kB / 1.891 GB, free: 114.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.000898/4.757, allocations: 0.6718 MB / 1.891 GB, free: 114.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004098/4.762, allocations: 1.138 MB / 1.893 GB, free: 114.5 MB / 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.001665/4.763, allocations: 0.9654 MB / 1.894 GB, free: 114.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002514/4.766, allocations: 1.924 MB / 1.895 GB, free: 114.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/4.766, allocations: 2.969 kB / 1.895 GB, free: 114.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008667/4.767, allocations: 0.8231 MB / 1.896 GB, free: 114.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/4.769, allocations: 497.5 kB / 1.897 GB, free: 114 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/4.773, allocations: 2.497 MB / 1.899 GB, free: 113.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/4.774, allocations: 1.491 MB / 1.901 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of SimCode: time 7.41e-07/4.774, allocations: 2.344 kB / 1.901 GB, free: 112.7 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)