Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008228/0.0008228, allocations: 99.59 kB / 15.71 MB, free: 452 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.001033/0.001033, allocations: 173.6 kB / 16.58 MB, free: 6.422 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.499/1.499, allocations: 223.2 MB / 240.6 MB, free: 5.398 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.572/2.572, allocations: 390.4 MB / 0.6662 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003605, allocations: 12 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9289/0.9293, allocations: 142.3 MB / 0.9544 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003729/0.9331, allocations: 2.893 MB / 0.9572 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.122e-05/0.9332, allocations: 47.62 kB / 0.9573 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.9332, allocations: 0 / 0.9573 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.9334, allocations: 3.938 kB / 0.9573 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.319e-05/0.9334, allocations: 15.84 kB / 0.9573 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.9339, allocations: 139 kB / 0.9574 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.9e-05/0.934, allocations: 47.69 kB / 0.9575 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.934, allocations: 1.938 kB / 0.9575 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.198e-05/0.9341, allocations: 16.28 kB / 0.9575 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.309e-05/0.9342, allocations: 18.31 kB / 0.9575 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.9342, allocations: 0.9062 kB / 0.9575 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/0.9345, allocations: 89.22 kB / 0.9576 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.838e-05/0.9345, allocations: 14.55 kB / 0.9576 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.344e-05/0.9345, allocations: 28.36 kB / 0.9576 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.9347, allocations: 60.38 kB / 0.9577 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9347, allocations: 0 / 0.9577 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9347, allocations: 0 / 0.9577 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.9347, allocations: 0.9062 kB / 0.9577 GB, free: 5.457 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.0003153/0.9351, allocations: 343.4 kB / 0.958 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.9351, allocations: 9.094 kB / 0.958 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.9351, allocations: 1.062 kB / 0.958 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.365e-05/0.9352, allocations: 168.6 kB / 0.9582 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.054e-05/0.9353, allocations: 27.08 kB / 0.9582 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.9353, allocations: 1.438 kB / 0.9582 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.9354, allocations: 43.08 kB / 0.9583 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.9355, allocations: 0 / 0.9583 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.9355, allocations: 7.953 kB / 0.9583 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.9355, allocations: 4.906 kB / 0.9583 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.953e-05/0.9356, allocations: 17.83 kB / 0.9583 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005636/0.9361, allocations: 0.5732 MB / 0.9588 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.412e-05/0.9362, allocations: 19.77 kB / 0.9589 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.9362, allocations: 10.91 kB / 0.9589 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/0.9364, allocations: 341.8 kB / 0.9592 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.9364, allocations: 35.56 kB / 0.9592 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.9364, allocations: 0 / 0.9592 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.000137/0.9365, allocations: 39.25 kB / 0.9593 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.9366, allocations: 52.59 kB / 0.9593 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.815e-05/0.9367, allocations: 103.2 kB / 0.9594 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.9367, allocations: 26.7 kB / 0.9594 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.405e-05/0.9367, allocations: 93.34 kB / 0.9595 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.162e-06/0.9367, allocations: 4.969 kB / 0.9595 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/0.9367, allocations: 0 / 0.9595 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.534e-05/0.9368, allocations: 315.9 kB / 0.9598 GB, free: 3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.414e-05/0.9368, allocations: 2.219 kB / 0.9598 GB, free: 3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.276e-05/0.9368, allocations: 30.09 kB / 0.9599 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.154e-05/0.9369, allocations: 3.406 kB / 0.9599 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.9369, allocations: 1.156 kB / 0.9599 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.564e-05/0.9369, allocations: 54.14 kB / 0.9599 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.937, allocations: 5.625 kB / 0.9599 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.937, allocations: 1.125 kB / 0.9599 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.937, allocations: 1.094 kB / 0.9599 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.605e-05/0.937, allocations: 8.312 kB / 0.9599 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.912e-06/0.937, allocations: 0.9375 kB / 0.9599 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.761e-05/0.9371, allocations: 5.062 kB / 0.9599 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.9371, allocations: 1.844 kB / 0.9599 GB, free: 2.914 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 5.755e-05/0.9371, allocations: 116 kB / 0.9601 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.9372, allocations: 5.016 kB / 0.9601 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.871e-05/0.9373, allocations: 127.6 kB / 0.9602 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-05/0.9373, allocations: 185.1 kB / 0.9604 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.003e-05/0.9373, allocations: 177.4 kB / 0.9605 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-05/0.9374, allocations: 189.4 kB / 0.9607 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.9375, allocations: 403.8 kB / 0.9611 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/0.9375, allocations: 102 kB / 0.9612 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.609e-05/0.9376, allocations: 106 kB / 0.9613 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.74e-05/0.9376, allocations: 177.6 kB / 0.9615 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.9376, allocations: 184.2 kB / 0.9616 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.69e-05/0.9376, allocations: 185.4 kB / 0.9618 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.462e-05/0.9377, allocations: 181.4 kB / 0.962 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.354e-05/0.9378, allocations: 304.4 kB / 0.9623 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/0.9378, allocations: 187.1 kB / 0.9625 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.9379, allocations: 186.6 kB / 0.9626 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.938, allocations: 108.3 kB / 0.9627 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/0.9381, allocations: 185.7 kB / 0.9629 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.9382, allocations: 101 kB / 0.963 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.753e-05/0.9382, allocations: 84.91 kB / 0.9631 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9382, allocations: 0 / 0.9631 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002777/0.9385, allocations: 37.73 kB / 0.9631 GB, free: 15.49 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.0002852/0.9388, allocations: 230.2 kB / 0.9634 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.2e-05/0.9389, allocations: 17.72 kB / 0.9634 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9389, allocations: 1.031 kB / 0.9634 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.9389, allocations: 0 / 0.9634 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.9394, allocations: 0.5217 MB / 0.9639 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.9397, allocations: 219.4 kB / 0.9641 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.94, allocations: 0.6767 MB / 0.9647 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.94, allocations: 9 kB / 0.9648 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.94, allocations: 0 / 0.9648 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of Templates: time 0.002905/0.9429, allocations: 1.156 MB / 0.9659 GB, free: 13.24 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversionCalcHelperMain.o OMCppBuildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversionCalcHelperMain.o] Error 1