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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") [: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.357/1.357, allocations: 285.5 MB / 292.8 MB, free: 10.55 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.0009597/0.0009597, allocations: 185.2 kB / 361.1 MB, free: 7.113 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.051/1.051, allocations: 205.1 MB / 0.6195 GB, free: 10.35 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.000804/0.0008041, allocations: 95.92 kB / 0.7326 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.414e-06/7.514e-06, allocations: 4 kB / 0.8511 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.4242, allocations: 115.3 MB / 0.9637 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6752/1.099, allocations: 448.5 MB / 1.402 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/1.1, allocations: 110.4 kB / 1.402 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.95/5.049, allocations: 1.49 GB / 2.892 GB, free: 98.26 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003982/5.05, allocations: 92.41 kB / 2.892 GB, free: 98.24 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.007288/5.057, allocations: 3.293 MB / 2.895 GB, free: 96.55 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/5.057, allocations: 10.72 kB / 2.895 GB, free: 96.55 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003548/5.061, allocations: 0.8485 MB / 2.896 GB, free: 96.36 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007129/5.068, allocations: 3.403 MB / 2.9 GB, free: 95.7 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001253/5.069, allocations: 377 kB / 2.9 GB, free: 95.69 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003133/5.069, allocations: 123.2 kB / 2.9 GB, free: 95.69 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003241/5.073, allocations: 1.833 MB / 2.902 GB, free: 95.68 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003333/5.076, allocations: 2.049 MB / 2.904 GB, free: 95.38 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.855e-05/5.076, allocations: 5.406 kB / 2.904 GB, free: 95.37 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/5.076, allocations: 6.094 kB / 2.904 GB, free: 95.37 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.443e-05/5.076, allocations: 46.91 kB / 2.904 GB, free: 95.37 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01493/5.091, allocations: 12.68 MB / 2.916 GB, free: 89.08 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/5.093, allocations: 0.9835 MB / 2.917 GB, free: 89.05 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008866/5.093, allocations: 0.7207 MB / 2.918 GB, free: 89.02 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/5.095, allocations: 1.652 MB / 2.92 GB, free: 87.24 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/5.096, allocations: 0.8619 MB / 2.92 GB, free: 87.11 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=130): time 3.056e-06/5.096, allocations: 3.938 kB / 2.92 GB, free: 87.11 MB / 0.9792 GB Notification: Performance of matching and sorting (n=130): time 0.003632/5.099, allocations: 1.738 MB / 2.922 GB, free: 86.88 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/5.099, allocations: 297.7 kB / 2.922 GB, free: 86.54 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/5.102, allocations: 1.917 MB / 2.924 GB, free: 86.31 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/5.102, allocations: 29.55 kB / 2.924 GB, free: 86.28 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004706/5.102, allocations: 0.837 MB / 2.925 GB, free: 85.85 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/5.102, allocations: 440.5 kB / 2.926 GB, free: 85.56 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.544e-05/5.103, allocations: 3.188 kB / 2.926 GB, free: 85.56 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.255e-05/5.103, allocations: 359.3 kB / 2.926 GB, free: 85.25 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008526/5.103, allocations: 0.6091 MB / 2.926 GB, free: 85.25 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/5.105, allocations: 1.048 MB / 2.927 GB, free: 84.78 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/5.107, allocations: 0.8947 MB / 2.928 GB, free: 84.75 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/5.107, allocations: 3.156 kB / 2.928 GB, free: 84.75 MB / 0.9792 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003894/5.11, allocations: 2.137 MB / 2.93 GB, free: 84.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004221/5.111, allocations: 3.046 MB / 2.933 GB, free: 81.33 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/5.111, allocations: 7.531 kB / 2.933 GB, free: 81.33 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002357/5.111, allocations: 103.9 kB / 2.934 GB, free: 81.32 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/5.113, allocations: 440.2 kB / 2.934 GB, free: 81.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006254/5.114, allocations: 1.244 MB / 2.935 GB, free: 80.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/5.116, allocations: 361.5 kB / 2.935 GB, free: 80.18 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/5.116, allocations: 92.08 kB / 2.936 GB, free: 80.18 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 5.821e-06/5.116, allocations: 3.562 kB / 2.936 GB, free: 80.18 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00345/5.12, allocations: 1.793 MB / 2.937 GB, free: 79.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/5.12, allocations: 7.781 kB / 2.937 GB, free: 79.82 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002844/5.12, allocations: 110 kB / 2.937 GB, free: 79.79 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/5.122, allocations: 445.1 kB / 2.938 GB, free: 79.76 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/5.124, allocations: 3.026 MB / 2.941 GB, free: 76.94 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/5.126, allocations: 332.7 kB / 2.941 GB, free: 76.88 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/5.126, allocations: 87.95 kB / 2.941 GB, free: 76.86 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex1.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 175 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003302/5.127, allocations: 175 kB / 2.941 GB, free: 76.7 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003258/5.127, allocations: 279.6 kB / 2.942 GB, free: 76.55 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004473/5.131, allocations: 2.29 MB / 2.944 GB, free: 75.75 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/5.131, allocations: 21.14 kB / 2.944 GB, free: 75.75 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/5.131, allocations: 0 / 2.944 GB, free: 75.75 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002935/5.134, allocations: 1.77 MB / 2.946 GB, free: 74.97 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007386/5.142, allocations: 5.022 MB / 2.951 GB, free: 72.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/5.142, allocations: 6.156 kB / 2.951 GB, free: 72.59 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/5.143, allocations: 340.5 kB / 2.951 GB, free: 72.56 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001733/5.144, allocations: 84.06 kB / 2.951 GB, free: 72.53 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/5.144, allocations: 36.11 kB / 2.951 GB, free: 72.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005771/5.144, allocations: 1.201 MB / 2.952 GB, free: 71.41 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/5.144, allocations: 3.406 kB / 2.952 GB, free: 71.41 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005013/5.149, allocations: 3.369 MB / 2.955 GB, free: 69.59 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/5.15, allocations: 0.6721 MB / 2.956 GB, free: 69.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003718/5.151, allocations: 16.23 kB / 2.956 GB, free: 69.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00212/5.153, allocations: 260.2 kB / 2.956 GB, free: 69.13 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/5.153, allocations: 91.22 kB / 2.956 GB, free: 69.11 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/5.153, allocations: 74.8 kB / 2.957 GB, free: 69.1 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.00199/5.155, allocations: 1.435 MB / 2.958 GB, free: 68.47 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004425/5.16, allocations: 1.574 MB / 2.959 GB, free: 68.13 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.x[1],hex1.thrWayVal.filter.x[2],hex1.con.I.y,TSen1.T,TSen2.T) * Number of discrete variables: 6 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * 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 (147): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002065/5.162, allocations: 1.583 MB / 2.961 GB, free: 67.59 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00388/5.166, allocations: 2.937 MB / 2.964 GB, free: 66.24 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/5.166, allocations: 2.438 kB / 2.964 GB, free: 66.24 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/5.167, allocations: 0.8854 MB / 2.965 GB, free: 65.88 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004529/5.171, allocations: 1.115 MB / 2.966 GB, free: 65.67 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007597/5.179, allocations: 4.128 MB / 2.97 GB, free: 64.07 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001818/5.181, allocations: 2.116 MB / 2.972 GB, free: 63.24 MB / 0.9792 GB Notification: Performance of SimCode: time 7.42e-07/5.181, allocations: 0 / 2.972 GB, free: 63.24 MB / 0.9792 GB Notification: Performance of Templates: time 0.0889/5.27, allocations: 66.4 MB / 3.037 GB, free: 11.3 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)