Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.338/2.338, allocations: 284.8 MB / 292.1 MB, free: 9.922 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.001705/0.001705, allocations: 183.8 kB / 360.3 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.902/1.902, allocations: 205.1 MB / 0.6187 GB, free: 3.336 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001949/0.001949, allocations: 93.7 kB / 0.7317 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5696/0.5716, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.8187, allocations: 115.3 MB / 0.9628 GB, free: 56.96 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.833/6.652, allocations: 2.354 GB / 3.317 GB, free: 273.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/6.652, allocations: 87.2 kB / 3.317 GB, free: 273.3 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 25.85/32.5, allocations: 5.419 GB / 8.736 GB, free: 65.26 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/32.5, allocations: 7.438 kB / 8.736 GB, free: 65.26 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01872/32.52, allocations: 1.867 MB / 8.738 GB, free: 64.77 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05515/32.57, allocations: 15.11 MB / 8.753 GB, free: 63.62 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004956/32.57, allocations: 196.6 kB / 8.753 GB, free: 63.62 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003978/32.58, allocations: 383.6 kB / 8.753 GB, free: 63.62 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03437/32.61, allocations: 10.07 MB / 8.763 GB, free: 63.59 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04042/32.65, allocations: 10.64 MB / 8.773 GB, free: 63.01 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000551/32.65, allocations: 21.89 kB / 8.773 GB, free: 63.01 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003619/32.66, allocations: 6.625 kB / 8.773 GB, free: 63.01 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005103/32.66, allocations: 303.9 kB / 8.774 GB, free: 62.99 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1265/32.78, allocations: 51.66 MB / 8.824 GB, free: 44.49 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01936/32.8, allocations: 7.278 MB / 8.831 GB, free: 43.76 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01271/32.82, allocations: 4.464 MB / 8.836 GB, free: 43.71 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001783/32.82, allocations: 1.018 MB / 8.837 GB, free: 42.68 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/32.82, allocations: 84.97 kB / 8.837 GB, free: 42.64 MB / 1.042 GB Notification: Performance of pre-optimization done (n=369): time 6.483e-06/32.82, allocations: 3.938 kB / 8.837 GB, free: 42.63 MB / 1.042 GB Notification: Performance of matching and sorting (n=375): time 0.06382/32.88, allocations: 15.84 MB / 8.852 GB, free: 40.68 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/32.88, allocations: 91.7 kB / 8.852 GB, free: 40.61 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02453/32.91, allocations: 7.764 MB / 8.86 GB, free: 40.26 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.001721/32.91, allocations: 33.05 kB / 8.86 GB, free: 40.23 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.005403/32.91, allocations: 2.373 MB / 8.862 GB, free: 39.04 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.007558/32.92, allocations: 1.278 MB / 8.863 GB, free: 38.2 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007586/32.92, allocations: 2.125 kB / 8.863 GB, free: 38.2 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0005104/32.92, allocations: 495.8 kB / 8.864 GB, free: 37.89 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008429/32.93, allocations: 3.31 MB / 8.867 GB, free: 37.88 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01117/32.94, allocations: 4.534 MB / 8.872 GB, free: 36.25 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01277/32.95, allocations: 4.357 MB / 8.876 GB, free: 35.03 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.406e-05/32.95, allocations: 5.188 kB / 8.876 GB, free: 35.03 MB / 1.042 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.02692/32.98, allocations: 8.345 MB / 8.884 GB, free: 28.86 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001995/32.98, allocations: 9.104 MB / 8.893 GB, free: 19.47 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001378/32.98, allocations: 16 kB / 8.893 GB, free: 19.45 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/32.99, allocations: 232.6 kB / 8.893 GB, free: 19.27 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01029/33, allocations: 1.052 MB / 8.894 GB, free: 18.46 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004769/33, allocations: 2.619 MB / 8.897 GB, free: 16.02 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01639/33.02, allocations: 0.8875 MB / 8.898 GB, free: 15.47 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001648/33.02, allocations: 166.2 kB / 8.898 GB, free: 15.32 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/33.02, allocations: 4 kB / 8.898 GB, free: 15.32 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0226/33.04, allocations: 7.705 MB / 8.905 GB, free: 8.906 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-05/33.04, allocations: 16 kB / 8.905 GB, free: 8.891 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009477/33.04, allocations: 228.9 kB / 8.906 GB, free: 8.703 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0101/33.05, allocations: 1.049 MB / 8.907 GB, free: 7.852 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004525/33.06, allocations: 2.623 MB / 8.909 GB, free: 5.383 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0159/33.07, allocations: 0.8744 MB / 8.91 GB, free: 4.836 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001585/33.07, allocations: 166.8 kB / 8.91 GB, free: 4.688 MB / 1.042 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.0023/33.08, allocations: 193.6 kB / 8.91 GB, free: 4.496 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002744/33.08, allocations: 0.6021 MB / 8.911 GB, free: 3.887 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04447/33.12, allocations: 8.914 MB / 8.92 GB, free: 15.71 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.915e-05/33.12, allocations: 36 kB / 8.92 GB, free: 15.68 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/33.12, allocations: 0 / 8.92 GB, free: 15.68 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02103/33.15, allocations: 6.671 MB / 8.926 GB, free: 9.895 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06879/33.21, allocations: 19.84 MB / 8.946 GB, free: 9.785 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-05/33.21, allocations: 7.094 kB / 8.946 GB, free: 9.781 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01091/33.22, allocations: 0.9777 MB / 8.946 GB, free: 8.992 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/33.23, allocations: 210.7 kB / 8.947 GB, free: 8.824 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001261/33.23, allocations: 76.64 kB / 8.947 GB, free: 8.766 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0054/33.23, allocations: 2.591 MB / 8.949 GB, free: 6.328 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.308e-05/33.23, allocations: 7.938 kB / 8.949 GB, free: 6.324 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.6428/33.88, allocations: 13.06 MB / 8.962 GB, free: 164.2 MB / 1.073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05341/33.93, allocations: 18.59 MB / 8.98 GB, free: 162.7 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01056/33.94, allocations: 2.114 MB / 8.982 GB, free: 162.6 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003797/33.94, allocations: 55.97 kB / 8.982 GB, free: 162.6 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0139/33.96, allocations: 0.7578 MB / 8.983 GB, free: 162.6 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001591/33.96, allocations: 202.2 kB / 8.983 GB, free: 162.6 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008473/33.96, allocations: 143.6 kB / 8.983 GB, free: 162.6 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.01711/33.98, allocations: 6.104 MB / 8.989 GB, free: 162.3 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.04314/34.02, allocations: 5.458 MB / 8.995 GB, free: 162.3 MB / 1.073 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.009623/34.03, allocations: 4.649 MB / 8.999 GB, free: 160.5 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0355/34.07, allocations: 11.65 MB / 9.011 GB, free: 160.2 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.682e-05/34.07, allocations: 4.656 kB / 9.011 GB, free: 160.2 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.00925/34.08, allocations: 3.544 MB / 9.014 GB, free: 160.1 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05263/34.13, allocations: 4.434 MB / 9.018 GB, free: 160.1 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1012/34.23, allocations: 21.27 MB / 9.039 GB, free: 157.5 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03007/34.26, allocations: 7.763 MB / 9.047 GB, free: 156.6 MB / 1.073 GB Notification: Performance of SimCode: time 2.364e-06/34.26, allocations: 6.25 kB / 9.047 GB, free: 156.6 MB / 1.073 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1)