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.IntegratedPrimaryPlantSide.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.IntegratedPrimaryPlantSide,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide") [: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.146/2.146, allocations: 253.1 MB / 260.4 MB, free: 7.535 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.001619/0.001619, allocations: 181.3 kB / 319.6 MB, free: 3.289 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.931/1.931, allocations: 205.4 MB / 0.5704 GB, free: 15.03 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.001408/0.001408, allocations: 87.39 kB / 0.6746 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.909e-06/9.938e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2384, allocations: 106.2 MB / 0.8881 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.684/1.922, allocations: 486.2 MB / 1.363 GB, free: 229.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004186/1.923, allocations: 101.3 kB / 1.363 GB, free: 229.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 21.54/23.47, allocations: 4.113 GB / 5.476 GB, free: 65.04 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.003567/23.47, allocations: 297.1 kB / 5.476 GB, free: 64.98 MB / 1.089 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1432 * Number of variables: 1432 Notification: Performance of Generate backend data structure: time 0.05371/23.52, allocations: 9.955 MB / 5.486 GB, free: 60.71 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/23.52, allocations: 11.53 kB / 5.486 GB, free: 60.71 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03697/23.56, allocations: 3.35 MB / 5.489 GB, free: 60.07 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06243/23.62, allocations: 15.07 MB / 5.504 GB, free: 58.48 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003933/23.63, allocations: 0.6869 MB / 5.504 GB, free: 58.34 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005399/23.63, allocations: 395.3 kB / 5.505 GB, free: 58.34 MB / 1.089 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03486/23.67, allocations: 9.117 MB / 5.514 GB, free: 58.31 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03797/23.71, allocations: 8.262 MB / 5.522 GB, free: 57.45 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004352/23.71, allocations: 7.438 kB / 5.522 GB, free: 57.45 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003134/23.71, allocations: 8.094 kB / 5.522 GB, free: 57.45 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002496/23.71, allocations: 153.5 kB / 5.522 GB, free: 57.45 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1348/23.84, allocations: 45.04 MB / 5.566 GB, free: 42.33 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01443/23.86, allocations: 4.729 MB / 5.57 GB, free: 42.29 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01204/23.87, allocations: 3.851 MB / 5.574 GB, free: 42.25 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004063/23.88, allocations: 3.114 MB / 5.577 GB, free: 38.87 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0133/23.89, allocations: 3.952 MB / 5.581 GB, free: 38.73 MB / 1.089 GB Notification: Performance of pre-optimization done (n=423): time 9.338e-06/23.89, allocations: 0 / 5.581 GB, free: 38.73 MB / 1.089 GB Notification: Performance of matching and sorting (n=423): time 0.03648/23.93, allocations: 8.338 MB / 5.589 GB, free: 38.04 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00033/23.93, allocations: 0.9851 MB / 5.59 GB, free: 36.88 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03334/23.96, allocations: 8.75 MB / 5.599 GB, free: 36.32 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.002691/23.96, allocations: 33.42 kB / 5.599 GB, free: 36.29 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.007459/23.97, allocations: 2.499 MB / 5.601 GB, free: 35.18 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.005207/23.97, allocations: 1.394 MB / 5.603 GB, free: 34.24 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002394/23.98, allocations: 0 / 5.603 GB, free: 34.24 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.001073/23.98, allocations: 0.5283 MB / 5.603 GB, free: 33.92 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01348/23.99, allocations: 4.038 MB / 5.607 GB, free: 32.34 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01561/24.01, allocations: 5.754 MB / 5.613 GB, free: 28.74 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01866/24.03, allocations: 4.763 MB / 5.617 GB, free: 26.88 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.886e-05/24.03, allocations: 12.34 kB / 5.617 GB, free: 26.88 MB / 1.089 GB Notification: Performance of matching and sorting (n=745) (initialization): time 0.04621/24.07, allocations: 11 MB / 5.628 GB, free: 22.74 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.003124/24.08, allocations: 13.92 MB / 5.642 GB, free: 8.09 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003733/24.08, allocations: 46.08 kB / 5.642 GB, free: 8.09 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001907/24.08, allocations: 490.3 kB / 5.642 GB, free: 7.922 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02536/24.1, allocations: 1.763 MB / 5.644 GB, free: 7.762 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/24.11, allocations: 4.589 MB / 5.648 GB, free: 3.957 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02793/24.14, allocations: 1.17 MB / 5.649 GB, free: 3.586 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003264/24.15, allocations: 332 kB / 5.65 GB, free: 3.539 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/24.15, allocations: 7.344 kB / 5.65 GB, free: 3.535 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04344/24.19, allocations: 9.746 MB / 5.659 GB, free: 20 kB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002682/24.19, allocations: 44.66 kB / 5.659 GB, free: 20 kB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003027/24.19, allocations: 496.2 kB / 5.66 GB, free: 15.87 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01944/24.21, allocations: 1.715 MB / 5.661 GB, free: 15.72 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01772/24.23, allocations: 8.26 MB / 5.67 GB, free: 9.105 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02215/24.25, allocations: 1.069 MB / 5.671 GB, free: 8.812 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003027/24.26, allocations: 334.9 kB / 5.671 GB, free: 8.762 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,$whenCondition3,intWSEPri2.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,intWSEPri1.on[1],intWSEPri1.on[2],intWSEPri1.wse.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (684): * Single equations (assignments): 657 * Array equations: 10 * Algorithm blocks: 1 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {5 11,1 3,5 11,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.004758/24.26, allocations: 269.7 kB / 5.671 GB, free: 8.527 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00497/24.27, allocations: 0.9256 MB / 5.672 GB, free: 8.004 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04601/24.31, allocations: 9.404 MB / 5.681 GB, free: 220 kB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001485/24.31, allocations: 55.7 kB / 5.681 GB, free: 168 kB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/24.31, allocations: 0 / 5.681 GB, free: 168 kB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04146/24.35, allocations: 7.814 MB / 5.689 GB, free: 11.46 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08503/24.44, allocations: 19.79 MB / 5.708 GB, free: 11.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.916e-05/24.44, allocations: 4 kB / 5.708 GB, free: 11.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04355/24.48, allocations: 1.2 MB / 5.709 GB, free: 10.62 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00199/24.48, allocations: 352 kB / 5.71 GB, free: 10.31 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006194/24.49, allocations: 109.5 kB / 5.71 GB, free: 10.23 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0106/24.5, allocations: 4.149 MB / 5.714 GB, free: 6.074 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.864e-05/24.5, allocations: 7.875 kB / 5.714 GB, free: 6.066 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.8321/25.33, allocations: 13.82 MB / 5.727 GB, free: 161.7 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01137/25.34, allocations: 2.61 MB / 5.73 GB, free: 161.4 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005939/25.35, allocations: 43.16 kB / 5.73 GB, free: 161.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01857/25.37, allocations: 0.8311 MB / 5.731 GB, free: 161.4 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001711/25.37, allocations: 262.8 kB / 5.731 GB, free: 161.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001209/25.37, allocations: 200.8 kB / 5.731 GB, free: 161.4 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.02384/25.4, allocations: 6.584 MB / 5.738 GB, free: 161.1 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.03646/25.43, allocations: 4.957 MB / 5.743 GB, free: 161.1 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 32 (TSup1.T,intWSEPri1.chiPar.chi[1].vol1.dynBal.U,intWSEPri1.chiPar.chi[1].vol2.dynBal.U,intWSEPri1.chiPar.filter[1].x[1],intWSEPri1.chiPar.filter[1].x[2],intWSEPri1.wse.heaExc.thrWayVal.vol.dynBal.U,intWSEPri1.wse.heaExc.thrWayVal.filter.x[1],intWSEPri1.wse.heaExc.thrWayVal.filter.x[2],intWSEPri1.wse.heaExc.con.I.y,intWSEPri1.wse.filter[1].x[1],intWSEPri1.wse.filter[1].x[2],intWSEPri1.senTem.T,intWSEPri1.val5.filter.x[1],intWSEPri1.val5.filter.x[2],intWSEPri1.val6.filter.x[1],intWSEPri1.val6.filter.x[2],intWSEPri2.chiPar.chi[1].vol1.dynBal.U,intWSEPri2.chiPar.chi[1].vol2.dynBal.U,intWSEPri2.chiPar.filter[1].x[1],intWSEPri2.chiPar.filter[1].x[2],intWSEPri2.wse.heaExc.thrWayVal.vol.dynBal.U,intWSEPri2.wse.heaExc.thrWayVal.filter.x[1],intWSEPri2.wse.heaExc.thrWayVal.filter.x[2],intWSEPri2.wse.heaExc.con.I.y,intWSEPri2.wse.filter[1].x[1],intWSEPri2.wse.filter[1].x[2],intWSEPri2.senTem.T,intWSEPri2.val5.filter.x[1],intWSEPri2.val5.filter.x[2],intWSEPri2.val6.filter.x[1],intWSEPri2.val6.filter.x[2],TSup2.T) * Number of discrete variables: 12 (intWSEPri2.trigger,$whenCondition3,$whenCondition2,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled,intWSEPri1.on[1],intWSEPri1.on[2],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 (460): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 18 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 8,1 3,6 8,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01249/25.45, allocations: 4.517 MB / 5.747 GB, free: 159.4 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.04841/25.49, allocations: 15.33 MB / 5.762 GB, free: 158.2 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.099e-05/25.49, allocations: 10.47 kB / 5.762 GB, free: 158.2 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.01335/25.51, allocations: 3.908 MB / 5.766 GB, free: 158.1 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04702/25.55, allocations: 4.845 MB / 5.77 GB, free: 158.1 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08579/25.64, allocations: 18.83 MB / 5.789 GB, free: 154.8 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02612/25.67, allocations: 7.158 MB / 5.796 GB, free: 153.9 MB / 1.135 GB Notification: Performance of SimCode: time 1.974e-06/25.67, allocations: 2.938 kB / 5.796 GB, free: 153.9 MB / 1.135 GB Notification: Performance of Templates: time 0.6821/26.35, allocations: 265.2 MB / 6.055 GB, free: 122.4 MB / 1.135 GB