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.CoolingCapacityAirCooled.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.CoolingCapacityAirCooled,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled",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.8 kB / 15.06 MB, free: 5.555 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.001284/0.001285, allocations: 182.4 kB / 15.95 MB, free: 5.52 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.201/2.201, 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.241/2.241, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006819/0.000682, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7535/0.7543, allocations: 98.72 MB / 0.6834 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003158/0.7575, allocations: 1.899 MB / 0.6853 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003312/0.7609, allocations: 1.598 MB / 0.6869 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.7612, allocations: 2.188 kB / 0.6869 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.7623, allocations: 208.1 kB / 0.6871 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.7626, allocations: 65.81 kB / 0.6871 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.7642, allocations: 373.2 kB / 0.6875 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007182/0.7649, allocations: 253.8 kB / 0.6877 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.7651, allocations: 38.2 kB / 0.6878 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003047/0.7654, allocations: 127.2 kB / 0.6879 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.7657, allocations: 141.5 kB / 0.688 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.907e-05/0.7658, allocations: 17.5 kB / 0.688 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006399/0.7665, allocations: 193.4 kB / 0.6882 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.7667, allocations: 107.1 kB / 0.6883 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.7668, allocations: 79.17 kB / 0.6884 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0008818/0.7677, allocations: 450.6 kB / 0.6888 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.7677, allocations: 1.062 kB / 0.6888 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7677, allocations: 0 / 0.6888 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.415e-06/0.7677, allocations: 4 kB / 0.6888 GB, free: 13.51 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001587/0.7693, allocations: 0.6596 MB / 0.6895 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.7694, allocations: 9.656 kB / 0.6895 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.732e-05/0.7695, allocations: 43.95 kB / 0.6895 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0028/0.7723, allocations: 163.9 kB / 0.6897 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007703/0.7731, allocations: 351.1 kB / 0.69 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.7733, allocations: 77.03 kB / 0.6901 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.775e-05/0.7733, allocations: 11.2 kB / 0.6901 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.7752, allocations: 459.4 kB / 0.6905 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.7752, allocations: 1.25 kB / 0.6905 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-05/0.7753, allocations: 4 kB / 0.6905 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.7753, allocations: 10.14 kB / 0.6905 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00292/0.7782, allocations: 0.619 MB / 0.6912 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/0.7815, allocations: 1.065 MB / 0.6922 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009661/0.7912, allocations: 0.9129 MB / 0.6931 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.027e-05/0.7913, allocations: 2.156 kB / 0.6931 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001882/0.7932, allocations: 462.4 kB / 0.6935 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 3.146e-06/0.7932, allocations: 0 / 0.6935 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.004592/0.7978, allocations: 0.9789 MB / 0.6945 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.7979, allocations: 55.22 kB / 0.6945 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007952/0.7987, allocations: 436.4 kB / 0.695 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.7989, allocations: 30.48 kB / 0.695 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.799, allocations: 179.1 kB / 0.6952 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.605e-05/0.7991, allocations: 42.52 kB / 0.6952 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.7992, allocations: 5.375 kB / 0.6952 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.7993, allocations: 348.6 kB / 0.6955 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/0.801, allocations: 401 kB / 0.6959 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.8025, allocations: 393.9 kB / 0.6963 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.804, allocations: 371.8 kB / 0.6966 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.804, allocations: 3.938 kB / 0.6966 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003497/0.8075, allocations: 0.9505 MB / 0.6976 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.252e-05/0.8076, allocations: 40.03 kB / 0.6976 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.8076, allocations: 0 / 0.6976 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.8076, allocations: 1.375 kB / 0.6976 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008216/0.8085, allocations: 80.59 kB / 0.6977 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.8085, allocations: 0 / 0.6977 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007759/0.8093, allocations: 64.03 kB / 0.6978 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.575e-05/0.8094, allocations: 10.83 kB / 0.6978 GB, free: 9.387 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 (17): * Single equations (assignments): 16 * 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.0003866/0.8098, allocations: 197 kB / 0.698 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.637e-05/0.8099, allocations: 30.78 kB / 0.698 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.051e-05/0.81, allocations: 41.75 kB / 0.698 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.81, allocations: 1.469 kB / 0.698 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.81, allocations: 5.344 kB / 0.698 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.81, allocations: 0 / 0.698 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007799/0.8108, allocations: 0.544 MB / 0.6986 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.8108, allocations: 0 / 0.6986 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008091/0.8116, allocations: 75.98 kB / 0.6986 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-06/0.8117, allocations: 5.281 kB / 0.6986 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/0.8117, allocations: 10.64 kB / 0.6986 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.8117, allocations: 1.156 kB / 0.6986 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8117, allocations: 0 / 0.6986 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002885/0.8146, allocations: 0.6971 MB / 0.6993 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/0.8149, allocations: 172.9 kB / 0.6995 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-05/0.815, allocations: 7.688 kB / 0.6995 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008061/0.8159, allocations: 61.59 kB / 0.6996 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.816, allocations: 20.19 kB / 0.6996 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.171e-05/0.816, allocations: 9.422 kB / 0.6996 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005661/0.8166, allocations: 314.4 kB / 0.6999 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.6e-07/0.8166, allocations: 0 / 0.6999 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006335/0.8173, allocations: 88.17 kB / 0.7 GB, free: 7.949 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 (16): * Single equations (assignments): 14 * 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.003544/0.8208, allocations: 1.303 MB / 0.7012 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00313/0.824, allocations: 0.8024 MB / 0.702 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.824, allocations: 1.438 kB / 0.702 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.8255, allocations: 343.5 kB / 0.7024 GB, free: 6.523 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006847/0.8262, allocations: 66.55 kB / 0.7024 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.8384, allocations: 3.75 MB / 0.7061 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.8389, allocations: 0.8244 MB / 0.7069 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008789/0.8398, allocations: 105.4 kB / 0.707 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.8401, allocations: 105.3 kB / 0.7071 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of SimCode: time 1.442e-06/0.8401, allocations: 0 / 0.7071 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04164/0.8818, allocations: 9.924 MB / 0.7168 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004314/0.8823, allocations: 268.9 kB / 0.717 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.967/3.85, allocations: 0 / 0.717 GB, free: 11.65 MB / 0.5417 GB