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.WetCoilDiscretizedInitializationPerfectGases.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.WetCoilDiscretizedInitializationPerfectGases,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitializationPerfectGases",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.962/3.962, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.7047/4.667, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/4.951, allocations: 98.73 MB / 0.6283 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.033/10.98, allocations: 2.475 GB / 3.103 GB, free: 179.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/10.98, allocations: 93.64 kB / 3.103 GB, free: 179.1 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 108.2/119.1, allocations: 19.09 GB / 22.19 GB, free: 51.09 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/119.1, allocations: 14.36 kB / 22.19 GB, free: 51.09 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06649/119.2, allocations: 6.227 MB / 22.2 GB, free: 49.46 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2332/119.4, allocations: 55.58 MB / 22.25 GB, free: 46.98 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001853/119.4, allocations: 0.673 MB / 22.25 GB, free: 46.98 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01608/119.5, allocations: 1.289 MB / 22.26 GB, free: 46.97 MB / 1.276 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1308/119.6, allocations: 34.47 MB / 22.29 GB, free: 46.89 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1467/119.7, allocations: 36.02 MB / 22.32 GB, free: 45.25 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001724/119.7, allocations: 44.47 kB / 22.32 GB, free: 45.25 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01211/119.7, allocations: 20.97 kB / 22.32 GB, free: 45.25 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001305/119.7, allocations: 0.9748 MB / 22.33 GB, free: 45.21 MB / 1.276 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4501/120.2, allocations: 163.9 MB / 22.49 GB, free: 36.35 MB / 1.323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04538/120.2, allocations: 14.7 MB / 22.5 GB, free: 36.29 MB / 1.323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04112/120.3, allocations: 14.33 MB / 22.51 GB, free: 36.16 MB / 1.323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005685/120.3, allocations: 2.862 MB / 22.52 GB, free: 33.23 MB / 1.323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003958/120.3, allocations: 185.8 kB / 22.52 GB, free: 33.18 MB / 1.323 GB Notification: Performance of pre-optimization done (n=1199): time 1.956e-05/120.3, allocations: 0 / 22.52 GB, free: 33.18 MB / 1.323 GB Notification: Performance of matching and sorting (n=1265): time 0.2638/120.6, allocations: 58.52 MB / 22.57 GB, free: 25.19 MB / 1.323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/120.6, allocations: 180.7 kB / 22.57 GB, free: 25.12 MB / 1.323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08172/120.6, allocations: 23.2 MB / 22.6 GB, free: 18.67 MB / 1.323 GB Notification: Performance of collectPreVariables (initialization): time 0.005672/120.6, allocations: 45.42 kB / 22.6 GB, free: 18.64 MB / 1.323 GB Notification: Performance of collectInitialEqns (initialization): time 0.02038/120.7, allocations: 8.16 MB / 22.6 GB, free: 12.34 MB / 1.323 GB Notification: Performance of collectInitialBindings (initialization): time 0.02652/120.7, allocations: 4.262 MB / 22.61 GB, free: 8.391 MB / 1.323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005234/120.7, allocations: 0 / 22.61 GB, free: 8.391 MB / 1.323 GB Notification: Performance of setup shared object (initialization): time 0.002575/120.7, allocations: 0.9225 MB / 22.61 GB, free: 7.613 MB / 1.323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04615/120.7, allocations: 11.65 MB / 22.62 GB, free: 0 / 1.323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04276/120.8, allocations: 15.03 MB / 22.64 GB, free: 1.535 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.146/120.9, allocations: 17.81 MB / 22.65 GB, free: 13.62 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002801/120.9, allocations: 20 kB / 22.65 GB, free: 13.6 MB / 1.354 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.2038/121.1, allocations: 34.22 MB / 22.69 GB, free: 6.969 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.25/122.4, allocations: 52.67 MB / 22.74 GB, free: 85.55 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005012/122.4, allocations: 66.81 kB / 22.74 GB, free: 85.55 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07178/122.5, allocations: 11.19 MB / 22.75 GB, free: 85.41 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03026/122.5, allocations: 2.565 MB / 22.75 GB, free: 85.41 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07869/122.6, allocations: 29.69 MB / 22.78 GB, free: 79.99 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04956/122.6, allocations: 2.409 MB / 22.78 GB, free: 79.99 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00567/122.6, allocations: 0.5549 MB / 22.78 GB, free: 79.99 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/122.6, allocations: 2.688 kB / 22.78 GB, free: 79.99 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1033/122.7, allocations: 30.29 MB / 22.81 GB, free: 79.51 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008147/122.7, allocations: 68.38 kB / 22.81 GB, free: 79.51 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07791/122.8, allocations: 11.19 MB / 22.82 GB, free: 79.37 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02477/122.8, allocations: 2.555 MB / 22.83 GB, free: 79.37 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06829/122.9, allocations: 29.08 MB / 22.85 GB, free: 74.54 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04476/122.9, allocations: 2.375 MB / 22.86 GB, free: 74.54 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005801/123, allocations: 0.5519 MB / 22.86 GB, free: 74.54 MB / 1.37 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.01093/123, allocations: 381.2 kB / 22.86 GB, free: 74.43 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01385/123, allocations: 1.948 MB / 22.86 GB, free: 74.43 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.116/123.1, allocations: 28.51 MB / 22.89 GB, free: 73.78 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002873/123.1, allocations: 127.5 kB / 22.89 GB, free: 73.78 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-05/123.1, allocations: 3.031 kB / 22.89 GB, free: 73.78 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08376/123.2, allocations: 23.4 MB / 22.91 GB, free: 73.14 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.247/123.4, allocations: 65.21 MB / 22.97 GB, free: 70.34 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002391/123.4, allocations: 14.31 kB / 22.97 GB, free: 70.34 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03139/123.5, allocations: 2.841 MB / 22.98 GB, free: 70.34 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02655/123.5, allocations: 4.102 MB / 22.98 GB, free: 70.26 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005007/123.5, allocations: 229 kB / 22.98 GB, free: 70.26 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04/123.5, allocations: 17.31 MB / 23 GB, free: 64.84 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.847e-05/123.5, allocations: 25.75 kB / 23 GB, free: 64.84 MB / 1.37 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1371/123.7, allocations: 49.99 MB / 23.05 GB, free: 55.95 MB / 1.37 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1939/123.9, allocations: 68.72 MB / 23.11 GB, free: 32.77 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03878/123.9, allocations: 6.195 MB / 23.12 GB, free: 28.74 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01332/123.9, allocations: 154.2 kB / 23.12 GB, free: 28.65 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04096/124, allocations: 2.171 MB / 23.12 GB, free: 27.38 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005377/124, allocations: 0.6562 MB / 23.12 GB, free: 27.08 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004906/124, allocations: 412.9 kB / 23.12 GB, free: 26.81 MB / 1.37 GB Notification: Performance of sort global known variables: time 0.05519/124, allocations: 18.5 MB / 23.14 GB, free: 11.81 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.1411/124.2, allocations: 17.9 MB / 23.16 GB, free: 14.54 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.04595/124.2, allocations: 18.64 MB / 23.18 GB, free: 14.19 MB / 1.401 GB Notification: Performance of simCode: created initialization part: time 1.336/125.5, allocations: 42.72 MB / 23.22 GB, free: 161.9 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 3.743e-05/125.5, allocations: 11.47 kB / 23.22 GB, free: 161.9 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.03695/125.6, allocations: 12.6 MB / 23.23 GB, free: 161.5 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1298/125.7, allocations: 13.6 MB / 23.24 GB, free: 161.2 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2781/126, allocations: 69.03 MB / 23.31 GB, free: 152.8 MB / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.08936/126.1, allocations: 24.44 MB / 23.34 GB, free: 151.4 MB / 1.401 GB Notification: Performance of SimCode: time 1.773e-06/126.1, allocations: 1.656 kB / 23.34 GB, free: 151.4 MB / 1.401 GB