Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon",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.01436/0.01436, allocations: 88.39 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.001875/0.001874, allocations: 172.8 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.119/2.119, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.509/2.509, allocations: 252.9 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004944, allocations: 11.56 kB / 0.6243 GB, free: 28.45 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2288, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.09159/0.3205, allocations: 51.34 MB / 0.7782 GB, free: 6.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02247/0.343, allocations: 10.22 MB / 0.7882 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002123/0.3452, allocations: 47.62 kB / 0.7882 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003253/0.3485, allocations: 0.6335 MB / 0.7888 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008699/0.3573, allocations: 1.889 MB / 0.7907 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.006064/0.3634, allocations: 1.244 MB / 0.7919 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004956/0.3683, allocations: 1.843 MB / 0.7937 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001943/0.3703, allocations: 0.8018 MB / 0.7945 GB, free: 5.949 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003251/0.3736, allocations: 0.9808 MB / 0.7954 GB, free: 4.965 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.3753, allocations: 0.6066 MB / 0.796 GB, free: 4.355 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002557/0.3756, allocations: 48 kB / 0.7961 GB, free: 4.309 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003576/0.3792, allocations: 0.9789 MB / 0.797 GB, free: 3.328 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004265/0.3797, allocations: 191.2 kB / 0.7972 GB, free: 3.141 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005923/0.3803, allocations: 285 kB / 0.7975 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003605/0.3839, allocations: 1.578 MB / 0.799 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3839, allocations: 0 / 0.799 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.685e-06/0.384, allocations: 7.938 kB / 0.799 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.172e-05/0.384, allocations: 0 / 0.799 GB, free: 1.266 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004338/0.3883, allocations: 1.483 MB / 0.8005 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.3884, allocations: 13.09 kB / 0.8005 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002947/0.3887, allocations: 126.6 kB / 0.8006 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003852/0.3926, allocations: 473.9 kB / 0.8011 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003148/0.3958, allocations: 1.051 MB / 0.8021 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000654/0.3965, allocations: 129.9 kB / 0.8022 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/0.3967, allocations: 80 kB / 0.8023 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003472/0.4002, allocations: 1.003 MB / 0.8033 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.393e-05/0.4002, allocations: 3.984 kB / 0.8033 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.4004, allocations: 35.95 kB / 0.8033 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.114e-05/0.4004, allocations: 16 kB / 0.8033 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004391/0.4048, allocations: 0.929 MB / 0.8042 GB, free: 11.78 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/0.416, allocations: 4.664 MB / 0.8088 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006635/0.4227, allocations: 0.9381 MB / 0.8097 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009224/0.4236, allocations: 0.9107 MB / 0.8106 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.4237, allocations: 39 kB / 0.8106 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 3.768e-06/0.4237, allocations: 0 / 0.8106 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.01492/0.4386, allocations: 2.006 MB / 0.8126 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.4387, allocations: 55.84 kB / 0.8126 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002529/0.4413, allocations: 1.071 MB / 0.8137 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001588/0.4415, allocations: 37.7 kB / 0.8137 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006252/0.4421, allocations: 0.5196 MB / 0.8142 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/0.4423, allocations: 169.6 kB / 0.8144 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-05/0.4424, allocations: 12 kB / 0.8144 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.4426, allocations: 326 kB / 0.8147 GB, free: 444 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/0.4443, allocations: 332.9 kB / 0.815 GB, free: 112 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002014/0.4463, allocations: 0.5367 MB / 0.8156 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.4481, allocations: 368.6 kB / 0.8159 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.4481, allocations: 0 / 0.8159 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00675/0.4549, allocations: 1.237 MB / 0.8171 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007554/0.4557, allocations: 1.486 MB / 0.8186 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.4557, allocations: 7.984 kB / 0.8186 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002248/0.458, allocations: 330.5 kB / 0.8189 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.4591, allocations: 135.8 kB / 0.819 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/0.4618, allocations: 0.9387 MB / 0.8199 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/0.4643, allocations: 191.2 kB / 0.8201 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/0.4645, allocations: 35.97 kB / 0.8202 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.4645, allocations: 4 kB / 0.8202 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006228/0.4708, allocations: 1.092 MB / 0.8212 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.4708, allocations: 4 kB / 0.8212 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00194/0.4728, allocations: 328.3 kB / 0.8215 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.4739, allocations: 131.8 kB / 0.8217 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/0.4764, allocations: 0.9347 MB / 0.8226 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/0.4786, allocations: 171.4 kB / 0.8227 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.4787, allocations: 27.98 kB / 0.8228 GB, free: 7.926 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007603/0.4795, allocations: 356.9 kB / 0.8231 GB, free: 7.566 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/0.4798, allocations: 114.6 kB / 0.8232 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007051/0.4869, allocations: 1.241 MB / 0.8244 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.487, allocations: 4 kB / 0.8244 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.487, allocations: 4 kB / 0.8244 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.487, allocations: 3.984 kB / 0.8244 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009472/0.4965, allocations: 2.341 MB / 0.8267 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.4966, allocations: 7.938 kB / 0.8267 GB, free: 3.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000627/0.4972, allocations: 75.89 kB / 0.8268 GB, free: 3.676 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001866/0.4991, allocations: 324.7 kB / 0.8271 GB, free: 3.355 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-05/0.4992, allocations: 19.98 kB / 0.8271 GB, free: 3.336 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002556/0.5017, allocations: 0.9612 MB / 0.8281 GB, free: 2.352 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.5018, allocations: 7.969 kB / 0.8281 GB, free: 2.344 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008734/0.5105, allocations: 1.568 MB / 0.8296 GB, free: 0.6836 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009426/0.5115, allocations: 291.4 kB / 0.8299 GB, free: 388 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002813/0.5118, allocations: 15.95 kB / 0.8299 GB, free: 372 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/0.5136, allocations: 111.9 kB / 0.83 GB, free: 260 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.5138, allocations: 35.95 kB / 0.83 GB, free: 224 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.975e-05/0.5139, allocations: 27.97 kB / 0.8301 GB, free: 196 kB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002069/0.516, allocations: 0.7469 MB / 0.8308 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5161, allocations: 0 / 0.8308 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002563/0.5186, allocations: 0.5614 MB / 0.8314 GB, free: 14.88 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.00887/0.5276, allocations: 2.853 MB / 0.8341 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006163/0.5338, allocations: 1.21 MB / 0.8353 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.5338, allocations: 0 / 0.8353 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.5357, allocations: 386.9 kB / 0.8357 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004527/0.5402, allocations: 0.527 MB / 0.8362 GB, free: 9.82 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/0.553, allocations: 5.656 MB / 0.8417 GB, free: 4.008 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008979/0.5539, allocations: 1.085 MB / 0.8428 GB, free: 2.891 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00255/0.5565, allocations: 224.8 kB / 0.843 GB, free: 2.668 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/0.558, allocations: 419.2 kB / 0.8434 GB, free: 2.258 MB / 0.6667 GB Notification: Performance of SimCode: time 1.784e-06/0.5581, allocations: 0 / 0.8434 GB, free: 2.258 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.775/1.333, allocations: 33.56 MB / 0.8762 GB, free: 105 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/1.333, allocations: 251.7 kB / 0.8764 GB, free: 104.6 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.746/5.079, allocations: 3.938 kB / 0.8764 GB, free: 104.6 MB / 0.6667 GB