Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.01023/0.01023, allocations: 86.75 kB / 15.04 MB, free: 6.062 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.001849/0.001849, allocations: 169.2 kB / 15.92 MB, free: 6 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.091/2.091, 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.575/2.575, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008125/0.0008129, allocations: 12.61 kB / 0.6243 GB, free: 28.4 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2424, allocations: 106.2 MB / 0.728 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00591/0.2483, allocations: 3.412 MB / 0.7314 GB, free: 6.734 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002588/0.2486, allocations: 123.7 kB / 0.7315 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.2487, allocations: 0 / 0.7315 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.2488, allocations: 4 kB / 0.7315 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.953e-05/0.2489, allocations: 11.98 kB / 0.7315 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.2492, allocations: 59.78 kB / 0.7316 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.631e-05/0.2493, allocations: 15.97 kB / 0.7316 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.2494, allocations: 4 kB / 0.7316 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.339e-05/0.2494, allocations: 11.98 kB / 0.7316 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.334e-05/0.2495, allocations: 7.984 kB / 0.7316 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.2495, allocations: 4 kB / 0.7316 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.2497, allocations: 35.91 kB / 0.7316 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.024e-05/0.2498, allocations: 4 kB / 0.7316 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.2498, allocations: 29.7 kB / 0.7317 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.25, allocations: 23.98 kB / 0.7317 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.25, allocations: 0 / 0.7317 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.793e-06/0.25, allocations: 0 / 0.7317 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.25, allocations: 0 / 0.7317 GB, free: 6.398 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004209/0.2504, allocations: 339.6 kB / 0.732 GB, free: 6.02 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.2505, allocations: 8.031 kB / 0.732 GB, free: 6.012 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.2506, allocations: 34.5 kB / 0.7321 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.2506, allocations: 4 kB / 0.7321 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2507, allocations: 163.1 kB / 0.7322 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.412e-05/0.2508, allocations: 25.7 kB / 0.7322 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.2508, allocations: 4 kB / 0.7322 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.251, allocations: 49.67 kB / 0.7323 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.251, allocations: 0 / 0.7323 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.2511, allocations: 7.938 kB / 0.7323 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.2511, allocations: 0 / 0.7323 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.282e-05/0.2512, allocations: 19.98 kB / 0.7323 GB, free: 5.648 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/0.2517, allocations: 341.9 kB / 0.7326 GB, free: 5.246 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.339e-05/0.2518, allocations: 14.58 kB / 0.7327 GB, free: 5.223 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.2519, allocations: 89.11 kB / 0.7327 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.252, allocations: 34.56 kB / 0.7328 GB, free: 5.074 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.252, allocations: 0 / 0.7328 GB, free: 5.074 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001712/0.2522, allocations: 33.77 kB / 0.7328 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.2522, allocations: 59.39 kB / 0.7329 GB, free: 4.965 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.2523, allocations: 101.9 kB / 0.733 GB, free: 4.855 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.2524, allocations: 25.7 kB / 0.733 GB, free: 4.824 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.2525, allocations: 95.92 kB / 0.7331 GB, free: 4.727 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.156e-06/0.2525, allocations: 3.984 kB / 0.7331 GB, free: 4.723 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.2525, allocations: 0 / 0.7331 GB, free: 4.723 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2526, allocations: 314.8 kB / 0.7334 GB, free: 4.406 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.799e-05/0.2527, allocations: 0 / 0.7334 GB, free: 4.406 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.564e-05/0.2527, allocations: 21.72 kB / 0.7334 GB, free: 4.379 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.111e-05/0.2528, allocations: 7.984 kB / 0.7334 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2528, allocations: 0 / 0.7334 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001175/0.2529, allocations: 49.64 kB / 0.7335 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.2529, allocations: 11.08 kB / 0.7335 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2529, allocations: 3.984 kB / 0.7335 GB, free: 4.305 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.253, allocations: 288 / 0.7335 GB, free: 4.305 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.253, allocations: 8.062 kB / 0.7335 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2531, allocations: 4 kB / 0.7335 GB, free: 4.293 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.952e-05/0.2531, allocations: 3.906 kB / 0.7335 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.2531, allocations: 0 / 0.7335 GB, free: 4.289 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 9.584e-05/0.2532, allocations: 109.8 kB / 0.7336 GB, free: 4.172 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.2533, allocations: 3.984 kB / 0.7336 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.2534, allocations: 136.7 kB / 0.7337 GB, free: 4.02 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-05/0.2535, allocations: 180.3 kB / 0.7339 GB, free: 3.836 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.983e-05/0.2536, allocations: 184.2 kB / 0.7341 GB, free: 3.648 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.658e-05/0.2537, allocations: 176.3 kB / 0.7342 GB, free: 3.469 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.254, allocations: 409.2 kB / 0.7346 GB, free: 3.012 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.232e-05/0.2541, allocations: 105 kB / 0.7347 GB, free: 2.902 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.308e-05/0.2542, allocations: 101 kB / 0.7348 GB, free: 2.797 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.236e-05/0.2543, allocations: 188.2 kB / 0.735 GB, free: 2.605 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.74e-05/0.2544, allocations: 180.3 kB / 0.7352 GB, free: 2.422 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.228e-05/0.2545, allocations: 192.1 kB / 0.7354 GB, free: 2.227 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.828e-05/0.2546, allocations: 176.3 kB / 0.7355 GB, free: 2.047 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.2548, allocations: 311.8 kB / 0.7358 GB, free: 1.719 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.2549, allocations: 182.1 kB / 0.736 GB, free: 1.516 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.2551, allocations: 184.2 kB / 0.7362 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.2553, allocations: 105 kB / 0.7363 GB, free: 1.219 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.684e-05/0.2554, allocations: 184.2 kB / 0.7365 GB, free: 1.031 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/0.2555, allocations: 112.9 kB / 0.7366 GB, free: 0.9141 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.355e-05/0.2556, allocations: 87.28 kB / 0.7366 GB, free: 0.8281 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2556, allocations: 0 / 0.7366 GB, free: 0.8281 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003337/0.2559, allocations: 12 kB / 0.7367 GB, free: 0.8164 MB / 0.5573 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 (0): * Single equations (assignments): 0 * 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.0006117/0.2566, allocations: 0.832 MB / 0.7375 GB, free: 15.96 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 9.96e-05/0.2567, allocations: 11.94 kB / 0.7375 GB, free: 15.95 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2567, allocations: 3.938 kB / 0.7375 GB, free: 15.94 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/0.2567, allocations: 0 / 0.7375 GB, free: 15.94 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.2572, allocations: 0.5224 MB / 0.738 GB, free: 15.41 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005227/0.2577, allocations: 226 kB / 0.7382 GB, free: 15.15 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.258, allocations: 0.6809 MB / 0.7389 GB, free: 14.45 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 6.787e-05/0.2581, allocations: 7.984 kB / 0.7389 GB, free: 14.44 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.2582, allocations: 7.438 kB / 0.7389 GB, free: 14.43 MB / 0.573 GB Notification: Performance of SimCode: time 9.42e-07/0.2582, allocations: 3.938 kB / 0.7389 GB, free: 14.43 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.2764, allocations: 1.175 MB / 0.74 GB, free: 13.36 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00034/0.2768, allocations: 198 kB / 0.7402 GB, free: 13.11 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/2.758, allocations: 0 / 0.7402 GB, free: 13.11 MB / 0.573 GB