Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.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.DryCoilDiscretizedPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretizedPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretizedPControl",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.249/1.249, allocations: 249.4 MB / 256.7 MB, free: 6.871 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.001014/0.001014, allocations: 192.3 kB / 316 MB, free: 3.551 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.244/1.244, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.0008712/0.0008714, allocations: 91.02 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3772/0.3781, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.5646, allocations: 106.3 MB / 0.8846 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.412/4.976, allocations: 2.497 GB / 3.382 GB, free: 251.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/4.977, allocations: 95.94 kB / 3.382 GB, free: 251.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: 3034 * Number of variables: 3034 Notification: Performance of Generate backend data structure: time 26.74/31.72, allocations: 9.021 GB / 12.4 GB, free: 62.67 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/31.72, allocations: 9.625 kB / 12.4 GB, free: 62.67 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02368/31.74, allocations: 3.593 MB / 12.41 GB, free: 61.74 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05995/31.8, allocations: 29.22 MB / 12.44 GB, free: 59.68 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005653/31.81, allocations: 376.5 kB / 12.44 GB, free: 59.68 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004816/31.81, allocations: 0.7195 MB / 12.44 GB, free: 59.68 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0347/31.85, allocations: 19.26 MB / 12.46 GB, free: 59.63 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04486/31.89, allocations: 20.35 MB / 12.47 GB, free: 58.69 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004233/31.89, allocations: 31.44 kB / 12.47 GB, free: 58.69 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003717/31.89, allocations: 9.906 kB / 12.47 GB, free: 58.69 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004795/31.89, allocations: 0.5596 MB / 12.48 GB, free: 58.66 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1393/32.03, allocations: 97.22 MB / 12.57 GB, free: 41.05 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01507/32.05, allocations: 9.736 MB / 12.58 GB, free: 41 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01139/32.06, allocations: 8.485 MB / 12.59 GB, free: 40.93 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001519/32.06, allocations: 1.165 MB / 12.59 GB, free: 39.79 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01037/32.07, allocations: 7.215 MB / 12.6 GB, free: 39.62 MB / 1.026 GB Notification: Performance of pre-optimization done (n=712): time 1.205e-05/32.07, allocations: 3.938 kB / 12.6 GB, free: 39.61 MB / 1.026 GB Notification: Performance of matching and sorting (n=724): time 0.07335/32.15, allocations: 29.67 MB / 12.63 GB, free: 36.1 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001756/32.15, allocations: 263.9 kB / 12.63 GB, free: 35.87 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03698/32.18, allocations: 15.22 MB / 12.64 GB, free: 33.98 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.002588/32.19, allocations: 44.17 kB / 12.64 GB, free: 33.93 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.01081/32.2, allocations: 4.652 MB / 12.65 GB, free: 29.93 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.01637/32.21, allocations: 2.528 MB / 12.65 GB, free: 27.59 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001555/32.21, allocations: 0 / 12.65 GB, free: 27.59 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0007812/32.22, allocations: 0.658 MB / 12.65 GB, free: 27.01 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00833/32.22, allocations: 6.28 MB / 12.65 GB, free: 21.65 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009566/32.23, allocations: 8.624 MB / 12.66 GB, free: 13.45 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/32.24, allocations: 8.313 MB / 12.67 GB, free: 6.695 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.652e-05/32.25, allocations: 14.28 kB / 12.67 GB, free: 6.684 MB / 1.026 GB Notification: Performance of matching and sorting (n=951) (initialization): time 0.02818/32.27, allocations: 15.81 MB / 12.69 GB, free: 9.312 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.006829/32.28, allocations: 20.85 MB / 12.71 GB, free: 3.352 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001669/32.28, allocations: 36 kB / 12.71 GB, free: 3.316 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001519/32.28, allocations: 488.5 kB / 12.71 GB, free: 2.914 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01031/32.29, allocations: 1.844 MB / 12.71 GB, free: 1.48 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00748/32.3, allocations: 5.683 MB / 12.71 GB, free: 12.44 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01919/32.32, allocations: 1.625 MB / 12.72 GB, free: 11.43 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00257/32.32, allocations: 300.2 kB / 12.72 GB, free: 11.15 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/32.32, allocations: 4 kB / 12.72 GB, free: 11.15 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.8812/33.2, allocations: 14.72 MB / 12.73 GB, free: 170.2 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/33.2, allocations: 37.59 kB / 12.73 GB, free: 170.2 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/33.2, allocations: 490.5 kB / 12.73 GB, free: 170.2 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009184/33.21, allocations: 1.835 MB / 12.73 GB, free: 170.2 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005251/33.22, allocations: 5.064 MB / 12.74 GB, free: 169 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01775/33.24, allocations: 1.601 MB / 12.74 GB, free: 169 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001888/33.24, allocations: 300.7 kB / 12.74 GB, free: 169 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 155 * 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 (922): * Single equations (assignments): 919 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003365/33.24, allocations: 307 kB / 12.74 GB, free: 168.8 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00396/33.25, allocations: 1.155 MB / 12.74 GB, free: 168.8 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02315/33.27, allocations: 15 MB / 12.76 GB, free: 168.5 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.516e-05/33.27, allocations: 70.09 kB / 12.76 GB, free: 168.5 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-05/33.27, allocations: 4.562 kB / 12.76 GB, free: 168.5 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01579/33.28, allocations: 12.41 MB / 12.77 GB, free: 167.9 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07325/33.36, allocations: 36.28 MB / 12.8 GB, free: 166.8 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.158e-05/33.36, allocations: 5.375 kB / 12.8 GB, free: 166.8 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009878/33.37, allocations: 1.901 MB / 12.81 GB, free: 166.8 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001155/33.37, allocations: 447.7 kB / 12.81 GB, free: 166.7 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001482/33.37, allocations: 148.9 kB / 12.81 GB, free: 166.7 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005714/33.38, allocations: 5.595 MB / 12.81 GB, free: 164.9 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.924e-06/33.38, allocations: 9.531 kB / 12.81 GB, free: 164.9 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03417/33.41, allocations: 24.86 MB / 12.84 GB, free: 162.5 MB / 1.073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03976/33.45, allocations: 35.38 MB / 12.87 GB, free: 159.8 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01257/33.46, allocations: 4.163 MB / 12.87 GB, free: 159.3 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005324/33.47, allocations: 118.3 kB / 12.87 GB, free: 159.3 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01447/33.48, allocations: 1.394 MB / 12.88 GB, free: 159.3 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001581/33.48, allocations: 387.8 kB / 12.88 GB, free: 159.3 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001639/33.49, allocations: 267.3 kB / 12.88 GB, free: 159.3 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.02141/33.51, allocations: 11.96 MB / 12.89 GB, free: 158.9 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.04152/33.55, allocations: 9.287 MB / 12.9 GB, free: 158.9 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 51 (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.m,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 (706): * Single equations (assignments): 699 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007582/33.56, allocations: 5.209 MB / 12.9 GB, free: 156.9 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.03013/33.59, allocations: 22.12 MB / 12.92 GB, free: 156.5 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/33.59, allocations: 10.59 kB / 12.92 GB, free: 156.5 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.009533/33.6, allocations: 6.871 MB / 12.93 GB, free: 156.3 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04106/33.64, allocations: 8.504 MB / 12.94 GB, free: 156.2 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08838/33.73, allocations: 41.47 MB / 12.98 GB, free: 151.4 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03151/33.76, allocations: 14.27 MB / 12.99 GB, free: 150.3 MB / 1.073 GB Notification: Performance of SimCode: time 1.403e-06/33.76, allocations: 0 / 12.99 GB, free: 150.3 MB / 1.073 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretizedPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretizedPControl.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe 2>&1)