Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.246/1.246, allocations: 249.4 MB / 256.7 MB, free: 7.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 180.5 kB / 316 MB, free: 3.457 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.193/1.193, allocations: 205.2 MB / 0.5667 GB, free: 15.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008965/0.0008962, allocations: 98.27 kB / 0.671 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3797/0.3807, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.5606, allocations: 106.3 MB / 0.8847 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.449/5.01, allocations: 2.492 GB / 3.377 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/5.01, allocations: 91.94 kB / 3.377 GB, free: 257.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1197 * Number of variables: 1197 Notification: Performance of Generate backend data structure: time 6.799/11.81, allocations: 2.364 GB / 5.741 GB, free: 105 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/11.81, allocations: 6.406 kB / 5.742 GB, free: 105 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01062/11.82, allocations: 1.454 MB / 5.743 GB, free: 104.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01711/11.84, allocations: 7.22 MB / 5.75 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000211/11.84, allocations: 150.9 kB / 5.75 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001468/11.84, allocations: 278.4 kB / 5.75 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01047/11.85, allocations: 5.422 MB / 5.756 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01206/11.86, allocations: 5.857 MB / 5.761 GB, free: 103.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001157/11.86, allocations: 10.31 kB / 5.761 GB, free: 103.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005131/11.86, allocations: 10.06 kB / 5.761 GB, free: 103.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001544/11.86, allocations: 218.5 kB / 5.762 GB, free: 103.3 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03679/11.9, allocations: 27.08 MB / 5.788 GB, free: 93.38 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003556/11.9, allocations: 2.504 MB / 5.791 GB, free: 93.36 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002836/11.91, allocations: 2.423 MB / 5.793 GB, free: 93.32 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/11.91, allocations: 1.095 MB / 5.794 GB, free: 92.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002873/11.91, allocations: 2.313 MB / 5.796 GB, free: 92.01 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=313): time 4.638e-06/11.91, allocations: 0 / 5.796 GB, free: 92.01 MB / 0.9323 GB Notification: Performance of matching and sorting (n=317): time 0.02522/11.93, allocations: 11.14 MB / 5.807 GB, free: 89.25 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/11.93, allocations: 194 kB / 5.807 GB, free: 89.06 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006005/11.94, allocations: 3.976 MB / 5.811 GB, free: 88.78 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0008405/11.94, allocations: 29.48 kB / 5.811 GB, free: 88.75 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001863/11.94, allocations: 1.685 MB / 5.813 GB, free: 87.89 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002148/11.95, allocations: 1.046 MB / 5.814 GB, free: 87.19 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/11.95, allocations: 5.938 kB / 5.814 GB, free: 87.19 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001817/11.95, allocations: 430.8 kB / 5.814 GB, free: 86.88 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/11.95, allocations: 1.724 MB / 5.816 GB, free: 86.88 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002567/11.95, allocations: 2.513 MB / 5.818 GB, free: 86.11 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003507/11.95, allocations: 2.354 MB / 5.821 GB, free: 86.06 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/11.95, allocations: 3.281 kB / 5.821 GB, free: 86.06 MB / 0.9323 GB Notification: Performance of matching and sorting (n=398) (initialization): time 0.007987/11.96, allocations: 4.805 MB / 5.825 GB, free: 85.72 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009201/11.96, allocations: 5.758 MB / 5.831 GB, free: 79.85 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/11.96, allocations: 17.5 kB / 5.831 GB, free: 79.85 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003844/11.96, allocations: 120 kB / 5.831 GB, free: 79.84 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003095/11.97, allocations: 0.6964 MB / 5.832 GB, free: 79.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/11.97, allocations: 2.616 MB / 5.834 GB, free: 77.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006691/11.98, allocations: 440.9 kB / 5.835 GB, free: 77.95 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005138/11.98, allocations: 128.7 kB / 5.835 GB, free: 77.95 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/11.98, allocations: 3.969 kB / 5.835 GB, free: 77.95 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006981/11.98, allocations: 4.315 MB / 5.839 GB, free: 77.85 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/11.98, allocations: 13.5 kB / 5.839 GB, free: 77.85 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003363/11.98, allocations: 129 kB / 5.839 GB, free: 77.84 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002791/11.99, allocations: 0.6801 MB / 5.84 GB, free: 77.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/11.99, allocations: 1.996 MB / 5.842 GB, free: 76.56 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007352/12, allocations: 427.9 kB / 5.842 GB, free: 76.53 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009448/12, allocations: 126.9 kB / 5.842 GB, free: 76.53 MB / 0.9323 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.001178/12, allocations: 245.7 kB / 5.843 GB, free: 76.35 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001712/12, allocations: 457.1 kB / 5.843 GB, free: 76.12 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009645/12.01, allocations: 4.648 MB / 5.848 GB, free: 75.93 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.618e-05/12.01, allocations: 40.69 kB / 5.848 GB, free: 75.93 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/12.01, allocations: 3.875 kB / 5.848 GB, free: 75.93 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005938/12.02, allocations: 3.912 MB / 5.852 GB, free: 75.68 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01956/12.03, allocations: 11.3 MB / 5.863 GB, free: 74.65 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/12.03, allocations: 3.844 kB / 5.863 GB, free: 74.65 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003238/12.04, allocations: 0.6723 MB / 5.863 GB, free: 74.65 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003348/12.04, allocations: 109.5 kB / 5.863 GB, free: 74.64 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002388/12.04, allocations: 50.72 kB / 5.863 GB, free: 74.64 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/12.04, allocations: 2.589 MB / 5.866 GB, free: 72.78 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/12.04, allocations: 10.56 kB / 5.866 GB, free: 72.78 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01/12.05, allocations: 7.859 MB / 5.874 GB, free: 71.49 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01312/12.06, allocations: 11.28 MB / 5.885 GB, free: 69.82 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00372/12.07, allocations: 1.196 MB / 5.886 GB, free: 69.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001498/12.07, allocations: 30.14 kB / 5.886 GB, free: 69.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004982/12.07, allocations: 401.3 kB / 5.886 GB, free: 69.47 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003767/12.07, allocations: 174.2 kB / 5.886 GB, free: 69.46 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003386/12.07, allocations: 116.5 kB / 5.886 GB, free: 69.46 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.005128/12.08, allocations: 3.099 MB / 5.889 GB, free: 69.29 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01482/12.09, allocations: 3.467 MB / 5.893 GB, free: 69.23 MB / 0.9323 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.004241/12.1, allocations: 3.099 MB / 5.896 GB, free: 68.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.009629/12.11, allocations: 6.859 MB / 5.903 GB, free: 67.78 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/12.11, allocations: 1.156 kB / 5.903 GB, free: 67.78 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002837/12.11, allocations: 2.281 MB / 5.905 GB, free: 67.61 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01374/12.13, allocations: 2.652 MB / 5.907 GB, free: 67.55 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02875/12.15, allocations: 11.39 MB / 5.919 GB, free: 64.82 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008035/12.16, allocations: 4.962 MB / 5.923 GB, free: 63.17 MB / 0.9323 GB Notification: Performance of SimCode: time 1.142e-06/12.16, allocations: 3.094 kB / 5.923 GB, free: 63.17 MB / 0.9323 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)