Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.368/1.368, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.000991/0.0009913, allocations: 189.2 kB / 361.1 MB, free: 7.094 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.183/1.183, allocations: 205.1 MB / 0.6195 GB, free: 10.37 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.0008147/0.0008147, allocations: 83.39 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2312/0.232, allocations: 121.4 MB / 0.8511 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5496/0.7816, allocations: 115.3 MB / 0.9638 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.887/4.669, allocations: 2.363 GB / 3.327 GB, free: 162.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/4.669, allocations: 90.27 kB / 3.327 GB, free: 162.7 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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 64.53/69.2, allocations: 19.63 GB / 22.96 GB, free: 60.41 MB / 1.37 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/69.2, allocations: 7.562 kB / 22.96 GB, free: 60.41 MB / 1.37 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04863/69.25, allocations: 6.219 MB / 22.97 GB, free: 58.79 MB / 1.37 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1259/69.38, allocations: 54.95 MB / 23.02 GB, free: 55.09 MB / 1.37 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001289/69.38, allocations: 0.6685 MB / 23.02 GB, free: 55.09 MB / 1.37 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01028/69.39, allocations: 1.282 MB / 23.02 GB, free: 55.08 MB / 1.37 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07827/69.47, allocations: 34.28 MB / 23.06 GB, free: 55 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09709/69.56, allocations: 35.99 MB / 23.09 GB, free: 53.36 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001297/69.56, allocations: 45.98 kB / 23.09 GB, free: 53.35 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01103/69.58, allocations: 17.72 kB / 23.09 GB, free: 53.35 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001023/69.58, allocations: 0.9674 MB / 23.09 GB, free: 53.31 MB / 1.37 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2896/69.87, allocations: 163.9 MB / 23.25 GB, free: 11.97 MB / 1.385 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0252/69.89, allocations: 14.57 MB / 23.27 GB, free: 7.812 MB / 1.385 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02311/69.92, allocations: 14.46 MB / 23.28 GB, free: 0 / 1.385 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00368/69.92, allocations: 2.874 MB / 23.28 GB, free: 12.76 MB / 1.401 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/69.92, allocations: 193.5 kB / 23.28 GB, free: 12.56 MB / 1.401 GB Notification: Performance of pre-optimization done (n=1205): time 2.768e-05/69.92, allocations: 0 / 23.28 GB, free: 12.56 MB / 1.401 GB Notification: Performance of matching and sorting (n=1271): time 0.1795/70.1, allocations: 60.71 MB / 23.34 GB, free: 0.707 MB / 1.432 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.877e-05/70.1, allocations: 181.3 kB / 23.34 GB, free: 0.5156 MB / 1.432 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.707/71.81, allocations: 23.56 MB / 23.37 GB, free: 206.1 MB / 1.432 GB Notification: Performance of collectPreVariables (initialization): time 0.003977/71.81, allocations: 49.55 kB / 23.37 GB, free: 206 MB / 1.432 GB Notification: Performance of collectInitialEqns (initialization): time 0.01335/71.82, allocations: 8.067 MB / 23.37 GB, free: 205.7 MB / 1.432 GB Notification: Performance of collectInitialBindings (initialization): time 0.01731/71.84, allocations: 4.281 MB / 23.38 GB, free: 204.7 MB / 1.432 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002725/71.84, allocations: 0 / 23.38 GB, free: 204.7 MB / 1.432 GB Notification: Performance of setup shared object (initialization): time 0.001181/71.84, allocations: 0.9202 MB / 23.38 GB, free: 204.4 MB / 1.432 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01501/71.86, allocations: 11 MB / 23.39 GB, free: 204.3 MB / 1.432 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02063/71.88, allocations: 15.1 MB / 23.4 GB, free: 200.5 MB / 1.432 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0222/71.9, allocations: 14.6 MB / 23.42 GB, free: 200.3 MB / 1.432 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001475/71.9, allocations: 22.84 kB / 23.42 GB, free: 200.3 MB / 1.432 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.07179/71.97, allocations: 32.63 MB / 23.45 GB, free: 198.8 MB / 1.432 GB Notification: Performance of prepare postOptimizeDAE: time 0.009935/71.98, allocations: 52.33 MB / 23.5 GB, free: 145.6 MB / 1.432 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003101/71.98, allocations: 68.97 kB / 23.5 GB, free: 145.6 MB / 1.432 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03629/72.02, allocations: 11.19 MB / 23.51 GB, free: 145.5 MB / 1.432 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01425/72.04, allocations: 2.575 MB / 23.51 GB, free: 145.5 MB / 1.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03485/72.07, allocations: 29.69 MB / 23.54 GB, free: 139.9 MB / 1.432 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02836/72.1, allocations: 2.395 MB / 23.55 GB, free: 139.8 MB / 1.432 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00456/72.1, allocations: 0.5516 MB / 23.55 GB, free: 139.8 MB / 1.432 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/72.1, allocations: 5.906 kB / 23.55 GB, free: 139.8 MB / 1.432 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06259/72.17, allocations: 30.62 MB / 23.58 GB, free: 139.2 MB / 1.432 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003598/72.17, allocations: 70.34 kB / 23.58 GB, free: 139.2 MB / 1.432 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03671/72.2, allocations: 11.19 MB / 23.59 GB, free: 139.1 MB / 1.432 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01365/72.22, allocations: 2.564 MB / 23.59 GB, free: 139.1 MB / 1.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03442/72.25, allocations: 29.09 MB / 23.62 GB, free: 134.1 MB / 1.432 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0274/72.28, allocations: 2.356 MB / 23.62 GB, free: 133.9 MB / 1.432 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004554/72.28, allocations: 0.5506 MB / 23.62 GB, free: 133.9 MB / 1.432 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.007042/72.29, allocations: 379.3 kB / 23.62 GB, free: 133.8 MB / 1.432 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007075/72.3, allocations: 1.941 MB / 23.62 GB, free: 132.8 MB / 1.432 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06268/72.36, allocations: 28.44 MB / 23.65 GB, free: 132.1 MB / 1.432 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002354/72.36, allocations: 128.4 kB / 23.65 GB, free: 132.1 MB / 1.432 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.968e-05/72.36, allocations: 2.5 kB / 23.65 GB, free: 132.1 MB / 1.432 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04928/72.41, allocations: 23.34 MB / 23.67 GB, free: 131.5 MB / 1.432 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1439/72.55, allocations: 66.27 MB / 23.74 GB, free: 128.5 MB / 1.432 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-05/72.55, allocations: 14.59 kB / 23.74 GB, free: 128.5 MB / 1.432 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01635/72.57, allocations: 2.861 MB / 23.74 GB, free: 128.5 MB / 1.432 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01378/72.58, allocations: 4.109 MB / 23.75 GB, free: 128.4 MB / 1.432 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003731/72.59, allocations: 227.8 kB / 23.75 GB, free: 128.4 MB / 1.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01944/72.61, allocations: 17.33 MB / 23.76 GB, free: 119.5 MB / 1.432 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.799e-05/72.61, allocations: 27.62 kB / 23.76 GB, free: 119.5 MB / 1.432 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07461/72.68, allocations: 51.11 MB / 23.81 GB, free: 85.09 MB / 1.432 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.09683/72.78, allocations: 69.98 MB / 23.88 GB, free: 25.74 MB / 1.432 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02172/72.8, allocations: 6.221 MB / 23.89 GB, free: 20.03 MB / 1.432 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009413/72.81, allocations: 157 kB / 23.89 GB, free: 19.9 MB / 1.432 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0242/72.83, allocations: 2.146 MB / 23.89 GB, free: 18.6 MB / 1.432 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00336/72.84, allocations: 0.6668 MB / 23.89 GB, free: 18.2 MB / 1.432 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003051/72.84, allocations: 458.2 kB / 23.89 GB, free: 17.81 MB / 1.432 GB Notification: Performance of sort global known variables: time 0.03524/72.88, allocations: 18.4 MB / 23.91 GB, free: 2.285 MB / 1.432 GB Notification: Performance of remove unused functions: time 1.586/74.46, allocations: 17.38 MB / 23.93 GB, free: 193.1 MB / 1.433 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 0.02539/74.49, allocations: 18.57 MB / 23.94 GB, free: 181.7 MB / 1.433 GB Notification: Performance of simCode: created initialization part: time 0.06926/74.56, allocations: 41.07 MB / 23.98 GB, free: 180.6 MB / 1.433 GB Notification: Performance of simCode: created event and clocks part: time 3.074e-05/74.56, allocations: 8.469 kB / 23.98 GB, free: 180.6 MB / 1.433 GB Notification: Performance of simCode: created simulation system equations: time 0.0235/74.58, allocations: 12.69 MB / 24 GB, free: 180.2 MB / 1.433 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07199/74.65, allocations: 13.6 MB / 24.01 GB, free: 180 MB / 1.433 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1836/74.84, allocations: 68.84 MB / 24.08 GB, free: 171.6 MB / 1.433 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05151/74.89, allocations: 24.3 MB / 24.1 GB, free: 170.1 MB / 1.433 GB Notification: Performance of SimCode: time 1.714e-06/74.89, allocations: 2.25 kB / 24.1 GB, free: 170.1 MB / 1.433 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe 2>&1)