Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(HelmholtzMedia.Examples.Validation.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001039, allocations: 99.34 kB / 16.02 MB, free: 76 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.001333/0.001332, allocations: 180.9 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.4 MB / 223.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04583/0.04583, allocations: 9.061 MB / 280.5 MB, free: 12.15 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000593/0.0005932, allocations: 12.22 kB / 340.4 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1161, allocations: 49.19 MB / 389.6 MB, free: 8.402 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.0173/0.1334, allocations: 13.16 MB / 402.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01145/0.1449, allocations: 9.153 MB / 411.9 MB, free: 2.008 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1451, allocations: 7.938 kB / 411.9 MB, free: 2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.1454, allocations: 47.77 kB / 411.9 MB, free: 1.953 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005537/0.1509, allocations: 1.462 MB / 413.4 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008192/0.1591, allocations: 1.785 MB / 415.2 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.1594, allocations: 135.1 kB / 415.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.709e-05/0.1595, allocations: 7.984 kB / 415.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.753e-05/0.1596, allocations: 35.88 kB / 415.4 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.1597, allocations: 47.72 kB / 415.4 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1597, allocations: 4 kB / 415.4 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01483/0.1746, allocations: 6.856 MB / 422.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.1747, allocations: 7.938 kB / 422.3 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.1748, allocations: 77.44 kB / 422.4 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00704/0.1819, allocations: 2.518 MB / 424.9 MB, free: 5.004 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.1819, allocations: 0 / 424.9 MB, free: 5.004 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1819, allocations: 0 / 424.9 MB, free: 5.004 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1819, allocations: 0 / 424.9 MB, free: 5.004 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00367/0.1856, allocations: 0.858 MB / 425.7 MB, free: 4.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/0.1857, allocations: 8.031 kB / 425.7 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004038/0.1861, allocations: 40.81 kB / 425.8 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.1865, allocations: 208.1 kB / 426 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.1865, allocations: 8.562 kB / 426 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.1865, allocations: 15.88 kB / 426 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000904/0.1875, allocations: 255.2 kB / 426.3 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1875, allocations: 0 / 426.3 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.1875, allocations: 15.98 kB / 426.3 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.381e-06/0.1875, allocations: 0 / 426.3 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007782/0.1883, allocations: 215.7 kB / 426.5 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009783/0.1893, allocations: 0.6662 MB / 427.1 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009176/0.1902, allocations: 237 kB / 427.4 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.594e-05/0.1904, allocations: 57.69 kB / 427.4 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3939/0.5843, allocations: 64.58 MB / 492 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.555e-05/0.5844, allocations: 39.95 kB / 492.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 3.788e-06/0.5844, allocations: 4 kB / 492.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001881/0.5863, allocations: 376.8 kB / 492.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.607e-05/0.5864, allocations: 77.11 kB / 492.5 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.5866, allocations: 130.1 kB / 492.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.5866, allocations: 29.7 kB / 492.7 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.941e-05/0.5867, allocations: 91.27 kB / 492.7 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.151e-05/0.5868, allocations: 52.11 kB / 492.8 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/0.5869, allocations: 25.7 kB / 492.8 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.5871, allocations: 326.8 kB / 493.1 MB, free: 180 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.5872, allocations: 51.97 kB / 493.2 MB, free: 128 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.5874, allocations: 89.89 kB / 493.3 MB, free: 28 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.5878, allocations: 149.2 kB / 493.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.5878, allocations: 4 kB / 493.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004511/0.5883, allocations: 216 kB / 493.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.5883, allocations: 7.938 kB / 493.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.5883, allocations: 0 / 493.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.5883, allocations: 4 kB / 493.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.5886, allocations: 52.83 kB / 493.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.5886, allocations: 7.672 kB / 493.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.5887, allocations: 15 kB / 493.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.5888, allocations: 19.97 kB / 493.7 MB, free: 15.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (state_h.phase,state_p.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001447/0.5889, allocations: 121.8 kB / 493.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.589, allocations: 19.12 kB / 493.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.5914, allocations: 2.102 MB / 496 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.5914, allocations: 11.98 kB / 496 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.5914, allocations: 0 / 496 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.5914, allocations: 7.984 kB / 496 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.5925, allocations: 1.048 MB / 497 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5925, allocations: 0 / 497 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.5928, allocations: 31.97 kB / 497.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-05/0.5928, allocations: 3.938 kB / 497.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.5928, allocations: 4 kB / 497.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.5928, allocations: 7.922 kB / 497.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.5928, allocations: 0 / 497.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007938/0.5936, allocations: 0.6454 MB / 497.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.749e-05/0.5937, allocations: 100.8 kB / 497.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.5938, allocations: 0 / 497.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.5939, allocations: 8 kB / 497.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.594, allocations: 9.062 kB / 497.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.594, allocations: 4 kB / 497.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.461e-05/0.5941, allocations: 103.3 kB / 498 MB, free: 11.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5941, allocations: 4 kB / 498 MB, free: 11.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003812/0.5979, allocations: 0.9052 MB / 498.9 MB, free: 10.38 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_p_int,d_h_int) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00488/0.6028, allocations: 1.096 MB / 500 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006253/0.6034, allocations: 220.5 kB / 0.4885 GB, free: 9.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.6035, allocations: 0 / 0.4885 GB, free: 9.168 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002632/0.6037, allocations: 160.9 kB / 0.4886 GB, free: 9.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000757/0.6045, allocations: 76.97 kB / 0.4887 GB, free: 8.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.6059, allocations: 0.7108 MB / 0.4894 GB, free: 8.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.6063, allocations: 0.7406 MB / 0.4901 GB, free: 7.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.6065, allocations: 35.41 kB / 0.4901 GB, free: 7.395 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.6065, allocations: 0 / 0.4901 GB, free: 7.395 MB / 350.1 MB Notification: Performance of Templates: time 0.03574/0.6422, allocations: 18.68 MB / 0.5084 GB, free: 4.715 MB / 366.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.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 OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWaterCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWaterCalcHelperMain.o] Error 1