Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",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.01201/0.01201, allocations: 223.7 kB / 15.17 MB, free: 5.992 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.001131/0.00113, allocations: 178.5 kB / 16.06 MB, free: 5.867 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 3.584/3.584, allocations: 389 MB / 405.9 MB, free: 67.69 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.344/4.344, allocations: 472.3 MB / 0.9018 GB, free: 13.43 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005074/0.0005077, allocations: 12 kB / 1.008 GB, free: 0.7812 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6074/0.6079, allocations: 98.72 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.9855/1.594, allocations: 274.5 MB / 1.372 GB, free: 40.41 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.09774/1.691, allocations: 45.97 MB / 1.417 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01276/1.704, allocations: 258.2 kB / 1.417 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.01314/1.717, allocations: 2.732 MB / 1.42 GB, free: 6.695 MB / 0.6823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.03716/1.755, allocations: 9.411 MB / 1.429 GB, free: 13.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.02446/1.779, allocations: 5.501 MB / 1.435 GB, free: 7.805 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.03822/1.817, allocations: 20.97 MB / 1.455 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0115/1.829, allocations: 4.231 MB / 1.459 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01837/1.847, allocations: 5.684 MB / 1.465 GB, free: 8.777 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01211/1.859, allocations: 4.596 MB / 1.469 GB, free: 4.16 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.002486/1.862, allocations: 232 kB / 1.469 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01483/1.877, allocations: 2.458 MB / 1.472 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.003243/1.88, allocations: 1.03 MB / 1.473 GB, free: 444 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.004368/1.885, allocations: 1.373 MB / 1.474 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01693/1.902, allocations: 7.286 MB / 1.481 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/1.902, allocations: 7.938 kB / 1.481 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.565e-06/1.902, allocations: 0 / 1.481 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0003316/1.902, allocations: 0 / 1.481 GB, free: 7.742 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01791/1.92, allocations: 6.224 MB / 1.487 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/1.92, allocations: 12.03 kB / 1.487 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001689/1.922, allocations: 0.5357 MB / 1.488 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003225/1.925, allocations: 0.7803 MB / 1.489 GB, free: 44 kB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01591/1.941, allocations: 4.978 MB / 1.494 GB, free: 11 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004398/1.941, allocations: 324.1 kB / 1.494 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001204/1.943, allocations: 435.9 kB / 1.494 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/1.955, allocations: 4.292 MB / 1.498 GB, free: 5.68 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001396/1.955, allocations: 15.86 kB / 1.498 GB, free: 5.664 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000544/1.956, allocations: 176 kB / 1.499 GB, free: 5.492 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002061/1.956, allocations: 121.8 kB / 1.499 GB, free: 5.375 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009508/1.965, allocations: 2.937 MB / 1.502 GB, free: 2.434 MB / 0.7605 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.04203/2.007, allocations: 24.93 MB / 1.526 GB, free: 7.473 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005019/2.012, allocations: 2.755 MB / 1.529 GB, free: 4.516 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002498/2.015, allocations: 0.9761 MB / 1.53 GB, free: 3.539 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004328/2.019, allocations: 3.912 MB / 1.533 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/2.02, allocations: 76.48 kB / 1.534 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=215): time 5.45e-06/2.02, allocations: 0 / 1.534 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=215): time 0.0174/2.037, allocations: 3.998 MB / 1.537 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/2.037, allocations: 73.41 kB / 1.537 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009544/2.047, allocations: 4.164 MB / 1.542 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0005562/2.047, allocations: 77.7 kB / 1.542 GB, free: 6.273 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.003506/2.051, allocations: 2.815 MB / 1.544 GB, free: 3.438 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001416/2.052, allocations: 0.7509 MB / 1.545 GB, free: 2.676 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/2.053, allocations: 60 kB / 1.545 GB, free: 2.617 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002831/2.053, allocations: 411.9 kB / 1.546 GB, free: 2.211 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002363/2.055, allocations: 0.7826 MB / 1.546 GB, free: 1.426 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003609/2.059, allocations: 1.802 MB / 1.548 GB, free: 15.18 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003234/2.062, allocations: 1.073 MB / 1.549 GB, free: 14.09 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.045e-05/2.062, allocations: 4 kB / 1.549 GB, free: 14.09 MB / 0.823 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01279/2.075, allocations: 3.489 MB / 1.553 GB, free: 10.53 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006605/2.076, allocations: 0.7457 MB / 1.553 GB, free: 9.477 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-05/2.076, allocations: 20 kB / 1.553 GB, free: 9.457 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004632/2.08, allocations: 0.569 MB / 1.554 GB, free: 8.875 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003904/2.084, allocations: 0.5616 MB / 1.554 GB, free: 8.312 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/2.088, allocations: 2.683 MB / 1.557 GB, free: 5.527 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00784/2.095, allocations: 0.6188 MB / 1.558 GB, free: 4.906 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006504/2.096, allocations: 136.2 kB / 1.558 GB, free: 4.773 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/2.096, allocations: 4 kB / 1.558 GB, free: 4.77 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008402/2.105, allocations: 2.794 MB / 1.56 GB, free: 1.922 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.014e-05/2.105, allocations: 27.98 kB / 1.561 GB, free: 1.895 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001712/2.106, allocations: 371.6 kB / 1.561 GB, free: 1.52 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003668/2.11, allocations: 0.5577 MB / 1.561 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/2.123, allocations: 7.699 MB / 1.569 GB, free: 8.688 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007966/2.131, allocations: 0.5678 MB / 1.569 GB, free: 8.117 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006798/2.132, allocations: 132 kB / 1.57 GB, free: 7.988 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (323): * Single equations (assignments): 319 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.003256/2.135, allocations: 0.9967 MB / 1.571 GB, free: 6.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001709/2.137, allocations: 0.4978 MB / 1.571 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/2.147, allocations: 3.566 MB / 1.575 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-05/2.148, allocations: 31.98 kB / 1.575 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/2.148, allocations: 5.938 kB / 1.575 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006694/2.154, allocations: 2.415 MB / 1.577 GB, free: 352 kB / 0.8386 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 postOpt removeSimpleEquations (simulation): time 0.0216/2.176, allocations: 8.059 MB / 1.585 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/2.176, allocations: 0 / 1.585 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002758/2.179, allocations: 359.5 kB / 1.585 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001349/2.18, allocations: 315.1 kB / 1.585 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002653/2.18, allocations: 63.97 kB / 1.586 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002616/2.183, allocations: 2.502 MB / 1.588 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/2.183, allocations: 3.938 kB / 1.588 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01171/2.195, allocations: 4.284 MB / 1.592 GB, free: 308 kB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003635/2.198, allocations: 0.9272 MB / 1.593 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001547/2.2, allocations: 44 kB / 1.593 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006497/2.207, allocations: 422.5 kB / 1.594 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005135/2.207, allocations: 157.8 kB / 1.594 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003509/2.207, allocations: 97.56 kB / 1.594 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.007706/2.215, allocations: 2.73 MB / 1.596 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.32e-07/2.215, allocations: 0 / 1.596 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01605/2.231, allocations: 3.249 MB / 1.6 GB, free: 8.684 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * 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 (217): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01544/2.247, allocations: 5.998 MB / 1.605 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.5543/2.801, allocations: 4.39 MB / 1.61 GB, free: 344.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/2.801, allocations: 6.156 kB / 1.61 GB, free: 344.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003732/2.805, allocations: 1.214 MB / 1.611 GB, free: 344.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02322/2.828, allocations: 2.671 MB / 1.614 GB, free: 344 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1095/2.938, allocations: 36.13 MB / 1.649 GB, free: 320.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004966/2.943, allocations: 2.979 MB / 1.652 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.009948/2.953, allocations: 1.143 MB / 1.653 GB, free: 318.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006544/2.959, allocations: 2.543 MB / 1.655 GB, free: 316.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.603e-06/2.959, allocations: 0 / 1.655 GB, free: 316.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.318/3.277, allocations: 147.7 MB / 1.8 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/3.278, allocations: 268.2 kB / 1.8 GB, free: 173 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.91/12.19, allocations: 0 / 1.8 GB, free: 173 MB / 0.8698 GB