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.ExchangeValues.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.116/4.116, allocations: 433.2 MB / 440.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.452e-05, allocations: 5 kB / 0.5325 GB, free: 12.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2482, allocations: 98.73 MB / 0.6289 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2246/0.4729, allocations: 124 MB / 0.75 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/0.4732, allocations: 83.94 kB / 0.7501 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01767/0.4909, allocations: 3.805 MB / 0.7538 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.214e-06/0.491, allocations: 0 / 0.7538 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.491, allocations: 0 / 0.7538 GB, free: 9.066 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003877/0.4914, allocations: 348.3 kB / 0.7541 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.4915, allocations: 8.031 kB / 0.7541 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.4915, allocations: 7.953 kB / 0.7541 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.4917, allocations: 167.1 kB / 0.7543 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.4918, allocations: 4 kB / 0.7543 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.4918, allocations: 4 kB / 0.7543 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.781e-05/0.4919, allocations: 8 kB / 0.7543 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.492, allocations: 53.61 kB / 0.7544 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.492, allocations: 0 / 0.7544 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.4921, allocations: 0 / 0.7544 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.4921, allocations: 4 kB / 0.7544 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.4923, allocations: 134.1 kB / 0.7545 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.216e-05/0.4923, allocations: 30.61 kB / 0.7545 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.545e-05/0.4924, allocations: 12.92 kB / 0.7545 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.45e-06/0.4924, allocations: 0 / 0.7545 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.4925, allocations: 30.56 kB / 0.7546 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/0.4925, allocations: 0 / 0.7546 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002735/0.4928, allocations: 57.69 kB / 0.7546 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.538e-05/0.4928, allocations: 89.03 kB / 0.7547 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.168e-05/0.4929, allocations: 89.03 kB / 0.7548 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.493, allocations: 29.7 kB / 0.7548 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.493, allocations: 80.14 kB / 0.7549 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.4931, allocations: 11.91 kB / 0.7549 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/0.4931, allocations: 0 / 0.7549 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4932, allocations: 310.8 kB / 0.7552 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.812e-05/0.4933, allocations: 8 kB / 0.7552 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.772e-05/0.4933, allocations: 15.92 kB / 0.7552 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.556e-05/0.4934, allocations: 12.14 kB / 0.7552 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4934, allocations: 0 / 0.7552 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001743/0.4936, allocations: 53.69 kB / 0.7553 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.417e-05/0.4937, allocations: 37.69 kB / 0.7553 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.4937, allocations: 3.984 kB / 0.7553 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.4937, allocations: 0 / 0.7553 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.258e-06/0.4937, allocations: 3.984 kB / 0.7553 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.4937, allocations: 0 / 0.7553 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.494, allocations: 11.94 kB / 0.7553 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.494, allocations: 8.031 kB / 0.7554 GB, free: 7.25 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000167/0.4942, allocations: 146.6 kB / 0.7555 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001754/0.4944, allocations: 53.69 kB / 0.7555 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.4944, allocations: 4 kB / 0.7555 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.13e-05/0.4944, allocations: 7.75 kB / 0.7556 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4944, allocations: 0 / 0.7556 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.4945, allocations: 4 kB / 0.7556 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4945, allocations: 0 / 0.7556 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.4946, allocations: 138.2 kB / 0.7557 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4946, allocations: 4.031 kB / 0.7557 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-06/0.4946, allocations: 0 / 0.7557 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.4946, allocations: 3.938 kB / 0.7557 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.4947, allocations: 4 kB / 0.7557 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4947, allocations: 0 / 0.7557 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4947, allocations: 0 / 0.7557 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.4949, allocations: 93.02 kB / 0.7558 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.495, allocations: 85.12 kB / 0.7559 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.495, allocations: 4 kB / 0.7559 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.4952, allocations: 8 kB / 0.7559 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.4953, allocations: 0 / 0.7559 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.4953, allocations: 8 kB / 0.7559 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.39e-05/0.4953, allocations: 79.27 kB / 0.756 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4954, allocations: 0 / 0.756 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002861/0.4956, allocations: 12 kB / 0.756 GB, free: 6.52 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007413/0.4964, allocations: 0.6534 MB / 0.7566 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001842/0.4966, allocations: 75.34 kB / 0.7567 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.4966, allocations: 4.094 kB / 0.7567 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.247e-05/0.4967, allocations: 67.39 kB / 0.7568 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.4969, allocations: 7.938 kB / 0.7568 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.4979, allocations: 181.7 kB / 0.7569 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.4982, allocations: 0.6768 MB / 0.7576 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.677e-05/0.4983, allocations: 3.938 kB / 0.7576 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.4984, allocations: 15.44 kB / 0.7576 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of SimCode: time 1.123e-06/0.4984, allocations: 8 kB / 0.7576 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0395/0.5379, allocations: 1.283 MB / 0.7589 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002708/0.5382, allocations: 169.9 kB / 0.759 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/2.922, allocations: 3.938 kB / 0.759 GB, free: 3.246 MB / 0.6355 GB