Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01524/0.01524, allocations: 88.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.001253/0.001253, allocations: 172.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.16/2.16, 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.46/2.46, allocations: 252.8 MB / 0.511 GB, free: 8.367 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005958/0.000596, allocations: 14.12 kB / 0.6243 GB, free: 21.03 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2982, allocations: 106.2 MB / 0.7281 GB, free: 8.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 1.072/1.37, allocations: 250.9 MB / 0.9731 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.09788/1.468, allocations: 42.57 MB / 1.015 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01196/1.48, allocations: 234.3 kB / 1.015 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.01574/1.496, allocations: 2.985 MB / 1.018 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.04159/1.537, allocations: 8.963 MB / 1.027 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.02706/1.564, allocations: 5.806 MB / 1.032 GB, free: 5.738 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.02952/1.594, allocations: 10.73 MB / 1.043 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01185/1.606, allocations: 4.285 MB / 1.047 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01951/1.625, allocations: 5.383 MB / 1.052 GB, free: 1.238 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009285/1.635, allocations: 3.2 MB / 1.055 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.002495/1.637, allocations: 228 kB / 1.055 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01527/1.653, allocations: 2.793 MB / 1.058 GB, free: 11 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.003188/1.656, allocations: 1.019 MB / 1.059 GB, free: 9.98 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.004122/1.66, allocations: 1.369 MB / 1.061 GB, free: 8.602 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.01749/1.678, allocations: 7.245 MB / 1.068 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/1.678, allocations: 0 / 1.068 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.116e-06/1.678, allocations: 0 / 1.068 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003522/1.678, allocations: 0 / 1.068 GB, free: 1.34 MB / 0.7917 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.01816/1.696, allocations: 6.214 MB / 1.074 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/1.696, allocations: 12.03 kB / 1.074 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00186/1.698, allocations: 0.5357 MB / 1.074 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003415/1.702, allocations: 0.7842 MB / 1.075 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01566/1.717, allocations: 4.628 MB / 1.079 GB, free: 4.941 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004375/1.718, allocations: 336 kB / 1.08 GB, free: 4.609 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001376/1.719, allocations: 428 kB / 1.08 GB, free: 4.191 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01405/1.733, allocations: 4.287 MB / 1.084 GB, free: 15.62 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001724/1.734, allocations: 23.78 kB / 1.084 GB, free: 15.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006035/1.734, allocations: 172 kB / 1.085 GB, free: 15.43 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001895/1.734, allocations: 120 kB / 1.085 GB, free: 15.31 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01119/1.746, allocations: 2.941 MB / 1.088 GB, free: 12.37 MB / 0.823 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.04453/1.79, allocations: 25.11 MB / 1.112 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00546/1.796, allocations: 2.763 MB / 1.115 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004419/1.8, allocations: 3.912 MB / 1.119 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.964e-05/1.8, allocations: 64.56 kB / 1.119 GB, free: 9.391 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=217): time 5.55e-06/1.8, allocations: 0 / 1.119 GB, free: 9.391 MB / 0.8542 GB Notification: Performance of matching and sorting (n=217): time 0.01855/1.819, allocations: 4.057 MB / 1.123 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/1.819, allocations: 73.41 kB / 1.123 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01193/1.831, allocations: 4.367 MB / 1.127 GB, free: 0.8086 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000601/1.832, allocations: 81.7 kB / 1.127 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.003886/1.835, allocations: 2.776 MB / 1.13 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001464/1.837, allocations: 0.7664 MB / 1.131 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/1.837, allocations: 59.94 kB / 1.131 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002909/1.838, allocations: 419.9 kB / 1.131 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002454/1.84, allocations: 0.7787 MB / 1.132 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003588/1.844, allocations: 1.787 MB / 1.133 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003294/1.847, allocations: 1.077 MB / 1.135 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.138e-05/1.847, allocations: 4 kB / 1.135 GB, free: 8.566 MB / 0.8698 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.0135/1.861, allocations: 3.5 MB / 1.138 GB, free: 5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.004635/1.865, allocations: 10.3 MB / 1.148 GB, free: 9.922 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.846e-05/1.865, allocations: 27.95 kB / 1.148 GB, free: 9.895 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004684/1.87, allocations: 0.569 MB / 1.149 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003967/1.874, allocations: 0.5577 MB / 1.149 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003458/1.878, allocations: 2.685 MB / 1.152 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008578/1.886, allocations: 0.6281 MB / 1.152 GB, free: 5.336 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007782/1.887, allocations: 136 kB / 1.153 GB, free: 5.203 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/1.887, allocations: 0 / 1.153 GB, free: 5.203 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00904/1.896, allocations: 2.806 MB / 1.155 GB, free: 2.344 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.085e-05/1.896, allocations: 24.19 kB / 1.155 GB, free: 2.32 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001736/1.898, allocations: 371.1 kB / 1.156 GB, free: 1.945 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00378/1.902, allocations: 0.5577 MB / 1.156 GB, free: 1.387 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/1.915, allocations: 7.787 MB / 1.164 GB, free: 9.008 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007954/1.923, allocations: 0.5891 MB / 1.164 GB, free: 8.418 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006563/1.924, allocations: 132 kB / 1.164 GB, free: 8.289 MB / 0.9011 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.003472/1.927, allocations: 1 MB / 1.165 GB, free: 7.281 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001896/1.929, allocations: 0.5016 MB / 1.166 GB, free: 6.773 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/1.94, allocations: 3.577 MB / 1.169 GB, free: 3.129 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.663e-05/1.94, allocations: 39.91 kB / 1.169 GB, free: 3.09 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.94, allocations: 0 / 1.169 GB, free: 3.09 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007408/1.948, allocations: 2.431 MB / 1.172 GB, free: 0.6055 MB / 0.9011 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.6538/2.601, allocations: 8.235 MB / 1.18 GB, free: 330.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.649e-05/2.602, allocations: 4.312 kB / 1.18 GB, free: 330.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003183/2.605, allocations: 361.4 kB / 1.18 GB, free: 330.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001524/2.606, allocations: 306.2 kB / 1.181 GB, free: 330.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005415/2.607, allocations: 63.11 kB / 1.181 GB, free: 330.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002462/2.609, allocations: 2.499 MB / 1.183 GB, free: 328 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/2.609, allocations: 1.469 kB / 1.183 GB, free: 328 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01371/2.623, allocations: 4.417 MB / 1.187 GB, free: 326.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004165/2.627, allocations: 1.018 MB / 1.188 GB, free: 325.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001593/2.629, allocations: 51.34 kB / 1.188 GB, free: 325.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007699/2.637, allocations: 424.6 kB / 1.189 GB, free: 325.7 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008682/2.638, allocations: 150 kB / 1.189 GB, free: 325.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005816/2.638, allocations: 104.3 kB / 1.189 GB, free: 325.7 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.01055/2.649, allocations: 2.896 MB / 1.192 GB, free: 324.6 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7.32e-07/2.649, allocations: 0 / 1.192 GB, free: 324.6 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01778/2.667, allocations: 3.321 MB / 1.195 GB, free: 324.2 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (219): * Single equations (assignments): 181 * 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.01724/2.684, allocations: 6.396 MB / 1.201 GB, free: 321.2 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01303/2.697, allocations: 4.396 MB / 1.206 GB, free: 319.4 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.39e-05/2.697, allocations: 4.5 kB / 1.206 GB, free: 319.4 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003826/2.701, allocations: 1.228 MB / 1.207 GB, free: 319 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02219/2.723, allocations: 2.648 MB / 1.209 GB, free: 318.5 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03387/2.757, allocations: 29.29 MB / 1.238 GB, free: 294.2 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004027/2.761, allocations: 2.976 MB / 1.241 GB, free: 293.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.007884/2.769, allocations: 1.152 MB / 1.242 GB, free: 292.9 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005179/2.775, allocations: 2.524 MB / 1.245 GB, free: 290.9 MB / 0.9011 GB Notification: Performance of SimCode: time 9.72e-07/2.775, allocations: 0 / 1.245 GB, free: 290.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3299/3.104, allocations: 148 MB / 1.389 GB, free: 149.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/3.105, allocations: 259 kB / 1.389 GB, free: 148.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.85/12.95, allocations: 3.938 kB / 1.389 GB, free: 148.8 MB / 0.9011 GB