Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.668/1.668, allocations: 289.8 MB / 297.1 MB, free: 9.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001202/0.001201, allocations: 193.5 kB / 366.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.1 MB / 0.6256 GB, free: 2.211 MB / 446.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 104.5 kB / 0.7396 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.6186/0.6197, allocations: 122.4 MB / 0.8591 GB, free: 157 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.8833, allocations: 116.3 MB / 0.9727 GB, free: 54.25 MB / 0.6387 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.909/5.792, allocations: 2.355 GB / 3.328 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/5.793, allocations: 87.95 kB / 3.328 GB, free: 0.7188 MB / 0.9512 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 21.65/27.44, allocations: 5.419 GB / 8.747 GB, free: 87.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/27.44, allocations: 9.656 kB / 8.747 GB, free: 87.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01662/27.46, allocations: 1.871 MB / 8.749 GB, free: 87.45 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04077/27.5, allocations: 15.11 MB / 8.764 GB, free: 86.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005314/27.5, allocations: 200.8 kB / 8.764 GB, free: 86.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003982/27.51, allocations: 384.2 kB / 8.764 GB, free: 86.29 MB / 1.061 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02648/27.53, allocations: 10.07 MB / 8.774 GB, free: 86.26 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03628/27.57, allocations: 10.63 MB / 8.784 GB, free: 85.69 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005834/27.57, allocations: 18.53 kB / 8.784 GB, free: 85.69 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004079/27.57, allocations: 7.188 kB / 8.784 GB, free: 85.69 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004042/27.57, allocations: 301.1 kB / 8.785 GB, free: 85.67 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1038/27.68, allocations: 51.65 MB / 8.835 GB, free: 67.2 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01343/27.69, allocations: 7.285 MB / 8.842 GB, free: 66.48 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00872/27.7, allocations: 4.452 MB / 8.847 GB, free: 66.44 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00166/27.7, allocations: 1.022 MB / 8.848 GB, free: 65.4 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/27.7, allocations: 82.41 kB / 8.848 GB, free: 65.36 MB / 1.061 GB Notification: Performance of pre-optimization done (n=369): time 8.136e-06/27.7, allocations: 0 / 8.848 GB, free: 65.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=375): time 0.04435/27.75, allocations: 15.83 MB / 8.863 GB, free: 63.42 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/27.75, allocations: 94.42 kB / 8.863 GB, free: 63.36 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02079/27.77, allocations: 7.773 MB / 8.871 GB, free: 63 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.001796/27.77, allocations: 31.83 kB / 8.871 GB, free: 62.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.004587/27.77, allocations: 2.374 MB / 8.873 GB, free: 61.78 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.005748/27.78, allocations: 1.273 MB / 8.874 GB, free: 60.93 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001197/27.78, allocations: 0 / 8.874 GB, free: 60.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0005696/27.78, allocations: 499.9 kB / 8.875 GB, free: 60.62 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005993/27.79, allocations: 3.311 MB / 8.878 GB, free: 60.61 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009585/27.8, allocations: 4.533 MB / 8.883 GB, free: 59.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/27.81, allocations: 4.364 MB / 8.887 GB, free: 59.47 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.417e-05/27.81, allocations: 7.188 kB / 8.887 GB, free: 59.47 MB / 1.061 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.02158/27.83, allocations: 8.332 MB / 8.895 GB, free: 59.05 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.002763/27.83, allocations: 9.105 MB / 8.904 GB, free: 49.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-05/27.83, allocations: 19.5 kB / 8.904 GB, free: 49.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007939/27.83, allocations: 231.8 kB / 8.904 GB, free: 49.81 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005616/27.84, allocations: 1.05 MB / 8.905 GB, free: 49.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003035/27.84, allocations: 2.63 MB / 8.908 GB, free: 48.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01102/27.85, allocations: 0.8867 MB / 8.909 GB, free: 48.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001464/27.85, allocations: 168.5 kB / 8.909 GB, free: 48.54 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/27.85, allocations: 5.562 kB / 8.909 GB, free: 48.54 MB / 1.061 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01638/27.87, allocations: 7.694 MB / 8.916 GB, free: 48.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.51e-05/27.87, allocations: 18.34 kB / 8.916 GB, free: 48.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000792/27.87, allocations: 237.6 kB / 8.917 GB, free: 48.44 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006004/27.88, allocations: 1.052 MB / 8.918 GB, free: 48.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003641/27.88, allocations: 2.625 MB / 8.92 GB, free: 47.24 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01184/27.89, allocations: 0.8669 MB / 8.921 GB, free: 47.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001462/27.9, allocations: 165.2 kB / 8.921 GB, free: 47.2 MB / 1.061 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.00253/27.9, allocations: 196.1 kB / 8.921 GB, free: 47.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003284/27.9, allocations: 0.6031 MB / 8.922 GB, free: 46.76 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02006/27.92, allocations: 7.922 MB / 8.93 GB, free: 46.55 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.347e-05/27.92, allocations: 41.53 kB / 8.93 GB, free: 46.55 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-05/27.92, allocations: 1.156 kB / 8.93 GB, free: 46.55 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01069/27.93, allocations: 6.666 MB / 8.936 GB, free: 46.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05009/27.98, allocations: 19.77 MB / 8.955 GB, free: 44.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.293e-05/27.98, allocations: 2.156 kB / 8.955 GB, free: 44.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005787/27.99, allocations: 0.9815 MB / 8.956 GB, free: 44.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007636/27.99, allocations: 207 kB / 8.957 GB, free: 44.45 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009752/27.99, allocations: 80.55 kB / 8.957 GB, free: 44.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00348/27.99, allocations: 2.594 MB / 8.959 GB, free: 43.23 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.227e-05/27.99, allocations: 4.781 kB / 8.959 GB, free: 43.23 MB / 1.061 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02312/28.02, allocations: 12.84 MB / 8.972 GB, free: 36.55 MB / 1.061 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02816/28.04, allocations: 18.59 MB / 8.99 GB, free: 20.19 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007647/28.05, allocations: 2.114 MB / 8.992 GB, free: 18.23 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003179/28.06, allocations: 55.77 kB / 8.992 GB, free: 18.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009131/28.06, allocations: 0.7593 MB / 8.993 GB, free: 17.72 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001069/28.07, allocations: 202.4 kB / 8.993 GB, free: 17.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001002/28.07, allocations: 148.9 kB / 8.993 GB, free: 17.49 MB / 1.061 GB Notification: Performance of sort global known variables: time 0.01293/28.08, allocations: 6.104 MB / 8.999 GB, free: 12.3 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.03156/28.11, allocations: 5.459 MB / 9.004 GB, free: 6.875 MB / 1.061 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.007783/28.12, allocations: 4.659 MB / 9.009 GB, free: 3.164 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.03371/28.15, allocations: 12.69 MB / 9.021 GB, free: 11.61 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.691e-05/28.15, allocations: 8.391 kB / 9.021 GB, free: 11.61 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.006862/28.16, allocations: 3.541 MB / 9.025 GB, free: 8.57 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02641/28.19, allocations: 4.438 MB / 9.029 GB, free: 5.57 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07371/28.26, allocations: 21.29 MB / 9.05 GB, free: 3.941 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.7062/28.97, allocations: 8.471 MB / 9.058 GB, free: 172.2 MB / 1.092 GB Notification: Performance of SimCode: time 2.114e-06/28.97, allocations: 0 / 9.058 GB, free: 172.2 MB / 1.092 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1)