Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.377/2.377, allocations: 390.4 MB / 397.7 MB, free: 11.28 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 182.6 kB / 490.8 MB, free: 1.965 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.647/1.647, allocations: 221.3 MB / 0.7863 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 91.8 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7994/0.8006, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/1.126, allocations: 143 MB / 1.212 GB, free: 40.01 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.601/6.728, allocations: 2.205 GB / 3.417 GB, free: 101.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/6.728, allocations: 91.66 kB / 3.417 GB, free: 101.4 MB / 1.151 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 89.2/95.92, allocations: 20 GB / 23.42 GB, free: 60.89 MB / 1.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/95.92, allocations: 10.97 kB / 23.42 GB, free: 60.89 MB / 1.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05599/95.98, allocations: 6.223 MB / 23.43 GB, free: 59.26 MB / 1.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.175/96.16, allocations: 55.76 MB / 23.48 GB, free: 55.57 MB / 1.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00222/96.16, allocations: 0.6659 MB / 23.48 GB, free: 55.57 MB / 1.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01625/96.17, allocations: 1.256 MB / 23.48 GB, free: 55.56 MB / 1.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1117/96.29, allocations: 34.27 MB / 23.52 GB, free: 55.48 MB / 1.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1471/96.43, allocations: 36.06 MB / 23.55 GB, free: 53.84 MB / 1.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002078/96.43, allocations: 44.47 kB / 23.55 GB, free: 53.83 MB / 1.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01509/96.45, allocations: 20.28 kB / 23.55 GB, free: 53.83 MB / 1.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001533/96.45, allocations: 0.9688 MB / 23.55 GB, free: 53.79 MB / 1.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3587/96.81, allocations: 167.7 MB / 23.72 GB, free: 5.688 MB / 1.589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04005/96.85, allocations: 15.42 MB / 23.73 GB, free: 14.79 MB / 1.604 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03088/96.88, allocations: 14.47 MB / 23.75 GB, free: 2.195 MB / 1.604 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005133/96.89, allocations: 2.858 MB / 23.75 GB, free: 14.91 MB / 1.62 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003215/96.89, allocations: 190.4 kB / 23.75 GB, free: 14.71 MB / 1.62 GB Notification: Performance of pre-optimization done (n=1205): time 1.551e-05/96.89, allocations: 0.6875 kB / 23.75 GB, free: 14.71 MB / 1.62 GB Notification: Performance of matching and sorting (n=1265): time 2.884/99.77, allocations: 60.32 MB / 23.81 GB, free: 199.9 MB / 1.636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/99.77, allocations: 185.3 kB / 23.81 GB, free: 199.8 MB / 1.636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07193/99.84, allocations: 23.29 MB / 23.83 GB, free: 199 MB / 1.636 GB Notification: Performance of collectPreVariables (initialization): time 0.00673/99.85, allocations: 51.95 kB / 23.83 GB, free: 199 MB / 1.636 GB Notification: Performance of collectInitialEqns (initialization): time 0.01843/99.87, allocations: 8.022 MB / 23.84 GB, free: 198.7 MB / 1.636 GB Notification: Performance of collectInitialBindings (initialization): time 0.02147/99.89, allocations: 4.262 MB / 23.84 GB, free: 196.7 MB / 1.636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002663/99.89, allocations: 0 / 23.84 GB, free: 196.7 MB / 1.636 GB Notification: Performance of setup shared object (initialization): time 0.0016/99.89, allocations: 0.9205 MB / 23.84 GB, free: 196.3 MB / 1.636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01865/99.91, allocations: 10.93 MB / 23.85 GB, free: 196.3 MB / 1.636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02881/99.94, allocations: 14.61 MB / 23.87 GB, free: 192.7 MB / 1.636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03131/99.97, allocations: 14.49 MB / 23.88 GB, free: 192.6 MB / 1.636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003087/99.97, allocations: 16.06 kB / 23.88 GB, free: 192.6 MB / 1.636 GB Notification: Performance of matching and sorting (n=1651) (initialization): time 0.1029/100.1, allocations: 32.19 MB / 23.91 GB, free: 191 MB / 1.636 GB Notification: Performance of prepare postOptimizeDAE: time 0.01344/100.1, allocations: 52.64 MB / 23.96 GB, free: 136.7 MB / 1.636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004921/100.1, allocations: 69.75 kB / 23.96 GB, free: 136.7 MB / 1.636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04383/100.1, allocations: 11.08 MB / 23.98 GB, free: 136.5 MB / 1.636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01612/100.2, allocations: 2.571 MB / 23.98 GB, free: 136.5 MB / 1.636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04291/100.2, allocations: 29.29 MB / 24.01 GB, free: 130.9 MB / 1.636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03673/100.2, allocations: 2.394 MB / 24.01 GB, free: 130.8 MB / 1.636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007568/100.2, allocations: 0.5522 MB / 24.01 GB, free: 130.8 MB / 1.636 GB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/100.2, allocations: 3.938 kB / 24.01 GB, free: 130.8 MB / 1.636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08866/100.3, allocations: 30.17 MB / 24.04 GB, free: 130.3 MB / 1.636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004529/100.3, allocations: 66.62 kB / 24.04 GB, free: 130.3 MB / 1.636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04069/100.4, allocations: 11.08 MB / 24.05 GB, free: 130.1 MB / 1.636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01603/100.4, allocations: 2.567 MB / 24.05 GB, free: 130.1 MB / 1.636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04298/100.4, allocations: 28.68 MB / 24.08 GB, free: 125.1 MB / 1.636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03637/100.5, allocations: 2.345 MB / 24.08 GB, free: 125 MB / 1.636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006452/100.5, allocations: 0.5513 MB / 24.08 GB, free: 125 MB / 1.636 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 202,24 148} Notification: Performance of prepare postOptimizeDAE: time 0.01134/100.5, allocations: 374.8 kB / 24.08 GB, free: 124.9 MB / 1.636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0133/100.5, allocations: 1.958 MB / 24.09 GB, free: 123.8 MB / 1.636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0993/100.6, allocations: 28.33 MB / 24.11 GB, free: 123.2 MB / 1.636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003409/100.6, allocations: 128.8 kB / 24.11 GB, free: 123.2 MB / 1.636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001427/100.6, allocations: 9.875 kB / 24.11 GB, free: 123.2 MB / 1.636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06186/100.7, allocations: 23.2 MB / 24.14 GB, free: 122.5 MB / 1.636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2057/100.9, allocations: 66.58 MB / 24.2 GB, free: 119.5 MB / 1.636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.738e-05/100.9, allocations: 17.03 kB / 24.2 GB, free: 119.5 MB / 1.636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0202/100.9, allocations: 2.788 MB / 24.2 GB, free: 119.5 MB / 1.636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01619/100.9, allocations: 4.114 MB / 24.21 GB, free: 119.4 MB / 1.636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004777/100.9, allocations: 230.8 kB / 24.21 GB, free: 119.4 MB / 1.636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02252/100.9, allocations: 17.31 MB / 24.23 GB, free: 113.9 MB / 1.636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.935e-05/100.9, allocations: 26.83 kB / 24.23 GB, free: 113.9 MB / 1.636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.08727/101, allocations: 49.68 MB / 24.27 GB, free: 119.1 MB / 1.651 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1322/101.1, allocations: 68.38 MB / 24.34 GB, free: 93.65 MB / 1.651 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03165/101.2, allocations: 6.217 MB / 24.35 GB, free: 87.95 MB / 1.651 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01385/101.2, allocations: 157 kB / 24.35 GB, free: 87.82 MB / 1.651 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03447/101.2, allocations: 2.135 MB / 24.35 GB, free: 86.52 MB / 1.651 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005611/101.2, allocations: 0.6631 MB / 24.35 GB, free: 86.12 MB / 1.651 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004812/101.2, allocations: 458.1 kB / 24.35 GB, free: 85.74 MB / 1.651 GB Notification: Performance of sort global known variables: time 0.05319/101.3, allocations: 18.57 MB / 24.37 GB, free: 70.07 MB / 1.651 GB Notification: Performance of remove unused functions: time 0.1133/101.4, allocations: 16.43 MB / 24.38 GB, free: 53.77 MB / 1.651 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.medium.Xi[1],hexFixIni.hexReg[1].ele[1,1].vol2.dynBal.U,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.medium.Xi[1],hexFixIni.hexReg[1].ele[1,2].vol2.dynBal.U,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.medium.Xi[1],hexFixIni.hexReg[1].ele[1,3].vol2.dynBal.U,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.medium.Xi[1],hexFixIni.hexReg[2].ele[1,1].vol2.dynBal.U,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.medium.Xi[1],hexFixIni.hexReg[2].ele[1,2].vol2.dynBal.U,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.medium.Xi[1],hexFixIni.hexReg[2].ele[1,3].vol2.dynBal.U,hexFixIni.hexReg[2].ele[1,3].vol2.dynBal.m,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 (1098): * Single equations (assignments): 1080 * 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.03826/101.4, allocations: 18.59 MB / 24.4 GB, free: 37.36 MB / 1.651 GB Notification: Performance of simCode: created initialization part: time 0.08928/101.5, allocations: 40.9 MB / 24.44 GB, free: 2.402 MB / 1.651 GB Notification: Performance of simCode: created event and clocks part: time 5.064e-05/101.5, allocations: 11 kB / 24.44 GB, free: 2.395 MB / 1.651 GB Notification: Performance of simCode: created simulation system equations: time 2.853/104.4, allocations: 15.28 MB / 24.46 GB, free: 211 MB / 1.651 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08418/104.5, allocations: 13.51 MB / 24.47 GB, free: 210.9 MB / 1.651 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2365/104.7, allocations: 68.99 MB / 24.54 GB, free: 202.5 MB / 1.651 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.08628/104.8, allocations: 24.36 MB / 24.56 GB, free: 201 MB / 1.651 GB Notification: Performance of SimCode: time 3.637e-06/104.8, allocations: 1.062 kB / 24.56 GB, free: 201 MB / 1.651 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitialization_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitialization.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe 2>&1)