Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.101/2.101, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001146/0.001146, allocations: 177.3 kB / 487 MB, free: 5.391 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.481/1.481, allocations: 221.3 MB / 0.7819 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009733/0.0009735, allocations: 96.59 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6666/0.6676, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.9307, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.897/5.827, allocations: 2.204 GB / 3.41 GB, free: 106.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/5.828, allocations: 99.73 kB / 3.41 GB, free: 106.8 MB / 1.151 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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 78.21/84.04, allocations: 20 GB / 23.41 GB, free: 80.54 MB / 1.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/84.04, allocations: 7.469 kB / 23.41 GB, free: 80.54 MB / 1.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05216/84.09, allocations: 6.219 MB / 23.42 GB, free: 78.85 MB / 1.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1545/84.25, allocations: 55.77 MB / 23.47 GB, free: 74.38 MB / 1.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002586/84.25, allocations: 0.6645 MB / 23.47 GB, free: 74.38 MB / 1.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01545/84.27, allocations: 1.259 MB / 23.48 GB, free: 74.38 MB / 1.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1007/84.37, allocations: 34.27 MB / 23.51 GB, free: 74.28 MB / 1.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1316/84.5, allocations: 36.06 MB / 23.54 GB, free: 62.96 MB / 1.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001838/84.5, allocations: 42.27 kB / 23.54 GB, free: 62.92 MB / 1.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01263/84.51, allocations: 20 kB / 23.54 GB, free: 62.9 MB / 1.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001322/84.51, allocations: 0.9699 MB / 23.55 GB, free: 62 MB / 1.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 2.413/86.93, allocations: 167.7 MB / 23.71 GB, free: 162.8 MB / 1.604 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02799/86.96, allocations: 14.59 MB / 23.72 GB, free: 162.7 MB / 1.604 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02596/86.98, allocations: 14.47 MB / 23.74 GB, free: 162.6 MB / 1.604 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003432/86.98, allocations: 2.851 MB / 23.74 GB, free: 159.7 MB / 1.604 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002436/86.99, allocations: 195.2 kB / 23.74 GB, free: 159.6 MB / 1.604 GB Notification: Performance of pre-optimization done (n=1205): time 1.493e-05/86.99, allocations: 0 / 23.74 GB, free: 159.6 MB / 1.604 GB Notification: Performance of matching and sorting (n=1265): time 0.1893/87.17, allocations: 57.74 MB / 23.8 GB, free: 156.6 MB / 1.604 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/87.17, allocations: 187.6 kB / 23.8 GB, free: 156.5 MB / 1.604 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07582/87.25, allocations: 23.28 MB / 23.82 GB, free: 155.6 MB / 1.604 GB Notification: Performance of collectPreVariables (initialization): time 0.005151/87.26, allocations: 43.27 kB / 23.82 GB, free: 155.6 MB / 1.604 GB Notification: Performance of collectInitialEqns (initialization): time 0.01931/87.28, allocations: 8.035 MB / 23.83 GB, free: 152.9 MB / 1.604 GB Notification: Performance of collectInitialBindings (initialization): time 0.02166/87.3, allocations: 4.257 MB / 23.83 GB, free: 150.3 MB / 1.604 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004366/87.3, allocations: 0 / 23.83 GB, free: 150.3 MB / 1.604 GB Notification: Performance of setup shared object (initialization): time 0.002267/87.3, allocations: 0.9209 MB / 23.83 GB, free: 150 MB / 1.604 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02143/87.32, allocations: 10.93 MB / 23.84 GB, free: 149.9 MB / 1.604 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02733/87.35, allocations: 14.61 MB / 23.86 GB, free: 146.4 MB / 1.604 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02954/87.38, allocations: 14.49 MB / 23.87 GB, free: 146.2 MB / 1.604 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002376/87.38, allocations: 20.59 kB / 23.87 GB, free: 146.2 MB / 1.604 GB Notification: Performance of matching and sorting (n=1651) (initialization): time 0.0856/87.47, allocations: 32.18 MB / 23.9 GB, free: 144.7 MB / 1.604 GB Notification: Performance of prepare postOptimizeDAE: time 0.01314/87.48, allocations: 52.64 MB / 23.95 GB, free: 122.3 MB / 1.636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003706/87.48, allocations: 68.69 kB / 23.95 GB, free: 122.3 MB / 1.636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04087/87.52, allocations: 11.08 MB / 23.97 GB, free: 122.1 MB / 1.636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01775/87.54, allocations: 2.576 MB / 23.97 GB, free: 122.1 MB / 1.636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04913/87.59, allocations: 29.29 MB / 24 GB, free: 116.5 MB / 1.636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0326/87.62, allocations: 2.392 MB / 24 GB, free: 116.4 MB / 1.636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005857/87.63, allocations: 0.5466 MB / 24 GB, free: 116.4 MB / 1.636 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/87.63, allocations: 8.438 kB / 24 GB, free: 116.4 MB / 1.636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08065/87.71, allocations: 30.18 MB / 24.03 GB, free: 115.9 MB / 1.636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004948/87.71, allocations: 70.16 kB / 24.03 GB, free: 115.9 MB / 1.636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04045/87.75, allocations: 11.07 MB / 24.04 GB, free: 115.8 MB / 1.636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01642/87.77, allocations: 2.57 MB / 24.04 GB, free: 115.7 MB / 1.636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04553/87.81, allocations: 28.67 MB / 24.07 GB, free: 110.7 MB / 1.636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03063/87.84, allocations: 2.352 MB / 24.07 GB, free: 110.6 MB / 1.636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005485/87.85, allocations: 0.5548 MB / 24.07 GB, free: 110.6 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.01091/87.86, allocations: 377.8 kB / 24.07 GB, free: 110.5 MB / 1.636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01136/87.87, allocations: 1.953 MB / 24.08 GB, free: 109.4 MB / 1.636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08131/87.95, allocations: 28.33 MB / 24.1 GB, free: 108.8 MB / 1.636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003144/87.95, allocations: 127.2 kB / 24.1 GB, free: 108.8 MB / 1.636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001217/87.95, allocations: 3.625 kB / 24.1 GB, free: 108.8 MB / 1.636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05723/88.01, allocations: 23.2 MB / 24.13 GB, free: 108.1 MB / 1.636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1962/88.21, allocations: 66.59 MB / 24.19 GB, free: 89.82 MB / 1.636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001844/88.21, allocations: 19.91 kB / 24.19 GB, free: 89.8 MB / 1.636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01739/88.22, allocations: 2.789 MB / 24.19 GB, free: 87.66 MB / 1.636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01482/88.24, allocations: 4.109 MB / 24.2 GB, free: 84.41 MB / 1.636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004296/88.24, allocations: 231.4 kB / 24.2 GB, free: 84.23 MB / 1.636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225/90.47, allocations: 17.32 MB / 24.21 GB, free: 207.4 MB / 1.636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-05/90.47, allocations: 24.69 kB / 24.21 GB, free: 207.4 MB / 1.636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0778/90.54, allocations: 49.69 MB / 24.26 GB, free: 197.8 MB / 1.636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1307/90.68, allocations: 68.38 MB / 24.33 GB, free: 187.7 MB / 1.636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02677/90.7, allocations: 6.214 MB / 24.34 GB, free: 187.3 MB / 1.636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01268/90.72, allocations: 160.8 kB / 24.34 GB, free: 187.3 MB / 1.636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03038/90.75, allocations: 2.141 MB / 24.34 GB, free: 187.3 MB / 1.636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005145/90.75, allocations: 0.665 MB / 24.34 GB, free: 187.3 MB / 1.636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004786/90.76, allocations: 457.8 kB / 24.34 GB, free: 187.3 MB / 1.636 GB Notification: Performance of sort global known variables: time 0.0537/90.81, allocations: 18.57 MB / 24.36 GB, free: 186.8 MB / 1.636 GB Notification: Performance of remove unused functions: time 0.1085/90.92, allocations: 16.43 MB / 24.37 GB, free: 186.8 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.03639/90.95, allocations: 18.56 MB / 24.39 GB, free: 175.3 MB / 1.636 GB Notification: Performance of simCode: created initialization part: time 0.0899/91.04, allocations: 40.91 MB / 24.43 GB, free: 174.2 MB / 1.636 GB Notification: Performance of simCode: created event and clocks part: time 3.833e-05/91.04, allocations: 9.375 kB / 24.43 GB, free: 174.2 MB / 1.636 GB Notification: Performance of simCode: created simulation system equations: time 0.02952/91.07, allocations: 12.61 MB / 24.44 GB, free: 173.8 MB / 1.636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07604/91.15, allocations: 13.51 MB / 24.46 GB, free: 173.7 MB / 1.636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2212/91.37, allocations: 68.99 MB / 24.52 GB, free: 165.2 MB / 1.636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0807/91.45, allocations: 24.36 MB / 24.55 GB, free: 163.7 MB / 1.636 GB Notification: Performance of SimCode: time 4.158e-06/91.45, allocations: 0.5312 kB / 24.55 GB, free: 163.7 MB / 1.636 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitialization_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitialization.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe 2>&1)