Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01183/0.01183, allocations: 106.4 kB / 15.06 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001398/0.001398, allocations: 181.6 kB / 15.95 MB, free: 5.516 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.151/2.151, allocations: 194.6 MB / 211.3 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.372/2.372, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004866, allocations: 16 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7718/0.7723, allocations: 98.71 MB / 0.6834 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003991/0.7764, allocations: 2.333 MB / 0.6857 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004154/0.7806, allocations: 1.924 MB / 0.6876 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/0.7809, allocations: 1.5 kB / 0.6876 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.7823, allocations: 249.5 kB / 0.6878 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003543/0.7826, allocations: 84.05 kB / 0.6879 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.7845, allocations: 417.9 kB / 0.6883 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0008997/0.7854, allocations: 328.2 kB / 0.6886 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.7857, allocations: 49.66 kB / 0.6887 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003675/0.786, allocations: 169.4 kB / 0.6888 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000341/0.7864, allocations: 187.9 kB / 0.689 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.7865, allocations: 22.97 kB / 0.689 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007107/0.7872, allocations: 195.3 kB / 0.6892 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000266/0.7875, allocations: 148.3 kB / 0.6894 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.7877, allocations: 91.83 kB / 0.6895 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.789, allocations: 0.5683 MB / 0.69 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7891, allocations: 0 / 0.69 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.715e-06/0.7891, allocations: 4 kB / 0.69 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.048e-05/0.7891, allocations: 0 / 0.69 GB, free: 12.64 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00224/0.7914, allocations: 0.7726 MB / 0.6908 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.7914, allocations: 13.31 kB / 0.6908 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001638/0.7916, allocations: 45.89 kB / 0.6908 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003756/0.7954, allocations: 245.6 kB / 0.6911 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.7965, allocations: 401.6 kB / 0.6914 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.7967, allocations: 83.3 kB / 0.6915 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.867e-05/0.7968, allocations: 14.19 kB / 0.6915 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/0.7994, allocations: 0.5557 MB / 0.6921 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.7995, allocations: 1.031 kB / 0.6921 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.842e-05/0.7996, allocations: 5.953 kB / 0.6921 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.7996, allocations: 2.281 kB / 0.6921 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004128/0.8037, allocations: 0.8326 MB / 0.6929 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0047/0.8085, allocations: 1.288 MB / 0.6942 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01016/0.8187, allocations: 1.087 MB / 0.6952 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.383e-05/0.8188, allocations: 5.203 kB / 0.6952 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002477/0.8213, allocations: 0.5473 MB / 0.6958 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=21): time 4.308e-06/0.8214, allocations: 0 / 0.6958 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21): time 0.006297/0.8277, allocations: 1.268 MB / 0.697 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.8278, allocations: 55.53 kB / 0.6971 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.8288, allocations: 0.5163 MB / 0.6976 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002655/0.8291, allocations: 38.78 kB / 0.6976 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.8294, allocations: 198.8 kB / 0.6978 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.8295, allocations: 68.31 kB / 0.6978 GB, free: 8.988 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.595e-05/0.8296, allocations: 5.344 kB / 0.6979 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.8297, allocations: 360 kB / 0.6982 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002114/0.8319, allocations: 491.5 kB / 0.6987 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002286/0.8342, allocations: 0.5218 MB / 0.6992 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002018/0.8363, allocations: 467.2 kB / 0.6996 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.8363, allocations: 0 / 0.6996 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00486/0.8412, allocations: 1.141 MB / 0.7007 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.8414, allocations: 41.03 kB / 0.7008 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.8414, allocations: 0 / 0.7008 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.8414, allocations: 5.359 kB / 0.7008 GB, free: 7.402 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.8427, allocations: 111.5 kB / 0.7009 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.8428, allocations: 0 / 0.7009 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.8439, allocations: 85.7 kB / 0.701 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.8441, allocations: 15.59 kB / 0.701 GB, free: 7.312 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,cooCap.stage,$PRE.cooCap.checkBoundsTEva[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005524/0.8447, allocations: 209.2 kB / 0.7012 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.8448, allocations: 39.78 kB / 0.7012 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.845, allocations: 54.38 kB / 0.7013 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.845, allocations: 6.766 kB / 0.7013 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.845, allocations: 4 kB / 0.7013 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.845, allocations: 0 / 0.7013 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.8461, allocations: 0.6402 MB / 0.7019 GB, free: 6.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.8462, allocations: 0 / 0.7019 GB, free: 6.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.8474, allocations: 103.5 kB / 0.702 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.8475, allocations: 1 kB / 0.702 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.787e-05/0.8475, allocations: 15.53 kB / 0.702 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.8476, allocations: 1.219 kB / 0.702 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.8476, allocations: 4 kB / 0.702 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004202/0.8518, allocations: 0.8904 MB / 0.7029 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005633/0.8524, allocations: 185.2 kB / 0.7031 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.8526, allocations: 11.22 kB / 0.7031 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.8537, allocations: 89.98 kB / 0.7032 GB, free: 5.895 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.8539, allocations: 22 kB / 0.7032 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-05/0.854, allocations: 19.56 kB / 0.7032 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007682/0.8548, allocations: 381.1 kB / 0.7036 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.4e-07/0.8548, allocations: 0 / 0.7036 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009038/0.8557, allocations: 106 kB / 0.7037 GB, free: 5.633 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004927/0.8607, allocations: 1.501 MB / 0.7051 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004385/0.8651, allocations: 0.9873 MB / 0.7061 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.8652, allocations: 3.938 kB / 0.7061 GB, free: 4.184 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002082/0.8673, allocations: 445.8 kB / 0.7065 GB, free: 4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008687/0.8682, allocations: 95.2 kB / 0.7066 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/0.8845, allocations: 4.642 MB / 0.7112 GB, free: 1.449 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.885, allocations: 0.8696 MB / 0.712 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001098/0.8861, allocations: 126.9 kB / 0.7121 GB, free: 436 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004626/0.8866, allocations: 136.5 kB / 0.7123 GB, free: 300 kB / 0.5261 GB Notification: Performance of SimCode: time 1.182e-06/0.8866, allocations: 0 / 0.7123 GB, free: 300 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05301/0.9396, allocations: 12.21 MB / 0.7242 GB, free: 4.32 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003375/0.94, allocations: 272.7 kB / 0.7244 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.054/3.994, allocations: 0 / 0.7244 GB, free: 3.957 MB / 0.5417 GB