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.005345/0.005345, allocations: 96.91 kB / 15.87 MB, free: 6.289 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.001091/0.001091, allocations: 199.2 kB / 16.79 MB, free: 6.215 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.325/1.325, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7331/0.7331, allocations: 132.2 MB / 422.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 64.05 kB / 0.5017 GB, free: 9.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.164, allocations: 80.2 MB / 0.58 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002296/0.1663, allocations: 1.32 MB / 0.5813 GB, free: 7.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003097/0.1694, allocations: 3.243 MB / 0.5845 GB, free: 4.625 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.443e-05/0.1695, allocations: 4 kB / 0.5845 GB, free: 4.621 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.733e-05/0.1695, allocations: 3.938 kB / 0.5845 GB, free: 4.617 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.944e-05/0.1695, allocations: 7.938 kB / 0.5845 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.1699, allocations: 91.61 kB / 0.5846 GB, free: 4.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.819e-05/0.17, allocations: 35.86 kB / 0.5846 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.465e-05/0.17, allocations: 3.984 kB / 0.5846 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.213e-05/0.17, allocations: 23.92 kB / 0.5846 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.657e-05/0.1701, allocations: 15.92 kB / 0.5847 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.1701, allocations: 11.98 kB / 0.5847 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.1703, allocations: 67.81 kB / 0.5847 GB, free: 4.363 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.1703, allocations: 8 kB / 0.5847 GB, free: 4.355 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.1704, allocations: 19.91 kB / 0.5848 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.1705, allocations: 44.22 kB / 0.5848 GB, free: 4.293 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1705, allocations: 0 / 0.5848 GB, free: 4.293 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1705, allocations: 0 / 0.5848 GB, free: 4.293 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.1705, allocations: 0 / 0.5848 GB, free: 4.293 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003326/0.1708, allocations: 343.5 kB / 0.5851 GB, free: 3.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.1709, allocations: 16.03 kB / 0.5851 GB, free: 3.895 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.073e-05/0.171, allocations: 4.938 kB / 0.5851 GB, free: 3.891 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.173e-05/0.1711, allocations: 172.2 kB / 0.5853 GB, free: 3.684 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.1711, allocations: 4.375 kB / 0.5853 GB, free: 3.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.1711, allocations: 4.375 kB / 0.5853 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.1712, allocations: 61.73 kB / 0.5854 GB, free: 3.609 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1712, allocations: 0 / 0.5854 GB, free: 3.609 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1713, allocations: 4 kB / 0.5854 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1713, allocations: 0 / 0.5854 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.137e-05/0.1713, allocations: 19.98 kB / 0.5854 GB, free: 3.586 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.1715, allocations: 169.5 kB / 0.5856 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.47e-05/0.1716, allocations: 58.5 kB / 0.5856 GB, free: 3.305 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.845e-05/0.1716, allocations: 16.86 kB / 0.5856 GB, free: 3.285 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006371/0.1723, allocations: 0.5947 MB / 0.5862 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.1723, allocations: 38.56 kB / 0.5863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1723, allocations: 0 / 0.5863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005477/0.1729, allocations: 302.4 kB / 0.5865 GB, free: 2.188 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.1729, allocations: 55.34 kB / 0.5866 GB, free: 2.121 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.149e-05/0.173, allocations: 101.8 kB / 0.5867 GB, free: 2.012 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.173, allocations: 29.7 kB / 0.5867 GB, free: 1.977 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.173, allocations: 88.05 kB / 0.5868 GB, free: 1.887 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.1731, allocations: 23.66 kB / 0.5868 GB, free: 1.863 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.1731, allocations: 29.7 kB / 0.5869 GB, free: 1.828 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.1732, allocations: 318.8 kB / 0.5872 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.181e-05/0.1733, allocations: 11.98 kB / 0.5872 GB, free: 1.496 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.199e-05/0.1733, allocations: 53.14 kB / 0.5872 GB, free: 1.426 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.038e-05/0.1734, allocations: 73.03 kB / 0.5873 GB, free: 1.336 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1734, allocations: 4 kB / 0.5873 GB, free: 1.332 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001277/0.1735, allocations: 101.5 kB / 0.5874 GB, free: 1.227 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1736, allocations: 4 kB / 0.5874 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1736, allocations: 4 kB / 0.5874 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1736, allocations: 0 / 0.5874 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.656e-05/0.1737, allocations: 27.92 kB / 0.5874 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1737, allocations: 4 kB / 0.5874 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.617e-05/0.1737, allocations: 3.938 kB / 0.5874 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.1737, allocations: 4 kB / 0.5874 GB, free: 1.18 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.403e-05/0.1738, allocations: 117.8 kB / 0.5875 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.1738, allocations: 8.031 kB / 0.5876 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.1739, allocations: 11.95 kB / 0.5876 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1739, allocations: 0 / 0.5876 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1739, allocations: 0 / 0.5876 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1739, allocations: 3.938 kB / 0.5876 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.1741, allocations: 173.7 kB / 0.5877 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1741, allocations: 4 kB / 0.5877 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-05/0.1742, allocations: 12 kB / 0.5878 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1742, allocations: 0 / 0.5878 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.1742, allocations: 448 / 0.5878 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1743, allocations: 3.984 kB / 0.5878 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.1743, allocations: 8 kB / 0.5878 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.1744, allocations: 179.6 kB / 0.5879 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.1745, allocations: 81.14 kB / 0.588 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.1745, allocations: 8 kB / 0.588 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1746, allocations: 96 / 0.588 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.117e-05/0.1746, allocations: 11.97 kB / 0.588 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.1746, allocations: 3.938 kB / 0.588 GB, free: 484 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.717e-05/0.1747, allocations: 83.28 kB / 0.5881 GB, free: 400 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1747, allocations: 0 / 0.5881 GB, free: 400 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.1749, allocations: 16 kB / 0.5881 GB, free: 384 kB / 494.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 (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.000115/0.175, allocations: 99.25 kB / 0.5882 GB, free: 276 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.699e-05/0.1752, allocations: 35.92 kB / 0.5883 GB, free: 240 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1752, allocations: 0 / 0.5883 GB, free: 240 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.601e-05/0.1752, allocations: 28.33 kB / 0.5883 GB, free: 212 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.1755, allocations: 4 kB / 0.5883 GB, free: 208 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000639/0.1761, allocations: 365.8 kB / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.1763, allocations: 0.6809 MB / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.1764, allocations: 11.44 kB / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1764, allocations: 0 / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.002155/0.1785, allocations: 0.777 MB / 0.5901 GB, free: 14.32 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.makefile make -j1 -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.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.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