Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.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.WetCoilDiscretizedInitializationPerfectGases,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.041/2.041, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.001034/0.001034, allocations: 188.2 kB / 487 MB, free: 5.371 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.495/1.495, allocations: 221.3 MB / 0.7819 GB, free: 1.422 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.001018/0.001018, allocations: 104 kB / 0.9213 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6585/0.6596, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.9467, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.742/5.689, allocations: 2.204 GB / 3.41 GB, free: 110.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/5.689, allocations: 88.7 kB / 3.41 GB, free: 110.6 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 81/86.69, allocations: 20 GB / 23.41 GB, free: 83.12 MB / 1.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/86.69, allocations: 7.281 kB / 23.41 GB, free: 83.12 MB / 1.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05463/86.75, allocations: 6.224 MB / 23.42 GB, free: 81.49 MB / 1.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1563/86.9, allocations: 55.76 MB / 23.47 GB, free: 77.34 MB / 1.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001782/86.91, allocations: 0.6626 MB / 23.47 GB, free: 77.34 MB / 1.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01288/86.92, allocations: 1.261 MB / 23.48 GB, free: 77.33 MB / 1.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.09057/87.01, allocations: 34.27 MB / 23.51 GB, free: 77.24 MB / 1.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.13/87.14, allocations: 36.06 MB / 23.54 GB, free: 75.52 MB / 1.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002474/87.14, allocations: 41.7 kB / 23.54 GB, free: 75.5 MB / 1.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01456/87.16, allocations: 16.75 kB / 23.54 GB, free: 75.5 MB / 1.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001558/87.16, allocations: 0.9715 MB / 23.55 GB, free: 75.45 MB / 1.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 2.571/89.73, allocations: 169.1 MB / 23.71 GB, free: 165.5 MB / 1.604 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02316/89.75, allocations: 14.59 MB / 23.72 GB, free: 165.4 MB / 1.604 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02523/89.78, allocations: 14.46 MB / 23.74 GB, free: 165.3 MB / 1.604 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003532/89.78, allocations: 2.855 MB / 23.74 GB, free: 162.4 MB / 1.604 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/89.78, allocations: 188.9 kB / 23.74 GB, free: 162.4 MB / 1.604 GB Notification: Performance of pre-optimization done (n=1205): time 1.452e-05/89.78, allocations: 0 / 23.74 GB, free: 162.4 MB / 1.604 GB Notification: Performance of matching and sorting (n=1265): time 0.1944/89.97, allocations: 57.74 MB / 23.8 GB, free: 159.6 MB / 1.604 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/89.97, allocations: 178.9 kB / 23.8 GB, free: 159.5 MB / 1.604 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06276/90.04, allocations: 23.29 MB / 23.82 GB, free: 158.7 MB / 1.604 GB Notification: Performance of collectPreVariables (initialization): time 0.005138/90.04, allocations: 43.67 kB / 23.82 GB, free: 158.6 MB / 1.604 GB Notification: Performance of collectInitialEqns (initialization): time 0.01659/90.06, allocations: 8.036 MB / 23.83 GB, free: 155.9 MB / 1.604 GB Notification: Performance of collectInitialBindings (initialization): time 0.02879/90.09, allocations: 4.256 MB / 23.83 GB, free: 153.2 MB / 1.604 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004501/90.09, allocations: 6.578 kB / 23.83 GB, free: 153.2 MB / 1.604 GB Notification: Performance of setup shared object (initialization): time 0.002056/90.1, allocations: 0.9211 MB / 23.83 GB, free: 152.9 MB / 1.604 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0256/90.12, allocations: 10.93 MB / 23.84 GB, free: 152.9 MB / 1.604 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03196/90.15, allocations: 14.61 MB / 23.86 GB, free: 149.3 MB / 1.604 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03696/90.19, allocations: 14.49 MB / 23.87 GB, free: 149.1 MB / 1.604 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003737/90.19, allocations: 18.69 kB / 23.87 GB, free: 149.1 MB / 1.604 GB Notification: Performance of matching and sorting (n=1651) (initialization): time 0.0929/90.28, allocations: 32.18 MB / 23.9 GB, free: 147.6 MB / 1.604 GB Notification: Performance of prepare postOptimizeDAE: time 0.01648/90.3, allocations: 52.64 MB / 23.96 GB, free: 125.2 MB / 1.636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000413/90.3, allocations: 67.53 kB / 23.96 GB, free: 125.2 MB / 1.636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03923/90.34, allocations: 11.07 MB / 23.97 GB, free: 125.1 MB / 1.636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0153/90.35, allocations: 2.588 MB / 23.97 GB, free: 125.1 MB / 1.636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05151/90.41, allocations: 29.27 MB / 24 GB, free: 119.5 MB / 1.636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03563/90.44, allocations: 2.394 MB / 24 GB, free: 119.3 MB / 1.636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006311/90.45, allocations: 0.5557 MB / 24 GB, free: 119.3 MB / 1.636 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/90.45, allocations: 1.719 kB / 24 GB, free: 119.3 MB / 1.636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08428/90.53, allocations: 30.18 MB / 24.03 GB, free: 118.8 MB / 1.636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004654/90.53, allocations: 73.19 kB / 24.03 GB, free: 118.8 MB / 1.636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04093/90.57, allocations: 11.08 MB / 24.04 GB, free: 118.7 MB / 1.636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01474/90.59, allocations: 2.563 MB / 24.04 GB, free: 118.7 MB / 1.636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05025/90.64, allocations: 28.68 MB / 24.07 GB, free: 129.7 MB / 1.651 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03312/90.67, allocations: 2.349 MB / 24.07 GB, free: 129.6 MB / 1.651 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006352/90.68, allocations: 0.5505 MB / 24.07 GB, free: 129.6 MB / 1.651 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.01234/90.69, allocations: 386.2 kB / 24.07 GB, free: 129.4 MB / 1.651 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01267/90.7, allocations: 1.954 MB / 24.08 GB, free: 128.4 MB / 1.651 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08279/90.79, allocations: 28.33 MB / 24.1 GB, free: 127.7 MB / 1.651 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002906/90.79, allocations: 126.6 kB / 24.1 GB, free: 127.7 MB / 1.651 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001147/90.79, allocations: 7.906 kB / 24.1 GB, free: 127.7 MB / 1.651 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05735/90.84, allocations: 23.2 MB / 24.13 GB, free: 127.1 MB / 1.651 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1757/91.02, allocations: 66.58 MB / 24.19 GB, free: 120.9 MB / 1.651 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001327/91.02, allocations: 15.72 kB / 24.19 GB, free: 120.9 MB / 1.651 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01936/91.04, allocations: 2.785 MB / 24.19 GB, free: 120.9 MB / 1.651 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0146/91.05, allocations: 4.112 MB / 24.2 GB, free: 120.1 MB / 1.651 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004158/91.06, allocations: 233.2 kB / 24.2 GB, free: 120 MB / 1.651 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02298/91.08, allocations: 17.32 MB / 24.22 GB, free: 109.1 MB / 1.651 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.93e-05/91.08, allocations: 26.38 kB / 24.22 GB, free: 109.1 MB / 1.651 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.08307/91.16, allocations: 49.69 MB / 24.26 GB, free: 64.29 MB / 1.651 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 1.376/92.54, allocations: 68.39 MB / 24.33 GB, free: 220.4 MB / 1.651 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02845/92.57, allocations: 6.214 MB / 24.34 GB, free: 220.3 MB / 1.651 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01214/92.58, allocations: 159.2 kB / 24.34 GB, free: 220.3 MB / 1.651 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02847/92.61, allocations: 2.138 MB / 24.34 GB, free: 220.3 MB / 1.651 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004485/92.61, allocations: 0.6593 MB / 24.34 GB, free: 220.2 MB / 1.651 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003755/92.62, allocations: 462.7 kB / 24.34 GB, free: 220.2 MB / 1.651 GB Notification: Performance of sort global known variables: time 0.04299/92.66, allocations: 18.57 MB / 24.36 GB, free: 219.7 MB / 1.651 GB Notification: Performance of remove unused functions: time 0.09905/92.76, allocations: 16.43 MB / 24.37 GB, free: 219.7 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.0296/92.79, allocations: 18.57 MB / 24.39 GB, free: 208.3 MB / 1.651 GB Notification: Performance of simCode: created initialization part: time 0.08056/92.87, allocations: 40.9 MB / 24.43 GB, free: 207.2 MB / 1.651 GB Notification: Performance of simCode: created event and clocks part: time 4.02e-05/92.87, allocations: 10.5 kB / 24.43 GB, free: 207.2 MB / 1.651 GB Notification: Performance of simCode: created simulation system equations: time 0.02493/92.9, allocations: 12.61 MB / 24.45 GB, free: 206.8 MB / 1.651 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07872/92.97, allocations: 13.52 MB / 24.46 GB, free: 206.7 MB / 1.651 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2257/93.2, allocations: 68.98 MB / 24.53 GB, free: 198.3 MB / 1.651 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.08131/93.28, allocations: 24.37 MB / 24.55 GB, free: 196.8 MB / 1.651 GB Notification: Performance of SimCode: time 2.565e-06/93.28, allocations: 0 / 24.55 GB, free: 196.8 MB / 1.651 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe 2>&1)