Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitialization",fmuType="me",version="2.0",platforms={"static"}) [: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.395/1.395, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001021/0.001021, allocations: 185.3 kB / 361.1 MB, free: 7.105 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.221/1.221, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0008768/0.0008771, allocations: 90.25 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2288/0.2297, allocations: 121.4 MB / 0.8511 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5217/0.7514, allocations: 115.3 MB / 0.9637 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.039/4.791, allocations: 2.363 GB / 3.327 GB, free: 157.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/4.791, allocations: 88.7 kB / 3.327 GB, free: 157.3 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Fluid/Movers/BaseClasses/IdealSource.mo:14:3-22:27:writable] Error: The conditional expression control_m_flow could not be evaluated. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5513 * Number of variables: 5513 Notification: Performance of Generate backend data structure: time 65.53/70.32, allocations: 19.63 GB / 22.96 GB, free: 58.24 MB / 1.37 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/70.32, allocations: 9.156 kB / 22.96 GB, free: 58.24 MB / 1.37 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.048/70.37, allocations: 6.221 MB / 22.97 GB, free: 56.62 MB / 1.37 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1343/70.5, allocations: 54.96 MB / 23.02 GB, free: 52.97 MB / 1.37 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001388/70.5, allocations: 0.6732 MB / 23.02 GB, free: 52.96 MB / 1.37 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01081/70.51, allocations: 1.271 MB / 23.02 GB, free: 52.96 MB / 1.37 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07457/70.59, allocations: 34.28 MB / 23.06 GB, free: 52.87 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1014/70.69, allocations: 36 MB / 23.09 GB, free: 51.23 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001412/70.69, allocations: 41.66 kB / 23.09 GB, free: 51.23 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009675/70.7, allocations: 21.64 kB / 23.09 GB, free: 51.23 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001099/70.7, allocations: 0.968 MB / 23.09 GB, free: 51.18 MB / 1.37 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2986/71, allocations: 163.9 MB / 23.25 GB, free: 24.02 MB / 1.401 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02578/71.02, allocations: 14.56 MB / 23.27 GB, free: 19.88 MB / 1.401 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02491/71.05, allocations: 14.44 MB / 23.28 GB, free: 8.031 MB / 1.401 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004025/71.05, allocations: 2.861 MB / 23.28 GB, free: 4.75 MB / 1.401 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003658/71.05, allocations: 196 kB / 23.28 GB, free: 4.551 MB / 1.401 GB Notification: Performance of pre-optimization done (n=1205): time 5.552e-05/71.05, allocations: 0.5938 kB / 23.28 GB, free: 4.551 MB / 1.401 GB Notification: Performance of matching and sorting (n=1271): time 1.69/72.74, allocations: 62.42 MB / 23.34 GB, free: 197.6 MB / 1.433 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/72.74, allocations: 181.8 kB / 23.34 GB, free: 197.5 MB / 1.433 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04209/72.79, allocations: 23.07 MB / 23.37 GB, free: 196.7 MB / 1.433 GB Notification: Performance of collectPreVariables (initialization): time 0.003858/72.79, allocations: 47.8 kB / 23.37 GB, free: 196.7 MB / 1.433 GB Notification: Performance of collectInitialEqns (initialization): time 0.01126/72.8, allocations: 8.067 MB / 23.37 GB, free: 196.4 MB / 1.433 GB Notification: Performance of collectInitialBindings (initialization): time 0.01758/72.82, allocations: 4.277 MB / 23.38 GB, free: 195.4 MB / 1.433 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002813/72.82, allocations: 0 / 23.38 GB, free: 195.4 MB / 1.433 GB Notification: Performance of setup shared object (initialization): time 0.001248/72.82, allocations: 0.9279 MB / 23.38 GB, free: 195.1 MB / 1.433 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01475/72.84, allocations: 10.99 MB / 23.39 GB, free: 195.1 MB / 1.433 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01825/72.86, allocations: 15.09 MB / 23.4 GB, free: 191.2 MB / 1.433 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02238/72.88, allocations: 14.6 MB / 23.42 GB, free: 191 MB / 1.433 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001652/72.88, allocations: 27.62 kB / 23.42 GB, free: 191 MB / 1.433 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.0638/72.94, allocations: 32.62 MB / 23.45 GB, free: 189.5 MB / 1.433 GB Notification: Performance of prepare postOptimizeDAE: time 0.007562/72.95, allocations: 52.33 MB / 23.5 GB, free: 136.4 MB / 1.433 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000295/72.95, allocations: 71.75 kB / 23.5 GB, free: 136.4 MB / 1.433 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03653/72.99, allocations: 11.2 MB / 23.51 GB, free: 136.2 MB / 1.433 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01274/73, allocations: 2.577 MB / 23.52 GB, free: 136.2 MB / 1.433 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0382/73.04, allocations: 29.69 MB / 23.54 GB, free: 130.6 MB / 1.433 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02996/73.07, allocations: 2.393 MB / 23.55 GB, free: 130.5 MB / 1.433 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00528/73.07, allocations: 0.5546 MB / 23.55 GB, free: 130.5 MB / 1.433 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/73.07, allocations: 3.312 kB / 23.55 GB, free: 130.5 MB / 1.433 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06238/73.14, allocations: 30.61 MB / 23.58 GB, free: 129.9 MB / 1.433 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003512/73.14, allocations: 69.88 kB / 23.58 GB, free: 129.9 MB / 1.433 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03612/73.17, allocations: 11.2 MB / 23.59 GB, free: 129.8 MB / 1.433 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01371/73.19, allocations: 2.567 MB / 23.59 GB, free: 129.8 MB / 1.433 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03729/73.22, allocations: 29.07 MB / 23.62 GB, free: 124.8 MB / 1.433 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02804/73.25, allocations: 2.353 MB / 23.62 GB, free: 124.7 MB / 1.433 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004418/73.26, allocations: 0.5517 MB / 23.62 GB, free: 124.7 MB / 1.433 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.007438/73.26, allocations: 379.9 kB / 23.62 GB, free: 124.5 MB / 1.433 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008479/73.27, allocations: 1.94 MB / 23.62 GB, free: 123.5 MB / 1.433 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06759/73.34, allocations: 28.45 MB / 23.65 GB, free: 122.8 MB / 1.433 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002357/73.34, allocations: 125 kB / 23.65 GB, free: 122.8 MB / 1.433 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.619e-05/73.34, allocations: 12.11 kB / 23.65 GB, free: 122.8 MB / 1.433 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04549/73.38, allocations: 23.33 MB / 23.68 GB, free: 122.2 MB / 1.433 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1555/73.54, allocations: 66.28 MB / 23.74 GB, free: 119.2 MB / 1.433 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001321/73.54, allocations: 15.53 kB / 23.74 GB, free: 119.2 MB / 1.433 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01649/73.56, allocations: 2.861 MB / 23.74 GB, free: 119.2 MB / 1.433 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01485/73.57, allocations: 4.107 MB / 23.75 GB, free: 119.1 MB / 1.433 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0035/73.58, allocations: 237.1 kB / 23.75 GB, free: 119.1 MB / 1.433 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02073/73.6, allocations: 17.33 MB / 23.76 GB, free: 113.6 MB / 1.433 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.977e-05/73.6, allocations: 23.19 kB / 23.76 GB, free: 113.6 MB / 1.433 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0739/73.67, allocations: 51.11 MB / 23.81 GB, free: 80.23 MB / 1.433 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1009/73.77, allocations: 69.98 MB / 23.88 GB, free: 20.65 MB / 1.433 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02113/73.79, allocations: 6.223 MB / 23.89 GB, free: 14.94 MB / 1.433 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009786/73.8, allocations: 161.7 kB / 23.89 GB, free: 14.81 MB / 1.433 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02646/73.83, allocations: 2.144 MB / 23.89 GB, free: 13.5 MB / 1.433 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003776/73.83, allocations: 0.6635 MB / 23.89 GB, free: 13.11 MB / 1.433 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003031/73.84, allocations: 460.8 kB / 23.89 GB, free: 12.72 MB / 1.433 GB Notification: Performance of sort global known variables: time 0.9526/74.79, allocations: 18.5 MB / 23.91 GB, free: 183.3 MB / 1.433 GB Notification: Performance of remove unused functions: time 0.07902/74.87, allocations: 16.43 MB / 23.93 GB, free: 183.3 MB / 1.433 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.02446/74.89, allocations: 18.58 MB / 23.94 GB, free: 171.9 MB / 1.433 GB Notification: Performance of simCode: created initialization part: time 0.07205/74.96, allocations: 41.06 MB / 23.98 GB, free: 170.8 MB / 1.433 GB Notification: Performance of simCode: created event and clocks part: time 3.301e-05/74.96, allocations: 12.59 kB / 23.98 GB, free: 170.8 MB / 1.433 GB Notification: Performance of simCode: created simulation system equations: time 0.02319/74.99, allocations: 12.68 MB / 24 GB, free: 170.5 MB / 1.433 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0692/75.06, allocations: 13.61 MB / 24.01 GB, free: 170.2 MB / 1.433 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1809/75.24, allocations: 68.84 MB / 24.08 GB, free: 161.9 MB / 1.433 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05889/75.3, allocations: 24.3 MB / 24.1 GB, free: 160.4 MB / 1.433 GB Notification: Performance of SimCode: time 1.654e-06/75.3, allocations: 0 / 24.1 GB, free: 160.4 MB / 1.433 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitialization_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitialization.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe 2>&1)