Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.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.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases") [: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.048/2.048, allocations: 253.1 MB / 260.4 MB, free: 7.496 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.001603/0.001603, allocations: 181.3 kB / 319.6 MB, free: 3.305 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.971/1.971, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001792/0.001792, allocations: 102 kB / 0.6746 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.221e-05/1.258e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1925, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.312/6.505, allocations: 2.481 GB / 3.369 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/6.505, allocations: 87.7 kB / 3.369 GB, free: 222.7 MB / 0.8698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Movers/BaseClasses/IdealSource.mo:14:3-22:27:writable] Error: The conditional expression control_m_flow could not be evaluated. Notification: Performance of FrontEnd: time 103.6/110.1, allocations: 19.11 GB / 22.48 GB, free: 52.48 MB / 1.292 GB Notification: Performance of Transformations before backend: time 0.01095/110.1, allocations: 0.665 MB / 22.48 GB, free: 52.35 MB / 1.292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5549 * Number of variables: 5549 Notification: Performance of Generate backend data structure: time 0.1511/110.3, allocations: 27.3 MB / 22.51 GB, free: 42.69 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/110.3, allocations: 8.812 kB / 22.51 GB, free: 42.69 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06889/110.4, allocations: 6.242 MB / 22.51 GB, free: 40.99 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2688/110.6, allocations: 55.15 MB / 22.57 GB, free: 4.254 MB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002154/110.6, allocations: 0.6719 MB / 22.57 GB, free: 3.582 MB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01532/110.6, allocations: 1.284 MB / 22.57 GB, free: 2.301 MB / 1.292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 1.111/111.8, allocations: 34.46 MB / 22.6 GB, free: 123.7 MB / 1.307 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1701/111.9, allocations: 36.16 MB / 22.64 GB, free: 122.1 MB / 1.307 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001826/111.9, allocations: 39.69 kB / 22.64 GB, free: 122.1 MB / 1.307 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01264/111.9, allocations: 22 kB / 22.64 GB, free: 122.1 MB / 1.307 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001355/111.9, allocations: 0.972 MB / 22.64 GB, free: 122.1 MB / 1.307 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4336/112.4, allocations: 164.1 MB / 22.8 GB, free: 99.26 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04007/112.4, allocations: 14.66 MB / 22.81 GB, free: 99.2 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03886/112.5, allocations: 14.38 MB / 22.83 GB, free: 99.07 MB / 1.339 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00522/112.5, allocations: 2.852 MB / 22.83 GB, free: 96.15 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000379/112.5, allocations: 189.2 kB / 22.83 GB, free: 96.1 MB / 1.339 GB Notification: Performance of pre-optimization done (n=1205): time 1.911e-05/112.5, allocations: 3.125 kB / 22.83 GB, free: 96.1 MB / 1.339 GB Notification: Performance of matching and sorting (n=1271): time 0.2457/112.7, allocations: 58.07 MB / 22.89 GB, free: 90.8 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/112.7, allocations: 184 kB / 22.89 GB, free: 90.73 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07849/112.8, allocations: 23.24 MB / 22.91 GB, free: 89.88 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.005353/112.8, allocations: 46.5 kB / 22.91 GB, free: 89.84 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.01897/112.8, allocations: 8.113 MB / 22.92 GB, free: 86.51 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.03374/112.8, allocations: 4.279 MB / 22.92 GB, free: 83.68 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005266/112.9, allocations: 0 / 22.92 GB, free: 83.68 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.002879/112.9, allocations: 0.9278 MB / 22.92 GB, free: 83.34 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04163/112.9, allocations: 10.93 MB / 22.93 GB, free: 83.31 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03961/112.9, allocations: 15.03 MB / 22.95 GB, free: 79.45 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04118/113, allocations: 14.54 MB / 22.96 GB, free: 79.29 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002282/113, allocations: 19.59 kB / 22.96 GB, free: 79.29 MB / 1.339 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.1264/113.1, allocations: 32.47 MB / 23 GB, free: 70.88 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.02685/113.1, allocations: 52.32 MB / 23.05 GB, free: 65.23 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006565/113.1, allocations: 74.66 kB / 23.05 GB, free: 65.23 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07527/113.2, allocations: 11.19 MB / 23.06 GB, free: 63.21 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02502/113.2, allocations: 2.571 MB / 23.06 GB, free: 63.13 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06934/113.3, allocations: 29.69 MB / 23.09 GB, free: 50.78 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05572/113.4, allocations: 2.413 MB / 23.09 GB, free: 50.64 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00571/113.4, allocations: 0.5458 MB / 23.09 GB, free: 50.54 MB / 1.386 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/113.4, allocations: 7.625 kB / 23.09 GB, free: 50.54 MB / 1.386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1008/113.5, allocations: 30.47 MB / 23.12 GB, free: 30.85 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004532/113.5, allocations: 68 kB / 23.12 GB, free: 30.78 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07062/113.5, allocations: 11.19 MB / 23.13 GB, free: 22.2 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02451/113.6, allocations: 2.556 MB / 23.14 GB, free: 20.21 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104/114.7, allocations: 29.09 MB / 23.16 GB, free: 195.7 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04287/114.7, allocations: 2.365 MB / 23.17 GB, free: 195.7 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005618/114.7, allocations: 0.5519 MB / 23.17 GB, free: 195.7 MB / 1.386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 310 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1233): * Single equations (assignments): 1227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 12,(1,100.0%) 8,(1,100.0%) 2} * Non-linear torn systems: 2 {24 208,24 148} Notification: Performance of prepare postOptimizeDAE: time 0.0105/114.7, allocations: 381.3 kB / 23.17 GB, free: 195.6 MB / 1.386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01167/114.7, allocations: 1.954 MB / 23.17 GB, free: 195.6 MB / 1.386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1002/114.8, allocations: 28.33 MB / 23.2 GB, free: 195 MB / 1.386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002496/114.8, allocations: 125.5 kB / 23.2 GB, free: 195 MB / 1.386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.766e-05/114.8, allocations: 3.312 kB / 23.2 GB, free: 195 MB / 1.386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07264/114.9, allocations: 23.21 MB / 23.22 GB, free: 194.3 MB / 1.386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2282/115.1, allocations: 66.24 MB / 23.28 GB, free: 191.5 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001826/115.1, allocations: 18.34 kB / 23.28 GB, free: 191.5 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0307/115.2, allocations: 2.85 MB / 23.29 GB, free: 191.5 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02587/115.2, allocations: 4.103 MB / 23.29 GB, free: 191.4 MB / 1.386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004457/115.2, allocations: 223.3 kB / 23.29 GB, free: 191.4 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03789/115.2, allocations: 17.33 MB / 23.31 GB, free: 186 MB / 1.386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.518e-05/115.2, allocations: 28.86 kB / 23.31 GB, free: 186 MB / 1.386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1283/115.4, allocations: 50.66 MB / 23.36 GB, free: 176.3 MB / 1.386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03149/115.4, allocations: 6.386 MB / 23.36 GB, free: 176.2 MB / 1.386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01259/115.4, allocations: 159.6 kB / 23.36 GB, free: 176.2 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04052/115.4, allocations: 2.174 MB / 23.37 GB, free: 176.2 MB / 1.386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005213/115.5, allocations: 0.6628 MB / 23.37 GB, free: 176.2 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004913/115.5, allocations: 456.4 kB / 23.37 GB, free: 176.2 MB / 1.386 GB Notification: Performance of sort global known variables: time 0.05932/115.5, allocations: 18.54 MB / 23.39 GB, free: 175.7 MB / 1.386 GB Notification: Performance of remove unused functions: time 0.1063/115.6, allocations: 12.67 MB / 23.4 GB, free: 175.7 MB / 1.386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * Number of states: 50 (hexFixIni.hexReg[1].ele[1,1].vol1.dynBal.U,hexFixIni.hexReg[1].ele[1,1].vol2.dynBal.U,hexFixIni.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hexFixIni.hexReg[1].ele[1,1].mas.T,hexFixIni.hexReg[1].ele[1,2].vol1.dynBal.U,hexFixIni.hexReg[1].ele[1,2].vol2.dynBal.U,hexFixIni.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hexFixIni.hexReg[1].ele[1,2].mas.T,hexFixIni.hexReg[1].ele[1,3].vol1.dynBal.U,hexFixIni.hexReg[1].ele[1,3].vol2.dynBal.U,hexFixIni.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hexFixIni.hexReg[1].ele[1,3].mas.T,hexFixIni.hexReg[2].ele[1,1].vol1.dynBal.U,hexFixIni.hexReg[2].ele[1,1].vol2.dynBal.U,hexFixIni.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hexFixIni.hexReg[2].ele[1,1].mas.T,hexFixIni.hexReg[2].ele[1,2].vol1.dynBal.U,hexFixIni.hexReg[2].ele[1,2].vol2.dynBal.U,hexFixIni.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hexFixIni.hexReg[2].ele[1,2].mas.T,hexFixIni.hexReg[2].ele[1,3].vol1.dynBal.U,hexFixIni.hexReg[2].ele[1,3].vol2.dynBal.U,hexFixIni.hexReg[2].ele[1,3].vol2.dynBal.m,hexFixIni.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hexFixIni.hexReg[2].ele[1,3].mas.T,hexSteStaIni.port_b1.h_outflow,hexSteStaIni.hexReg[1].ele[1,1].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[1].ele[1,1].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[1].ele[1,1].mas.T,hexSteStaIni.hexReg[1].ele[1,2].port_b1.h_outflow,hexSteStaIni.hexReg[1].ele[1,2].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[1].ele[1,2].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[1].ele[1,2].mas.T,hexSteStaIni.hexReg[1].ele[1,3].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[1].ele[1,3].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[1].ele[1,3].mas.T,hexSteStaIni.hexReg[1].port_a1[1].h_outflow,hexSteStaIni.hexReg[1].port_b1[1].h_outflow,hexSteStaIni.hexReg[2].ele[1,1].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[2].ele[1,1].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[2].ele[1,1].mas.T,hexSteStaIni.hexReg[2].ele[1,2].port_b1.h_outflow,hexSteStaIni.hexReg[2].ele[1,2].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[2].ele[1,2].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[2].ele[1,2].mas.T,hexSteStaIni.hexReg[2].ele[1,3].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[2].ele[1,3].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[2].ele[1,3].vol2.dynBal.m,hexSteStaIni.hexReg[2].ele[1,3].mas.T,hexSteStaIni.hexReg[2].port_b1[1].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1104): * Single equations (assignments): 1086 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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: 3 {(1,100.0%) 12,(1,100.0%) 12,(1,100.0%) 2} * Non-linear torn systems: 1 {24 148} Notification: Performance of Backend phase and start with SimCode phase: time 0.03925/115.7, allocations: 18.57 MB / 23.42 GB, free: 164.3 MB / 1.386 GB Notification: Performance of simCode: created initialization part: time 0.1273/115.8, allocations: 40.86 MB / 23.46 GB, free: 163.1 MB / 1.386 GB Notification: Performance of simCode: created event and clocks part: time 3.615e-05/115.8, allocations: 14.06 kB / 23.46 GB, free: 163.1 MB / 1.386 GB Notification: Performance of simCode: created simulation system equations: time 0.03928/115.8, allocations: 12.63 MB / 23.47 GB, free: 162.8 MB / 1.386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1224/116, allocations: 13.6 MB / 23.48 GB, free: 162.6 MB / 1.386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2842/116.2, allocations: 69.05 MB / 23.55 GB, free: 138.7 MB / 1.386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.08722/116.3, allocations: 24.24 MB / 23.57 GB, free: 124.6 MB / 1.386 GB Notification: Performance of SimCode: time 2.054e-06/116.3, allocations: 2.156 kB / 23.57 GB, free: 124.6 MB / 1.386 GB Notification: Performance of Templates: time 4.197/120.5, allocations: 0.7145 GB / 24.29 GB, free: 127.8 MB / 1.386 GB