Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.22/1.22, allocations: 249.4 MB / 256.7 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 181.2 kB / 316 MB, free: 3.559 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.118/1.118, allocations: 205.1 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008086/0.0008087, allocations: 93.59 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.355/0.3558, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.5359, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.377/4.913, allocations: 2.481 GB / 3.366 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/4.914, allocations: 88.95 kB / 3.366 GB, free: 223.3 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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: 5549 * Number of variables: 5549 Notification: Performance of Generate backend data structure: time 63.26/68.17, allocations: 19.14 GB / 22.5 GB, free: 48.27 MB / 1.323 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/68.17, allocations: 8.531 kB / 22.5 GB, free: 48.27 MB / 1.323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04926/68.22, allocations: 6.242 MB / 22.51 GB, free: 46.64 MB / 1.323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1301/68.35, allocations: 55.15 MB / 22.56 GB, free: 42.93 MB / 1.323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001493/68.35, allocations: 0.6716 MB / 22.57 GB, free: 42.93 MB / 1.323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01188/68.36, allocations: 1.285 MB / 22.57 GB, free: 42.93 MB / 1.323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.08596/68.45, allocations: 34.46 MB / 22.6 GB, free: 42.84 MB / 1.323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1182/68.57, allocations: 36.16 MB / 22.64 GB, free: 41.19 MB / 1.323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001493/68.57, allocations: 38.09 kB / 22.64 GB, free: 41.19 MB / 1.323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01141/68.58, allocations: 20.22 kB / 22.64 GB, free: 41.19 MB / 1.323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001965/68.58, allocations: 0.9729 MB / 22.64 GB, free: 41.14 MB / 1.323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 2.116/70.7, allocations: 164.2 MB / 22.8 GB, free: 74.31 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02541/70.73, allocations: 14.66 MB / 22.81 GB, free: 74.25 MB / 1.37 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02154/70.75, allocations: 14.38 MB / 22.83 GB, free: 74.13 MB / 1.37 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00314/70.75, allocations: 2.853 MB / 22.83 GB, free: 71.21 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/70.75, allocations: 195.6 kB / 22.83 GB, free: 71.16 MB / 1.37 GB Notification: Performance of pre-optimization done (n=1205): time 1.264e-05/70.75, allocations: 0 / 22.83 GB, free: 71.16 MB / 1.37 GB Notification: Performance of matching and sorting (n=1271): time 0.1551/70.91, allocations: 58.06 MB / 22.88 GB, free: 68.28 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/70.91, allocations: 180.2 kB / 22.89 GB, free: 68.21 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05939/70.96, allocations: 23.25 MB / 22.91 GB, free: 67.36 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.005455/70.97, allocations: 50.45 kB / 22.91 GB, free: 67.32 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.01525/70.99, allocations: 8.112 MB / 22.92 GB, free: 64.47 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.02013/71.01, allocations: 4.275 MB / 22.92 GB, free: 61.64 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003709/71.01, allocations: 0 / 22.92 GB, free: 61.64 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.001911/71.01, allocations: 0.9257 MB / 22.92 GB, free: 61.3 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01786/71.03, allocations: 10.93 MB / 22.93 GB, free: 61.27 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02343/71.05, allocations: 15.03 MB / 22.95 GB, free: 57.41 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02675/71.08, allocations: 14.54 MB / 22.96 GB, free: 57.24 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002534/71.08, allocations: 20.81 kB / 22.96 GB, free: 57.24 MB / 1.37 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.08485/71.16, allocations: 32.46 MB / 22.99 GB, free: 55.71 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.01288/71.18, allocations: 52.32 MB / 23.04 GB, free: 34.55 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003833/71.18, allocations: 75.25 kB / 23.04 GB, free: 34.55 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03872/71.22, allocations: 11.19 MB / 23.05 GB, free: 34.41 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01405/71.23, allocations: 2.568 MB / 23.06 GB, free: 34.41 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03779/71.27, allocations: 29.68 MB / 23.09 GB, free: 28.79 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0288/71.3, allocations: 2.412 MB / 23.09 GB, free: 28.65 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004727/71.3, allocations: 0.5507 MB / 23.09 GB, free: 28.65 MB / 1.401 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/71.3, allocations: 5.25 kB / 23.09 GB, free: 28.65 MB / 1.401 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06782/71.37, allocations: 30.46 MB / 23.12 GB, free: 28.14 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003513/71.37, allocations: 69.55 kB / 23.12 GB, free: 28.14 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03778/71.41, allocations: 11.19 MB / 23.13 GB, free: 28 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01376/71.42, allocations: 2.557 MB / 23.13 GB, free: 28 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04915/71.47, allocations: 29.09 MB / 23.16 GB, free: 38.97 MB / 1.417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03045/71.5, allocations: 2.371 MB / 23.16 GB, free: 38.84 MB / 1.417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005513/71.51, allocations: 0.5462 MB / 23.16 GB, free: 38.84 MB / 1.417 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.009517/71.52, allocations: 387.5 kB / 23.16 GB, free: 38.68 MB / 1.417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01034/71.53, allocations: 1.954 MB / 23.17 GB, free: 37.67 MB / 1.417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07256/71.6, allocations: 28.33 MB / 23.19 GB, free: 24.23 MB / 1.417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003017/71.6, allocations: 128.4 kB / 23.19 GB, free: 24.11 MB / 1.417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001174/71.6, allocations: 4 kB / 23.19 GB, free: 24.1 MB / 1.417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05081/71.65, allocations: 23.2 MB / 23.22 GB, free: 10.37 MB / 1.417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.088/73.74, allocations: 69.51 MB / 23.28 GB, free: 158.9 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.349e-05/73.74, allocations: 18.56 kB / 23.28 GB, free: 158.9 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01631/73.76, allocations: 2.851 MB / 23.29 GB, free: 158.9 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01279/73.77, allocations: 4.104 MB / 23.29 GB, free: 158.9 MB / 1.448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003438/73.77, allocations: 233.1 kB / 23.29 GB, free: 158.9 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01808/73.79, allocations: 17.32 MB / 23.31 GB, free: 153.5 MB / 1.448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.815e-05/73.79, allocations: 26.06 kB / 23.31 GB, free: 153.5 MB / 1.448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06817/73.86, allocations: 50.66 MB / 23.36 GB, free: 143.8 MB / 1.448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1108/73.97, allocations: 69.42 MB / 23.42 GB, free: 133.7 MB / 1.448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02904/74, allocations: 6.382 MB / 23.43 GB, free: 133.1 MB / 1.448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01096/74.01, allocations: 156.9 kB / 23.43 GB, free: 133.1 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02641/74.04, allocations: 2.174 MB / 23.43 GB, free: 133.1 MB / 1.448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004132/74.04, allocations: 0.6611 MB / 23.43 GB, free: 133 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004071/74.04, allocations: 453.7 kB / 23.43 GB, free: 133 MB / 1.448 GB Notification: Performance of sort global known variables: time 0.04476/74.09, allocations: 18.55 MB / 23.45 GB, free: 132.5 MB / 1.448 GB Notification: Performance of remove unused functions: time 0.09224/74.18, allocations: 16.48 MB / 23.47 GB, free: 132.5 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.02768/74.21, allocations: 18.58 MB / 23.49 GB, free: 121.1 MB / 1.448 GB Notification: Performance of simCode: created initialization part: time 0.07435/74.28, allocations: 40.85 MB / 23.53 GB, free: 119.9 MB / 1.448 GB Notification: Performance of simCode: created event and clocks part: time 3.954e-05/74.28, allocations: 10.41 kB / 23.53 GB, free: 119.9 MB / 1.448 GB Notification: Performance of simCode: created simulation system equations: time 0.02264/74.31, allocations: 12.64 MB / 23.54 GB, free: 119.6 MB / 1.448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06838/74.37, allocations: 13.6 MB / 23.55 GB, free: 119.3 MB / 1.448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1703/74.54, allocations: 69.15 MB / 23.62 GB, free: 110.8 MB / 1.448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.06382/74.61, allocations: 24.45 MB / 23.64 GB, free: 107.9 MB / 1.448 GB Notification: Performance of SimCode: time 1.122e-06/74.61, allocations: 0 / 23.64 GB, free: 107.9 MB / 1.448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitialization_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitialization.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.pipe 2>&1)