Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.071/2.071, allocations: 253.1 MB / 260.4 MB, free: 7.488 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001571/0.001571, allocations: 181.2 kB / 319.6 MB, free: 3.324 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.946/1.946, allocations: 205.4 MB / 0.5704 GB, free: 15.06 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00134/0.001339, allocations: 92.59 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.294e-05/1.313e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2291, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.578/1.807, allocations: 441.5 MB / 1.319 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004016/1.807, allocations: 107.3 kB / 1.319 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 6.932/8.739, allocations: 1.448 GB / 2.768 GB, free: 86.16 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0007033/8.74, allocations: 88.66 kB / 2.768 GB, free: 86.14 MB / 0.9167 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.01308/8.753, allocations: 3.288 MB / 2.771 GB, free: 84.62 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/8.753, allocations: 9.094 kB / 2.771 GB, free: 84.62 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007241/8.761, allocations: 0.8509 MB / 2.772 GB, free: 84.43 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01435/8.775, allocations: 3.409 MB / 2.775 GB, free: 83.82 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002616/8.778, allocations: 381.7 kB / 2.775 GB, free: 83.81 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001108/8.779, allocations: 121.1 kB / 2.775 GB, free: 83.81 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00716/8.786, allocations: 1.819 MB / 2.777 GB, free: 83.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007424/8.794, allocations: 2.036 MB / 2.779 GB, free: 83.51 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.097e-05/8.794, allocations: 6.188 kB / 2.779 GB, free: 83.51 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003494/8.794, allocations: 7.312 kB / 2.779 GB, free: 83.51 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.697e-05/8.794, allocations: 48 kB / 2.779 GB, free: 83.51 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03145/8.826, allocations: 12.58 MB / 2.792 GB, free: 77.35 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003039/8.829, allocations: 0.9616 MB / 2.793 GB, free: 77.33 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001955/8.831, allocations: 0.6979 MB / 2.793 GB, free: 77.32 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002109/8.833, allocations: 1.653 MB / 2.795 GB, free: 75.54 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00229/8.835, allocations: 0.7678 MB / 2.796 GB, free: 75.44 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=127): time 5.631e-06/8.835, allocations: 0 / 2.796 GB, free: 75.44 MB / 0.9167 GB Notification: Performance of matching and sorting (n=127): time 0.007571/8.843, allocations: 1.699 MB / 2.797 GB, free: 75.22 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/8.843, allocations: 224.2 kB / 2.797 GB, free: 74.97 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005551/8.849, allocations: 1.9 MB / 2.799 GB, free: 74.74 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006679/8.849, allocations: 29.33 kB / 2.799 GB, free: 74.71 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001162/8.85, allocations: 0.8441 MB / 2.8 GB, free: 74.27 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009034/8.851, allocations: 428.4 kB / 2.801 GB, free: 73.99 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/8.852, allocations: 1.688 kB / 2.801 GB, free: 73.99 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001534/8.852, allocations: 371.8 kB / 2.801 GB, free: 73.68 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/8.854, allocations: 0.5921 MB / 2.801 GB, free: 73.67 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002208/8.856, allocations: 1.034 MB / 2.802 GB, free: 73.2 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004108/8.86, allocations: 0.8789 MB / 2.803 GB, free: 73.17 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.917e-05/8.86, allocations: 3.969 kB / 2.803 GB, free: 73.17 MB / 0.9167 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.00906/8.869, allocations: 2.101 MB / 2.805 GB, free: 72.92 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000937/8.87, allocations: 3.426 MB / 2.809 GB, free: 69.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.009e-05/8.87, allocations: 17.89 kB / 2.809 GB, free: 69.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004969/8.871, allocations: 103.5 kB / 2.809 GB, free: 69.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004201/8.875, allocations: 450.3 kB / 2.809 GB, free: 69.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/8.876, allocations: 1.233 MB / 2.811 GB, free: 68.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005976/8.882, allocations: 368 kB / 2.811 GB, free: 68.18 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007458/8.883, allocations: 85.55 kB / 2.811 GB, free: 68.18 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/8.883, allocations: 3.062 kB / 2.811 GB, free: 68.18 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007571/8.891, allocations: 1.76 MB / 2.813 GB, free: 68.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.697e-05/8.891, allocations: 9.219 kB / 2.813 GB, free: 68.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005695/8.891, allocations: 105.4 kB / 2.813 GB, free: 68.08 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003999/8.895, allocations: 442.5 kB / 2.813 GB, free: 68.06 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003997/8.899, allocations: 3.011 MB / 2.816 GB, free: 65.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005549/8.905, allocations: 330.5 kB / 2.816 GB, free: 65.44 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006956/8.906, allocations: 85.05 kB / 2.817 GB, free: 65.44 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (179): * Single equations (assignments): 174 * 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.0007626/8.907, allocations: 176.8 kB / 2.817 GB, free: 65.28 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/8.908, allocations: 273 kB / 2.817 GB, free: 65.14 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009512/8.917, allocations: 2.271 MB / 2.819 GB, free: 64.94 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.993e-05/8.917, allocations: 24.33 kB / 2.819 GB, free: 64.94 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/8.917, allocations: 3.906 kB / 2.819 GB, free: 64.94 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00613/8.924, allocations: 1.767 MB / 2.821 GB, free: 64.62 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/8.94, allocations: 4.646 MB / 2.825 GB, free: 64.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/8.94, allocations: 3.812 kB / 2.825 GB, free: 64.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003165/8.943, allocations: 339 kB / 2.826 GB, free: 64.03 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003518/8.944, allocations: 86.31 kB / 2.826 GB, free: 64.01 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003027/8.944, allocations: 35.05 kB / 2.826 GB, free: 64.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009886/8.945, allocations: 1.195 MB / 2.827 GB, free: 62.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.958e-06/8.945, allocations: 6.344 kB / 2.827 GB, free: 62.97 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01007/8.955, allocations: 3.229 MB / 2.83 GB, free: 62.21 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002957/8.958, allocations: 0.6521 MB / 2.831 GB, free: 61.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001225/8.959, allocations: 13.94 kB / 2.831 GB, free: 61.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005151/8.965, allocations: 250 kB / 2.831 GB, free: 61.94 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004502/8.965, allocations: 101.2 kB / 2.831 GB, free: 61.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003343/8.965, allocations: 67.69 kB / 2.831 GB, free: 61.93 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.004033/8.969, allocations: 1.42 MB / 2.833 GB, free: 61.79 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01032/8.98, allocations: 1.555 MB / 2.834 GB, free: 61.55 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (144): * Single equations (assignments): 130 * 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.004334/8.984, allocations: 1.602 MB / 2.836 GB, free: 61.07 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.008495/8.993, allocations: 2.886 MB / 2.839 GB, free: 60.63 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/8.993, allocations: 3.281 kB / 2.839 GB, free: 60.63 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002461/8.995, allocations: 0.8647 MB / 2.839 GB, free: 60.57 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01153/9.007, allocations: 1.105 MB / 2.84 GB, free: 60.54 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01697/9.024, allocations: 4.037 MB / 2.844 GB, free: 59.48 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004182/9.028, allocations: 2.102 MB / 2.846 GB, free: 58.73 MB / 0.9167 GB Notification: Performance of SimCode: time 1.994e-06/9.028, allocations: 1.75 kB / 2.846 GB, free: 58.73 MB / 0.9167 GB Notification: Performance of Templates: time 0.187/9.215, allocations: 65.58 MB / 2.911 GB, free: 30.35 MB / 0.9167 GB