Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.315/1.315, allocations: 285.5 MB / 292.8 MB, free: 10.44 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009572/0.0009572, allocations: 177.3 kB / 361.1 MB, free: 7.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.053/1.053, allocations: 205.1 MB / 0.6195 GB, free: 10.33 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007903/0.0007903, allocations: 91.95 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.901e-06/5.911e-06, allocations: 0 / 0.8511 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.4264, allocations: 115.3 MB / 0.9637 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6741/1.101, allocations: 450.9 MB / 1.404 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/1.101, allocations: 108.2 kB / 1.404 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.068/8.169, allocations: 2.616 GB / 4.02 GB, free: 74.88 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0006998/8.17, allocations: 173.2 kB / 4.02 GB, free: 74.85 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.01369/8.184, allocations: 5.87 MB / 4.026 GB, free: 72.33 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/8.184, allocations: 9.562 kB / 4.026 GB, free: 72.33 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006559/8.19, allocations: 1.431 MB / 4.027 GB, free: 71.96 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01365/8.204, allocations: 6.575 MB / 4.034 GB, free: 70.98 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0018/8.206, allocations: 0.5906 MB / 4.034 GB, free: 70.98 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000986/8.207, allocations: 241.4 kB / 4.035 GB, free: 70.98 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006048/8.213, allocations: 3.458 MB / 4.038 GB, free: 70.96 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006116/8.219, allocations: 3.928 MB / 4.042 GB, free: 70.4 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.111e-05/8.219, allocations: 5.375 kB / 4.042 GB, free: 70.4 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003877/8.219, allocations: 10.78 kB / 4.042 GB, free: 70.39 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.552e-05/8.219, allocations: 99.41 kB / 4.042 GB, free: 70.39 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02838/8.248, allocations: 22.29 MB / 4.064 GB, free: 61.02 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/8.25, allocations: 1.723 MB / 4.065 GB, free: 60.99 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/8.252, allocations: 1.227 MB / 4.067 GB, free: 60.98 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001345/8.253, allocations: 1.927 MB / 4.068 GB, free: 58.92 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00194/8.255, allocations: 1.366 MB / 4.07 GB, free: 58.82 MB / 1.057 GB Notification: Performance of pre-optimization done (n=233): time 4.418e-06/8.255, allocations: 0 / 4.07 GB, free: 58.82 MB / 1.057 GB Notification: Performance of matching and sorting (n=233): time 0.006538/8.262, allocations: 2.936 MB / 4.073 GB, free: 58.46 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.936e-05/8.262, allocations: 497.2 kB / 4.073 GB, free: 57.9 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005543/8.267, allocations: 3.703 MB / 4.077 GB, free: 57.57 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0004695/8.268, allocations: 30.48 kB / 4.077 GB, free: 57.54 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001339/8.269, allocations: 1.604 MB / 4.078 GB, free: 56.74 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007107/8.27, allocations: 0.7632 MB / 4.079 GB, free: 56.23 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/8.27, allocations: 0 / 4.079 GB, free: 56.23 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001347/8.27, allocations: 419.5 kB / 4.08 GB, free: 55.92 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001738/8.272, allocations: 1.143 MB / 4.081 GB, free: 55.91 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002154/8.274, allocations: 2.094 MB / 4.083 GB, free: 54.86 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003685/8.278, allocations: 1.663 MB / 4.084 GB, free: 54.8 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/8.278, allocations: 5.562 kB / 4.084 GB, free: 54.8 MB / 1.057 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.007834/8.286, allocations: 3.822 MB / 4.088 GB, free: 54.43 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.001412/8.287, allocations: 8.733 MB / 4.097 GB, free: 45.32 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.077e-05/8.287, allocations: 23.97 kB / 4.097 GB, free: 45.32 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.52e-05/8.287, allocations: 41.91 kB / 4.097 GB, free: 45.31 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005003/8.292, allocations: 0.9892 MB / 4.098 GB, free: 45.31 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/8.295, allocations: 5.499 MB / 4.103 GB, free: 40.05 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005892/8.3, allocations: 0.6008 MB / 4.104 GB, free: 39.89 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005982/8.301, allocations: 165.6 kB / 4.104 GB, free: 39.89 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/8.301, allocations: 3.688 kB / 4.104 GB, free: 39.89 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00756/8.309, allocations: 3.211 MB / 4.107 GB, free: 39.81 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.341e-05/8.309, allocations: 30.59 kB / 4.107 GB, free: 39.81 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.957e-05/8.309, allocations: 34.56 kB / 4.107 GB, free: 39.81 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003862/8.313, allocations: 0.9 MB / 4.108 GB, free: 39.81 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.284e-05/8.313, allocations: 47.81 kB / 4.108 GB, free: 39.81 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005511/8.318, allocations: 0.5549 MB / 4.108 GB, free: 39.7 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005178/8.319, allocations: 162.4 kB / 4.109 GB, free: 39.7 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.001072/8.32, allocations: 221.6 kB / 4.109 GB, free: 39.55 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001663/8.322, allocations: 0.5052 MB / 4.109 GB, free: 39.27 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009763/8.331, allocations: 3.796 MB / 4.113 GB, free: 39.06 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.651e-05/8.331, allocations: 36.75 kB / 4.113 GB, free: 39.06 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/8.331, allocations: 0 / 4.113 GB, free: 39.06 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005517/8.337, allocations: 2.724 MB / 4.116 GB, free: 38.82 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0185/8.355, allocations: 8.073 MB / 4.124 GB, free: 38.21 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/8.356, allocations: 3.844 kB / 4.124 GB, free: 38.21 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003587/8.359, allocations: 0.733 MB / 4.124 GB, free: 38.2 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-05/8.359, allocations: 11.16 kB / 4.124 GB, free: 38.2 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003316/8.36, allocations: 55.33 kB / 4.124 GB, free: 38.2 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/8.361, allocations: 5.388 MB / 4.13 GB, free: 32.94 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/8.361, allocations: 0 / 4.13 GB, free: 32.94 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01009/8.371, allocations: 5.315 MB / 4.135 GB, free: 31.95 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00346/8.375, allocations: 1.152 MB / 4.136 GB, free: 31.55 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001813/8.377, allocations: 22.28 kB / 4.136 GB, free: 31.55 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005302/8.382, allocations: 457.6 kB / 4.136 GB, free: 31.53 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003164/8.382, allocations: 158 kB / 4.136 GB, free: 31.52 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004141/8.383, allocations: 122.4 kB / 4.137 GB, free: 31.52 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.006052/8.389, allocations: 2.741 MB / 4.139 GB, free: 31.34 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.01173/8.4, allocations: 2.795 MB / 4.142 GB, free: 30.92 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.004845/8.405, allocations: 2.668 MB / 4.145 GB, free: 29.89 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01111/8.417, allocations: 5.169 MB / 4.15 GB, free: 29.49 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/8.417, allocations: 448 / 4.15 GB, free: 29.49 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003407/8.42, allocations: 1.544 MB / 4.151 GB, free: 29.39 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01195/8.432, allocations: 2.261 MB / 4.153 GB, free: 29.35 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02254/8.455, allocations: 7.824 MB / 4.161 GB, free: 27.33 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005133/8.46, allocations: 3.45 MB / 4.164 GB, free: 26.44 MB / 1.057 GB Notification: Performance of SimCode: time 8.21e-07/8.46, allocations: 0 / 4.164 GB, free: 26.44 MB / 1.057 GB Notification: Performance of Templates: time 0.1741/8.634, allocations: 122.7 MB / 4.284 GB, free: 3.148 MB / 1.089 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe 2>&1)