Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.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.Examples.WetCoilDiscretizedPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilDiscretizedPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilDiscretizedPControl",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.229/1.229, allocations: 249.4 MB / 256.7 MB, free: 7.02 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.0009362/0.0009361, allocations: 184.5 kB / 316 MB, free: 3.574 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.114/1.114, allocations: 205.2 MB / 0.5667 GB, free: 15.71 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.0008439/0.0008439, allocations: 83.33 kB / 0.671 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3259/0.3268, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.4827, allocations: 106.3 MB / 0.8847 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.294/4.776, allocations: 2.503 GB / 3.387 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/4.777, allocations: 92.7 kB / 3.388 GB, free: 245.8 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: 3533 * Number of variables: 3533 Notification: Performance of Generate backend data structure: time 34.44/39.22, allocations: 11.25 GB / 14.64 GB, free: 101.9 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/39.22, allocations: 10 kB / 14.64 GB, free: 101.9 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02773/39.25, allocations: 4.135 MB / 14.64 GB, free: 100.9 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07456/39.32, allocations: 35.98 MB / 14.68 GB, free: 98.5 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007696/39.32, allocations: 440 kB / 14.68 GB, free: 98.5 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00562/39.33, allocations: 0.8226 MB / 14.68 GB, free: 98.5 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04581/39.38, allocations: 22.19 MB / 14.7 GB, free: 98.44 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06171/39.44, allocations: 23.32 MB / 14.73 GB, free: 97.45 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007524/39.44, allocations: 39.81 kB / 14.73 GB, free: 97.44 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005326/39.44, allocations: 15.47 kB / 14.73 GB, free: 97.44 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000476/39.44, allocations: 0.6135 MB / 14.73 GB, free: 97.41 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1657/39.61, allocations: 102 MB / 14.83 GB, free: 81.3 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01302/39.62, allocations: 9.078 MB / 14.83 GB, free: 81.26 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01192/39.63, allocations: 9.67 MB / 14.84 GB, free: 81.15 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001599/39.64, allocations: 1.174 MB / 14.85 GB, free: 80.02 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01303/39.65, allocations: 8.406 MB / 14.85 GB, free: 79.78 MB / 1.042 GB Notification: Performance of pre-optimization done (n=796): time 1.295e-05/39.65, allocations: 0 / 14.85 GB, free: 79.78 MB / 1.042 GB Notification: Performance of matching and sorting (n=809): time 0.09149/39.74, allocations: 37.06 MB / 14.89 GB, free: 72.29 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002324/39.74, allocations: 318.7 kB / 14.89 GB, free: 72 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03467/39.78, allocations: 15.29 MB / 14.9 GB, free: 71.39 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.002663/39.78, allocations: 39.39 kB / 14.9 GB, free: 71.36 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.01142/39.79, allocations: 5.392 MB / 14.91 GB, free: 68.79 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.01178/39.8, allocations: 2.807 MB / 14.91 GB, free: 66.98 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/39.8, allocations: 0 / 14.91 GB, free: 66.98 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0007785/39.8, allocations: 0.7104 MB / 14.91 GB, free: 66.66 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009134/39.81, allocations: 6.907 MB / 14.92 GB, free: 66.64 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01197/39.82, allocations: 9.646 MB / 14.93 GB, free: 64.1 MB / 1.042 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: hex.hexReg[1].ele[1,1].vol2.dynBal.medium.p = 101325.0 (sin_2.p = 101325.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.08728/39.91, allocations: 27.53 MB / 14.96 GB, free: 63.73 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001111/39.91, allocations: 11.41 kB / 14.96 GB, free: 63.73 MB / 1.042 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.03491/39.95, allocations: 17.16 MB / 14.97 GB, free: 59.34 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.9197/40.87, allocations: 29.3 MB / 15 GB, free: 87.04 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002695/40.87, allocations: 50 kB / 15 GB, free: 87.04 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002621/40.87, allocations: 94.34 kB / 15 GB, free: 87.04 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01216/40.88, allocations: 2.181 MB / 15 GB, free: 87.04 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007494/40.88, allocations: 1.315 MB / 15.01 GB, free: 85.88 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01739/40.9, allocations: 1.49 MB / 15.01 GB, free: 85.88 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002968/40.9, allocations: 358 kB / 15.01 GB, free: 85.88 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/40.9, allocations: 1.188 kB / 15.01 GB, free: 85.88 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02909/40.93, allocations: 15.86 MB / 15.02 GB, free: 85.71 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/40.93, allocations: 47.88 kB / 15.02 GB, free: 85.71 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001009/40.93, allocations: 96.41 kB / 15.02 GB, free: 85.71 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01146/40.94, allocations: 2.161 MB / 15.03 GB, free: 85.71 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002135/40.94, allocations: 118.9 kB / 15.03 GB, free: 85.71 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0176/40.96, allocations: 1.457 MB / 15.03 GB, free: 85.71 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002998/40.96, allocations: 352 kB / 15.03 GB, free: 85.71 MB / 1.042 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: hex.hexReg[1].ele[1,1].vol2.dynBal.medium.p = 101325.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 213 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,mot.int.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1086): * Single equations (assignments): 1083 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.006038/40.97, allocations: 353.4 kB / 15.03 GB, free: 85.58 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006451/40.98, allocations: 1.266 MB / 15.03 GB, free: 85.58 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03877/41.01, allocations: 16.35 MB / 15.04 GB, free: 85.23 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001101/41.01, allocations: 80.22 kB / 15.04 GB, free: 85.23 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-05/41.01, allocations: 3.156 kB / 15.04 GB, free: 85.23 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02634/41.04, allocations: 13.45 MB / 15.06 GB, free: 84.72 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1015/41.14, allocations: 42.51 MB / 15.1 GB, free: 82.24 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001146/41.14, allocations: 15.03 kB / 15.1 GB, free: 82.24 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01218/41.15, allocations: 2.112 MB / 15.1 GB, free: 82.24 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00018/41.15, allocations: 47.59 kB / 15.1 GB, free: 82.24 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003005/41.16, allocations: 170.3 kB / 15.1 GB, free: 82.24 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000656/41.16, allocations: 1.241 MB / 15.1 GB, free: 81.08 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.26e-05/41.16, allocations: 26.88 kB / 15.1 GB, free: 81.08 MB / 1.042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04565/41.2, allocations: 31.42 MB / 15.13 GB, free: 89.68 MB / 1.058 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.055/41.26, allocations: 42.98 MB / 15.18 GB, free: 81.87 MB / 1.058 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01472/41.27, allocations: 4.126 MB / 15.18 GB, free: 81.52 MB / 1.058 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006515/41.28, allocations: 132.7 kB / 15.18 GB, free: 81.52 MB / 1.058 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01583/41.3, allocations: 1.363 MB / 15.18 GB, free: 81.48 MB / 1.058 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00231/41.3, allocations: 467.6 kB / 15.18 GB, free: 81.46 MB / 1.058 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002166/41.3, allocations: 299.4 kB / 15.18 GB, free: 81.46 MB / 1.058 GB Notification: Performance of sort global known variables: time 0.02574/41.33, allocations: 12.19 MB / 15.19 GB, free: 81.14 MB / 1.058 GB Notification: Performance of remove unused functions: time 0.04398/41.37, allocations: 8.738 MB / 15.2 GB, free: 81.14 MB / 1.058 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 50 (temSen.T,hex.hexReg[1].ele[1,1].vol1.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,1].mas.T,hex.hexReg[1].ele[1,2].vol1.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,2].mas.T,hex.hexReg[1].ele[1,3].vol1.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,3].mas.T,hex.hexReg[2].ele[1,1].vol1.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,1].mas.T,hex.hexReg[2].ele[1,2].vol1.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,2].mas.T,hex.hexReg[2].ele[1,3].vol1.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].mas.T,hex.hexReg[3].ele[1,1].vol1.dynBal.U,hex.hexReg[3].ele[1,1].vol2.dynBal.U,hex.hexReg[3].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,1].mas.T,hex.hexReg[3].ele[1,2].vol1.dynBal.U,hex.hexReg[3].ele[1,2].vol2.dynBal.U,hex.hexReg[3].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,2].mas.T,hex.hexReg[3].ele[1,3].vol1.dynBal.U,hex.hexReg[3].ele[1,3].vol2.dynBal.U,hex.hexReg[3].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,3].mas.T,hex.hexReg[4].ele[1,1].vol1.dynBal.U,hex.hexReg[4].ele[1,1].vol2.dynBal.U,hex.hexReg[4].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,1].mas.T,hex.hexReg[4].ele[1,2].vol1.dynBal.U,hex.hexReg[4].ele[1,2].vol2.dynBal.U,hex.hexReg[4].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,2].mas.T,hex.hexReg[4].ele[1,3].vol1.dynBal.U,hex.hexReg[4].ele[1,3].vol2.dynBal.U,hex.hexReg[4].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,3].mas.T,mot.int.y) * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 8 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1,mot.uppHys.y,mot.lowHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (815): * Single equations (assignments): 808 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.008738/41.38, allocations: 5.287 MB / 15.21 GB, free: 79.07 MB / 1.058 GB Notification: Performance of simCode: created initialization part: time 0.03542/41.42, allocations: 24.04 MB / 15.23 GB, free: 78.8 MB / 1.058 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-05/41.42, allocations: 13 kB / 15.23 GB, free: 78.8 MB / 1.058 GB Notification: Performance of simCode: created simulation system equations: time 0.01008/41.43, allocations: 7.618 MB / 15.24 GB, free: 78.75 MB / 1.058 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04445/41.47, allocations: 8.846 MB / 15.25 GB, free: 78.63 MB / 1.058 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1027/41.57, allocations: 46.09 MB / 15.29 GB, free: 72.91 MB / 1.058 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03633/41.61, allocations: 16 MB / 15.31 GB, free: 67.6 MB / 1.058 GB Notification: Performance of SimCode: time 1.242e-06/41.61, allocations: 0 / 15.31 GB, free: 67.6 MB / 1.058 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilDiscretizedPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilDiscretizedPControl.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe 2>&1)