Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.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.WetCoilDiscretizedInitializationPerfectGases,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases",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.476/2.476, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001235/0.001234, allocations: 181.2 kB / 490.8 MB, free: 1.91 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.655/1.655, allocations: 221.3 MB / 0.7863 GB, free: 13.69 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.0009974/0.0009976, allocations: 87 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7101/0.7111, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/1.027, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.81/6.836, allocations: 2.205 GB / 3.417 GB, free: 78.73 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/6.837, allocations: 88.8 kB / 3.417 GB, free: 78.69 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 86.44/93.28, allocations: 20 GB / 23.42 GB, free: 69.89 MB / 1.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/93.28, allocations: 12.97 kB / 23.42 GB, free: 69.89 MB / 1.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05779/93.34, allocations: 6.222 MB / 23.43 GB, free: 68.26 MB / 1.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1757/93.51, allocations: 55.76 MB / 23.48 GB, free: 64.54 MB / 1.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002802/93.51, allocations: 0.6671 MB / 23.48 GB, free: 64.54 MB / 1.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0176/93.53, allocations: 1.258 MB / 23.48 GB, free: 64.53 MB / 1.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1026/93.63, allocations: 34.27 MB / 23.52 GB, free: 64.45 MB / 1.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1317/93.77, allocations: 36.06 MB / 23.55 GB, free: 62.8 MB / 1.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002332/93.77, allocations: 50.3 kB / 23.55 GB, free: 62.79 MB / 1.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01313/93.78, allocations: 18.47 kB / 23.55 GB, free: 62.79 MB / 1.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001427/93.78, allocations: 0.9689 MB / 23.55 GB, free: 62.75 MB / 1.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4031/94.19, allocations: 169 MB / 23.72 GB, free: 68 kB / 1.62 GB Notification: Performance of preOpt comSubExp (simulation): time 2.838/97.02, allocations: 15.45 MB / 23.73 GB, free: 197.4 MB / 1.62 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02574/97.05, allocations: 14.47 MB / 23.75 GB, free: 197.3 MB / 1.62 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004009/97.05, allocations: 2.855 MB / 23.75 GB, free: 194.4 MB / 1.62 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003094/97.05, allocations: 186.4 kB / 23.75 GB, free: 194.3 MB / 1.62 GB Notification: Performance of pre-optimization done (n=1205): time 1.315e-05/97.05, allocations: 0 / 23.75 GB, free: 194.3 MB / 1.62 GB Notification: Performance of matching and sorting (n=1265): time 0.2007/97.26, allocations: 57.73 MB / 23.81 GB, free: 191.7 MB / 1.62 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/97.26, allocations: 178.5 kB / 23.81 GB, free: 191.6 MB / 1.62 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06931/97.32, allocations: 23.29 MB / 23.83 GB, free: 190.8 MB / 1.62 GB Notification: Performance of collectPreVariables (initialization): time 0.006284/97.33, allocations: 43.45 kB / 23.83 GB, free: 190.7 MB / 1.62 GB Notification: Performance of collectInitialEqns (initialization): time 0.01833/97.35, allocations: 8.033 MB / 23.84 GB, free: 188 MB / 1.62 GB Notification: Performance of collectInitialBindings (initialization): time 0.02239/97.37, allocations: 4.263 MB / 23.84 GB, free: 185.2 MB / 1.62 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004647/97.38, allocations: 0 / 23.84 GB, free: 185.2 MB / 1.62 GB Notification: Performance of setup shared object (initialization): time 0.002414/97.38, allocations: 0.921 MB / 23.84 GB, free: 184.9 MB / 1.62 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0223/97.4, allocations: 10.93 MB / 23.85 GB, free: 184.9 MB / 1.62 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02842/97.43, allocations: 14.61 MB / 23.87 GB, free: 181.3 MB / 1.62 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03073/97.46, allocations: 14.49 MB / 23.88 GB, free: 181.2 MB / 1.62 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002522/97.46, allocations: 19.62 kB / 23.88 GB, free: 181.2 MB / 1.62 GB Notification: Performance of matching and sorting (n=1651) (initialization): time 0.09564/97.56, allocations: 32.19 MB / 23.91 GB, free: 179.6 MB / 1.62 GB Notification: Performance of prepare postOptimizeDAE: time 0.01269/97.57, allocations: 52.63 MB / 23.96 GB, free: 125.3 MB / 1.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006016/97.57, allocations: 72.25 kB / 23.96 GB, free: 125.3 MB / 1.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04129/97.61, allocations: 11.08 MB / 23.97 GB, free: 125.1 MB / 1.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01662/97.63, allocations: 2.583 MB / 23.98 GB, free: 125.1 MB / 1.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04615/97.67, allocations: 29.27 MB / 24.01 GB, free: 119.5 MB / 1.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03475/97.71, allocations: 2.393 MB / 24.01 GB, free: 119.4 MB / 1.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00589/97.71, allocations: 0.5577 MB / 24.01 GB, free: 119.4 MB / 1.62 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/97.71, allocations: 3.844 kB / 24.01 GB, free: 119.4 MB / 1.62 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07615/97.79, allocations: 30.18 MB / 24.04 GB, free: 118.9 MB / 1.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003348/97.79, allocations: 68.34 kB / 24.04 GB, free: 118.9 MB / 1.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03825/97.83, allocations: 11.08 MB / 24.05 GB, free: 118.7 MB / 1.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01463/97.84, allocations: 2.566 MB / 24.05 GB, free: 118.7 MB / 1.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04886/97.89, allocations: 28.68 MB / 24.08 GB, free: 113.7 MB / 1.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03573/97.93, allocations: 2.356 MB / 24.08 GB, free: 113.6 MB / 1.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005644/97.93, allocations: 0.5472 MB / 24.08 GB, free: 113.6 MB / 1.62 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.009021/97.94, allocations: 372.1 kB / 24.08 GB, free: 113.4 MB / 1.62 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01037/97.95, allocations: 1.956 MB / 24.08 GB, free: 112.4 MB / 1.62 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07614/98.03, allocations: 28.33 MB / 24.11 GB, free: 111.8 MB / 1.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001966/98.03, allocations: 133.1 kB / 24.11 GB, free: 111.8 MB / 1.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.357e-05/98.03, allocations: 2.531 kB / 24.11 GB, free: 111.8 MB / 1.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05372/98.08, allocations: 23.21 MB / 24.13 GB, free: 111.1 MB / 1.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1783/98.26, allocations: 66.59 MB / 24.2 GB, free: 108.1 MB / 1.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.041e-05/98.26, allocations: 13.66 kB / 24.2 GB, free: 108.1 MB / 1.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01759/98.28, allocations: 2.791 MB / 24.2 GB, free: 108.1 MB / 1.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01521/98.3, allocations: 4.102 MB / 24.21 GB, free: 108 MB / 1.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006228/98.3, allocations: 231.5 kB / 24.21 GB, free: 108 MB / 1.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02251/98.32, allocations: 17.32 MB / 24.22 GB, free: 118.4 MB / 1.636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.18e-05/98.32, allocations: 27.44 kB / 24.22 GB, free: 118.4 MB / 1.636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1053/98.43, allocations: 49.69 MB / 24.27 GB, free: 79.22 MB / 1.636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1266/98.56, allocations: 68.38 MB / 24.34 GB, free: 18.34 MB / 1.636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02724/98.58, allocations: 6.219 MB / 24.35 GB, free: 12.64 MB / 1.636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01475/98.6, allocations: 165.6 kB / 24.35 GB, free: 12.51 MB / 1.636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03187/98.63, allocations: 2.13 MB / 24.35 GB, free: 11.21 MB / 1.636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005114/98.64, allocations: 0.6626 MB / 24.35 GB, free: 10.82 MB / 1.636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004423/98.64, allocations: 459.6 kB / 24.35 GB, free: 10.43 MB / 1.636 GB Notification: Performance of sort global known variables: time 2.785/101.4, allocations: 19.7 MB / 24.37 GB, free: 192.3 MB / 1.636 GB Notification: Performance of remove unused functions: time 0.1159/101.5, allocations: 16.43 MB / 24.38 GB, free: 192.3 MB / 1.636 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.03648/101.6, allocations: 18.57 MB / 24.4 GB, free: 180.8 MB / 1.636 GB Notification: Performance of simCode: created initialization part: time 0.09002/101.7, allocations: 40.9 MB / 24.44 GB, free: 179.7 MB / 1.636 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-05/101.7, allocations: 10.56 kB / 24.44 GB, free: 179.7 MB / 1.636 GB Notification: Performance of simCode: created simulation system equations: time 0.02821/101.7, allocations: 12.61 MB / 24.45 GB, free: 179.4 MB / 1.636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08358/101.8, allocations: 13.51 MB / 24.47 GB, free: 179.2 MB / 1.636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2396/102, allocations: 68.99 MB / 24.53 GB, free: 170.8 MB / 1.636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.09004/102.1, allocations: 24.37 MB / 24.56 GB, free: 169.3 MB / 1.636 GB Notification: Performance of SimCode: time 1.292e-06/102.1, allocations: 0.5938 kB / 24.56 GB, free: 169.3 MB / 1.636 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe 2>&1)