Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilDiscretizedMassFlow",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 loadModel(Buildings): time 3.799/3.799, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6674/4.467, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/4.762, allocations: 98.72 MB / 0.6283 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.239/11, allocations: 2.492 GB / 3.12 GB, free: 229.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/11, allocations: 95.94 kB / 3.12 GB, free: 229 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6807 * Number of variables: 6807 Notification: Performance of Generate backend data structure: time 105.7/116.7, allocations: 20.4 GB / 23.52 GB, free: 49.82 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/116.7, allocations: 12.69 kB / 23.52 GB, free: 49.82 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.091/116.8, allocations: 7.901 MB / 23.53 GB, free: 47.88 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2991/117.1, allocations: 72.03 MB / 23.6 GB, free: 43.42 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002229/117.1, allocations: 0.8297 MB / 23.6 GB, free: 43.42 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01949/117.1, allocations: 1.577 MB / 23.6 GB, free: 43.41 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1904/117.3, allocations: 51.96 MB / 23.65 GB, free: 43.3 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2217/117.5, allocations: 49.9 MB / 23.7 GB, free: 41.42 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002571/117.5, allocations: 70.67 kB / 23.7 GB, free: 41.41 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01618/117.5, allocations: 22.94 kB / 23.7 GB, free: 41.41 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001943/117.5, allocations: 1.192 MB / 23.7 GB, free: 41.36 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.406/118.9, allocations: 224.2 MB / 23.92 GB, free: 125.1 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07969/119, allocations: 21.08 MB / 23.94 GB, free: 125 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.07016/119.1, allocations: 22.95 MB / 23.96 GB, free: 124.9 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003648/119.1, allocations: 1.322 MB / 23.96 GB, free: 123.7 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06254/119.1, allocations: 19.93 MB / 23.98 GB, free: 123.3 MB / 1.089 GB Notification: Performance of pre-optimization done (n=1537): time 3.14e-05/119.1, allocations: 0 / 23.98 GB, free: 123.3 MB / 1.089 GB Notification: Performance of matching and sorting (n=1561): time 0.3644/119.5, allocations: 82.68 MB / 24.06 GB, free: 116.6 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003904/119.5, allocations: 299.9 kB / 24.06 GB, free: 116.4 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.115/119.6, allocations: 28.89 MB / 24.09 GB, free: 115.5 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.007058/119.6, allocations: 52.41 kB / 24.09 GB, free: 115.5 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.05161/119.7, allocations: 10.25 MB / 24.1 GB, free: 112 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.09001/119.8, allocations: 5.436 MB / 24.11 GB, free: 108.5 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006527/119.8, allocations: 0 / 24.11 GB, free: 108.5 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.003225/119.8, allocations: 1.087 MB / 24.11 GB, free: 108.2 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04534/119.8, allocations: 16.69 MB / 24.12 GB, free: 108.1 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05624/119.9, allocations: 21.61 MB / 24.14 GB, free: 103.7 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06392/119.9, allocations: 21.34 MB / 24.17 GB, free: 103.5 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004017/119.9, allocations: 28.14 kB / 24.17 GB, free: 103.5 MB / 1.089 GB Notification: Performance of matching and sorting (n=2051) (initialization): time 0.1491/120.1, allocations: 40.93 MB / 24.21 GB, free: 101.5 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.7847/120.9, allocations: 66.93 MB / 24.27 GB, free: 113.2 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007792/120.9, allocations: 78.06 kB / 24.27 GB, free: 113.2 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007646/120.9, allocations: 1.231 MB / 24.27 GB, free: 113.2 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04561/120.9, allocations: 4.153 MB / 24.28 GB, free: 113.2 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03841/121, allocations: 13.14 MB / 24.29 GB, free: 110.1 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06786/121, allocations: 3.032 MB / 24.29 GB, free: 110.1 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008668/121, allocations: 0.733 MB / 24.29 GB, free: 110.1 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/121, allocations: 1.062 kB / 24.29 GB, free: 110.1 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1634/121.2, allocations: 38.57 MB / 24.33 GB, free: 109.6 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005793/121.2, allocations: 80.09 kB / 24.33 GB, free: 109.6 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004992/121.2, allocations: 1.233 MB / 24.33 GB, free: 109.6 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04463/121.3, allocations: 4.136 MB / 24.34 GB, free: 109.6 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04682/121.3, allocations: 12.55 MB / 24.35 GB, free: 107.1 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05691/121.4, allocations: 2.976 MB / 24.35 GB, free: 107.1 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007823/121.4, allocations: 0.732 MB / 24.35 GB, free: 107.1 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 362 * 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 (1967): * Single equations (assignments): 1962 * 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: 2 * 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: 2 {(1,100.0%) 48,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01363/121.4, allocations: 0.5369 MB / 24.35 GB, free: 106.9 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0146/121.4, allocations: 2.306 MB / 24.35 GB, free: 106.9 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1613/121.6, allocations: 39 MB / 24.39 GB, free: 106.1 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004504/121.6, allocations: 155.6 kB / 24.39 GB, free: 106.1 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003603/121.6, allocations: 10.97 kB / 24.39 GB, free: 106.1 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1446/121.7, allocations: 31.44 MB / 24.42 GB, free: 105.5 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3214/122, allocations: 84.9 MB / 24.51 GB, free: 102.5 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000207/122, allocations: 6.344 kB / 24.51 GB, free: 102.5 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04624/122.1, allocations: 3.963 MB / 24.51 GB, free: 102.5 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004208/122.1, allocations: 0.9224 MB / 24.51 GB, free: 102.4 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006204/122.1, allocations: 293.2 kB / 24.51 GB, free: 102.4 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03628/122.1, allocations: 9.478 MB / 24.52 GB, free: 100.6 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.995e-05/122.1, allocations: 17.06 kB / 24.52 GB, free: 100.6 MB / 1.089 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1892/122.3, allocations: 64.78 MB / 24.58 GB, free: 87.26 MB / 1.089 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2502/122.6, allocations: 91.19 MB / 24.67 GB, free: 11.14 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.8602/123.4, allocations: 8.481 MB / 24.68 GB, free: 133.6 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01659/123.4, allocations: 217.2 kB / 24.68 GB, free: 133.6 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05062/123.5, allocations: 2.608 MB / 24.68 GB, free: 133.6 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007464/123.5, allocations: 0.7652 MB / 24.68 GB, free: 133.6 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006452/123.5, allocations: 495.9 kB / 24.69 GB, free: 133.6 MB / 1.089 GB Notification: Performance of sort global known variables: time 0.0895/123.6, allocations: 23.19 MB / 24.71 GB, free: 133 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.2283/123.8, allocations: 16.79 MB / 24.72 GB, free: 133 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 98 (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[1].ele[1,4].vol1.dynBal.U,hex.hexReg[1].ele[1,4].vol2.dynBal.U,hex.hexReg[1].ele[1,4].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,4].mas.T,hex.hexReg[1].ele[2,1].vol1.dynBal.U,hex.hexReg[1].ele[2,1].vol2.dynBal.U,hex.hexReg[1].ele[2,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[2,1].mas.T,hex.hexReg[1].ele[2,2].vol1.dynBal.U,hex.hexReg[1].ele[2,2].vol2.dynBal.U,hex.hexReg[1].ele[2,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[2,2].mas.T,hex.hexReg[1].ele[2,3].vol1.dynBal.U,hex.hexReg[1].ele[2,3].vol2.dynBal.U,hex.hexReg[1].ele[2,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[2,3].mas.T,hex.hexReg[1].ele[2,4].vol1.dynBal.U,hex.hexReg[1].ele[2,4].vol2.dynBal.U,hex.hexReg[1].ele[2,4].vol2.dynBal.mXi[1],hex.hexReg[1].ele[2,4].mas.T,hex.hexReg[1].ele[3,1].vol1.dynBal.U,hex.hexReg[1].ele[3,1].vol2.dynBal.U,hex.hexReg[1].ele[3,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[3,1].mas.T,hex.hexReg[1].ele[3,2].vol1.dynBal.U,hex.hexReg[1].ele[3,2].vol2.dynBal.U,hex.hexReg[1].ele[3,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[3,2].mas.T,hex.hexReg[1].ele[3,3].vol1.dynBal.U,hex.hexReg[1].ele[3,3].vol2.dynBal.U,hex.hexReg[1].ele[3,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[3,3].mas.T,hex.hexReg[1].ele[3,4].vol1.dynBal.U,hex.hexReg[1].ele[3,4].vol2.dynBal.U,hex.hexReg[1].ele[3,4].vol2.dynBal.mXi[1],hex.hexReg[1].ele[3,4].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.mXi[1],hex.hexReg[2].ele[1,3].mas.T,hex.hexReg[2].ele[1,4].vol1.dynBal.U,hex.hexReg[2].ele[1,4].vol2.dynBal.U,hex.hexReg[2].ele[1,4].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,4].mas.T,hex.hexReg[2].ele[2,1].vol1.dynBal.U,hex.hexReg[2].ele[2,1].vol2.dynBal.U,hex.hexReg[2].ele[2,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[2,1].mas.T,hex.hexReg[2].ele[2,2].vol1.dynBal.U,hex.hexReg[2].ele[2,2].vol2.dynBal.U,hex.hexReg[2].ele[2,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[2,2].mas.T,hex.hexReg[2].ele[2,3].vol1.dynBal.U,hex.hexReg[2].ele[2,3].vol2.dynBal.U,hex.hexReg[2].ele[2,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[2,3].mas.T,hex.hexReg[2].ele[2,4].vol1.dynBal.U,hex.hexReg[2].ele[2,4].vol2.dynBal.U,hex.hexReg[2].ele[2,4].vol2.dynBal.mXi[1],hex.hexReg[2].ele[2,4].mas.T,hex.hexReg[2].ele[3,1].vol1.dynBal.U,hex.hexReg[2].ele[3,1].vol2.dynBal.U,hex.hexReg[2].ele[3,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[3,1].mas.T,hex.hexReg[2].ele[3,2].vol1.dynBal.U,hex.hexReg[2].ele[3,2].vol2.dynBal.U,hex.hexReg[2].ele[3,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[3,2].mas.T,hex.hexReg[2].ele[3,3].vol1.dynBal.U,hex.hexReg[2].ele[3,3].vol2.dynBal.U,hex.hexReg[2].ele[3,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[3,3].mas.T,hex.hexReg[2].ele[3,4].vol1.dynBal.U,hex.hexReg[2].ele[3,4].vol2.dynBal.U,hex.hexReg[2].ele[3,4].vol2.dynBal.m,hex.hexReg[2].ele[3,4].vol2.dynBal.mXi[1],hex.hexReg[2].ele[3,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 (1524): * Single equations (assignments): 1516 * 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%) 48} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01703/123.8, allocations: 5.536 MB / 24.73 GB, free: 130.8 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.1557/124, allocations: 57.73 MB / 24.79 GB, free: 129.9 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 4.655e-05/124, allocations: 14.44 kB / 24.79 GB, free: 129.9 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.04917/124, allocations: 17.25 MB / 24.8 GB, free: 129.7 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.167/124.2, allocations: 17.14 MB / 24.82 GB, free: 129.3 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4123/124.6, allocations: 93.79 MB / 24.91 GB, free: 119.5 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1305/124.7, allocations: 30.77 MB / 24.94 GB, free: 117.8 MB / 1.089 GB Notification: Performance of SimCode: time 2.013e-06/124.7, allocations: 3.75 kB / 24.94 GB, free: 117.8 MB / 1.089 GB