Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01007/0.01008, allocations: 90.16 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.001266/0.001266, allocations: 174.3 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.14/2.14, allocations: 205.5 MB / 222.2 MB, free: 13.72 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.703/2.703, allocations: 252.8 MB / 0.511 GB, free: 8.363 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006362/0.000636, allocations: 14.66 kB / 0.6243 GB, free: 21.08 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2394, allocations: 106.2 MB / 0.7281 GB, free: 8.137 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001726/0.2412, allocations: 1.008 MB / 0.7291 GB, free: 7.117 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.005579/0.2468, allocations: 3.279 MB / 0.7323 GB, free: 3.824 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.2469, allocations: 0 / 0.7323 GB, free: 3.824 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 1.6e-05/0.2469, allocations: 0 / 0.7323 GB, free: 3.824 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.0004908/0.2474, allocations: 83.77 kB / 0.7323 GB, free: 3.742 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.2478, allocations: 99.72 kB / 0.7324 GB, free: 3.645 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 5.879e-05/0.2479, allocations: 11.92 kB / 0.7324 GB, free: 3.633 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 4.64e-05/0.248, allocations: 4 kB / 0.7325 GB, free: 3.629 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.2481, allocations: 27.91 kB / 0.7325 GB, free: 3.602 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.2482, allocations: 27.95 kB / 0.7325 GB, free: 3.574 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.2483, allocations: 0 / 0.7325 GB, free: 3.574 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006403/0.2489, allocations: 287.6 kB / 0.7328 GB, free: 3.293 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.2489, allocations: 15.91 kB / 0.7328 GB, free: 3.277 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.249, allocations: 29.7 kB / 0.7328 GB, free: 3.242 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.2492, allocations: 80.11 kB / 0.7329 GB, free: 3.164 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2492, allocations: 0 / 0.7329 GB, free: 3.164 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.394e-06/0.2492, allocations: 0 / 0.7329 GB, free: 3.164 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2492, allocations: 0 / 0.7329 GB, free: 3.164 MB / 0.5574 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.0004091/0.2497, allocations: 347.3 kB / 0.7332 GB, free: 2.777 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.2497, allocations: 12.03 kB / 0.7332 GB, free: 2.766 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.682e-05/0.2498, allocations: 34.56 kB / 0.7333 GB, free: 2.723 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.2498, allocations: 3.906 kB / 0.7333 GB, free: 2.719 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.2499, allocations: 167.1 kB / 0.7334 GB, free: 2.516 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.25, allocations: 4 kB / 0.7334 GB, free: 2.512 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.25, allocations: 3.938 kB / 0.7334 GB, free: 2.508 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.2501, allocations: 33.64 kB / 0.7335 GB, free: 2.469 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2501, allocations: 0 / 0.7335 GB, free: 2.469 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.2501, allocations: 3.953 kB / 0.7335 GB, free: 2.465 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2502, allocations: 0 / 0.7335 GB, free: 2.465 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.185e-05/0.2502, allocations: 4 kB / 0.7335 GB, free: 2.461 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.2504, allocations: 153.7 kB / 0.7336 GB, free: 2.262 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 7.055e-05/0.2505, allocations: 38.53 kB / 0.7337 GB, free: 2.215 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003108/0.2508, allocations: 93.16 kB / 0.7338 GB, free: 2.105 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.2509, allocations: 30.56 kB / 0.7338 GB, free: 2.066 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.2509, allocations: 3.938 kB / 0.7338 GB, free: 2.062 MB / 0.5574 GB Notification: Performance of matching and sorting (n=2): time 0.0001779/0.2511, allocations: 45.69 kB / 0.7338 GB, free: 2.012 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/0.2511, allocations: 59.48 kB / 0.7339 GB, free: 1.941 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.624e-05/0.2512, allocations: 97.86 kB / 0.734 GB, free: 1.836 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.2513, allocations: 29.7 kB / 0.734 GB, free: 1.801 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.2513, allocations: 80.14 kB / 0.7341 GB, free: 1.719 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.2513, allocations: 7.891 kB / 0.7341 GB, free: 1.711 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.2514, allocations: 0 / 0.7341 GB, free: 1.711 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.2515, allocations: 314.8 kB / 0.7344 GB, free: 1.395 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.115e-05/0.2515, allocations: 4 kB / 0.7344 GB, free: 1.391 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.363e-05/0.2515, allocations: 4 kB / 0.7344 GB, free: 1.387 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.362e-05/0.2516, allocations: 4 kB / 0.7344 GB, free: 1.383 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.2516, allocations: 0 / 0.7344 GB, free: 1.383 MB / 0.5574 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.953e-05/0.2517, allocations: 49.62 kB / 0.7345 GB, free: 1.328 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.2517, allocations: 4 kB / 0.7345 GB, free: 1.324 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2517, allocations: 0 / 0.7345 GB, free: 1.324 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2517, allocations: 0 / 0.7345 GB, free: 1.324 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.2518, allocations: 4 kB / 0.7345 GB, free: 1.32 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2518, allocations: 0 / 0.7345 GB, free: 1.32 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.758e-05/0.2519, allocations: 4.047 kB / 0.7345 GB, free: 1.316 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.2519, allocations: 4 kB / 0.7345 GB, free: 1.312 MB / 0.5574 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 8.127e-05/0.252, allocations: 109.8 kB / 0.7346 GB, free: 1.195 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.252, allocations: 3.906 kB / 0.7346 GB, free: 1.191 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.2522, allocations: 56.7 kB / 0.7346 GB, free: 1.125 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2522, allocations: 0 / 0.7346 GB, free: 1.125 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.2522, allocations: 0 / 0.7346 GB, free: 1.125 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2522, allocations: 0 / 0.7346 GB, free: 1.125 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.2523, allocations: 165.6 kB / 0.7348 GB, free: 0.9141 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2523, allocations: 256 / 0.7348 GB, free: 0.9141 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.922e-05/0.2524, allocations: 8 kB / 0.7348 GB, free: 0.9062 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2524, allocations: 0 / 0.7348 GB, free: 0.9062 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.2524, allocations: 0 / 0.7348 GB, free: 0.9062 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2524, allocations: 7.922 kB / 0.7348 GB, free: 0.8984 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.2524, allocations: 4 kB / 0.7348 GB, free: 0.8945 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.2526, allocations: 61.09 kB / 0.7349 GB, free: 0.8164 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.2526, allocations: 89.06 kB / 0.735 GB, free: 0.7109 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.2527, allocations: 8 kB / 0.735 GB, free: 0.7031 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.264e-05/0.2527, allocations: 0 / 0.735 GB, free: 0.7031 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.2527, allocations: 0 / 0.735 GB, free: 0.7031 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.2527, allocations: 0 / 0.735 GB, free: 0.7031 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 4.516e-05/0.2528, allocations: 79.28 kB / 0.735 GB, free: 0.625 MB / 0.5574 GB Notification: Performance of sort global known variables: time 4e-07/0.2528, allocations: 0 / 0.735 GB, free: 0.625 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0002826/0.2531, allocations: 31.92 kB / 0.7351 GB, free: 0.5938 MB / 0.5574 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.0005526/0.2536, allocations: 0.6397 MB / 0.7357 GB, free: 15.93 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 8.618e-05/0.2537, allocations: 11.94 kB / 0.7357 GB, free: 15.91 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2538, allocations: 0 / 0.7357 GB, free: 15.91 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 2.105e-05/0.2538, allocations: 4 kB / 0.7357 GB, free: 15.91 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.254, allocations: 4 kB / 0.7357 GB, free: 15.91 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004871/0.2545, allocations: 196.2 kB / 0.7359 GB, free: 15.68 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.2548, allocations: 0.6809 MB / 0.7366 GB, free: 14.97 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 4.276e-05/0.2548, allocations: 4 kB / 0.7366 GB, free: 14.96 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.2549, allocations: 11.44 kB / 0.7366 GB, free: 14.95 MB / 0.573 GB Notification: Performance of SimCode: time 6.71e-07/0.2549, allocations: 0 / 0.7366 GB, free: 14.95 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.2786, allocations: 1.44 MB / 0.738 GB, free: 13.64 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003737/0.2791, allocations: 213.4 kB / 0.7382 GB, free: 13.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/2.671, allocations: 0 / 0.7382 GB, free: 13.4 MB / 0.573 GB