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.001074/0.001074, allocations: 96.14 kB / 15.87 MB, free: 16 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.001222/0.001222, allocations: 192.9 kB / 16.79 MB, free: 6.812 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.494/1.494, allocations: 205.1 MB / 222.6 MB, free: 5.004 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04238/0.04238, allocations: 9.084 MB / 279.1 MB, free: 12.66 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.001316/0.001316, allocations: 63.91 kB / 338 MB, free: 25.95 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.113, allocations: 48.17 MB / 386.2 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.01703/0.1301, allocations: 13.66 MB / 399.8 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009938/0.1401, allocations: 9.312 MB / 409.1 MB, free: 2.672 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.1402, allocations: 0 / 409.1 MB, free: 2.672 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.1404, allocations: 43.78 kB / 409.2 MB, free: 2.629 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004814/0.1453, allocations: 1.456 MB / 410.6 MB, free: 1.176 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006767/0.1521, allocations: 1.79 MB / 412.4 MB, free: 15.38 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.1523, allocations: 131.1 kB / 412.5 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.19e-05/0.1524, allocations: 7.984 kB / 412.5 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.848e-05/0.1525, allocations: 39.86 kB / 412.6 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.615e-05/0.1526, allocations: 47.78 kB / 412.6 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.1526, allocations: 8 kB / 412.6 MB, free: 15.15 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01297/0.1656, allocations: 6.848 MB / 419.5 MB, free: 8.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.227e-05/0.1657, allocations: 11.92 kB / 419.5 MB, free: 8.285 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1658, allocations: 47.8 kB / 419.5 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004908/0.1707, allocations: 2.534 MB / 422.1 MB, free: 5.699 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.1707, allocations: 0 / 422.1 MB, free: 5.699 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1707, allocations: 4 kB / 422.1 MB, free: 5.695 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.1708, allocations: 0 / 422.1 MB, free: 5.695 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.003398/0.1742, allocations: 0.8853 MB / 423 MB, free: 4.762 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.1742, allocations: 12.03 kB / 423 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003959/0.1746, allocations: 44.8 kB / 423 MB, free: 4.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.1749, allocations: 200.2 kB / 423.2 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.1749, allocations: 12.5 kB / 423.2 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.175, allocations: 15.94 kB / 423.2 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008823/0.1759, allocations: 259.1 kB / 423.5 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1759, allocations: 4 kB / 423.5 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.1759, allocations: 4 kB / 423.5 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.1759, allocations: 4 kB / 423.5 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007529/0.1767, allocations: 211.8 kB / 423.7 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008579/0.1776, allocations: 0.6662 MB / 424.4 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008537/0.1784, allocations: 237 kB / 424.6 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.966e-05/0.1785, allocations: 61.64 kB / 424.7 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.295/0.4736, allocations: 63.94 MB / 488.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.4737, allocations: 47.11 kB / 488.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.783e-06/0.4737, allocations: 0 / 488.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001671/0.4753, allocations: 366.4 kB / 489 MB, free: 3.156 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.4754, allocations: 78.23 kB / 489.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.4755, allocations: 130.1 kB / 489.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.4756, allocations: 33.7 kB / 489.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.4756, allocations: 92.06 kB / 489.4 MB, free: 2.797 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.937e-05/0.4757, allocations: 50.42 kB / 489.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.482e-05/0.4758, allocations: 61.67 kB / 489.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4759, allocations: 322.8 kB / 489.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.476, allocations: 63.59 kB / 489.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.4762, allocations: 85.73 kB / 489.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.4765, allocations: 155.2 kB / 490.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4765, allocations: 0 / 490.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004671/0.477, allocations: 209.9 kB / 490.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.477, allocations: 11.92 kB / 490.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.4771, allocations: 4 kB / 490.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.4771, allocations: 3.844 kB / 490.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.4773, allocations: 55.95 kB / 490.4 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.4773, allocations: 0 / 490.4 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.4775, allocations: 13.66 kB / 490.4 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.4775, allocations: 19.98 kB / 490.4 MB, free: 1.754 MB / 334.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.0001099/0.4776, allocations: 121.8 kB / 490.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.089e-05/0.4777, allocations: 15.66 kB / 490.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.4797, allocations: 2.111 MB / 492.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.4798, allocations: 7.984 kB / 492.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.4798, allocations: 4 kB / 492.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.4798, allocations: 0 / 492.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009275/0.4807, allocations: 1.047 MB / 493.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4807, allocations: 0 / 493.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.481, allocations: 35.95 kB / 493.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.481, allocations: 7.5 kB / 493.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.481, allocations: 4 kB / 493.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.481, allocations: 4 kB / 493.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.481, allocations: 0 / 493.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007117/0.4817, allocations: 0.6416 MB / 494.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.4818, allocations: 104.6 kB / 494.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.4818, allocations: 4 kB / 494.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.482, allocations: 4 kB / 494.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.482, allocations: 13.12 kB / 494.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.4821, allocations: 7.172 kB / 494.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.51e-05/0.4822, allocations: 107.2 kB / 494.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4822, allocations: 0 / 494.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002731/0.4849, allocations: 0.9052 MB / 495.5 MB, free: 12.57 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.003433/0.4883, allocations: 1.1 MB / 496.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004066/0.4888, allocations: 215.7 kB / 496.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4888, allocations: 0 / 496.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.489, allocations: 159.3 kB / 497 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006028/0.4896, allocations: 70.17 kB / 497.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.4906, allocations: 0.6771 MB / 497.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.491, allocations: 0.7289 MB / 498.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.4911, allocations: 35.42 kB / 498.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4911, allocations: 0 / 498.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of Templates: time 0.02794/0.5191, allocations: 18.68 MB / 0.5051 GB, free: 6.973 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