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.ConvectionResistance.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.ConvectionResistance,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",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.01206/0.01206, allocations: 223 kB / 15.17 MB, free: 6 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.001121/0.001121, allocations: 176 kB / 16.06 MB, free: 5.875 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.725/3.725, allocations: 389.1 MB / 405.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.43/4.43, allocations: 472.3 MB / 0.9017 GB, free: 3.496 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007332/0.0007336, allocations: 12 kB / 1.008 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7127/0.7135, allocations: 98.71 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001599/0.7152, allocations: 0.9972 MB / 1.105 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005053/0.7203, allocations: 3.476 MB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.028e-05/0.7204, allocations: 1.25 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.7204, allocations: 6.469 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0005337/0.721, allocations: 78.36 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.7214, allocations: 90.34 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.445e-05/0.7215, allocations: 30.69 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.7215, allocations: 1.5 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.7217, allocations: 21.86 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.7218, allocations: 37.5 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.7218, allocations: 0 / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006359/0.7225, allocations: 297.9 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.7225, allocations: 3.172 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.7225, allocations: 26.7 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.7228, allocations: 85.62 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7228, allocations: 0 / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7228, allocations: 0 / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.7228, allocations: 1.062 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003672/0.7232, allocations: 351.5 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.7232, allocations: 10.06 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.224e-05/0.7233, allocations: 34.56 kB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.7233, allocations: 5.25 kB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.821e-05/0.7234, allocations: 172.8 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.7234, allocations: 1.438 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.7235, allocations: 1.5 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.517e-05/0.7236, allocations: 31.59 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.7236, allocations: 0 / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.7236, allocations: 3.953 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.7236, allocations: 4.312 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.085e-05/0.7237, allocations: 8.281 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.7238, allocations: 160 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.886e-05/0.7239, allocations: 25.38 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.7239, allocations: 7.141 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000293/0.7242, allocations: 98.98 kB / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.7243, allocations: 35.69 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.472e-06/0.7243, allocations: 0 / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001569/0.7244, allocations: 38.8 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.7245, allocations: 59.86 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.264e-05/0.7246, allocations: 102.4 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.7246, allocations: 25.7 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/0.7246, allocations: 85.39 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.7247, allocations: 14.7 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-06/0.7247, allocations: 0 / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.809e-05/0.7247, allocations: 311.7 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.926e-05/0.7248, allocations: 5.031 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.692e-05/0.7248, allocations: 3.484 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.505e-05/0.7248, allocations: 7.031 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7248, allocations: 0 / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.442e-05/0.7249, allocations: 36.86 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.725, allocations: 9.938 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.725, allocations: 1.5 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.725, allocations: 0 / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.725e-05/0.7251, allocations: 5.906 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.7251, allocations: 5.141 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.7251, allocations: 0 / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.7252, allocations: 2.5 kB / 1.111 GB, free: 208 MB / 0.7292 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 (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 6.054e-05/0.7252, allocations: 115.2 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.7252, allocations: 9.688 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.7254, allocations: 53.23 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.7254, allocations: 0 / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.7254, allocations: 2.047 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.7254, allocations: 3.953 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.353e-05/0.7255, allocations: 154.8 kB / 1.111 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.7255, allocations: 1.156 kB / 1.111 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.7256, allocations: 2.625 kB / 1.111 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.7256, allocations: 4.562 kB / 1.111 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.7256, allocations: 0 / 1.111 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.7256, allocations: 1.312 kB / 1.111 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.7256, allocations: 0 / 1.111 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.043e-05/0.7257, allocations: 69.14 kB / 1.111 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.7258, allocations: 81.19 kB / 1.111 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.7258, allocations: 3.375 kB / 1.111 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.31e-05/0.7258, allocations: 2.297 kB / 1.111 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.7259, allocations: 1.438 kB / 1.111 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.7259, allocations: 0 / 1.111 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.211e-05/0.7259, allocations: 84.23 kB / 1.111 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.72e-07/0.7259, allocations: 1.219 kB / 1.111 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002859/0.7262, allocations: 27.41 kB / 1.111 GB, free: 207.3 MB / 0.7292 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 (2): * Single equations (assignments): 2 * 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.0004065/0.7266, allocations: 0.6461 MB / 1.112 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.014e-05/0.7267, allocations: 12 kB / 1.112 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7268, allocations: 2.656 kB / 1.112 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.071e-05/0.7268, allocations: 5.312 kB / 1.112 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.727, allocations: 1.312 kB / 1.112 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004544/0.7275, allocations: 194.2 kB / 1.112 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.7276, allocations: 0.678 MB / 1.113 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.229e-05/0.7277, allocations: 9.125 kB / 1.113 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.7277, allocations: 10.59 kB / 1.113 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.7278, allocations: 0 / 1.113 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.7475, allocations: 1.446 MB / 1.114 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002804/0.7478, allocations: 222.7 kB / 1.114 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/3.05, allocations: 1.156 kB / 1.114 GB, free: 205.6 MB / 0.7292 GB