Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",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.0129/0.0129, allocations: 222.2 kB / 15.17 MB, free: 5.918 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.001258/0.001258, allocations: 174.5 kB / 16.06 MB, free: 5.832 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.709/3.709, allocations: 389 MB / 405.9 MB, free: 67.66 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.456/4.456, allocations: 472.3 MB / 0.9018 GB, free: 13.37 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005198/0.00052, allocations: 8 kB / 1.008 GB, free: 0.7109 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6082/0.6088, allocations: 98.72 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001713/0.6105, allocations: 1.17 MB / 1.105 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.6121, allocations: 0.8366 MB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.807e-05/0.6122, allocations: 4 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.6124, allocations: 43.69 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 4.532e-05/0.6125, allocations: 15.84 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006853/0.6132, allocations: 167.4 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.891e-05/0.6133, allocations: 51.67 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.997e-05/0.6134, allocations: 0 / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.458e-05/0.6134, allocations: 12.59 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.026e-05/0.6135, allocations: 22.77 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.6135, allocations: 0 / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003978/0.6139, allocations: 143.8 kB / 1.107 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.6139, allocations: 0 / 1.107 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.614, allocations: 33.64 kB / 1.107 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.6142, allocations: 81.36 kB / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.6142, allocations: 0.6562 kB / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.485e-06/0.6142, allocations: 3 kB / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.6142, allocations: 0 / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003327/0.6146, allocations: 359.1 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.6146, allocations: 12.03 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.168e-05/0.6147, allocations: 109.8 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.6147, allocations: 79.23 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.6149, allocations: 266.5 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/0.6149, allocations: 150.6 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.615, allocations: 159.2 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.161e-05/0.6151, allocations: 104.9 kB / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.6151, allocations: 75.28 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.881e-05/0.6151, allocations: 155.7 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.6152, allocations: 150.6 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.956e-05/0.6152, allocations: 158.5 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.6154, allocations: 464.4 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.374e-05/0.6155, allocations: 169.1 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.978e-05/0.6155, allocations: 84.14 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.6156, allocations: 78.47 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.6156, allocations: 111.7 kB / 1.109 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.973e-06/0.6156, allocations: 0 / 1.109 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 8.385e-05/0.6157, allocations: 33.61 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.6157, allocations: 130.6 kB / 1.109 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.6159, allocations: 134.5 kB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.6159, allocations: 25.7 kB / 1.11 GB, free: 178 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.616, allocations: 94.73 kB / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.616, allocations: 0 / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.616, allocations: 0 / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.128e-05/0.6161, allocations: 322.8 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-05/0.6161, allocations: 4 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.871e-05/0.6161, allocations: 5.5 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.178e-05/0.6162, allocations: 11.38 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6162, allocations: 0 / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001318/0.6163, allocations: 45.59 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.6163, allocations: 4 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.6164, allocations: 4 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.6164, allocations: 0 / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.595e-06/0.6164, allocations: 0 / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.6164, allocations: 5.891 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.636e-05/0.6165, allocations: 6.656 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.6165, allocations: 1 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.988e-05/0.6166, allocations: 197.1 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.6166, allocations: 107 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.6167, allocations: 104.9 kB / 1.11 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.511e-05/0.6167, allocations: 191.7 kB / 1.111 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-05/0.6168, allocations: 188.2 kB / 1.111 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.34e-05/0.6168, allocations: 181 kB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.617, allocations: 413.2 kB / 1.111 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/0.617, allocations: 103.4 kB / 1.111 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/0.6171, allocations: 110 kB / 1.112 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-05/0.6171, allocations: 180.2 kB / 1.112 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.6171, allocations: 184.2 kB / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-05/0.6172, allocations: 179.3 kB / 1.112 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.218e-05/0.6172, allocations: 180.4 kB / 1.112 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.06e-05/0.6173, allocations: 317.3 kB / 1.113 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.6174, allocations: 189.9 kB / 1.113 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.6174, allocations: 178.1 kB / 1.113 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.007e-05/0.6175, allocations: 105.5 kB / 1.113 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.6176, allocations: 189 kB / 1.113 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.6176, allocations: 105 kB / 1.113 GB, free: 174 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.527e-05/0.6177, allocations: 97.95 kB / 1.113 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.7e-07/0.6177, allocations: 0.75 kB / 1.113 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004235/0.6181, allocations: 35.94 kB / 1.113 GB, free: 173.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004918/0.6186, allocations: 0.8696 MB / 1.114 GB, free: 173 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.6188, allocations: 33.7 kB / 1.114 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6188, allocations: 0 / 1.114 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.126e-06/0.6188, allocations: 0 / 1.114 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.6193, allocations: 0.5345 MB / 1.115 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008668/0.6202, allocations: 0.5594 MB / 1.115 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.6203, allocations: 0.6848 MB / 1.116 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.381e-05/0.6204, allocations: 7.344 kB / 1.116 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.6204, allocations: 11.44 kB / 1.116 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.153e-06/0.6204, allocations: 0 / 1.116 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02745/0.6479, allocations: 2.482 MB / 1.118 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002887/0.6482, allocations: 230.3 kB / 1.119 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.372/3.02, allocations: 3.5 kB / 1.119 GB, free: 168.7 MB / 0.6823 GB