Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",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.0.1-maint.8.0.x/package.mo): time 1.471/1.471, allocations: 285.5 MB / 292.8 MB, free: 9.828 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.001217/0.001217, allocations: 193.2 kB / 361.1 MB, free: 336 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.252/1.252, allocations: 205.1 MB / 0.6195 GB, free: 11.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008893/0.0008896, allocations: 97.42 kB / 0.7326 GB, free: 7.164 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.3796/0.3805, allocations: 121.4 MB / 0.8512 GB, free: 115.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.5894, allocations: 115.3 MB / 0.9638 GB, free: 228 kB / 0.5886 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.079/4.668, allocations: 2.355 GB / 3.319 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/4.669, allocations: 95.94 kB / 3.319 GB, free: 206.9 MB / 0.9323 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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: 1600 * Number of variables: 1600 Notification: Performance of Generate backend data structure: time 15.66/20.33, allocations: 5.419 GB / 8.738 GB, free: 32.45 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/20.33, allocations: 11.98 kB / 8.738 GB, free: 32.44 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0141/20.34, allocations: 1.858 MB / 8.74 GB, free: 30.57 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03583/20.38, allocations: 15.11 MB / 8.755 GB, free: 15.43 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004331/20.38, allocations: 200 kB / 8.755 GB, free: 15.24 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003863/20.38, allocations: 387.9 kB / 8.755 GB, free: 14.86 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0228/20.41, allocations: 10.07 MB / 8.765 GB, free: 4.773 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03144/20.44, allocations: 10.63 MB / 8.776 GB, free: 9.953 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004531/20.44, allocations: 19.84 kB / 8.776 GB, free: 9.934 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002758/20.44, allocations: 4 kB / 8.776 GB, free: 9.93 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003269/20.44, allocations: 304.1 kB / 8.776 GB, free: 9.629 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5954/21.04, allocations: 51.63 MB / 8.826 GB, free: 151.7 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009994/21.05, allocations: 7.291 MB / 8.834 GB, free: 151 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005828/21.05, allocations: 4.459 MB / 8.838 GB, free: 151 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/21.05, allocations: 1.021 MB / 8.839 GB, free: 150 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.389e-05/21.05, allocations: 78.34 kB / 8.839 GB, free: 149.9 MB / 1.057 GB Notification: Performance of pre-optimization done (n=369): time 5.5e-06/21.05, allocations: 0 / 8.839 GB, free: 149.9 MB / 1.057 GB Notification: Performance of matching and sorting (n=375): time 0.03968/21.09, allocations: 15.84 MB / 8.854 GB, free: 148.4 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/21.09, allocations: 90.89 kB / 8.854 GB, free: 148.3 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01539/21.11, allocations: 7.768 MB / 8.862 GB, free: 147.9 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001657/21.11, allocations: 36.86 kB / 8.862 GB, free: 147.9 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.003381/21.11, allocations: 2.373 MB / 8.864 GB, free: 147.1 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.005165/21.12, allocations: 1.275 MB / 8.866 GB, free: 146.4 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004127/21.12, allocations: 2.281 kB / 8.866 GB, free: 146.4 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0003572/21.12, allocations: 494.7 kB / 8.866 GB, free: 146.1 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003923/21.12, allocations: 3.311 MB / 8.869 GB, free: 146.1 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004803/21.13, allocations: 4.531 MB / 8.874 GB, free: 145 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006056/21.14, allocations: 4.363 MB / 8.878 GB, free: 145 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.255e-05/21.14, allocations: 6.062 kB / 8.878 GB, free: 145 MB / 1.057 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01434/21.15, allocations: 8.341 MB / 8.886 GB, free: 144.5 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.001601/21.15, allocations: 9.097 MB / 8.895 GB, free: 135.3 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.581e-05/21.15, allocations: 21.25 kB / 8.895 GB, free: 135.3 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006388/21.15, allocations: 230.1 kB / 8.895 GB, free: 135.3 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005014/21.16, allocations: 1.049 MB / 8.896 GB, free: 135.3 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002706/21.16, allocations: 2.627 MB / 8.899 GB, free: 134.1 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01034/21.17, allocations: 0.8839 MB / 8.9 GB, free: 134.1 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001454/21.17, allocations: 165.6 kB / 8.9 GB, free: 134.1 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/21.17, allocations: 6.125 kB / 8.9 GB, free: 134.1 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01171/21.18, allocations: 7.692 MB / 8.907 GB, free: 134 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.331e-05/21.18, allocations: 20.94 kB / 8.908 GB, free: 134 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005786/21.18, allocations: 235.1 kB / 8.908 GB, free: 134 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004824/21.19, allocations: 1.047 MB / 8.909 GB, free: 134 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/21.19, allocations: 2.631 MB / 8.911 GB, free: 132.8 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01001/21.2, allocations: 0.8717 MB / 8.912 GB, free: 132.7 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/21.2, allocations: 167.4 kB / 8.912 GB, free: 132.7 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (482): * Single equations (assignments): 481 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00142/21.2, allocations: 205.4 kB / 8.913 GB, free: 132.6 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002147/21.21, allocations: 0.6047 MB / 8.913 GB, free: 132.3 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/21.22, allocations: 7.924 MB / 8.921 GB, free: 132.1 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.48e-05/21.22, allocations: 37.97 kB / 8.921 GB, free: 132.1 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/21.22, allocations: 1.969 kB / 8.921 GB, free: 132.1 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008737/21.23, allocations: 6.669 MB / 8.927 GB, free: 131.6 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03757/21.27, allocations: 19.76 MB / 8.947 GB, free: 130 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/21.27, allocations: 11.25 kB / 8.947 GB, free: 130 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004764/21.27, allocations: 0.9799 MB / 8.948 GB, free: 130 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005855/21.27, allocations: 207 kB / 8.948 GB, free: 130 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004109/21.27, allocations: 78.23 kB / 8.948 GB, free: 130 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002614/21.27, allocations: 2.586 MB / 8.95 GB, free: 128.8 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/21.27, allocations: 9.094 kB / 8.95 GB, free: 128.8 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01584/21.29, allocations: 12.83 MB / 8.963 GB, free: 127.3 MB / 1.057 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02098/21.31, allocations: 18.61 MB / 8.981 GB, free: 125.4 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007525/21.32, allocations: 2.11 MB / 8.983 GB, free: 125 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003414/21.32, allocations: 52.06 kB / 8.983 GB, free: 125 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009597/21.33, allocations: 0.7586 MB / 8.984 GB, free: 125 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000688/21.33, allocations: 204.2 kB / 8.984 GB, free: 125 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004979/21.33, allocations: 142.2 kB / 8.984 GB, free: 125 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.009701/21.34, allocations: 6.103 MB / 8.99 GB, free: 124.7 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.02448/21.37, allocations: 5.462 MB / 8.996 GB, free: 124.7 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 25 (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.m,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (378): * Single equations (assignments): 373 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008747/21.38, allocations: 4.65 MB / 9 GB, free: 122.9 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01761/21.39, allocations: 11.66 MB / 9.012 GB, free: 122.6 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-05/21.39, allocations: 3.031 kB / 9.012 GB, free: 122.6 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.005043/21.4, allocations: 3.55 MB / 9.015 GB, free: 122.5 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0217/21.42, allocations: 4.423 MB / 9.019 GB, free: 122.4 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05156/21.47, allocations: 21.28 MB / 9.04 GB, free: 119.8 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0153/21.49, allocations: 7.76 MB / 9.048 GB, free: 118.9 MB / 1.057 GB Notification: Performance of SimCode: time 1.183e-06/21.49, allocations: 0 / 9.048 GB, free: 118.9 MB / 1.057 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1)