Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01119/0.0112, allocations: 92.88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001327/0.001327, allocations: 173.5 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.177/2.177, allocations: 205.5 MB / 222.2 MB, free: 13.57 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.487/2.487, allocations: 252.8 MB / 0.511 GB, free: 8.309 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004951, allocations: 15.72 kB / 0.6243 GB, free: 21.1 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2335, allocations: 106.2 MB / 0.7281 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004174/0.2377, allocations: 2.357 MB / 0.7304 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004234/0.242, allocations: 1.962 MB / 0.7323 GB, free: 3.738 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002824/0.2423, allocations: 4 kB / 0.7323 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.2435, allocations: 247.1 kB / 0.7325 GB, free: 3.492 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.2438, allocations: 83.77 kB / 0.7326 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.2455, allocations: 431 kB / 0.733 GB, free: 2.988 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007012/0.2462, allocations: 331.4 kB / 0.7333 GB, free: 2.664 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.2464, allocations: 48.7 kB / 0.7334 GB, free: 2.617 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.2467, allocations: 167.6 kB / 0.7335 GB, free: 2.453 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/0.247, allocations: 191.3 kB / 0.7337 GB, free: 2.266 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.455e-05/0.2471, allocations: 24 kB / 0.7338 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006203/0.2477, allocations: 211.7 kB / 0.734 GB, free: 2.035 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002296/0.248, allocations: 147.6 kB / 0.7341 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.2481, allocations: 93.52 kB / 0.7342 GB, free: 1.793 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0008793/0.249, allocations: 0.5653 MB / 0.7347 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.249, allocations: 0 / 0.7347 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2491, allocations: 4 kB / 0.7347 GB, free: 1.223 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.2491, allocations: 0 / 0.7347 GB, free: 1.223 MB / 0.5573 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.0019/0.251, allocations: 0.7722 MB / 0.7355 GB, free: 400 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.2511, allocations: 8.031 kB / 0.7355 GB, free: 392 kB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.988e-05/0.2512, allocations: 46.55 kB / 0.7355 GB, free: 336 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003617/0.2548, allocations: 247.2 kB / 0.7358 GB, free: 88 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.2559, allocations: 405.1 kB / 0.7362 GB, free: 15.65 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.2561, allocations: 75.39 kB / 0.7362 GB, free: 15.56 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.63e-05/0.2562, allocations: 20 kB / 0.7363 GB, free: 15.54 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002484/0.2587, allocations: 0.5558 MB / 0.7368 GB, free: 14.98 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.2588, allocations: 3.938 kB / 0.7368 GB, free: 14.98 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.006e-05/0.2589, allocations: 8 kB / 0.7368 GB, free: 14.97 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2589, allocations: 0 / 0.7368 GB, free: 14.97 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00406/0.2629, allocations: 0.8352 MB / 0.7376 GB, free: 14.13 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004038/0.267, allocations: 1.277 MB / 0.7389 GB, free: 12.8 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/0.2771, allocations: 1.091 MB / 0.7399 GB, free: 11.7 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.596e-05/0.2772, allocations: 0 / 0.7399 GB, free: 11.7 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002357/0.2796, allocations: 0.5616 MB / 0.7405 GB, free: 11.13 MB / 0.573 GB Notification: Performance of pre-optimization done (n=21): time 3.727e-06/0.2796, allocations: 0 / 0.7405 GB, free: 11.13 MB / 0.573 GB Notification: Performance of matching and sorting (n=21): time 0.006038/0.2857, allocations: 1.267 MB / 0.7417 GB, free: 9.863 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.2858, allocations: 59.34 kB / 0.7418 GB, free: 9.793 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.2868, allocations: 0.5135 MB / 0.7423 GB, free: 9.273 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.287, allocations: 37.7 kB / 0.7423 GB, free: 9.23 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.2873, allocations: 200.4 kB / 0.7425 GB, free: 9.031 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.2874, allocations: 67.09 kB / 0.7426 GB, free: 8.965 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.2875, allocations: 4 kB / 0.7426 GB, free: 8.961 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.2877, allocations: 358.8 kB / 0.7429 GB, free: 8.602 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002105/0.2898, allocations: 496.5 kB / 0.7434 GB, free: 8.113 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/0.292, allocations: 0.517 MB / 0.7439 GB, free: 7.59 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001973/0.294, allocations: 463.7 kB / 0.7443 GB, free: 7.133 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.294, allocations: 0 / 0.7443 GB, free: 7.133 MB / 0.573 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.004673/0.2987, allocations: 1.146 MB / 0.7455 GB, free: 5.973 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.333e-05/0.2988, allocations: 41.69 kB / 0.7455 GB, free: 5.926 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.2989, allocations: 0 / 0.7455 GB, free: 5.926 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.2989, allocations: 11.94 kB / 0.7455 GB, free: 5.914 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.3001, allocations: 103.9 kB / 0.7456 GB, free: 5.812 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.3001, allocations: 3.984 kB / 0.7456 GB, free: 5.809 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.3011, allocations: 71.84 kB / 0.7457 GB, free: 5.738 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.383e-05/0.3012, allocations: 15.98 kB / 0.7457 GB, free: 5.723 MB / 0.573 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.0004788/0.3017, allocations: 213.7 kB / 0.7459 GB, free: 5.504 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.3019, allocations: 39.53 kB / 0.7459 GB, free: 5.465 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.302, allocations: 55.91 kB / 0.746 GB, free: 5.406 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.302, allocations: 3.953 kB / 0.746 GB, free: 5.402 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.302, allocations: 8 kB / 0.746 GB, free: 5.395 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3021, allocations: 0 / 0.746 GB, free: 5.395 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.3032, allocations: 0.6491 MB / 0.7466 GB, free: 4.695 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.3032, allocations: 0 / 0.7466 GB, free: 4.695 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.3044, allocations: 107.9 kB / 0.7467 GB, free: 4.59 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.3045, allocations: 3.938 kB / 0.7467 GB, free: 4.586 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.194e-05/0.3045, allocations: 11.94 kB / 0.7468 GB, free: 4.574 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/0.3045, allocations: 4 kB / 0.7468 GB, free: 4.57 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3046, allocations: 0 / 0.7468 GB, free: 4.57 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004036/0.3086, allocations: 0.8905 MB / 0.7476 GB, free: 3.66 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004117/0.3091, allocations: 188.5 kB / 0.7478 GB, free: 3.457 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.3092, allocations: 8 kB / 0.7478 GB, free: 3.449 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.3103, allocations: 87.88 kB / 0.7479 GB, free: 3.363 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.3104, allocations: 23.95 kB / 0.7479 GB, free: 3.34 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.631e-05/0.3105, allocations: 11.98 kB / 0.7479 GB, free: 3.328 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007185/0.3112, allocations: 391 kB / 0.7483 GB, free: 2.945 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.9e-07/0.3113, allocations: 0 / 0.7483 GB, free: 2.945 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006466/0.3119, allocations: 99.91 kB / 0.7484 GB, free: 2.848 MB / 0.573 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.004802/0.3167, allocations: 1.483 MB / 0.7499 GB, free: 1.344 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004351/0.3211, allocations: 0.9948 MB / 0.7508 GB, free: 344 kB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3212, allocations: 0 / 0.7508 GB, free: 344 kB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002057/0.3233, allocations: 450.7 kB / 0.7513 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007436/0.324, allocations: 93.78 kB / 0.7513 GB, free: 15.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/0.3394, allocations: 4.662 MB / 0.7559 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006301/0.3401, allocations: 0.8697 MB / 0.7567 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001042/0.3412, allocations: 130.9 kB / 0.7569 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004885/0.3417, allocations: 139.4 kB / 0.757 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of SimCode: time 1.242e-06/0.3417, allocations: 0 / 0.757 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05445/0.3961, allocations: 12.08 MB / 0.7688 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004346/0.3966, allocations: 261.8 kB / 0.7691 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.84/3.236, allocations: 0 / 0.7691 GB, free: 13.72 MB / 0.6042 GB