Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000745/0.0007451, allocations: 96.14 kB / 16.03 MB, free: 68 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.0008852/0.0008855, allocations: 183.8 kB / 16.92 MB, free: 6.906 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.276/1.276, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7064/0.7064, allocations: 132.3 MB / 424.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.0002991, allocations: 8 kB / 0.5046 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4033, allocations: 81.58 MB / 0.5843 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001679/0.405, allocations: 1.129 MB / 0.5854 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004455/0.4055, allocations: 201.4 kB / 0.5856 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.4055, allocations: 1.156 kB / 0.5856 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.4055, allocations: 0 / 0.5856 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.013e-05/0.4056, allocations: 9.469 kB / 0.5856 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.4058, allocations: 19.16 kB / 0.5856 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.552e-05/0.4058, allocations: 20.92 kB / 0.5856 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.748e-05/0.4059, allocations: 5.078 kB / 0.5856 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.783e-05/0.406, allocations: 8.906 kB / 0.5856 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.861e-05/0.406, allocations: 14.78 kB / 0.5857 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.406, allocations: 9.062 kB / 0.5857 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-05/0.4061, allocations: 30.33 kB / 0.5857 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.4061, allocations: 6.172 kB / 0.5857 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.4062, allocations: 34.25 kB / 0.5857 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.377e-05/0.4063, allocations: 23.23 kB / 0.5858 GB, free: 2.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4063, allocations: 0 / 0.5858 GB, free: 2.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.4063, allocations: 0.6094 kB / 0.5858 GB, free: 2.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.4063, allocations: 1.094 kB / 0.5858 GB, free: 2.98 MB / 430.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.0003496/0.4066, allocations: 344.8 kB / 0.5861 GB, free: 2.617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.4067, allocations: 9.5 kB / 0.5861 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.902e-05/0.4068, allocations: 4.531 kB / 0.5861 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.699e-05/0.4069, allocations: 166.8 kB / 0.5863 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.4069, allocations: 5.531 kB / 0.5863 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.4069, allocations: 1.625 kB / 0.5863 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.4071, allocations: 58.25 kB / 0.5863 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.4071, allocations: 0.75 kB / 0.5863 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.4071, allocations: 5 kB / 0.5863 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4071, allocations: 0 / 0.5863 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.4073, allocations: 50.89 kB / 0.5864 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002734/0.4076, allocations: 250.9 kB / 0.5866 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.4077, allocations: 49.33 kB / 0.5867 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.297e-05/0.4079, allocations: 32.84 kB / 0.5867 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.4079, allocations: 1.219 kB / 0.5867 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.4079, allocations: 31.41 kB / 0.5867 GB, free: 1.992 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4079, allocations: 0.5625 kB / 0.5867 GB, free: 1.992 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003477/0.4083, allocations: 102.3 kB / 0.5868 GB, free: 1.945 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.4083, allocations: 53.28 kB / 0.5869 GB, free: 1.883 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.821e-05/0.4083, allocations: 100.8 kB / 0.587 GB, free: 1.781 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.253e-06/0.4084, allocations: 25.7 kB / 0.587 GB, free: 1.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.273e-05/0.4084, allocations: 81.98 kB / 0.5871 GB, free: 1.668 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.4084, allocations: 9.297 kB / 0.5871 GB, free: 1.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.005e-05/0.4084, allocations: 14.5 kB / 0.5871 GB, free: 1.641 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.192e-05/0.4085, allocations: 313.1 kB / 0.5874 GB, free: 1.328 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.752e-05/0.4086, allocations: 23.41 kB / 0.5874 GB, free: 1.324 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.68e-05/0.4087, allocations: 19.58 kB / 0.5874 GB, free: 1.324 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.4088, allocations: 54.8 kB / 0.5875 GB, free: 1.305 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4088, allocations: 1.031 kB / 0.5875 GB, free: 1.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001933/0.409, allocations: 80.38 kB / 0.5876 GB, free: 1.262 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.4091, allocations: 5.812 kB / 0.5876 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.4091, allocations: 4 kB / 0.5876 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.4091, allocations: 0.7969 kB / 0.5876 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.471e-05/0.4092, allocations: 11.22 kB / 0.5876 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.4092, allocations: 0.7188 kB / 0.5876 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.33e-05/0.4092, allocations: 20.91 kB / 0.5876 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.4093, allocations: 4.875 kB / 0.5876 GB, free: 1.242 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 4.702e-05/0.4093, allocations: 113.5 kB / 0.5877 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.4093, allocations: 1.25 kB / 0.5877 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.4096, allocations: 93.17 kB / 0.5878 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4096, allocations: 0.75 kB / 0.5878 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4096, allocations: 1.219 kB / 0.5878 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4096, allocations: 0.8438 kB / 0.5878 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.4097, allocations: 164.4 kB / 0.588 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4097, allocations: 0 / 0.588 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.968e-05/0.4098, allocations: 13.38 kB / 0.588 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4098, allocations: 9.031 kB / 0.588 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.4098, allocations: 0 / 0.588 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.4098, allocations: 1.469 kB / 0.588 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4098, allocations: 0 / 0.588 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.4101, allocations: 183.8 kB / 0.5882 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.4101, allocations: 79.14 kB / 0.5882 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.4101, allocations: 5.562 kB / 0.5882 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.4102, allocations: 8.672 kB / 0.5883 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.4102, allocations: 2.078 kB / 0.5883 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.4103, allocations: 1.578 kB / 0.5883 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.15e-05/0.4103, allocations: 80.83 kB / 0.5883 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4103, allocations: 0 / 0.5883 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002052/0.4105, allocations: 8.562 kB / 0.5883 GB, free: 0.543 MB / 430.1 MB 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 (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 Backend phase and start with SimCode phase: time 8.495e-05/0.4106, allocations: 99.02 kB / 0.5884 GB, free: 464 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.4108, allocations: 47.08 kB / 0.5885 GB, free: 460 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4108, allocations: 64 / 0.5885 GB, free: 460 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.157e-05/0.4109, allocations: 32.66 kB / 0.5885 GB, free: 452 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.4112, allocations: 9.562 kB / 0.5885 GB, free: 444 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002637/0.4115, allocations: 155 kB / 0.5887 GB, free: 288 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.4117, allocations: 0.6818 MB / 0.5893 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.4117, allocations: 8.375 kB / 0.5893 GB, free: 15.57 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4117, allocations: 0 / 0.5893 GB, free: 15.57 MB / 446.1 MB Notification: Performance of Templates: time 0.001928/0.4137, allocations: 0.574 MB / 0.5899 GB, free: 15.54 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquidCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquidCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquidCalcHelperMain.o] Error 1