Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.27/2.27, allocations: 253.1 MB / 260.4 MB, free: 7.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001666/0.001665, allocations: 177.2 kB / 319.6 MB, free: 3.344 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.874/1.874, allocations: 205.4 MB / 0.5704 GB, free: 15.09 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 89.39 kB / 0.6746 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.066e-05/1.088e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2255, allocations: 106.2 MB / 0.888 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.468/6.694, allocations: 2.503 GB / 3.391 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/6.694, allocations: 90.64 kB / 3.391 GB, free: 170.1 MB / 0.8698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Movers/BaseClasses/IdealSource.mo:14:3-22:27:writable] Error: The conditional expression control_m_flow could not be evaluated. Notification: Performance of FrontEnd: time 56.47/63.17, allocations: 11.24 GB / 14.63 GB, free: 57.3 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.007562/63.18, allocations: 431.9 kB / 14.63 GB, free: 57.25 MB / 1.026 GB 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 0.09599/63.27, allocations: 17.03 MB / 14.64 GB, free: 51.73 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/63.27, allocations: 7.156 kB / 14.64 GB, free: 51.73 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0566/63.33, allocations: 4.136 MB / 14.65 GB, free: 50.68 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1468/63.48, allocations: 35.99 MB / 14.68 GB, free: 48.3 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001238/63.48, allocations: 438.4 kB / 14.68 GB, free: 48.3 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009773/63.49, allocations: 0.821 MB / 14.68 GB, free: 48.3 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0861/63.57, allocations: 22.19 MB / 14.71 GB, free: 48.24 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1061/63.68, allocations: 23.33 MB / 14.73 GB, free: 47.25 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001285/63.68, allocations: 29.88 kB / 14.73 GB, free: 47.25 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008298/63.69, allocations: 13.91 kB / 14.73 GB, free: 47.25 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009167/63.69, allocations: 0.6229 MB / 14.73 GB, free: 47.21 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2968/63.99, allocations: 101.9 MB / 14.83 GB, free: 31.09 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02424/64.01, allocations: 9.088 MB / 14.84 GB, free: 31.03 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02418/64.03, allocations: 9.676 MB / 14.85 GB, free: 30.9 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002877/64.04, allocations: 1.176 MB / 14.85 GB, free: 29.77 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02417/64.06, allocations: 8.401 MB / 14.86 GB, free: 29.53 MB / 1.042 GB Notification: Performance of pre-optimization done (n=796): time 1.658e-05/64.06, allocations: 0 / 14.86 GB, free: 29.53 MB / 1.042 GB Notification: Performance of matching and sorting (n=809): time 0.2027/64.26, allocations: 37.05 MB / 14.89 GB, free: 21.79 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003262/64.26, allocations: 324.2 kB / 14.89 GB, free: 21.42 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06791/64.33, allocations: 15.29 MB / 14.91 GB, free: 8.445 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.004313/64.34, allocations: 41.64 kB / 14.91 GB, free: 8.398 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.02492/64.36, allocations: 5.404 MB / 14.91 GB, free: 3.746 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.02598/64.39, allocations: 2.801 MB / 14.92 GB, free: 1.145 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003606/64.39, allocations: 4 kB / 14.92 GB, free: 1.141 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.002222/64.39, allocations: 0.713 MB / 14.92 GB, free: 0.5234 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.09327/64.49, allocations: 9.149 MB / 14.93 GB, free: 0 / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03532/64.52, allocations: 9.648 MB / 14.94 GB, free: 6.684 MB / 1.057 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.2408/64.76, allocations: 27.66 MB / 14.96 GB, free: 2.281 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001419/64.76, allocations: 14.41 kB / 14.96 GB, free: 2.27 MB / 1.073 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 1.348/66.11, allocations: 18.6 MB / 14.98 GB, free: 157 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.006442/66.12, allocations: 29.3 MB / 15.01 GB, free: 126.7 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000335/66.12, allocations: 50.03 kB / 15.01 GB, free: 126.7 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002084/66.12, allocations: 95.03 kB / 15.01 GB, free: 126.7 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02201/66.14, allocations: 2.176 MB / 15.01 GB, free: 126.7 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/66.14, allocations: 1.308 MB / 15.01 GB, free: 125.5 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02812/66.17, allocations: 1.488 MB / 15.01 GB, free: 125.5 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003577/66.17, allocations: 355.3 kB / 15.01 GB, free: 125.5 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/66.17, allocations: 2.75 kB / 15.01 GB, free: 125.5 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05602/66.23, allocations: 15.87 MB / 15.03 GB, free: 125.4 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001968/66.23, allocations: 51.69 kB / 15.03 GB, free: 125.4 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001649/66.23, allocations: 92.31 kB / 15.03 GB, free: 125.4 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02102/66.25, allocations: 2.16 MB / 15.03 GB, free: 125.4 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002075/66.25, allocations: 116.1 kB / 15.03 GB, free: 125.4 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0273/66.28, allocations: 1.466 MB / 15.03 GB, free: 125.4 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003878/66.28, allocations: 351.1 kB / 15.03 GB, free: 125.4 MB / 1.073 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.006991/66.29, allocations: 356.5 kB / 15.03 GB, free: 125.2 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006848/66.3, allocations: 1.26 MB / 15.04 GB, free: 125.2 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06046/66.36, allocations: 16.35 MB / 15.05 GB, free: 124.9 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.534e-05/66.36, allocations: 82.72 kB / 15.05 GB, free: 124.9 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-05/66.36, allocations: 3.281 kB / 15.05 GB, free: 124.9 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03976/66.4, allocations: 13.44 MB / 15.06 GB, free: 124.4 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1495/66.55, allocations: 42.52 MB / 15.11 GB, free: 121.9 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.765e-05/66.55, allocations: 20.34 kB / 15.11 GB, free: 121.9 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0222/66.57, allocations: 2.11 MB / 15.11 GB, free: 121.9 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000179/66.57, allocations: 45.69 kB / 15.11 GB, free: 121.9 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002766/66.57, allocations: 170.2 kB / 15.11 GB, free: 121.9 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000804/66.57, allocations: 1.242 MB / 15.11 GB, free: 120.7 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.57e-05/66.57, allocations: 30.03 kB / 15.11 GB, free: 120.7 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06979/66.64, allocations: 31.42 MB / 15.14 GB, free: 113.3 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0209/66.66, allocations: 4.125 MB / 15.14 GB, free: 113 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009006/66.67, allocations: 130.4 kB / 15.14 GB, free: 113 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02668/66.7, allocations: 1.358 MB / 15.15 GB, free: 113 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003962/66.7, allocations: 469.6 kB / 15.15 GB, free: 113 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003139/66.71, allocations: 299.4 kB / 15.15 GB, free: 113 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.03715/66.74, allocations: 12.19 MB / 15.16 GB, free: 112.7 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.05576/66.8, allocations: 7.49 MB / 15.17 GB, free: 112.7 MB / 1.073 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.01314/66.81, allocations: 5.275 MB / 15.17 GB, free: 110.6 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.06502/66.88, allocations: 24.04 MB / 15.19 GB, free: 110.3 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 4.221e-05/66.88, allocations: 10.34 kB / 15.19 GB, free: 110.3 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.02195/66.9, allocations: 7.62 MB / 15.2 GB, free: 110.3 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08078/66.98, allocations: 8.846 MB / 15.21 GB, free: 110.2 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1927/67.17, allocations: 46 MB / 15.26 GB, free: 104.5 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05763/67.23, allocations: 15.79 MB / 15.27 GB, free: 103.4 MB / 1.073 GB Notification: Performance of SimCode: time 1.874e-06/67.23, allocations: 1.062 kB / 15.27 GB, free: 103.4 MB / 1.073 GB Notification: Performance of Templates: time 1.754/68.99, allocations: 419.9 MB / 15.68 GB, free: 140.1 MB / 1.073 GB