Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006597/0.006596, allocations: 100.8 kB / 15.87 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 195.8 kB / 16.79 MB, free: 6.254 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7387/0.7387, allocations: 132.2 MB / 422.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 59.12 kB / 0.5017 GB, free: 9.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1588, allocations: 80.2 MB / 0.58 GB, free: 9.191 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004775/0.1636, allocations: 4.065 MB / 0.584 GB, free: 5.094 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000176/0.1638, allocations: 155.5 kB / 0.5841 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.447e-05/0.1638, allocations: 0 / 0.5841 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.37e-05/0.1639, allocations: 3.938 kB / 0.5841 GB, free: 4.938 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.587e-05/0.164, allocations: 11.97 kB / 0.5842 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.1643, allocations: 82.14 kB / 0.5842 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.337e-05/0.1644, allocations: 59.8 kB / 0.5843 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.1644, allocations: 8 kB / 0.5843 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.372e-05/0.1645, allocations: 11.94 kB / 0.5843 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.367e-05/0.1645, allocations: 15.97 kB / 0.5843 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.1645, allocations: 0 / 0.5843 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.1648, allocations: 71.78 kB / 0.5844 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.886e-05/0.1648, allocations: 4 kB / 0.5844 GB, free: 4.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.1648, allocations: 15.94 kB / 0.5844 GB, free: 4.664 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.358e-05/0.1649, allocations: 31.95 kB / 0.5844 GB, free: 4.633 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.165, allocations: 0 / 0.5844 GB, free: 4.633 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.165, allocations: 0 / 0.5844 GB, free: 4.633 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.165, allocations: 0 / 0.5844 GB, free: 4.633 MB / 494.1 MB 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.0003757/0.1653, allocations: 339.7 kB / 0.5848 GB, free: 4.254 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1654, allocations: 12.03 kB / 0.5848 GB, free: 4.242 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.1654, allocations: 4.922 kB / 0.5848 GB, free: 4.238 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.488e-05/0.1655, allocations: 164.3 kB / 0.5849 GB, free: 4.039 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.892e-05/0.1656, allocations: 34.27 kB / 0.585 GB, free: 4 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.1656, allocations: 384 / 0.585 GB, free: 4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1658, allocations: 49.62 kB / 0.585 GB, free: 3.945 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1658, allocations: 0 / 0.585 GB, free: 3.945 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1658, allocations: 0 / 0.585 GB, free: 3.945 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.1658, allocations: 3.984 kB / 0.585 GB, free: 3.941 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.336e-05/0.1659, allocations: 12 kB / 0.585 GB, free: 3.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.1663, allocations: 345.9 kB / 0.5854 GB, free: 3.523 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.568e-05/0.1663, allocations: 22.58 kB / 0.5854 GB, free: 3.492 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.51e-05/0.1664, allocations: 8.844 kB / 0.5854 GB, free: 3.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.658e-05/0.1664, allocations: 81.17 kB / 0.5855 GB, free: 3.383 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.1665, allocations: 38.5 kB / 0.5855 GB, free: 3.336 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1665, allocations: 0 / 0.5855 GB, free: 3.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001354/0.1666, allocations: 41.64 kB / 0.5855 GB, free: 3.289 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.1667, allocations: 59.42 kB / 0.5856 GB, free: 3.219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.1667, allocations: 97.86 kB / 0.5857 GB, free: 3.113 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.1668, allocations: 25.7 kB / 0.5857 GB, free: 3.082 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.1668, allocations: 99.95 kB / 0.5858 GB, free: 2.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-06/0.1668, allocations: 0 / 0.5858 GB, free: 2.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.1669, allocations: 13.72 kB / 0.5858 GB, free: 2.961 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.167, allocations: 322.8 kB / 0.5861 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/0.167, allocations: 4 kB / 0.5861 GB, free: 2.633 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.996e-05/0.167, allocations: 17.89 kB / 0.5862 GB, free: 2.609 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.774e-05/0.167, allocations: 29.66 kB / 0.5862 GB, free: 2.574 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.167, allocations: 0 / 0.5862 GB, free: 2.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.455e-05/0.1671, allocations: 45.78 kB / 0.5862 GB, free: 2.523 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1671, allocations: 8 kB / 0.5862 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.1671, allocations: 4.062 kB / 0.5862 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1672, allocations: 3.984 kB / 0.5862 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.171e-05/0.1672, allocations: 4 kB / 0.5862 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1672, allocations: 3.938 kB / 0.5863 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.1672, allocations: 7.906 kB / 0.5863 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.1673, allocations: 0 / 0.5863 GB, free: 2.492 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.84e-05/0.1673, allocations: 118.4 kB / 0.5864 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.1674, allocations: 0 / 0.5864 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.1675, allocations: 121 kB / 0.5865 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.578e-05/0.1675, allocations: 184.2 kB / 0.5867 GB, free: 2.051 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.294e-05/0.1676, allocations: 176.3 kB / 0.5868 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.672e-05/0.1676, allocations: 176.3 kB / 0.587 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.1678, allocations: 413.1 kB / 0.5874 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-05/0.1679, allocations: 105 kB / 0.5875 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.1679, allocations: 108.9 kB / 0.5876 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.283e-05/0.168, allocations: 176.3 kB / 0.5878 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.654e-05/0.168, allocations: 192.1 kB / 0.5879 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.757e-05/0.1681, allocations: 176.3 kB / 0.5881 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-05/0.1681, allocations: 180.3 kB / 0.5883 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.1683, allocations: 311.7 kB / 0.5886 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.1683, allocations: 190 kB / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.912e-05/0.1684, allocations: 180.2 kB / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.1685, allocations: 109 kB / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.1686, allocations: 184.2 kB / 0.5892 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.1687, allocations: 105.3 kB / 0.5893 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.994e-05/0.1687, allocations: 87.28 kB / 0.5894 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1687, allocations: 0 / 0.5894 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002243/0.1689, allocations: 15.98 kB / 0.5894 GB, free: 15.04 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002165/0.1692, allocations: 198.4 kB / 0.5896 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.762e-05/0.1692, allocations: 23.92 kB / 0.5896 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1692, allocations: 0 / 0.5896 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.093e-06/0.1692, allocations: 0 / 0.5896 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.1696, allocations: 0.5185 MB / 0.5901 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002366/0.1699, allocations: 213.4 kB / 0.5903 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.1701, allocations: 0.677 MB / 0.591 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.046e-05/0.1701, allocations: 15.42 kB / 0.591 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1701, allocations: 0 / 0.591 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of Templates: time 0.001887/0.172, allocations: 0.7285 MB / 0.5917 GB, free: 12.61 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversionCalcHelperMain.o OMCppIDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversionCalcHelperMain.o] Error 1