Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.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.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",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.356/1.356, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.00102/0.00102, allocations: 181.2 kB / 361.1 MB, free: 7.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.199/1.199, allocations: 205.1 MB / 0.6195 GB, free: 10.29 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008166/0.0008166, allocations: 92.38 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2275/0.2284, allocations: 121.4 MB / 0.8511 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5238/0.7522, allocations: 115.3 MB / 0.9638 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.859/4.612, allocations: 2.375 GB / 3.338 GB, free: 144.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/4.612, allocations: 87.95 kB / 3.338 GB, free: 144.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1189 * Number of variables: 1189 Notification: Performance of Generate backend data structure: time 7.32/11.93, allocations: 2.427 GB / 5.765 GB, free: 107.6 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/11.93, allocations: 7.875 kB / 5.765 GB, free: 107.6 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/11.94, allocations: 1.447 MB / 5.766 GB, free: 107.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01892/11.96, allocations: 7.198 MB / 5.774 GB, free: 106.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000283/11.96, allocations: 147.3 kB / 5.774 GB, free: 106.4 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001932/11.96, allocations: 273.7 kB / 5.774 GB, free: 106.4 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0127/11.98, allocations: 5.401 MB / 5.779 GB, free: 106.4 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01549/11.99, allocations: 5.838 MB / 5.785 GB, free: 106 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002276/11.99, allocations: 7.656 kB / 5.785 GB, free: 106 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001373/11.99, allocations: 3.938 kB / 5.785 GB, free: 106 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001986/11.99, allocations: 223.7 kB / 5.785 GB, free: 106 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04483/12.04, allocations: 27.05 MB / 5.812 GB, free: 96.04 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003797/12.04, allocations: 2.493 MB / 5.814 GB, free: 96.02 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003541/12.05, allocations: 2.439 MB / 5.816 GB, free: 95.97 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/12.05, allocations: 1.099 MB / 5.817 GB, free: 94.84 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003487/12.05, allocations: 2.301 MB / 5.82 GB, free: 94.66 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=313): time 6.121e-06/12.05, allocations: 0 / 5.82 GB, free: 94.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=317): time 0.02429/12.08, allocations: 11.17 MB / 5.831 GB, free: 91.92 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/12.08, allocations: 199.5 kB / 5.831 GB, free: 91.73 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005206/12.08, allocations: 3.944 MB / 5.835 GB, free: 91.45 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006419/12.08, allocations: 33.39 kB / 5.835 GB, free: 91.41 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001688/12.08, allocations: 1.672 MB / 5.836 GB, free: 90.55 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002124/12.08, allocations: 1.045 MB / 5.837 GB, free: 89.86 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/12.09, allocations: 0 / 5.837 GB, free: 89.86 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001877/12.09, allocations: 438.3 kB / 5.838 GB, free: 89.55 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002238/12.09, allocations: 1.738 MB / 5.839 GB, free: 89.54 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002527/12.09, allocations: 2.513 MB / 5.842 GB, free: 88.79 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003532/12.09, allocations: 2.37 MB / 5.844 GB, free: 88.73 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/12.09, allocations: 3.812 kB / 5.844 GB, free: 88.73 MB / 0.9948 GB Notification: Performance of matching and sorting (n=398) (initialization): time 0.007743/12.1, allocations: 4.815 MB / 5.849 GB, free: 88.39 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008707/12.1, allocations: 5.764 MB / 5.855 GB, free: 82.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/12.1, allocations: 18.62 kB / 5.855 GB, free: 82.52 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003856/12.1, allocations: 121.6 kB / 5.855 GB, free: 82.51 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003034/12.11, allocations: 0.6927 MB / 5.855 GB, free: 82.51 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/12.11, allocations: 2.62 MB / 5.858 GB, free: 80.65 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006063/12.11, allocations: 434.9 kB / 5.858 GB, free: 80.62 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003637/12.11, allocations: 126.9 kB / 5.858 GB, free: 80.62 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/12.11, allocations: 3.812 kB / 5.858 GB, free: 80.62 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006553/12.12, allocations: 4.332 MB / 5.863 GB, free: 80.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/12.12, allocations: 21.22 kB / 5.863 GB, free: 80.52 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003272/12.12, allocations: 129.7 kB / 5.863 GB, free: 80.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002797/12.12, allocations: 0.6762 MB / 5.863 GB, free: 80.52 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/12.13, allocations: 1.985 MB / 5.865 GB, free: 79.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00611/12.13, allocations: 428 kB / 5.866 GB, free: 79.21 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004191/12.13, allocations: 126.1 kB / 5.866 GB, free: 79.21 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (381): * Single equations (assignments): 377 * Array equations: 0 * Algorithm blocks: 2 * 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%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001016/12.13, allocations: 247.6 kB / 5.866 GB, free: 79.03 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001668/12.14, allocations: 447.2 kB / 5.867 GB, free: 78.81 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008065/12.14, allocations: 4.681 MB / 5.871 GB, free: 78.61 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-05/12.14, allocations: 35.08 kB / 5.871 GB, free: 78.61 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/12.14, allocations: 3.344 kB / 5.871 GB, free: 78.61 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005438/12.15, allocations: 3.944 MB / 5.875 GB, free: 78.36 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.021/12.17, allocations: 11.3 MB / 5.886 GB, free: 77.33 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/12.17, allocations: 9.969 kB / 5.886 GB, free: 77.33 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003327/12.17, allocations: 0.6769 MB / 5.887 GB, free: 77.33 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004126/12.17, allocations: 114.9 kB / 5.887 GB, free: 77.32 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004042/12.17, allocations: 54.38 kB / 5.887 GB, free: 77.32 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00227/12.18, allocations: 2.588 MB / 5.889 GB, free: 75.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/12.18, allocations: 10.38 kB / 5.889 GB, free: 75.46 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01144/12.19, allocations: 7.89 MB / 5.897 GB, free: 74.18 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01656/12.2, allocations: 11.34 MB / 5.908 GB, free: 72.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004238/12.21, allocations: 1.164 MB / 5.909 GB, free: 72.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001886/12.21, allocations: 37.84 kB / 5.909 GB, free: 72.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005299/12.22, allocations: 395.3 kB / 5.91 GB, free: 72.16 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004061/12.22, allocations: 166.1 kB / 5.91 GB, free: 72.15 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003939/12.22, allocations: 122.6 kB / 5.91 GB, free: 72.15 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.006771/12.22, allocations: 3.066 MB / 5.913 GB, free: 71.97 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01585/12.24, allocations: 3.458 MB / 5.916 GB, free: 71.91 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 18 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (306): * Single equations (assignments): 298 * Array equations: 0 * Algorithm blocks: 2 * 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%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005271/12.24, allocations: 3.095 MB / 5.919 GB, free: 70.88 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01098/12.26, allocations: 6.897 MB / 5.926 GB, free: 70.46 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/12.26, allocations: 2.75 kB / 5.926 GB, free: 70.46 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003273/12.26, allocations: 2.285 MB / 5.928 GB, free: 70.29 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01502/12.27, allocations: 2.642 MB / 5.931 GB, free: 70.23 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03168/12.31, allocations: 11.35 MB / 5.942 GB, free: 67.29 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009815/12.32, allocations: 4.945 MB / 5.947 GB, free: 65.64 MB / 0.9948 GB Notification: Performance of SimCode: time 1.193e-06/12.32, allocations: 3.75 kB / 5.947 GB, free: 65.64 MB / 0.9948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)