Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 95.28 kB / 16.33 MB, free: 5.578 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.001154/0.001154, allocations: 190.8 kB / 17.23 MB, free: 5.508 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.486/1.486, allocations: 223.2 MB / 241.2 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7323/0.7323, allocations: 114.3 MB / 406.7 MB, free: 3.918 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003607, allocations: 8 kB / 494.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2041, allocations: 77.27 MB / 0.5583 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5845/0.7886, allocations: 122.6 MB / 0.678 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001594/0.7889, allocations: 46.41 kB / 0.678 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.7889, allocations: 0 / 0.678 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.789, allocations: 3.984 kB / 0.6781 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.924e-05/0.7891, allocations: 11.92 kB / 0.6781 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000777/0.7899, allocations: 195 kB / 0.6783 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.893e-05/0.79, allocations: 43.89 kB / 0.6783 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.79, allocations: 4 kB / 0.6783 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.937e-05/0.7901, allocations: 15.92 kB / 0.6783 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.143e-05/0.7902, allocations: 13.58 kB / 0.6783 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.7902, allocations: 4 kB / 0.6783 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003925/0.7906, allocations: 158.5 kB / 0.6785 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.953e-05/0.7906, allocations: 11.98 kB / 0.6785 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.7907, allocations: 29.7 kB / 0.6785 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.7909, allocations: 102.2 kB / 0.6786 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.7909, allocations: 4 kB / 0.6786 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7909, allocations: 0 / 0.6786 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.7909, allocations: 0 / 0.6786 GB, free: 13.93 MB / 0.4981 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.0004029/0.7913, allocations: 351.4 kB / 0.679 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.7914, allocations: 12.02 kB / 0.679 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.7914, allocations: 0 / 0.679 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.7915, allocations: 167.7 kB / 0.6791 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.766e-05/0.7916, allocations: 29.7 kB / 0.6792 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.7916, allocations: 1.062 kB / 0.6792 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.7918, allocations: 53.58 kB / 0.6792 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.7918, allocations: 0 / 0.6792 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.7918, allocations: 3.938 kB / 0.6792 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.7918, allocations: 0 / 0.6792 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.029e-05/0.7919, allocations: 11.98 kB / 0.6792 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007896/0.7927, allocations: 0.6067 MB / 0.6798 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.661e-05/0.7927, allocations: 22.52 kB / 0.6798 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.676e-05/0.7928, allocations: 4.859 kB / 0.6798 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00023/0.793, allocations: 340.5 kB / 0.6802 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.793, allocations: 38.5 kB / 0.6802 GB, free: 12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.793, allocations: 4 kB / 0.6802 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001394/0.7932, allocations: 33.69 kB / 0.6802 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.7932, allocations: 55.41 kB / 0.6803 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.406e-05/0.7933, allocations: 101.8 kB / 0.6804 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.7934, allocations: 25.7 kB / 0.6804 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.7934, allocations: 88.03 kB / 0.6805 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.915e-06/0.7934, allocations: 7.938 kB / 0.6805 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.7934, allocations: 3.938 kB / 0.6805 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.7936, allocations: 319 kB / 0.6808 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.7936, allocations: 4 kB / 0.6808 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.659e-05/0.7936, allocations: 17.7 kB / 0.6808 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.255e-05/0.7936, allocations: 8 kB / 0.6808 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.7937, allocations: 3.953 kB / 0.6808 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.311e-05/0.7937, allocations: 45.62 kB / 0.6809 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.7938, allocations: 4 kB / 0.6809 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.7938, allocations: 4.062 kB / 0.6809 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.7938, allocations: 4 kB / 0.6809 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.676e-05/0.7938, allocations: 5.562 kB / 0.6809 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.7938, allocations: 0 / 0.6809 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.967e-05/0.7939, allocations: 7.906 kB / 0.6809 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.7939, allocations: 4 kB / 0.6809 GB, free: 11.21 MB / 0.4981 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 7.542e-05/0.794, allocations: 109.6 kB / 0.681 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.794, allocations: 7.938 kB / 0.681 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.7941, allocations: 120.9 kB / 0.6811 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.97e-05/0.7942, allocations: 184.3 kB / 0.6813 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.135e-05/0.7943, allocations: 176.3 kB / 0.6815 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.474e-05/0.7943, allocations: 184.2 kB / 0.6817 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.7946, allocations: 409.2 kB / 0.6821 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.134e-05/0.7947, allocations: 108.9 kB / 0.6822 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.7947, allocations: 108.9 kB / 0.6823 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.118e-05/0.7948, allocations: 181.1 kB / 0.6824 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.557e-05/0.7949, allocations: 180.2 kB / 0.6826 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-05/0.7949, allocations: 180.2 kB / 0.6828 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.571e-05/0.795, allocations: 184.2 kB / 0.683 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.7952, allocations: 299.8 kB / 0.6832 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/0.7953, allocations: 198 kB / 0.6834 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-05/0.7953, allocations: 180.2 kB / 0.6836 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.7955, allocations: 109.8 kB / 0.6837 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.7956, allocations: 184.2 kB / 0.6839 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/0.7956, allocations: 105 kB / 0.684 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.832e-05/0.7957, allocations: 91.22 kB / 0.6841 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.7957, allocations: 0 / 0.6841 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000289/0.796, allocations: 51.92 kB / 0.6841 GB, free: 7.715 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 (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.0003205/0.7963, allocations: 247.1 kB / 0.6844 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.895e-05/0.7964, allocations: 12.3 kB / 0.6844 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.7964, allocations: 0 / 0.6844 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.7964, allocations: 0 / 0.6844 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.7969, allocations: 0.5265 MB / 0.6849 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.7973, allocations: 214 kB / 0.6851 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.7976, allocations: 0.677 MB / 0.6857 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.7977, allocations: 11.44 kB / 0.6858 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.7977, allocations: 0 / 0.6858 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of Templates: time 0.003141/0.8008, allocations: 1.207 MB / 0.6869 GB, free: 4.762 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.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 OMCppIBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversionCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversionCalcHelperMain.o] Error 1