Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.364/1.364, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.0009858/0.0009858, allocations: 177.3 kB / 366.3 MB, free: 2.016 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.067/1.067, allocations: 205.1 MB / 0.6256 GB, free: 7.473 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.0008217/0.0008217, allocations: 95.47 kB / 0.7396 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.402e-06/6.492e-06, allocations: 0 / 0.859 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.4505, allocations: 116.3 MB / 0.9726 GB, free: 76.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6759/1.126, allocations: 451.9 MB / 1.414 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/1.127, allocations: 101.7 kB / 1.414 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.145/8.271, allocations: 2.616 GB / 4.03 GB, free: 71.83 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.000587/8.272, allocations: 174.3 kB / 4.03 GB, free: 71.8 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.01104/8.283, allocations: 5.87 MB / 4.036 GB, free: 69.23 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/8.283, allocations: 11.62 kB / 4.036 GB, free: 69.23 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005113/8.288, allocations: 1.433 MB / 4.037 GB, free: 68.86 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/8.3, allocations: 6.569 MB / 4.044 GB, free: 67.89 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001724/8.301, allocations: 0.5858 MB / 4.044 GB, free: 67.89 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005437/8.302, allocations: 243 kB / 4.044 GB, free: 67.89 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005627/8.308, allocations: 3.458 MB / 4.048 GB, free: 67.87 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005673/8.313, allocations: 3.918 MB / 4.052 GB, free: 67.32 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.692e-05/8.313, allocations: 5.844 kB / 4.052 GB, free: 67.32 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000323/8.314, allocations: 11.38 kB / 4.052 GB, free: 67.31 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.854e-05/8.314, allocations: 107.1 kB / 4.052 GB, free: 67.31 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02562/8.339, allocations: 22.29 MB / 4.074 GB, free: 57.94 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002171/8.342, allocations: 1.721 MB / 4.075 GB, free: 57.91 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/8.343, allocations: 1.228 MB / 4.076 GB, free: 57.89 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/8.345, allocations: 1.925 MB / 4.078 GB, free: 55.82 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00187/8.346, allocations: 1.369 MB / 4.08 GB, free: 55.72 MB / 1.057 GB Notification: Performance of pre-optimization done (n=233): time 3.877e-06/8.346, allocations: 1.781 kB / 4.08 GB, free: 55.72 MB / 1.057 GB Notification: Performance of matching and sorting (n=233): time 0.005988/8.352, allocations: 2.936 MB / 4.083 GB, free: 55.37 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/8.353, allocations: 490.2 kB / 4.083 GB, free: 54.81 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004715/8.357, allocations: 3.704 MB / 4.087 GB, free: 54.48 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0002838/8.358, allocations: 37.39 kB / 4.087 GB, free: 54.45 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001204/8.359, allocations: 1.603 MB / 4.088 GB, free: 53.65 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006415/8.359, allocations: 0.7573 MB / 4.089 GB, free: 53.14 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/8.36, allocations: 2.594 kB / 4.089 GB, free: 53.14 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.000131/8.36, allocations: 421.3 kB / 4.089 GB, free: 52.84 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/8.361, allocations: 1.138 MB / 4.09 GB, free: 52.83 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/8.363, allocations: 2.093 MB / 4.093 GB, free: 51.77 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003419/8.367, allocations: 1.669 MB / 4.094 GB, free: 51.72 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/8.367, allocations: 8.391 kB / 4.094 GB, free: 51.72 MB / 1.057 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.006904/8.374, allocations: 3.817 MB / 4.098 GB, free: 51.34 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.001241/8.375, allocations: 8.734 MB / 4.106 GB, free: 42.23 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-05/8.375, allocations: 29.05 kB / 4.106 GB, free: 42.23 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.265e-05/8.375, allocations: 38.69 kB / 4.106 GB, free: 42.22 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004714/8.38, allocations: 0.9934 MB / 4.107 GB, free: 42.22 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/8.382, allocations: 5.498 MB / 4.113 GB, free: 36.96 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004994/8.387, allocations: 0.6035 MB / 4.113 GB, free: 36.8 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003348/8.387, allocations: 159.6 kB / 4.114 GB, free: 36.8 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 8.866e-06/8.387, allocations: 5.594 kB / 4.114 GB, free: 36.8 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006321/8.394, allocations: 3.214 MB / 4.117 GB, free: 36.72 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.11e-05/8.394, allocations: 22.84 kB / 4.117 GB, free: 36.72 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/8.394, allocations: 35.78 kB / 4.117 GB, free: 36.72 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003633/8.398, allocations: 0.903 MB / 4.118 GB, free: 36.72 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.779e-05/8.398, allocations: 47.19 kB / 4.118 GB, free: 36.72 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004981/8.403, allocations: 0.5477 MB / 4.118 GB, free: 36.61 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003/8.403, allocations: 161.7 kB / 4.118 GB, free: 36.61 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.0007549/8.404, allocations: 231.2 kB / 4.119 GB, free: 36.46 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007798/8.404, allocations: 0.5093 MB / 4.119 GB, free: 36.18 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00777/8.412, allocations: 3.794 MB / 4.123 GB, free: 35.96 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-05/8.412, allocations: 31.67 kB / 4.123 GB, free: 35.96 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/8.412, allocations: 0 / 4.123 GB, free: 35.96 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004773/8.417, allocations: 2.726 MB / 4.125 GB, free: 35.72 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/8.432, allocations: 8.084 MB / 4.133 GB, free: 35.1 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/8.432, allocations: 0 / 4.133 GB, free: 35.1 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003242/8.435, allocations: 0.7325 MB / 4.134 GB, free: 35.09 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.795e-05/8.435, allocations: 9.344 kB / 4.134 GB, free: 35.09 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00019/8.435, allocations: 55.52 kB / 4.134 GB, free: 35.09 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/8.437, allocations: 5.387 MB / 4.139 GB, free: 29.83 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/8.437, allocations: 5.219 kB / 4.139 GB, free: 29.83 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007882/8.444, allocations: 5.312 MB / 4.145 GB, free: 28.84 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002354/8.447, allocations: 1.15 MB / 4.146 GB, free: 28.44 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007238/8.448, allocations: 16 kB / 4.146 GB, free: 28.44 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003731/8.451, allocations: 455.6 kB / 4.146 GB, free: 28.42 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002665/8.452, allocations: 161 kB / 4.146 GB, free: 28.42 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002654/8.452, allocations: 124 kB / 4.146 GB, free: 28.42 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.00406/8.456, allocations: 2.739 MB / 4.149 GB, free: 28.24 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.007535/8.463, allocations: 2.792 MB / 4.152 GB, free: 27.82 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.00351/8.467, allocations: 2.67 MB / 4.154 GB, free: 26.78 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.009092/8.476, allocations: 5.167 MB / 4.16 GB, free: 26.29 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/8.476, allocations: 5.625 kB / 4.16 GB, free: 26.29 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.002537/8.479, allocations: 1.541 MB / 4.161 GB, free: 26.19 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01037/8.489, allocations: 2.264 MB / 4.163 GB, free: 26.13 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/8.505, allocations: 7.826 MB / 4.171 GB, free: 24.09 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003252/8.508, allocations: 3.453 MB / 4.174 GB, free: 23.21 MB / 1.057 GB Notification: Performance of SimCode: time 7.91e-07/8.508, allocations: 0 / 4.174 GB, free: 23.21 MB / 1.057 GB Notification: Performance of Templates: time 0.1763/8.685, allocations: 122.7 MB / 4.294 GB, free: 10.11 MB / 1.104 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe 2>&1)