Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 101.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.001374/0.001374, allocations: 179.5 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.463/1.463, allocations: 223.3 MB / 240.6 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8037/0.8037, allocations: 132.3 MB / 424 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003482, allocations: 8.562 kB / 0.504 GB, free: 4.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5237/0.524, allocations: 81.58 MB / 0.5837 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001835/0.526, allocations: 0.9791 MB / 0.5846 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003781/0.5298, allocations: 3.052 MB / 0.5876 GB, free: 1.031 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.148e-05/0.5298, allocations: 4.969 kB / 0.5876 GB, free: 1.027 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.815e-05/0.5298, allocations: 0.5625 kB / 0.5876 GB, free: 1.027 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.386e-05/0.5299, allocations: 6.234 kB / 0.5876 GB, free: 1.023 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.5303, allocations: 85.03 kB / 0.5877 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.453e-05/0.5304, allocations: 27.45 kB / 0.5877 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.5305, allocations: 2.297 kB / 0.5877 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.968e-05/0.5305, allocations: 28.64 kB / 0.5877 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.905e-05/0.5306, allocations: 13.83 kB / 0.5878 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.5306, allocations: 2.281 kB / 0.5878 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.5308, allocations: 56.77 kB / 0.5878 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.5308, allocations: 7.672 kB / 0.5878 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.5309, allocations: 30.08 kB / 0.5879 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.531, allocations: 39.78 kB / 0.5879 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.531, allocations: 1.469 kB / 0.5879 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.531, allocations: 0 / 0.5879 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.5311, allocations: 0 / 0.5879 GB, free: 0.8789 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000334/0.5314, allocations: 343.5 kB / 0.5882 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.5314, allocations: 9.891 kB / 0.5882 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.842e-05/0.5316, allocations: 8.641 kB / 0.5882 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.473e-05/0.5316, allocations: 164.8 kB / 0.5884 GB, free: 316 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.5317, allocations: 6.141 kB / 0.5884 GB, free: 312 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.5317, allocations: 8.047 kB / 0.5884 GB, free: 308 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.5318, allocations: 49.38 kB / 0.5885 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.5319, allocations: 0 / 0.5885 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.5319, allocations: 5.312 kB / 0.5885 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.5319, allocations: 1.688 kB / 0.5885 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.063e-05/0.532, allocations: 18.5 kB / 0.5885 GB, free: 264 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.5321, allocations: 171.2 kB / 0.5886 GB, free: 56 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.5322, allocations: 56.19 kB / 0.5887 GB, free: 16 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.5323, allocations: 14.39 kB / 0.5887 GB, free: 8 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008144/0.5331, allocations: 0.597 MB / 0.5893 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.5331, allocations: 32.83 kB / 0.5893 GB, free: 15.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.5331, allocations: 0 / 0.5893 GB, free: 15.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.000627/0.5338, allocations: 298.9 kB / 0.5896 GB, free: 15.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.5338, allocations: 52.38 kB / 0.5897 GB, free: 14.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.5339, allocations: 108.7 kB / 0.5898 GB, free: 14.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.5339, allocations: 30.58 kB / 0.5898 GB, free: 14.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.534, allocations: 86.77 kB / 0.5899 GB, free: 14.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.534, allocations: 23.98 kB / 0.5899 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.534, allocations: 0.5 kB / 0.5899 GB, free: 14.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.5342, allocations: 318.4 kB / 0.5902 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.146e-05/0.5342, allocations: 9.062 kB / 0.5902 GB, free: 14.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.627e-05/0.5343, allocations: 57.14 kB / 0.5903 GB, free: 14.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.699e-05/0.5343, allocations: 19.14 kB / 0.5903 GB, free: 14.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.5343, allocations: 0.7188 kB / 0.5903 GB, free: 14.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001614/0.5345, allocations: 97.66 kB / 0.5904 GB, free: 14.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.5345, allocations: 10.25 kB / 0.5904 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.5345, allocations: 6.312 kB / 0.5904 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.5346, allocations: 2 kB / 0.5904 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.522e-05/0.5347, allocations: 23.56 kB / 0.5904 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.5347, allocations: 7.016 kB / 0.5904 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.149e-05/0.5347, allocations: 6 kB / 0.5904 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.5347, allocations: 7.281 kB / 0.5904 GB, free: 14.27 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 9.377e-05/0.5348, allocations: 114.3 kB / 0.5905 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.5349, allocations: 6.875 kB / 0.5906 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.5349, allocations: 20.91 kB / 0.5906 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.5349, allocations: 1.125 kB / 0.5906 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5349, allocations: 1.312 kB / 0.5906 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.5349, allocations: 0.7969 kB / 0.5906 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.5352, allocations: 172.8 kB / 0.5907 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5352, allocations: 0.75 kB / 0.5907 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.069e-05/0.5353, allocations: 15.2 kB / 0.5908 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5353, allocations: 0.625 kB / 0.5908 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.5353, allocations: 5.438 kB / 0.5908 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.5353, allocations: 4.516 kB / 0.5908 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5353, allocations: 0.6875 kB / 0.5908 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.5356, allocations: 175.6 kB / 0.5909 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.5356, allocations: 81.97 kB / 0.591 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.5356, allocations: 0.7031 kB / 0.591 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.709e-05/0.5357, allocations: 4.25 kB / 0.591 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.5358, allocations: 6.75 kB / 0.591 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.5358, allocations: 7.516 kB / 0.591 GB, free: 13.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.959e-05/0.5358, allocations: 77.97 kB / 0.5911 GB, free: 13.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5359, allocations: 4 kB / 0.5911 GB, free: 13.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.5361, allocations: 14.56 kB / 0.5911 GB, free: 13.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001421/0.5362, allocations: 100.9 kB / 0.5912 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.5364, allocations: 45.36 kB / 0.5913 GB, free: 13.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5364, allocations: 0.8438 kB / 0.5913 GB, free: 13.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.19e-05/0.5364, allocations: 16.25 kB / 0.5913 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.5367, allocations: 16.36 kB / 0.5913 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007061/0.5374, allocations: 419.3 kB / 0.5917 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.5377, allocations: 0.6835 MB / 0.5924 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.5378, allocations: 12.94 kB / 0.5924 GB, free: 12.44 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.5378, allocations: 0 / 0.5924 GB, free: 12.44 MB / 446.1 MB Notification: Performance of Templates: time 0.002852/0.5406, allocations: 0.758 MB / 0.5931 GB, free: 12.39 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.makefile make -j1 -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.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 OMCppIDEAS_IDEAS.Media.Examples.WaterDerivativeCheckCalcHelperMain.o OMCppIDEAS_IDEAS.Media.Examples.WaterDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Media.Examples.WaterDerivativeCheckCalcHelperMain.o] Error 1