Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.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.Media.Examples.WaterProperties,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Examples_WaterProperties",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.01298/0.01298, allocations: 88.19 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.001212/0.001212, allocations: 177.9 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.182/2.182, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.515/2.515, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007009/0.0007012, allocations: 11.53 kB / 0.6243 GB, free: 21.11 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2648, allocations: 106.2 MB / 0.728 GB, free: 8.109 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.009998/0.2749, allocations: 3.943 MB / 0.7319 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006127/0.2811, allocations: 2.152 MB / 0.734 GB, free: 1.984 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.2813, allocations: 4 kB / 0.734 GB, free: 1.98 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.2817, allocations: 35.8 kB / 0.734 GB, free: 1.945 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004087/0.2821, allocations: 71.83 kB / 0.7341 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.2846, allocations: 398.9 kB / 0.7345 GB, free: 1.484 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003842/0.285, allocations: 148.6 kB / 0.7346 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.686e-05/0.2851, allocations: 9.562 kB / 0.7346 GB, free: 1.324 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003997/0.2855, allocations: 99.72 kB / 0.7347 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.2857, allocations: 67.75 kB / 0.7348 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.2858, allocations: 11.94 kB / 0.7348 GB, free: 1.148 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.2875, allocations: 279.6 kB / 0.7351 GB, free: 0.875 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.2876, allocations: 27.91 kB / 0.7351 GB, free: 0.8477 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.991e-05/0.2878, allocations: 53.64 kB / 0.7352 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0008736/0.2887, allocations: 211.8 kB / 0.7354 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2887, allocations: 4 kB / 0.7354 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.695e-06/0.2887, allocations: 0 / 0.7354 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.2887, allocations: 0 / 0.7354 GB, free: 0.5781 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001229/0.29, allocations: 463.1 kB / 0.7358 GB, free: 76 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.326e-05/0.2901, allocations: 12.03 kB / 0.7358 GB, free: 64 kB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.2902, allocations: 54.55 kB / 0.7359 GB, free: 0 / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.2906, allocations: 19.98 kB / 0.7359 GB, free: 15.98 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.291, allocations: 210.8 kB / 0.7361 GB, free: 15.73 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.2911, allocations: 20.2 kB / 0.7361 GB, free: 15.71 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.568e-05/0.2912, allocations: 12 kB / 0.7361 GB, free: 15.7 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008822/0.2921, allocations: 245 kB / 0.7363 GB, free: 15.44 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.2921, allocations: 0 / 0.7363 GB, free: 15.44 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.203e-05/0.2922, allocations: 15.72 kB / 0.7364 GB, free: 15.43 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.084e-05/0.2923, allocations: 4 kB / 0.7364 GB, free: 15.42 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.2936, allocations: 427.5 kB / 0.7368 GB, free: 15 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002463/0.2961, allocations: 1.031 MB / 0.7378 GB, free: 13.88 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008357/0.297, allocations: 161 kB / 0.7379 GB, free: 13.71 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002839/0.2998, allocations: 1.848 MB / 0.7397 GB, free: 11.51 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/0.2999, allocations: 38.56 kB / 0.7398 GB, free: 11.46 MB / 0.573 GB Notification: Performance of pre-optimization done (n=15): time 8.105e-06/0.3, allocations: 3.984 kB / 0.7398 GB, free: 11.46 MB / 0.573 GB Notification: Performance of matching and sorting (n=15): time 0.0007135/0.3007, allocations: 133.5 kB / 0.7399 GB, free: 11.32 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.3008, allocations: 51.41 kB / 0.74 GB, free: 11.26 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.3011, allocations: 177.1 kB / 0.7401 GB, free: 11.08 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/0.3012, allocations: 33.64 kB / 0.7402 GB, free: 11.04 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.3013, allocations: 139.8 kB / 0.7403 GB, free: 10.89 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 8.228e-05/0.3015, allocations: 55.19 kB / 0.7403 GB, free: 10.84 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.3015, allocations: 11.98 kB / 0.7404 GB, free: 10.83 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3017, allocations: 318.8 kB / 0.7407 GB, free: 10.51 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.3019, allocations: 35.98 kB / 0.7407 GB, free: 10.47 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.3022, allocations: 133.7 kB / 0.7408 GB, free: 10.29 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.3025, allocations: 59.89 kB / 0.7409 GB, free: 10.23 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.3025, allocations: 0 / 0.7409 GB, free: 10.23 MB / 0.573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008369/0.3034, allocations: 212 kB / 0.7411 GB, free: 10.02 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.3035, allocations: 8 kB / 0.7411 GB, free: 10.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.3035, allocations: 4 kB / 0.7411 GB, free: 10.01 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/0.3035, allocations: 4 kB / 0.7411 GB, free: 10.01 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006107/0.3042, allocations: 64.31 kB / 0.7412 GB, free: 9.945 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/0.3042, allocations: 12 kB / 0.7412 GB, free: 9.934 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.3046, allocations: 31.67 kB / 0.7412 GB, free: 9.902 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.3047, allocations: 12 kB / 0.7412 GB, free: 9.891 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0002225/0.3049, allocations: 133.7 kB / 0.7413 GB, free: 9.75 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.305, allocations: 15.81 kB / 0.7414 GB, free: 9.734 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007432/0.3058, allocations: 154.8 kB / 0.7415 GB, free: 9.578 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/0.3058, allocations: 8 kB / 0.7415 GB, free: 9.57 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3059, allocations: 0 / 0.7415 GB, free: 9.57 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.3059, allocations: 3.984 kB / 0.7415 GB, free: 9.566 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005353/0.3065, allocations: 209.5 kB / 0.7417 GB, free: 9.312 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.3065, allocations: 3.953 kB / 0.7417 GB, free: 9.309 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.3069, allocations: 31.98 kB / 0.7417 GB, free: 9.277 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.3069, allocations: 0 / 0.7417 GB, free: 9.277 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.3069, allocations: 7.984 kB / 0.7418 GB, free: 9.27 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.307, allocations: 3.938 kB / 0.7418 GB, free: 9.266 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.307, allocations: 0 / 0.7418 GB, free: 9.266 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00054/0.3075, allocations: 219.3 kB / 0.742 GB, free: 9.035 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/0.3078, allocations: 120.8 kB / 0.7421 GB, free: 8.898 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-05/0.3079, allocations: 4 kB / 0.7421 GB, free: 8.895 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008629/0.3165, allocations: 8 kB / 0.7421 GB, free: 8.887 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.086e-05/0.3167, allocations: 11.98 kB / 0.7421 GB, free: 8.875 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.208e-05/0.3168, allocations: 11.98 kB / 0.7421 GB, free: 8.863 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002317/0.317, allocations: 122.7 kB / 0.7422 GB, free: 8.746 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.202e-06/0.3171, allocations: 4 kB / 0.7422 GB, free: 8.742 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009297/0.318, allocations: 71.98 kB / 0.7423 GB, free: 8.672 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.001392/0.3194, allocations: 0.8241 MB / 0.7431 GB, free: 7.82 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005553/0.32, allocations: 115.8 kB / 0.7432 GB, free: 7.707 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.32, allocations: 0 / 0.7432 GB, free: 7.707 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.3202, allocations: 39.97 kB / 0.7433 GB, free: 7.668 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000914/0.3212, allocations: 48.84 kB / 0.7433 GB, free: 7.621 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.3255, allocations: 3.267 MB / 0.7465 GB, free: 4.246 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.326, allocations: 0.7169 MB / 0.7472 GB, free: 3.504 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004841/0.3265, allocations: 53.72 kB / 0.7472 GB, free: 3.453 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.3267, allocations: 51.42 kB / 0.7473 GB, free: 3.406 MB / 0.573 GB Notification: Performance of SimCode: time 1.403e-06/0.3267, allocations: 0 / 0.7473 GB, free: 3.406 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04811/0.3748, allocations: 4.615 MB / 0.7518 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/0.3751, allocations: 180.6 kB / 0.752 GB, free: 14.69 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.702/3.077, allocations: 4 kB / 0.752 GB, free: 14.68 MB / 0.5886 GB