Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.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.WetCoilDiscretizedInitialization,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.627/1.627, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.001969/0.001969, allocations: 183.9 kB / 366.3 MB, free: 1.984 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.527/1.527, allocations: 205.1 MB / 0.6256 GB, free: 5.855 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.001074/0.001074, allocations: 98.12 kB / 0.7396 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.293/0.2941, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7534/1.047, allocations: 116.3 MB / 0.9726 GB, free: 68.24 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.228/6.276, allocations: 2.364 GB / 3.337 GB, free: 89.76 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/6.276, allocations: 94.27 kB / 3.337 GB, free: 89.67 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.94/92.22, allocations: 19.63 GB / 22.97 GB, free: 67.02 MB / 1.386 GB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/92.22, allocations: 11.25 kB / 22.97 GB, free: 67.02 MB / 1.386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05588/92.27, allocations: 6.218 MB / 22.98 GB, free: 65.4 MB / 1.386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1674/92.44, allocations: 54.96 MB / 23.03 GB, free: 61.74 MB / 1.386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002165/92.44, allocations: 0.6676 MB / 23.03 GB, free: 61.74 MB / 1.386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01505/92.46, allocations: 1.274 MB / 23.03 GB, free: 61.73 MB / 1.386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0987/92.56, allocations: 34.28 MB / 23.07 GB, free: 61.65 MB / 1.386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1493/92.71, allocations: 36 MB / 23.1 GB, free: 60 MB / 1.386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002125/92.71, allocations: 36.69 kB / 23.1 GB, free: 60 MB / 1.386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01463/92.72, allocations: 25.25 kB / 23.1 GB, free: 60 MB / 1.386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00175/92.73, allocations: 0.9627 MB / 23.1 GB, free: 59.96 MB / 1.386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3839/93.11, allocations: 163.9 MB / 23.26 GB, free: 19.02 MB / 1.401 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03279/93.14, allocations: 14.57 MB / 23.28 GB, free: 18.95 MB / 1.401 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03353/93.18, allocations: 14.44 MB / 23.29 GB, free: 18.8 MB / 1.401 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005137/93.18, allocations: 2.867 MB / 23.29 GB, free: 31.88 MB / 1.417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004112/93.18, allocations: 185.8 kB / 23.29 GB, free: 31.83 MB / 1.417 GB Notification: Performance of pre-optimization done (n=1205): time 7.069e-05/93.18, allocations: 0 / 23.29 GB, free: 31.83 MB / 1.417 GB Notification: Performance of matching and sorting (n=1271): time 0.2194/93.4, allocations: 58.37 MB / 23.35 GB, free: 17.29 MB / 1.417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002216/93.4, allocations: 182.2 kB / 23.35 GB, free: 17.1 MB / 1.417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08958/93.49, allocations: 23.96 MB / 23.37 GB, free: 15.47 MB / 1.432 GB Notification: Performance of collectPreVariables (initialization): time 0.006413/93.5, allocations: 41.7 kB / 23.37 GB, free: 15.43 MB / 1.432 GB Notification: Performance of collectInitialEqns (initialization): time 0.02604/93.52, allocations: 8.071 MB / 23.38 GB, free: 8.523 MB / 1.432 GB Notification: Performance of collectInitialBindings (initialization): time 0.02451/93.55, allocations: 4.282 MB / 23.39 GB, free: 4.555 MB / 1.432 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005126/93.55, allocations: 1.781 kB / 23.39 GB, free: 4.555 MB / 1.432 GB Notification: Performance of setup shared object (initialization): time 0.00315/93.56, allocations: 0.9221 MB / 23.39 GB, free: 3.777 MB / 1.432 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0545/93.61, allocations: 13.33 MB / 23.4 GB, free: 0 / 1.432 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03406/93.65, allocations: 15.1 MB / 23.41 GB, free: 1.484 MB / 1.448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.464/96.11, allocations: 17.32 MB / 23.43 GB, free: 188.9 MB / 1.448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002159/96.11, allocations: 23.44 kB / 23.43 GB, free: 188.9 MB / 1.448 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.07924/96.19, allocations: 32.64 MB / 23.46 GB, free: 188.4 MB / 1.448 GB Notification: Performance of prepare postOptimizeDAE: time 0.01075/96.2, allocations: 52.33 MB / 23.51 GB, free: 135.4 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005612/96.2, allocations: 67.97 kB / 23.51 GB, free: 135.4 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03919/96.24, allocations: 11.19 MB / 23.52 GB, free: 135.3 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01486/96.25, allocations: 2.584 MB / 23.53 GB, free: 135.3 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03748/96.29, allocations: 29.67 MB / 23.56 GB, free: 129.9 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03456/96.33, allocations: 2.399 MB / 23.56 GB, free: 129.9 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006038/96.33, allocations: 0.5487 MB / 23.56 GB, free: 129.9 MB / 1.448 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/96.33, allocations: 3.062 kB / 23.56 GB, free: 129.9 MB / 1.448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07856/96.41, allocations: 30.62 MB / 23.59 GB, free: 129.4 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005038/96.41, allocations: 72.58 kB / 23.59 GB, free: 129.4 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04129/96.45, allocations: 11.19 MB / 23.6 GB, free: 129.2 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01575/96.47, allocations: 2.569 MB / 23.6 GB, free: 129.2 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04796/96.52, allocations: 29.08 MB / 23.63 GB, free: 124.4 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03431/96.55, allocations: 2.35 MB / 23.63 GB, free: 124.4 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006125/96.56, allocations: 0.553 MB / 23.63 GB, free: 124.4 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.01265/96.57, allocations: 378.8 kB / 23.63 GB, free: 124.3 MB / 1.448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01244/96.58, allocations: 1.945 MB / 23.64 GB, free: 124.3 MB / 1.448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09176/96.67, allocations: 28.44 MB / 23.66 GB, free: 123.7 MB / 1.448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000338/96.67, allocations: 135.7 kB / 23.66 GB, free: 123.7 MB / 1.448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001453/96.68, allocations: 6.812 kB / 23.66 GB, free: 123.7 MB / 1.448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06655/96.74, allocations: 23.33 MB / 23.69 GB, free: 123 MB / 1.448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2139/96.96, allocations: 66.28 MB / 23.75 GB, free: 120.2 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000209/96.96, allocations: 17.25 kB / 23.75 GB, free: 120.2 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01953/96.98, allocations: 2.863 MB / 23.75 GB, free: 120.2 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01765/96.99, allocations: 4.113 MB / 23.76 GB, free: 120.1 MB / 1.448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006259/97, allocations: 227.8 kB / 23.76 GB, free: 120.1 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02714/97.03, allocations: 17.33 MB / 23.78 GB, free: 114.7 MB / 1.448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.346e-05/97.03, allocations: 27.75 kB / 23.78 GB, free: 114.7 MB / 1.448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1172/97.14, allocations: 51.11 MB / 23.83 GB, free: 105.1 MB / 1.448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1529/97.3, allocations: 69.98 MB / 23.89 GB, free: 80.41 MB / 1.448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03016/97.33, allocations: 6.222 MB / 23.9 GB, free: 76.3 MB / 1.448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01486/97.34, allocations: 167.1 kB / 23.9 GB, free: 76.21 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03592/97.38, allocations: 2.144 MB / 23.9 GB, free: 74.95 MB / 1.448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006041/97.38, allocations: 0.6566 MB / 23.9 GB, free: 74.65 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005301/97.39, allocations: 458.5 kB / 23.9 GB, free: 74.36 MB / 1.448 GB Notification: Performance of sort global known variables: time 0.04836/97.44, allocations: 18.4 MB / 23.92 GB, free: 59.86 MB / 1.448 GB Notification: Performance of remove unused functions: time 0.112/97.55, allocations: 16.44 MB / 23.94 GB, free: 43.58 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 0.03159/97.58, allocations: 18.58 MB / 23.96 GB, free: 27.21 MB / 1.448 GB Notification: Performance of simCode: created initialization part: time 1.409/98.99, allocations: 43.11 MB / 24 GB, free: 181.1 MB / 1.448 GB Notification: Performance of simCode: created event and clocks part: time 4.05e-05/98.99, allocations: 10.03 kB / 24 GB, free: 181.1 MB / 1.448 GB Notification: Performance of simCode: created simulation system equations: time 0.02498/99.02, allocations: 12.68 MB / 24.01 GB, free: 180.8 MB / 1.448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07657/99.09, allocations: 13.6 MB / 24.02 GB, free: 180.5 MB / 1.448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2092/99.3, allocations: 68.85 MB / 24.09 GB, free: 172.2 MB / 1.448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.08525/99.39, allocations: 24.29 MB / 24.11 GB, free: 170.8 MB / 1.448 GB Notification: Performance of SimCode: time 1.393e-06/99.39, allocations: 2.078 kB / 24.11 GB, free: 170.8 MB / 1.448 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitialization_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitialization.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe 2>&1)