Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.149/2.149, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001505/0.001505, allocations: 173.3 kB / 360.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.2 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001232/0.001232, allocations: 95.98 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.206e-06/8.345e-06, allocations: 0 / 0.8503 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5546/0.5546, allocations: 115.2 MB / 0.9628 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9546/1.509, allocations: 450.8 MB / 1.403 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/1.51, allocations: 104.5 kB / 1.403 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 11.35/12.86, allocations: 2.616 GB / 4.019 GB, free: 74.42 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.001333/12.86, allocations: 173.8 kB / 4.019 GB, free: 74.39 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 957 * Number of variables: 957 Notification: Performance of Generate backend data structure: time 0.02147/12.88, allocations: 5.863 MB / 4.025 GB, free: 71.79 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/12.88, allocations: 7.688 kB / 4.025 GB, free: 71.79 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/12.89, allocations: 1.437 MB / 4.026 GB, free: 71.42 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02431/12.92, allocations: 6.572 MB / 4.033 GB, free: 70.46 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003948/12.92, allocations: 0.5856 MB / 4.033 GB, free: 70.45 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00177/12.92, allocations: 247.8 kB / 4.034 GB, free: 70.45 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01273/12.94, allocations: 3.452 MB / 4.037 GB, free: 70.43 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01515/12.95, allocations: 3.918 MB / 4.041 GB, free: 69.88 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001602/12.95, allocations: 6.656 kB / 4.041 GB, free: 69.88 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001156/12.95, allocations: 10.97 kB / 4.041 GB, free: 69.88 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/12.95, allocations: 97.64 kB / 4.041 GB, free: 69.88 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05454/13.01, allocations: 22.29 MB / 4.063 GB, free: 60.51 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005046/13.01, allocations: 1.723 MB / 4.064 GB, free: 60.48 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003633/13.02, allocations: 1.224 MB / 4.066 GB, free: 60.46 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002398/13.02, allocations: 1.923 MB / 4.067 GB, free: 58.4 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004584/13.02, allocations: 1.364 MB / 4.069 GB, free: 58.3 MB / 1.057 GB Notification: Performance of pre-optimization done (n=233): time 6.812e-06/13.02, allocations: 0 / 4.069 GB, free: 58.3 MB / 1.057 GB Notification: Performance of matching and sorting (n=233): time 0.01255/13.04, allocations: 2.938 MB / 4.072 GB, free: 57.95 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/13.04, allocations: 499.4 kB / 4.072 GB, free: 57.38 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01041/13.05, allocations: 3.703 MB / 4.076 GB, free: 57.06 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.00118/13.05, allocations: 33.39 kB / 4.076 GB, free: 57.03 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.00323/13.05, allocations: 1.6 MB / 4.077 GB, free: 56.23 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001974/13.05, allocations: 0.7636 MB / 4.078 GB, free: 55.72 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004736/13.05, allocations: 0 / 4.078 GB, free: 55.72 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.000305/13.05, allocations: 421.8 kB / 4.078 GB, free: 55.41 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004593/13.06, allocations: 1.136 MB / 4.08 GB, free: 55.41 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005959/13.07, allocations: 2.094 MB / 4.082 GB, free: 54.35 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009515/13.08, allocations: 1.662 MB / 4.083 GB, free: 54.3 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.774e-05/13.08, allocations: 6.281 kB / 4.083 GB, free: 54.3 MB / 1.057 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.02032/13.1, allocations: 3.817 MB / 4.087 GB, free: 53.92 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.002145/13.1, allocations: 8.738 MB / 4.095 GB, free: 44.81 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001628/13.1, allocations: 23.25 kB / 4.096 GB, free: 44.81 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001158/13.1, allocations: 39.34 kB / 4.096 GB, free: 44.8 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01367/13.11, allocations: 0.996 MB / 4.097 GB, free: 44.8 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004806/13.12, allocations: 5.496 MB / 4.102 GB, free: 39.53 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01289/13.13, allocations: 0.6092 MB / 4.102 GB, free: 39.38 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001386/13.13, allocations: 163.5 kB / 4.103 GB, free: 39.38 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/13.13, allocations: 6.906 kB / 4.103 GB, free: 39.38 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01224/13.14, allocations: 3.212 MB / 4.106 GB, free: 39.29 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-05/13.14, allocations: 25.56 kB / 4.106 GB, free: 39.29 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.378e-05/13.14, allocations: 39.31 kB / 4.106 GB, free: 39.29 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008015/13.15, allocations: 0.9006 MB / 4.107 GB, free: 39.29 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.864e-05/13.15, allocations: 40.64 kB / 4.107 GB, free: 39.29 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00925/13.16, allocations: 0.5515 MB / 4.107 GB, free: 39.18 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001109/13.16, allocations: 162.2 kB / 4.107 GB, free: 39.18 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition3,hex1.trigger,$PRE.tri.pulseStart,tri.pulseStart,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex3.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (381): * Single equations (assignments): 365 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001207/13.16, allocations: 221.8 kB / 4.108 GB, free: 39.03 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00179/13.17, allocations: 0.5102 MB / 4.108 GB, free: 38.75 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01534/13.18, allocations: 3.786 MB / 4.112 GB, free: 38.53 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.795e-05/13.18, allocations: 35.34 kB / 4.112 GB, free: 38.53 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/13.18, allocations: 0 / 4.112 GB, free: 38.53 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009869/13.19, allocations: 2.72 MB / 4.115 GB, free: 38.29 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0263/13.22, allocations: 8.092 MB / 4.122 GB, free: 37.66 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.827e-05/13.22, allocations: 3.812 kB / 4.122 GB, free: 37.66 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007106/13.22, allocations: 0.7315 MB / 4.123 GB, free: 37.66 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-05/13.22, allocations: 13.62 kB / 4.123 GB, free: 37.66 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000662/13.22, allocations: 54.3 kB / 4.123 GB, free: 37.66 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002487/13.23, allocations: 5.392 MB / 4.129 GB, free: 32.39 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/13.23, allocations: 2.469 kB / 4.129 GB, free: 32.39 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01612/13.24, allocations: 5.312 MB / 4.134 GB, free: 31.39 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004595/13.25, allocations: 1.16 MB / 4.135 GB, free: 30.99 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002033/13.25, allocations: 13.17 kB / 4.135 GB, free: 30.99 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008967/13.26, allocations: 460.5 kB / 4.135 GB, free: 30.97 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008145/13.26, allocations: 151.6 kB / 4.135 GB, free: 30.97 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005887/13.26, allocations: 125.4 kB / 4.136 GB, free: 30.97 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.008344/13.27, allocations: 2.742 MB / 4.138 GB, free: 30.79 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.01609/13.29, allocations: 2.791 MB / 4.141 GB, free: 30.37 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 15 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.x[1],hex1.thrWayVal.filter.x[2],hex1.con.I.y,TSen1.T,TSen2.T,hex2.thrWayVal.vol.dynBal.U,hex2.thrWayVal.filter.x[1],hex2.thrWayVal.filter.x[2],hex2.con.I.y,hex3.thrWayVal.vol.dynBal.U,hex3.thrWayVal.filter.x[1],hex3.thrWayVal.filter.x[2],hex3.con.I.y,TSen3.T) * Number of discrete variables: 10 (hex1.trigger,$whenCondition3,$whenCondition2,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled,tri.pulseStart) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (277): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 13 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00664/13.29, allocations: 2.673 MB / 4.144 GB, free: 29.3 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0193/13.31, allocations: 5.168 MB / 4.149 GB, free: 28.81 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/13.31, allocations: 8.25 kB / 4.149 GB, free: 28.81 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.004828/13.32, allocations: 1.531 MB / 4.15 GB, free: 28.72 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02127/13.34, allocations: 2.256 MB / 4.152 GB, free: 28.66 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02863/13.37, allocations: 7.836 MB / 4.16 GB, free: 26.53 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007367/13.37, allocations: 3.447 MB / 4.163 GB, free: 25.64 MB / 1.057 GB Notification: Performance of SimCode: time 1.332e-06/13.37, allocations: 0 / 4.163 GB, free: 25.64 MB / 1.057 GB Notification: Performance of Templates: time 0.8294/14.2, allocations: 122.6 MB / 4.283 GB, free: 194.9 MB / 1.089 GB make -j1 -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.makefile (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.sim & ./Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe 2>&1)