Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization.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.Validation.WetCoilDiscretizedInitialization,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitialization",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.81/3.81, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5307/4.34, allocations: 104.3 MB / 0.5319 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/4.571, allocations: 98.72 MB / 0.6283 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.244/10.82, allocations: 2.475 GB / 3.103 GB, free: 163.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/10.82, allocations: 85.89 kB / 3.103 GB, free: 163.9 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.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: 5549 * Number of variables: 5549 Notification: Performance of Generate backend data structure: time 107.2/118, allocations: 19.09 GB / 22.19 GB, free: 46.09 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/118.1, allocations: 10.38 kB / 22.19 GB, free: 46.09 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06591/118.1, allocations: 6.232 MB / 22.2 GB, free: 44.47 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2102/118.3, allocations: 55.58 MB / 22.25 GB, free: 42.01 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001766/118.3, allocations: 0.6696 MB / 22.25 GB, free: 42.01 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01513/118.3, allocations: 1.29 MB / 22.26 GB, free: 42 MB / 1.276 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1415/118.5, allocations: 34.47 MB / 22.29 GB, free: 41.91 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1713/118.7, allocations: 36.03 MB / 22.32 GB, free: 40.28 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001754/118.7, allocations: 36.03 kB / 22.32 GB, free: 40.28 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01254/118.7, allocations: 19.72 kB / 22.32 GB, free: 40.28 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001319/118.7, allocations: 0.9745 MB / 22.33 GB, free: 40.23 MB / 1.276 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4849/119.2, allocations: 163.9 MB / 22.49 GB, free: 31.38 MB / 1.323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04898/119.2, allocations: 14.7 MB / 22.5 GB, free: 31.32 MB / 1.323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04114/119.2, allocations: 14.34 MB / 22.51 GB, free: 31.18 MB / 1.323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005704/119.3, allocations: 2.859 MB / 22.52 GB, free: 28.27 MB / 1.323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000392/119.3, allocations: 185.2 kB / 22.52 GB, free: 28.21 MB / 1.323 GB Notification: Performance of pre-optimization done (n=1199): time 2.118e-05/119.3, allocations: 0 / 22.52 GB, free: 28.21 MB / 1.323 GB Notification: Performance of matching and sorting (n=1265): time 0.2953/119.5, allocations: 58.52 MB / 22.57 GB, free: 19.76 MB / 1.323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002527/119.5, allocations: 178.3 kB / 22.57 GB, free: 19.68 MB / 1.323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1024/119.7, allocations: 23.2 MB / 22.6 GB, free: 11.51 MB / 1.323 GB Notification: Performance of collectPreVariables (initialization): time 0.005715/119.7, allocations: 45.7 kB / 22.6 GB, free: 11.46 MB / 1.323 GB Notification: Performance of collectInitialEqns (initialization): time 0.02906/119.7, allocations: 8.158 MB / 22.6 GB, free: 4.484 MB / 1.323 GB Notification: Performance of collectInitialBindings (initialization): time 0.02594/119.7, allocations: 4.265 MB / 22.61 GB, free: 0.5312 MB / 1.323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005144/119.7, allocations: 0 / 22.61 GB, free: 0.5312 MB / 1.323 GB Notification: Performance of setup shared object (initialization): time 0.003/119.7, allocations: 0.9205 MB / 22.61 GB, free: 15.75 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03439/119.8, allocations: 10.93 MB / 22.62 GB, free: 6.395 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06477/119.8, allocations: 16.26 MB / 22.64 GB, free: 10.89 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0481/119.9, allocations: 14.67 MB / 22.65 GB, free: 15.43 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000202/119.9, allocations: 22.19 kB / 22.65 GB, free: 15.41 MB / 1.37 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.1836/120.1, allocations: 35.03 MB / 22.68 GB, free: 10.73 MB / 1.386 GB Notification: Performance of prepare postOptimizeDAE: time 1.273/121.3, allocations: 52.66 MB / 22.74 GB, free: 102.9 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005662/121.3, allocations: 69.75 kB / 22.74 GB, free: 102.9 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07186/121.4, allocations: 11.19 MB / 22.75 GB, free: 102.8 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0314/121.4, allocations: 2.57 MB / 22.75 GB, free: 102.8 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07647/121.5, allocations: 29.69 MB / 22.78 GB, free: 97.37 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04832/121.6, allocations: 2.412 MB / 22.78 GB, free: 97.37 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006247/121.6, allocations: 0.5479 MB / 22.78 GB, free: 97.37 MB / 1.386 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/121.6, allocations: 7.031 kB / 22.78 GB, free: 97.37 MB / 1.386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1053/121.7, allocations: 30.28 MB / 22.81 GB, free: 96.89 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004337/121.7, allocations: 67.03 kB / 22.81 GB, free: 96.89 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07176/121.7, allocations: 11.2 MB / 22.82 GB, free: 96.75 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02531/121.8, allocations: 2.56 MB / 22.82 GB, free: 96.75 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07668/121.8, allocations: 29.08 MB / 22.85 GB, free: 91.91 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0444/121.9, allocations: 2.369 MB / 22.86 GB, free: 91.91 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006052/121.9, allocations: 0.55 MB / 22.86 GB, free: 91.91 MB / 1.386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 310 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1233): * Single equations (assignments): 1227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 3 {(1,100.0%) 12,(1,100.0%) 8,(1,100.0%) 2} * Non-linear torn systems: 2 {24 208,24 148} Notification: Performance of prepare postOptimizeDAE: time 0.01146/121.9, allocations: 382.6 kB / 22.86 GB, free: 91.8 MB / 1.386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01303/121.9, allocations: 1.948 MB / 22.86 GB, free: 91.8 MB / 1.386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1143/122, allocations: 28.52 MB / 22.89 GB, free: 91.15 MB / 1.386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002958/122, allocations: 128.4 kB / 22.89 GB, free: 91.15 MB / 1.386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.865e-05/122, allocations: 7.562 kB / 22.89 GB, free: 91.15 MB / 1.386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07993/122.1, allocations: 23.4 MB / 22.91 GB, free: 90.51 MB / 1.386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2799/122.4, allocations: 65.2 MB / 22.97 GB, free: 87.72 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001603/122.4, allocations: 15.81 kB / 22.97 GB, free: 87.72 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03138/122.4, allocations: 2.839 MB / 22.98 GB, free: 87.72 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02727/122.4, allocations: 4.111 MB / 22.98 GB, free: 87.64 MB / 1.386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005232/122.5, allocations: 222.1 kB / 22.98 GB, free: 87.64 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0421/122.5, allocations: 17.32 MB / 23 GB, free: 82.22 MB / 1.386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.864e-05/122.5, allocations: 23.66 kB / 23 GB, free: 82.22 MB / 1.386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1351/122.6, allocations: 49.99 MB / 23.05 GB, free: 73.33 MB / 1.386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1782/122.8, allocations: 68.72 MB / 23.11 GB, free: 51.73 MB / 1.386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0305/122.8, allocations: 6.193 MB / 23.12 GB, free: 47.71 MB / 1.386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01252/122.9, allocations: 155.5 kB / 23.12 GB, free: 47.63 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04703/122.9, allocations: 2.168 MB / 23.12 GB, free: 46.36 MB / 1.386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006125/122.9, allocations: 0.6591 MB / 23.12 GB, free: 46.05 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005237/122.9, allocations: 411.2 kB / 23.12 GB, free: 45.79 MB / 1.386 GB Notification: Performance of sort global known variables: time 0.06197/123, allocations: 18.5 MB / 23.14 GB, free: 31.45 MB / 1.386 GB Notification: Performance of remove unused functions: time 0.1233/123.1, allocations: 16.47 MB / 23.16 GB, free: 15.13 MB / 1.386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * Number of states: 50 (hexFixIni.hexReg[1].ele[1,1].vol1.dynBal.U,hexFixIni.hexReg[1].ele[1,1].vol2.dynBal.U,hexFixIni.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hexFixIni.hexReg[1].ele[1,1].mas.T,hexFixIni.hexReg[1].ele[1,2].vol1.dynBal.U,hexFixIni.hexReg[1].ele[1,2].vol2.dynBal.U,hexFixIni.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hexFixIni.hexReg[1].ele[1,2].mas.T,hexFixIni.hexReg[1].ele[1,3].vol1.dynBal.U,hexFixIni.hexReg[1].ele[1,3].vol2.dynBal.U,hexFixIni.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hexFixIni.hexReg[1].ele[1,3].mas.T,hexFixIni.hexReg[2].ele[1,1].vol1.dynBal.U,hexFixIni.hexReg[2].ele[1,1].vol2.dynBal.U,hexFixIni.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hexFixIni.hexReg[2].ele[1,1].mas.T,hexFixIni.hexReg[2].ele[1,2].vol1.dynBal.U,hexFixIni.hexReg[2].ele[1,2].vol2.dynBal.U,hexFixIni.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hexFixIni.hexReg[2].ele[1,2].mas.T,hexFixIni.hexReg[2].ele[1,3].vol1.dynBal.U,hexFixIni.hexReg[2].ele[1,3].vol2.dynBal.U,hexFixIni.hexReg[2].ele[1,3].vol2.dynBal.m,hexFixIni.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hexFixIni.hexReg[2].ele[1,3].mas.T,hexSteStaIni.port_b1.h_outflow,hexSteStaIni.hexReg[1].ele[1,1].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[1].ele[1,1].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[1].ele[1,1].mas.T,hexSteStaIni.hexReg[1].ele[1,2].port_b1.h_outflow,hexSteStaIni.hexReg[1].ele[1,2].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[1].ele[1,2].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[1].ele[1,2].mas.T,hexSteStaIni.hexReg[1].ele[1,3].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[1].ele[1,3].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[1].ele[1,3].mas.T,hexSteStaIni.hexReg[1].port_a1[1].h_outflow,hexSteStaIni.hexReg[1].port_b1[1].h_outflow,hexSteStaIni.hexReg[2].ele[1,1].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[2].ele[1,1].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[2].ele[1,1].mas.T,hexSteStaIni.hexReg[2].ele[1,2].port_b1.h_outflow,hexSteStaIni.hexReg[2].ele[1,2].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[2].ele[1,2].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[2].ele[1,2].mas.T,hexSteStaIni.hexReg[2].ele[1,3].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[2].ele[1,3].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[2].ele[1,3].vol2.dynBal.m,hexSteStaIni.hexReg[2].ele[1,3].mas.T,hexSteStaIni.hexReg[2].port_b1[1].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1098): * Single equations (assignments): 1080 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 12,(1,100.0%) 12,(1,100.0%) 2} * Non-linear torn systems: 1 {24 148} Notification: Performance of Backend phase and start with SimCode phase: time 0.03827/123.1, allocations: 18.59 MB / 23.17 GB, free: 14.66 MB / 1.401 GB Notification: Performance of simCode: created initialization part: time 1.44/124.6, allocations: 42.55 MB / 23.22 GB, free: 174.3 MB / 1.417 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-05/124.6, allocations: 16.56 kB / 23.22 GB, free: 174.3 MB / 1.417 GB Notification: Performance of simCode: created simulation system equations: time 0.0534/124.6, allocations: 12.61 MB / 23.23 GB, free: 173.9 MB / 1.417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1466/124.8, allocations: 13.6 MB / 23.24 GB, free: 173.6 MB / 1.417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3309/125.1, allocations: 69.04 MB / 23.31 GB, free: 165.3 MB / 1.417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.08813/125.2, allocations: 24.44 MB / 23.33 GB, free: 163.8 MB / 1.417 GB Notification: Performance of SimCode: time 2.324e-06/125.2, allocations: 1.219 kB / 23.33 GB, free: 163.8 MB / 1.417 GB