Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.589/1.589, allocations: 289.8 MB / 297.1 MB, free: 6.602 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.001711/0.001711, allocations: 185.2 kB / 366.3 MB, free: 1.941 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.551/1.551, allocations: 205.2 MB / 0.6256 GB, free: 5.801 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.000855/0.000855, allocations: 95.67 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2825/0.2834, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7362/1.02, allocations: 116.3 MB / 0.9726 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.373/6.392, allocations: 2.364 GB / 3.337 GB, free: 68.65 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/6.393, allocations: 95.94 kB / 3.337 GB, free: 68.56 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.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 85.1/91.49, allocations: 19.63 GB / 22.97 GB, free: 67.87 MB / 1.385 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/91.49, allocations: 9.75 kB / 22.97 GB, free: 67.87 MB / 1.385 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05401/91.55, allocations: 6.215 MB / 22.98 GB, free: 66.25 MB / 1.385 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1601/91.71, allocations: 54.96 MB / 23.03 GB, free: 62.53 MB / 1.385 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002661/91.71, allocations: 0.6709 MB / 23.03 GB, free: 62.53 MB / 1.385 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01646/91.73, allocations: 1.278 MB / 23.03 GB, free: 62.52 MB / 1.385 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.09688/91.82, allocations: 34.28 MB / 23.07 GB, free: 62.43 MB / 1.385 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.14/91.96, allocations: 35.99 MB / 23.1 GB, free: 60.8 MB / 1.385 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002062/91.97, allocations: 42.95 kB / 23.1 GB, free: 60.79 MB / 1.385 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01352/91.98, allocations: 22.81 kB / 23.1 GB, free: 60.79 MB / 1.385 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001388/91.98, allocations: 0.9643 MB / 23.1 GB, free: 60.75 MB / 1.385 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3717/92.35, allocations: 163.9 MB / 23.26 GB, free: 19.77 MB / 1.401 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03116/92.38, allocations: 14.56 MB / 23.28 GB, free: 16.68 MB / 1.401 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0315/92.41, allocations: 14.45 MB / 23.29 GB, free: 10.99 MB / 1.401 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005142/92.42, allocations: 2.859 MB / 23.29 GB, free: 7.711 MB / 1.401 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000399/92.42, allocations: 192 kB / 23.29 GB, free: 7.516 MB / 1.401 GB Notification: Performance of pre-optimization done (n=1205): time 6.218e-05/92.42, allocations: 0 / 23.29 GB, free: 7.516 MB / 1.401 GB Notification: Performance of matching and sorting (n=1271): time 0.2511/92.67, allocations: 61.5 MB / 23.35 GB, free: 13.56 MB / 1.448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002043/92.67, allocations: 182.2 kB / 23.35 GB, free: 13.37 MB / 1.448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.414/95.09, allocations: 23.73 MB / 23.38 GB, free: 191.8 MB / 1.448 GB Notification: Performance of collectPreVariables (initialization): time 0.005285/95.09, allocations: 46.73 kB / 23.38 GB, free: 191.8 MB / 1.448 GB Notification: Performance of collectInitialEqns (initialization): time 0.01783/95.11, allocations: 8.074 MB / 23.38 GB, free: 191.5 MB / 1.448 GB Notification: Performance of collectInitialBindings (initialization): time 0.02156/95.13, allocations: 4.279 MB / 23.39 GB, free: 190.5 MB / 1.448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004038/95.13, allocations: 0 / 23.39 GB, free: 190.5 MB / 1.448 GB Notification: Performance of setup shared object (initialization): time 0.001974/95.14, allocations: 0.9288 MB / 23.39 GB, free: 190.1 MB / 1.448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01984/95.16, allocations: 10.99 MB / 23.4 GB, free: 190.1 MB / 1.448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02907/95.19, allocations: 15.1 MB / 23.41 GB, free: 186.2 MB / 1.448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03237/95.22, allocations: 14.6 MB / 23.43 GB, free: 186.1 MB / 1.448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003694/95.22, allocations: 23 kB / 23.43 GB, free: 186.1 MB / 1.448 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.09551/95.31, allocations: 32.62 MB / 23.46 GB, free: 184.6 MB / 1.448 GB Notification: Performance of prepare postOptimizeDAE: time 0.01383/95.33, allocations: 52.33 MB / 23.51 GB, free: 131.4 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005092/95.33, allocations: 70.94 kB / 23.51 GB, free: 131.4 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04159/95.37, allocations: 11.2 MB / 23.52 GB, free: 131.3 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01536/95.39, allocations: 2.57 MB / 23.53 GB, free: 131.3 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04192/95.43, allocations: 29.69 MB / 23.55 GB, free: 125.7 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03477/95.46, allocations: 2.394 MB / 23.56 GB, free: 125.5 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006091/95.47, allocations: 0.5545 MB / 23.56 GB, free: 125.5 MB / 1.448 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/95.47, allocations: 3.531 kB / 23.56 GB, free: 125.5 MB / 1.448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07523/95.54, allocations: 30.61 MB / 23.59 GB, free: 125 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003737/95.54, allocations: 73.5 kB / 23.59 GB, free: 125 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04074/95.58, allocations: 11.2 MB / 23.6 GB, free: 124.9 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01607/95.6, allocations: 2.569 MB / 23.6 GB, free: 124.9 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04439/95.65, allocations: 29.08 MB / 23.63 GB, free: 119.8 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03728/95.68, allocations: 2.356 MB / 23.63 GB, free: 119.7 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006539/95.69, allocations: 0.5485 MB / 23.63 GB, free: 119.7 MB / 1.448 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.01149/95.7, allocations: 375.5 kB / 23.63 GB, free: 119.6 MB / 1.448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01203/95.71, allocations: 1.946 MB / 23.63 GB, free: 118.5 MB / 1.448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08737/95.8, allocations: 28.44 MB / 23.66 GB, free: 117.9 MB / 1.448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000293/95.8, allocations: 132.8 kB / 23.66 GB, free: 117.9 MB / 1.448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.589e-05/95.8, allocations: 7.688 kB / 23.66 GB, free: 117.9 MB / 1.448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06142/95.86, allocations: 23.32 MB / 23.68 GB, free: 117.2 MB / 1.448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2033/96.07, allocations: 66.28 MB / 23.75 GB, free: 114.3 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.96e-05/96.07, allocations: 17.84 kB / 23.75 GB, free: 114.3 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01781/96.08, allocations: 2.859 MB / 23.75 GB, free: 114.3 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01567/96.1, allocations: 4.117 MB / 23.76 GB, free: 114.2 MB / 1.448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004845/96.1, allocations: 230 kB / 23.76 GB, free: 114.2 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02454/96.13, allocations: 17.32 MB / 23.77 GB, free: 108.6 MB / 1.448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.606e-05/96.13, allocations: 26.72 kB / 23.77 GB, free: 108.6 MB / 1.448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1016/96.23, allocations: 51.12 MB / 23.82 GB, free: 97.85 MB / 1.448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.129/96.36, allocations: 69.97 MB / 23.89 GB, free: 44.05 MB / 1.448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02943/96.39, allocations: 6.226 MB / 23.9 GB, free: 38.34 MB / 1.448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01442/96.4, allocations: 159 kB / 23.9 GB, free: 38.21 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03354/96.44, allocations: 2.143 MB / 23.9 GB, free: 36.9 MB / 1.448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006303/96.44, allocations: 0.6651 MB / 23.9 GB, free: 36.51 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005257/96.45, allocations: 462.2 kB / 23.9 GB, free: 36.12 MB / 1.448 GB Notification: Performance of sort global known variables: time 0.05132/96.5, allocations: 18.4 MB / 23.92 GB, free: 20.59 MB / 1.448 GB Notification: Performance of remove unused functions: time 0.1104/96.61, allocations: 16.43 MB / 23.94 GB, free: 4.289 MB / 1.448 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 2.361/98.97, allocations: 18.58 MB / 23.95 GB, free: 184.7 MB / 1.448 GB Notification: Performance of simCode: created initialization part: time 0.09192/99.06, allocations: 41.06 MB / 23.99 GB, free: 183.6 MB / 1.448 GB Notification: Performance of simCode: created event and clocks part: time 4.139e-05/99.06, allocations: 13.41 kB / 23.99 GB, free: 183.6 MB / 1.448 GB Notification: Performance of simCode: created simulation system equations: time 0.02795/99.09, allocations: 12.69 MB / 24.01 GB, free: 183.2 MB / 1.448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08166/99.17, allocations: 13.59 MB / 24.02 GB, free: 182.9 MB / 1.448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2212/99.39, allocations: 68.84 MB / 24.09 GB, free: 174.6 MB / 1.448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.07903/99.47, allocations: 24.3 MB / 24.11 GB, free: 173.1 MB / 1.448 GB Notification: Performance of SimCode: time 1.373e-06/99.47, allocations: 0 / 24.11 GB, free: 173.1 MB / 1.448 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe 2>&1)