Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.01098/0.01098, allocations: 92.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.002569/0.00257, allocations: 173.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.387/2.387, allocations: 205.5 MB / 222.2 MB, free: 13.58 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.524/2.524, allocations: 252.8 MB / 0.511 GB, free: 8.32 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006595/0.0006598, allocations: 15.25 kB / 0.6243 GB, free: 21.05 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2531, allocations: 106.2 MB / 0.7281 GB, free: 8.105 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006766/0.2599, allocations: 3.906 MB / 0.7319 GB, free: 4.172 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.2614, allocations: 0.7102 MB / 0.7326 GB, free: 3.461 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.476e-05/0.2615, allocations: 0 / 0.7326 GB, free: 3.461 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.2617, allocations: 23.88 kB / 0.7326 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.898e-05/0.2619, allocations: 31.92 kB / 0.7326 GB, free: 3.406 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006665/0.2625, allocations: 135.7 kB / 0.7328 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.2627, allocations: 103.8 kB / 0.7329 GB, free: 3.172 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.2629, allocations: 17.06 kB / 0.7329 GB, free: 3.156 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.2631, allocations: 75.75 kB / 0.7329 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.2633, allocations: 71.72 kB / 0.733 GB, free: 3.012 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.2633, allocations: 8 kB / 0.733 GB, free: 3.004 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004765/0.2638, allocations: 123.8 kB / 0.7331 GB, free: 2.883 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/0.2639, allocations: 23.91 kB / 0.7332 GB, free: 2.859 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.264, allocations: 45.64 kB / 0.7332 GB, free: 2.809 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.2643, allocations: 151.9 kB / 0.7334 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2644, allocations: 0 / 0.7334 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2644, allocations: 3.938 kB / 0.7334 GB, free: 2.656 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2644, allocations: 0 / 0.7334 GB, free: 2.656 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001189/0.2656, allocations: 470.8 kB / 0.7338 GB, free: 2.148 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.2657, allocations: 12.03 kB / 0.7338 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.782e-05/0.2657, allocations: 42.55 kB / 0.7339 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.2658, allocations: 11.91 kB / 0.7339 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.266, allocations: 176.5 kB / 0.734 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.266, allocations: 15.98 kB / 0.7341 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.2661, allocations: 11.94 kB / 0.7341 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005244/0.2666, allocations: 139.8 kB / 0.7342 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.2666, allocations: 0 / 0.7342 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.2666, allocations: 8 kB / 0.7342 GB, free: 1.688 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2667, allocations: 0 / 0.7342 GB, free: 1.688 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007844/0.2675, allocations: 159.9 kB / 0.7344 GB, free: 1.531 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.269, allocations: 480.4 kB / 0.7348 GB, free: 1.012 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.2695, allocations: 134.5 kB / 0.7349 GB, free: 0.8711 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00215/0.2717, allocations: 0.957 MB / 0.7359 GB, free: 15.78 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.2718, allocations: 34.56 kB / 0.7359 GB, free: 15.73 MB / 0.573 GB Notification: Performance of pre-optimization done (n=12): time 2.685e-06/0.2718, allocations: 0 / 0.7359 GB, free: 15.73 MB / 0.573 GB Notification: Performance of matching and sorting (n=12): time 0.0012/0.273, allocations: 245.3 kB / 0.7361 GB, free: 15.49 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.2731, allocations: 51.41 kB / 0.7362 GB, free: 15.43 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.2733, allocations: 157.2 kB / 0.7363 GB, free: 15.27 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.2733, allocations: 33.7 kB / 0.7364 GB, free: 15.23 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 8.997e-05/0.2734, allocations: 112.2 kB / 0.7365 GB, free: 15.11 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.2735, allocations: 39.36 kB / 0.7365 GB, free: 15.07 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.863e-05/0.2735, allocations: 4 kB / 0.7365 GB, free: 15.07 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.2737, allocations: 326.8 kB / 0.7368 GB, free: 14.74 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004143/0.2741, allocations: 91.94 kB / 0.7369 GB, free: 14.65 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004396/0.2746, allocations: 115.4 kB / 0.737 GB, free: 14.53 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004295/0.275, allocations: 95.95 kB / 0.7371 GB, free: 14.43 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.275, allocations: 0 / 0.7371 GB, free: 14.43 MB / 0.573 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001059/0.2761, allocations: 260.3 kB / 0.7374 GB, free: 14.18 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.2761, allocations: 4 kB / 0.7374 GB, free: 14.17 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.2762, allocations: 7.938 kB / 0.7374 GB, free: 14.16 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.2762, allocations: 3.938 kB / 0.7374 GB, free: 14.16 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000507/0.2767, allocations: 55.95 kB / 0.7374 GB, free: 14.11 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.2767, allocations: 4.094 kB / 0.7374 GB, free: 14.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.277, allocations: 47.67 kB / 0.7375 GB, free: 14.05 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-05/0.2771, allocations: 8 kB / 0.7375 GB, free: 14.05 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 0.0001473/0.2773, allocations: 133.7 kB / 0.7376 GB, free: 13.91 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.2773, allocations: 7.906 kB / 0.7376 GB, free: 13.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00087/0.2782, allocations: 207.1 kB / 0.7378 GB, free: 13.68 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.2782, allocations: 8 kB / 0.7378 GB, free: 13.68 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2782, allocations: 0 / 0.7378 GB, free: 13.68 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.2782, allocations: 0 / 0.7378 GB, free: 13.68 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.2786, allocations: 213.5 kB / 0.738 GB, free: 13.42 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2786, allocations: 0 / 0.738 GB, free: 13.42 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/0.2789, allocations: 35.97 kB / 0.7381 GB, free: 13.38 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.2789, allocations: 0 / 0.7381 GB, free: 13.38 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.2789, allocations: 4 kB / 0.7381 GB, free: 13.38 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.279, allocations: 8 kB / 0.7381 GB, free: 13.37 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.279, allocations: 0 / 0.7381 GB, free: 13.37 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008266/0.2798, allocations: 287 kB / 0.7384 GB, free: 13.07 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.821e-05/0.2799, allocations: 93 kB / 0.7384 GB, free: 12.96 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.28, allocations: 3.984 kB / 0.7385 GB, free: 12.96 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.2802, allocations: 19.98 kB / 0.7385 GB, free: 12.94 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/0.2803, allocations: 11.98 kB / 0.7385 GB, free: 12.93 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.2803, allocations: 4 kB / 0.7385 GB, free: 12.93 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001194/0.2805, allocations: 118.8 kB / 0.7386 GB, free: 12.81 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2805, allocations: 0 / 0.7386 GB, free: 12.81 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004947/0.281, allocations: 60.12 kB / 0.7387 GB, free: 12.75 MB / 0.573 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 (12): * Single equations (assignments): 12 * 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.00139/0.2824, allocations: 0.8799 MB / 0.7395 GB, free: 11.84 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0009031/0.2833, allocations: 183.8 kB / 0.7397 GB, free: 11.66 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.2833, allocations: 3.938 kB / 0.7397 GB, free: 11.66 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000365/0.2837, allocations: 84.08 kB / 0.7398 GB, free: 11.58 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.2841, allocations: 17.86 kB / 0.7398 GB, free: 11.56 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.2854, allocations: 1.057 MB / 0.7408 GB, free: 10.45 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.2857, allocations: 0.7123 MB / 0.7415 GB, free: 9.711 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001987/0.2859, allocations: 21.56 kB / 0.7415 GB, free: 9.691 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.2861, allocations: 31.44 kB / 0.7416 GB, free: 9.66 MB / 0.573 GB Notification: Performance of SimCode: time 1.493e-06/0.2861, allocations: 0 / 0.7416 GB, free: 9.66 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.3174, allocations: 3.95 MB / 0.7454 GB, free: 5.832 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003505/0.3178, allocations: 202.7 kB / 0.7456 GB, free: 5.594 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.676/2.994, allocations: 3.938 kB / 0.7456 GB, free: 5.59 MB / 0.573 GB