Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",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.01293/0.01293, allocations: 87.36 kB / 15.04 MB, free: 6.051 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.001835/0.001835, allocations: 168.8 kB / 15.92 MB, free: 5.992 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.055/2.055, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.526/2.526, allocations: 252.8 MB / 0.511 GB, free: 8.352 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007601/0.0007604, allocations: 18.88 kB / 0.6243 GB, free: 28.39 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2707, allocations: 106.2 MB / 0.7281 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 1/1.271, allocations: 210.2 MB / 0.9333 GB, free: 1.277 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03234/1.303, allocations: 15.84 MB / 0.9488 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003636/1.307, allocations: 63.72 kB / 0.9488 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005256/1.312, allocations: 1 MB / 0.9498 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01469/1.327, allocations: 3.235 MB / 0.953 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00863/1.336, allocations: 1.828 MB / 0.9548 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008442/1.344, allocations: 3.045 MB / 0.9577 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003069/1.347, allocations: 1.331 MB / 0.959 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005447/1.353, allocations: 1.57 MB / 0.9606 GB, free: 15.88 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002856/1.356, allocations: 0.9776 MB / 0.9615 GB, free: 15.31 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004996/1.356, allocations: 71.12 kB / 0.9616 GB, free: 15.31 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005669/1.362, allocations: 1.304 MB / 0.9629 GB, free: 14.75 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001002/1.363, allocations: 440.7 kB / 0.9633 GB, free: 14.47 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001018/1.364, allocations: 436.9 kB / 0.9637 GB, free: 14.23 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005615/1.369, allocations: 2.458 MB / 0.9661 GB, free: 12.55 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/1.37, allocations: 0 / 0.9661 GB, free: 12.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.595e-06/1.37, allocations: 0 / 0.9661 GB, free: 12.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.335e-05/1.37, allocations: 0 / 0.9661 GB, free: 12.55 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.00631/1.376, allocations: 2.085 MB / 0.9681 GB, free: 11.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/1.376, allocations: 11.19 kB / 0.9682 GB, free: 11.02 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005877/1.377, allocations: 205.4 kB / 0.9683 GB, free: 10.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002644/1.379, allocations: 372.6 kB / 0.9687 GB, free: 10.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004224/1.384, allocations: 1.322 MB / 0.97 GB, free: 9.668 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/1.384, allocations: 114 kB / 0.9701 GB, free: 9.613 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003067/1.384, allocations: 142.1 kB / 0.9702 GB, free: 9.566 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004229/1.388, allocations: 1.494 MB / 0.9717 GB, free: 8.625 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.643e-05/1.388, allocations: 0 / 0.9717 GB, free: 8.625 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002/1.389, allocations: 57.78 kB / 0.9718 GB, free: 8.582 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.63e-05/1.389, allocations: 56.19 kB / 0.9718 GB, free: 8.574 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003672/1.392, allocations: 1.158 MB / 0.9729 GB, free: 8 MB / 0.698 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.01522/1.408, allocations: 7.309 MB / 0.9801 GB, free: 224 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002708/1.41, allocations: 0.8564 MB / 0.9809 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/1.412, allocations: 0.5461 MB / 0.9814 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.836e-05/1.412, allocations: 48.09 kB / 0.9815 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=74): time 3.396e-06/1.412, allocations: 0 / 0.9815 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74): time 0.01737/1.429, allocations: 2.201 MB / 0.9836 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/1.429, allocations: 60.06 kB / 0.9837 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004412/1.434, allocations: 1.321 MB / 0.985 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002915/1.434, allocations: 41.7 kB / 0.985 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001342/1.435, allocations: 0.7977 MB / 0.9858 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006954/1.436, allocations: 260.2 kB / 0.9861 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/1.436, allocations: 16 kB / 0.9861 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002595/1.437, allocations: 334 kB / 0.9864 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/1.438, allocations: 333.8 kB / 0.9867 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002104/1.44, allocations: 0.5677 MB / 0.9873 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/1.442, allocations: 414.8 kB / 0.9877 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/1.442, allocations: 0 / 0.9877 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.006628/1.449, allocations: 1.267 MB / 0.9889 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001324/1.45, allocations: 1.966 MB / 0.9908 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.871e-05/1.451, allocations: 4 kB / 0.9908 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004811/1.455, allocations: 430.1 kB / 0.9912 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/1.457, allocations: 155.8 kB / 0.9914 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003686/1.461, allocations: 2.057 MB / 0.9934 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003444/1.464, allocations: 190.9 kB / 0.9936 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003024/1.465, allocations: 36 kB / 0.9936 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.465, allocations: 4.625 kB / 0.9936 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005243/1.47, allocations: 1.072 MB / 0.9947 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.492e-05/1.47, allocations: 8 kB / 0.9947 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003705/1.474, allocations: 364.8 kB / 0.995 GB, free: 260 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/1.476, allocations: 159.7 kB / 0.9952 GB, free: 100 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007852/1.484, allocations: 3.874 MB / 0.9989 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003247/1.487, allocations: 180 kB / 0.9991 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003151/1.487, allocations: 36 kB / 0.9992 GB, free: 11.72 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (79): * Single equations (assignments): 75 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001872/1.489, allocations: 484.7 kB / 0.9996 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007734/1.49, allocations: 158.1 kB / 0.9998 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007592/1.498, allocations: 1.23 MB / 1.001 GB, free: 9.824 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.723e-05/1.498, allocations: 8 kB / 1.001 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/1.498, allocations: 4 kB / 1.001 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006824/1.505, allocations: 1.321 MB / 1.002 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008922/1.514, allocations: 2.728 MB / 1.005 GB, free: 5.566 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/1.514, allocations: 3.984 kB / 1.005 GB, free: 5.562 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/1.515, allocations: 103.8 kB / 1.005 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00286/1.518, allocations: 368.8 kB / 1.005 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/1.518, allocations: 16 kB / 1.005 GB, free: 5.078 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002781/1.521, allocations: 2.046 MB / 1.007 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.264e-05/1.521, allocations: 4.047 kB / 1.007 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004202/1.525, allocations: 1.41 MB / 1.009 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/1.526, allocations: 350.9 kB / 1.009 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004368/1.527, allocations: 16 kB / 1.009 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002379/1.529, allocations: 128.6 kB / 1.009 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002617/1.529, allocations: 60.39 kB / 1.009 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/1.529, allocations: 27.98 kB / 1.009 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002386/1.532, allocations: 0.8937 MB / 1.01 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.91e-07/1.532, allocations: 0 / 1.01 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004965/1.537, allocations: 0.9193 MB / 1.011 GB, free: 15 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005583/1.543, allocations: 2.905 MB / 1.014 GB, free: 12 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006216/1.549, allocations: 1.661 MB / 1.016 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.198e-06/1.549, allocations: 0 / 1.016 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00202/1.551, allocations: 482.9 kB / 1.016 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007171/1.558, allocations: 0.7897 MB / 1.017 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/1.571, allocations: 7.34 MB / 1.024 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001715/1.572, allocations: 1.383 MB / 1.025 GB, free: 120 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002483/1.575, allocations: 316.1 kB / 1.026 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001577/1.577, allocations: 0.6438 MB / 1.026 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of SimCode: time 1.683e-06/1.577, allocations: 0 / 1.026 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1292/1.706, allocations: 44.05 MB / 1.069 GB, free: 3.668 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003784/1.706, allocations: 272.1 kB / 1.07 GB, free: 3.316 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.365/6.071, allocations: 8 kB / 1.07 GB, free: 3.309 MB / 0.7917 GB