Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 102.7 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.00147, allocations: 176.9 kB / 16.58 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 223.3 MB / 240.6 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.673/2.673, allocations: 390.4 MB / 0.6662 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004646/0.0004647, allocations: 8 kB / 0.8154 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.966/0.9665, allocations: 142.3 MB / 0.9544 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004223/0.9708, allocations: 3.567 MB / 0.9579 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002031/0.971, allocations: 156.8 kB / 0.958 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.511e-05/0.971, allocations: 0 / 0.958 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.863e-05/0.9712, allocations: 1.438 kB / 0.958 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.267e-05/0.9712, allocations: 14.12 kB / 0.958 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.9715, allocations: 54.55 kB / 0.9581 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.9716, allocations: 51.28 kB / 0.9581 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.98e-05/0.9717, allocations: 1.156 kB / 0.9581 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.849e-05/0.9717, allocations: 21.05 kB / 0.9582 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.683e-05/0.9718, allocations: 18.5 kB / 0.9582 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.9718, allocations: 1.125 kB / 0.9582 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.972, allocations: 34.64 kB / 0.9582 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.241e-05/0.972, allocations: 2.25 kB / 0.9582 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.9721, allocations: 31.83 kB / 0.9582 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.57e-05/0.9722, allocations: 30.08 kB / 0.9583 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.9722, allocations: 0 / 0.9583 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9722, allocations: 3.938 kB / 0.9583 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.9722, allocations: 0 / 0.9583 GB, free: 4.902 MB / 0.7169 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.0002621/0.9725, allocations: 334 kB / 0.9586 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.9725, allocations: 9.969 kB / 0.9586 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.9726, allocations: 8.969 kB / 0.9586 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.753e-05/0.9726, allocations: 160.2 kB / 0.9588 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.624e-05/0.9727, allocations: 26.67 kB / 0.9588 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.9727, allocations: 1.906 kB / 0.9588 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.9728, allocations: 38.97 kB / 0.9588 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.9728, allocations: 4 kB / 0.9588 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.9729, allocations: 7.953 kB / 0.9588 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.9729, allocations: 1.25 kB / 0.9588 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.09e-05/0.9729, allocations: 17.3 kB / 0.9589 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.9733, allocations: 329 kB / 0.9592 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.106e-05/0.9734, allocations: 17.45 kB / 0.9592 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.426e-05/0.9734, allocations: 10.09 kB / 0.9592 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.145e-05/0.9735, allocations: 89.88 kB / 0.9593 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.9735, allocations: 35.62 kB / 0.9593 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.9735, allocations: 0 / 0.9593 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001346/0.9736, allocations: 36.42 kB / 0.9594 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.9737, allocations: 51.41 kB / 0.9594 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.099e-05/0.9737, allocations: 107.2 kB / 0.9595 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/0.9737, allocations: 26.7 kB / 0.9595 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.983e-05/0.9738, allocations: 85.2 kB / 0.9596 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.141e-06/0.9738, allocations: 4.938 kB / 0.9596 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.9738, allocations: 0 / 0.9596 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.453e-05/0.9738, allocations: 319.7 kB / 0.9599 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.229e-05/0.9739, allocations: 7.031 kB / 0.9599 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.744e-05/0.9739, allocations: 13.03 kB / 0.9599 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.037e-05/0.9739, allocations: 8.469 kB / 0.9599 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.9739, allocations: 4 kB / 0.96 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.358e-05/0.974, allocations: 51.27 kB / 0.96 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.974, allocations: 4 kB / 0.96 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.974, allocations: 1.312 kB / 0.96 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.974, allocations: 5.438 kB / 0.96 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.538e-05/0.9741, allocations: 12.08 kB / 0.96 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.9741, allocations: 1.062 kB / 0.96 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.654e-05/0.9741, allocations: 5.469 kB / 0.96 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.9741, allocations: 1.344 kB / 0.96 GB, free: 2.961 MB / 0.7169 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 6.545e-05/0.9742, allocations: 116.4 kB / 0.9601 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.9743, allocations: 5.297 kB / 0.9601 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.92e-05/0.9743, allocations: 127 kB / 0.9603 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.942e-05/0.9744, allocations: 177.5 kB / 0.9604 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.53e-05/0.9744, allocations: 181.5 kB / 0.9606 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-05/0.9744, allocations: 181.3 kB / 0.9608 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.9746, allocations: 408.1 kB / 0.9612 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.9746, allocations: 102.4 kB / 0.9613 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.657e-05/0.9746, allocations: 112.9 kB / 0.9614 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.632e-05/0.9747, allocations: 181.8 kB / 0.9616 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.9747, allocations: 181.9 kB / 0.9617 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.423e-05/0.9747, allocations: 184.2 kB / 0.9619 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.436e-05/0.9748, allocations: 181.7 kB / 0.9621 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.871e-05/0.9748, allocations: 304.1 kB / 0.9624 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.9749, allocations: 187.2 kB / 0.9625 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.9749, allocations: 186.6 kB / 0.9627 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.9751, allocations: 112.6 kB / 0.9628 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.988e-05/0.9752, allocations: 180.2 kB / 0.963 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/0.9752, allocations: 101.9 kB / 0.9631 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.802e-05/0.9753, allocations: 90.86 kB / 0.9632 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9753, allocations: 0 / 0.9632 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002384/0.9755, allocations: 16.22 kB / 0.9632 GB, free: 15.54 MB / 0.7325 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.0001832/0.9757, allocations: 194.1 kB / 0.9634 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.71e-05/0.9758, allocations: 9.781 kB / 0.9634 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.9758, allocations: 0 / 0.9634 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.9758, allocations: 1.5 kB / 0.9634 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.9763, allocations: 0.5263 MB / 0.9639 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.9766, allocations: 211.7 kB / 0.9641 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.9769, allocations: 0.6759 MB / 0.9648 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.9769, allocations: 8.875 kB / 0.9648 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.9769, allocations: 1.469 kB / 0.9648 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.002041/0.979, allocations: 0.7013 MB / 0.9655 GB, free: 13.54 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile make -j1 -f Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversionCalcHelperMain.o OMCppBuildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversionCalcHelperMain.o] Error 1