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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.12/2.12, 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.001599/0.001598, allocations: 177.3 kB / 360.4 MB, free: 7.543 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: 13.21 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.001231, allocations: 88.45 kB / 0.7318 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.504e-06/7.654e-06, allocations: 0 / 0.8503 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5562/0.5562, allocations: 115.2 MB / 0.9628 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9616/1.518, allocations: 448.3 MB / 1.401 GB, free: 116.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003404/1.518, allocations: 105.6 kB / 1.401 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.198/7.717, allocations: 1.49 GB / 2.891 GB, free: 97.18 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0005096/7.717, allocations: 87.42 kB / 2.891 GB, free: 97.16 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.009657/7.727, allocations: 3.297 MB / 2.894 GB, free: 95.61 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/7.727, allocations: 16.38 kB / 2.894 GB, free: 95.61 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006117/7.733, allocations: 0.8401 MB / 2.895 GB, free: 95.41 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01084/7.744, allocations: 3.406 MB / 2.899 GB, free: 94.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002476/7.746, allocations: 379.8 kB / 2.899 GB, free: 94.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004641/7.747, allocations: 124.3 kB / 2.899 GB, free: 94.8 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005376/7.752, allocations: 1.831 MB / 2.901 GB, free: 94.79 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005171/7.757, allocations: 2.043 MB / 2.903 GB, free: 94.5 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.484e-05/7.757, allocations: 3.688 kB / 2.903 GB, free: 94.5 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002968/7.758, allocations: 3.656 kB / 2.903 GB, free: 94.5 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.879e-05/7.758, allocations: 49.7 kB / 2.903 GB, free: 94.5 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02529/7.783, allocations: 12.68 MB / 2.915 GB, free: 88.3 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/7.786, allocations: 0.9853 MB / 2.916 GB, free: 88.27 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/7.787, allocations: 0.7171 MB / 2.917 GB, free: 88.25 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001828/7.789, allocations: 1.649 MB / 2.918 GB, free: 86.47 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001851/7.791, allocations: 0.8577 MB / 2.919 GB, free: 86.34 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=130): time 4.368e-06/7.791, allocations: 2.125 kB / 2.919 GB, free: 86.34 MB / 0.9792 GB Notification: Performance of matching and sorting (n=130): time 0.006428/7.798, allocations: 1.742 MB / 2.921 GB, free: 86.12 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.465e-05/7.798, allocations: 308 kB / 2.921 GB, free: 85.77 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00427/7.802, allocations: 1.914 MB / 2.923 GB, free: 85.54 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0004282/7.802, allocations: 32.58 kB / 2.923 GB, free: 85.51 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008338/7.803, allocations: 0.8289 MB / 2.924 GB, free: 85.09 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000584/7.804, allocations: 437.4 kB / 2.924 GB, free: 84.8 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/7.804, allocations: 1.938 kB / 2.924 GB, free: 84.8 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000118/7.804, allocations: 361.7 kB / 2.925 GB, free: 84.5 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/7.806, allocations: 0.6076 MB / 2.925 GB, free: 84.49 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001952/7.808, allocations: 1.044 MB / 2.926 GB, free: 84.04 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003609/7.811, allocations: 0.8986 MB / 2.927 GB, free: 84.02 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/7.811, allocations: 4.188 kB / 2.927 GB, free: 84.02 MB / 0.9792 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007699/7.819, allocations: 2.139 MB / 2.929 GB, free: 83.77 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005904/7.82, allocations: 3.046 MB / 2.932 GB, free: 80.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-05/7.82, allocations: 6.969 kB / 2.932 GB, free: 80.61 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003985/7.82, allocations: 111.3 kB / 2.932 GB, free: 80.59 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003716/7.824, allocations: 445.3 kB / 2.933 GB, free: 80.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/7.825, allocations: 1.238 MB / 2.934 GB, free: 79.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005031/7.83, allocations: 363.6 kB / 2.934 GB, free: 79.45 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002977/7.83, allocations: 88.67 kB / 2.935 GB, free: 79.45 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/7.83, allocations: 4.531 kB / 2.935 GB, free: 79.45 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00675/7.837, allocations: 1.781 MB / 2.936 GB, free: 79.37 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.118e-05/7.837, allocations: 12.38 kB / 2.936 GB, free: 79.37 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005447/7.838, allocations: 106.4 kB / 2.936 GB, free: 79.35 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003711/7.842, allocations: 442.5 kB / 2.937 GB, free: 79.33 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00364/7.845, allocations: 3.029 MB / 2.94 GB, free: 76.78 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004802/7.85, allocations: 331.3 kB / 2.94 GB, free: 76.72 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00029/7.85, allocations: 87.41 kB / 2.94 GB, free: 76.72 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.0006413/7.851, allocations: 174.2 kB / 2.94 GB, free: 76.56 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006366/7.852, allocations: 278.4 kB / 2.941 GB, free: 76.41 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008606/7.86, allocations: 2.292 MB / 2.943 GB, free: 76.22 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.902e-05/7.86, allocations: 24.11 kB / 2.943 GB, free: 76.22 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/7.86, allocations: 1.312 kB / 2.943 GB, free: 76.22 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005679/7.866, allocations: 1.77 MB / 2.945 GB, free: 75.9 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/7.88, allocations: 5.022 MB / 2.949 GB, free: 75.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/7.88, allocations: 3 kB / 2.949 GB, free: 75.05 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002956/7.883, allocations: 349.2 kB / 2.95 GB, free: 75.04 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002772/7.883, allocations: 84.94 kB / 2.95 GB, free: 75.02 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000158/7.883, allocations: 33.91 kB / 2.95 GB, free: 75.02 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008728/7.884, allocations: 1.205 MB / 2.951 GB, free: 73.97 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/7.884, allocations: 3.938 kB / 2.951 GB, free: 73.97 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008582/7.893, allocations: 3.364 MB / 2.954 GB, free: 73.11 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002024/7.895, allocations: 0.6685 MB / 2.955 GB, free: 72.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005731/7.895, allocations: 10.47 kB / 2.955 GB, free: 72.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003957/7.899, allocations: 252.8 kB / 2.955 GB, free: 72.85 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/7.9, allocations: 101.1 kB / 2.955 GB, free: 72.84 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002297/7.9, allocations: 74.17 kB / 2.955 GB, free: 72.84 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.003124/7.903, allocations: 1.433 MB / 2.957 GB, free: 72.7 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00711/7.91, allocations: 1.577 MB / 2.958 GB, free: 72.45 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.00331/7.914, allocations: 1.593 MB / 2.96 GB, free: 71.98 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.007075/7.921, allocations: 2.929 MB / 2.963 GB, free: 71.54 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/7.921, allocations: 3.281 kB / 2.963 GB, free: 71.54 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002063/7.923, allocations: 0.8864 MB / 2.964 GB, free: 71.48 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009774/7.933, allocations: 1.12 MB / 2.965 GB, free: 71.45 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/7.946, allocations: 4.119 MB / 2.969 GB, free: 69.86 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002994/7.949, allocations: 2.114 MB / 2.971 GB, free: 69.07 MB / 0.9792 GB Notification: Performance of SimCode: time 1.482e-06/7.949, allocations: 0 / 2.971 GB, free: 69.07 MB / 0.9792 GB Notification: Performance of Templates: time 0.1634/8.113, allocations: 66.41 MB / 3.036 GB, free: 38.36 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & ./Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)