Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.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.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009277/0.0009277, allocations: 99.19 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.00114/0.00114, allocations: 183.4 kB / 16.92 MB, free: 6.895 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.85/1.85, 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.05884/0.05884, allocations: 9.067 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.0005523/0.0005524, allocations: 12.22 kB / 340.4 MB, free: 25.65 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1192, allocations: 49.19 MB / 389.6 MB, free: 8.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.02319/0.1424, allocations: 17.16 MB / 406.7 MB, free: 7.184 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01795/0.1604, allocations: 17.04 MB / 423.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.1606, allocations: 4 kB / 423.8 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008372/0.1615, allocations: 251.6 kB / 424 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01888/0.1804, allocations: 5.28 MB / 429.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.1821, allocations: 485.7 kB / 429.8 MB, free: 92 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2703/0.4524, allocations: 202.1 kB / 430 MB, free: 18.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.253e-05/0.4525, allocations: 7.516 kB / 430 MB, free: 18.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.4528, allocations: 86.11 kB / 430.1 MB, free: 18.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.453, allocations: 60.53 kB / 430.1 MB, free: 18.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.453, allocations: 3.922 kB / 430.1 MB, free: 18.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02222/0.4752, allocations: 9.149 MB / 439.3 MB, free: 18.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.481e-05/0.4753, allocations: 12.39 kB / 439.3 MB, free: 18.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.4755, allocations: 85.69 kB / 439.4 MB, free: 18.26 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007375/0.4829, allocations: 2.308 MB / 441.7 MB, free: 18.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.4829, allocations: 4.781 kB / 441.7 MB, free: 18.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4829, allocations: 0 / 441.7 MB, free: 18.17 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.4829, allocations: 0 / 441.7 MB, free: 18.17 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.003333/0.4863, allocations: 0.8702 MB / 442.6 MB, free: 17.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.4863, allocations: 9.562 kB / 442.6 MB, free: 17.55 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.4865, allocations: 28.38 kB / 442.6 MB, free: 17.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.4868, allocations: 204.2 kB / 442.8 MB, free: 17.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.4868, allocations: 10.44 kB / 442.8 MB, free: 17.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.4869, allocations: 8.125 kB / 442.8 MB, free: 17.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.4871, allocations: 130.1 kB / 442.9 MB, free: 17.29 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4871, allocations: 0 / 442.9 MB, free: 17.29 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.4871, allocations: 2.188 kB / 442.9 MB, free: 17.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.4872, allocations: 10.19 kB / 442.9 MB, free: 17.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.4873, allocations: 98.5 kB / 443 MB, free: 17.29 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006306/0.488, allocations: 0.5699 MB / 443.6 MB, free: 16.81 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.4883, allocations: 129.9 kB / 443.7 MB, free: 16.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.4884, allocations: 78.59 kB / 443.8 MB, free: 16.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05643/0.5448, allocations: 32.34 MB / 476.2 MB, free: 17.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.5449, allocations: 38.5 kB / 476.2 MB, free: 17.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.324e-06/0.5449, allocations: 3.281 kB / 476.2 MB, free: 17.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006875/0.5456, allocations: 224.9 kB / 476.4 MB, free: 17.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.5457, allocations: 77.11 kB / 476.5 MB, free: 17.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.5458, allocations: 124 kB / 476.6 MB, free: 17.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.5458, allocations: 31.42 kB / 476.6 MB, free: 17.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.5459, allocations: 93.62 kB / 476.7 MB, free: 17.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.505e-05/0.5459, allocations: 79.94 kB / 476.8 MB, free: 16.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.546, allocations: 20.78 kB / 476.8 MB, free: 16.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.5461, allocations: 329.5 kB / 477.2 MB, free: 16.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.483e-05/0.5462, allocations: 40.86 kB / 477.2 MB, free: 16.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.756e-05/0.5463, allocations: 69.47 kB / 477.3 MB, free: 16.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.5464, allocations: 124 kB / 477.4 MB, free: 16.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5464, allocations: 0 / 477.4 MB, free: 16.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002318/0.5467, allocations: 170.3 kB / 477.5 MB, free: 16.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.5467, allocations: 6.062 kB / 477.6 MB, free: 16.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5467, allocations: 7.031 kB / 477.6 MB, free: 16.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.5467, allocations: 0 / 477.6 MB, free: 16.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.294e-05/0.5468, allocations: 20.7 kB / 477.6 MB, free: 16.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5468, allocations: 0 / 477.6 MB, free: 16.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.271e-05/0.5469, allocations: 14.91 kB / 477.6 MB, free: 16.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.547, allocations: 7.094 kB / 477.6 MB, free: 16.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state_p.phase,state_h.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * 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 prepare postOptimizeDAE: time 0.000107/0.5471, allocations: 120.1 kB / 477.7 MB, free: 16.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.5471, allocations: 15.38 kB / 477.7 MB, free: 16.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/0.5476, allocations: 312 kB / 478 MB, free: 16.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002675/0.5479, allocations: 244.9 kB / 478.3 MB, free: 16.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5479, allocations: 7.688 kB / 478.3 MB, free: 16.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.5479, allocations: 3.938 kB / 478.3 MB, free: 16.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008828/0.5488, allocations: 0.7589 MB / 479 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5488, allocations: 0 / 479 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.5489, allocations: 37.98 kB / 479.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.549, allocations: 2.25 kB / 479.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.549, allocations: 5.812 kB / 479.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.549, allocations: 7.266 kB / 479.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.549, allocations: 2.312 kB / 479.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005286/0.5495, allocations: 0.5241 MB / 479.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.5496, allocations: 95.14 kB / 479.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.5496, allocations: 3.938 kB / 479.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.5498, allocations: 7.438 kB / 479.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.5498, allocations: 11.05 kB / 479.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.5498, allocations: 18.48 kB / 479.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.802e-05/0.5499, allocations: 91.75 kB / 479.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5499, allocations: 0 / 479.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003836/0.5537, allocations: 0.9287 MB / 480.8 MB, free: 14.81 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_h_int,d_p_int) * Number of discrete variables: 4 (state_h.phase,$cse2.phase,state_p.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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.004366/0.5581, allocations: 1.436 MB / 482.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004042/0.5585, allocations: 250 kB / 482.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.5586, allocations: 0 / 482.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.5587, allocations: 119.1 kB / 482.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.5598, allocations: 143.9 kB / 482.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009592/0.5607, allocations: 0.6049 MB / 483.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.561, allocations: 0.7292 MB / 484.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.5611, allocations: 30.31 kB / 484.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5611, allocations: 0 / 484.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of Templates: time 0.03809/0.5992, allocations: 18.88 MB / 0.4912 GB, free: 9.047 MB / 366.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.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.CheckDerivativesButaneCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButaneCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButaneCalcHelperMain.o] Error 1