Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.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.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.729/1.729, allocations: 289.8 MB / 297 MB, free: 6.633 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.001427/0.001427, allocations: 177.3 kB / 366.3 MB, free: 1.949 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.701/1.701, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.001135/0.001135, allocations: 82.86 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3108/0.312, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7516/1.064, allocations: 116.3 MB / 0.9726 GB, free: 68.5 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.945/6.009, allocations: 2.376 GB / 3.348 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/6.009, allocations: 87.89 kB / 3.348 GB, free: 130.3 MB / 0.9636 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 9.193/15.2, allocations: 2.427 GB / 5.775 GB, free: 102.6 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/15.2, allocations: 8.688 kB / 5.775 GB, free: 102.6 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/15.21, allocations: 1.449 MB / 5.776 GB, free: 102.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01992/15.23, allocations: 7.195 MB / 5.783 GB, free: 101.3 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002757/15.23, allocations: 147.2 kB / 5.783 GB, free: 101.3 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002139/15.24, allocations: 278 kB / 5.784 GB, free: 101.3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01588/15.25, allocations: 5.401 MB / 5.789 GB, free: 101.3 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01859/15.27, allocations: 5.841 MB / 5.795 GB, free: 100.9 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001511/15.27, allocations: 3.5 kB / 5.795 GB, free: 100.9 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006857/15.27, allocations: 7.25 kB / 5.795 GB, free: 100.9 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000225/15.27, allocations: 228.1 kB / 5.795 GB, free: 100.9 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05218/15.32, allocations: 27.04 MB / 5.821 GB, free: 91 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004311/15.33, allocations: 2.496 MB / 5.824 GB, free: 90.98 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003593/15.33, allocations: 2.439 MB / 5.826 GB, free: 90.95 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/15.33, allocations: 1.098 MB / 5.827 GB, free: 89.82 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003313/15.34, allocations: 2.309 MB / 5.83 GB, free: 89.63 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=313): time 4.689e-06/15.34, allocations: 0 / 5.83 GB, free: 89.63 MB / 0.9948 GB Notification: Performance of matching and sorting (n=317): time 0.02831/15.37, allocations: 11.16 MB / 5.84 GB, free: 86.89 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.791e-05/15.37, allocations: 192.6 kB / 5.841 GB, free: 86.7 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007143/15.37, allocations: 3.943 MB / 5.844 GB, free: 86.41 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001041/15.37, allocations: 44.12 kB / 5.844 GB, free: 86.38 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002183/15.38, allocations: 1.667 MB / 5.846 GB, free: 85.52 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002558/15.38, allocations: 1.045 MB / 5.847 GB, free: 84.83 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/15.38, allocations: 0 / 5.847 GB, free: 84.83 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002542/15.38, allocations: 439 kB / 5.848 GB, free: 84.52 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002515/15.38, allocations: 1.732 MB / 5.849 GB, free: 84.51 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002989/15.38, allocations: 2.526 MB / 5.852 GB, free: 83.75 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003949/15.39, allocations: 2.364 MB / 5.854 GB, free: 83.7 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/15.39, allocations: 4.656 kB / 5.854 GB, free: 83.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=398) (initialization): time 0.009027/15.4, allocations: 4.823 MB / 5.859 GB, free: 83.36 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00135/15.4, allocations: 5.772 MB / 5.864 GB, free: 77.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/15.4, allocations: 12.72 kB / 5.864 GB, free: 77.48 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004764/15.4, allocations: 121.5 kB / 5.865 GB, free: 77.47 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003592/15.4, allocations: 0.6894 MB / 5.865 GB, free: 77.47 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/15.41, allocations: 2.614 MB / 5.868 GB, free: 75.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007394/15.41, allocations: 440.4 kB / 5.868 GB, free: 75.58 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/15.41, allocations: 122.9 kB / 5.868 GB, free: 75.58 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/15.41, allocations: 5.375 kB / 5.868 GB, free: 75.58 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008015/15.42, allocations: 4.34 MB / 5.873 GB, free: 75.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.293e-05/15.42, allocations: 17.59 kB / 5.873 GB, free: 75.48 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003755/15.42, allocations: 123.7 kB / 5.873 GB, free: 75.48 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003125/15.43, allocations: 0.6824 MB / 5.873 GB, free: 75.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/15.43, allocations: 1.983 MB / 5.875 GB, free: 74.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007091/15.43, allocations: 420.9 kB / 5.876 GB, free: 74.18 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008716/15.44, allocations: 131.9 kB / 5.876 GB, free: 74.17 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.002094/15.44, allocations: 254.8 kB / 5.876 GB, free: 73.99 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002593/15.44, allocations: 448.4 kB / 5.876 GB, free: 73.77 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/15.45, allocations: 4.673 MB / 5.881 GB, free: 73.57 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.62e-05/15.45, allocations: 32.94 kB / 5.881 GB, free: 73.57 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/15.45, allocations: 0 / 5.881 GB, free: 73.57 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006063/15.46, allocations: 3.946 MB / 5.885 GB, free: 73.32 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02504/15.48, allocations: 11.3 MB / 5.896 GB, free: 72.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/15.48, allocations: 3.875 kB / 5.896 GB, free: 72.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003409/15.48, allocations: 0.6781 MB / 5.897 GB, free: 72.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004745/15.49, allocations: 117.2 kB / 5.897 GB, free: 72.29 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004381/15.49, allocations: 57.92 kB / 5.897 GB, free: 72.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002851/15.49, allocations: 2.588 MB / 5.899 GB, free: 70.43 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/15.49, allocations: 6.688 kB / 5.899 GB, free: 70.43 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01794/15.51, allocations: 7.893 MB / 5.907 GB, free: 69.15 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02008/15.53, allocations: 11.34 MB / 5.918 GB, free: 67.47 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005029/15.53, allocations: 1.172 MB / 5.919 GB, free: 67.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002247/15.53, allocations: 35.11 kB / 5.919 GB, free: 67.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005967/15.54, allocations: 388.8 kB / 5.92 GB, free: 67.12 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006627/15.54, allocations: 165.6 kB / 5.92 GB, free: 67.12 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006512/15.54, allocations: 123.5 kB / 5.92 GB, free: 67.12 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.00797/15.55, allocations: 3.07 MB / 5.923 GB, free: 66.94 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01968/15.57, allocations: 3.46 MB / 5.926 GB, free: 66.88 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.006172/15.58, allocations: 3.098 MB / 5.929 GB, free: 65.84 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01259/15.59, allocations: 6.896 MB / 5.936 GB, free: 65.42 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/15.59, allocations: 3.812 kB / 5.936 GB, free: 65.42 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003964/15.59, allocations: 2.285 MB / 5.938 GB, free: 65.25 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01606/15.61, allocations: 2.633 MB / 5.941 GB, free: 65.19 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04039/15.65, allocations: 11.37 MB / 5.952 GB, free: 62.57 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01144/15.66, allocations: 4.941 MB / 5.957 GB, free: 76.93 MB / 1.01 GB Notification: Performance of SimCode: time 1.483e-06/15.66, allocations: 0 / 5.957 GB, free: 76.93 MB / 1.01 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)