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.007036/0.007036, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001278/0.001278, allocations: 192 kB / 16.79 MB, free: 5.809 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.499/1.499, allocations: 205.1 MB / 222.7 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04353/0.04354, allocations: 9.086 MB / 279.1 MB, free: 12.41 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.001356/0.001356, allocations: 63.91 kB / 338 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1051, allocations: 48.17 MB / 386.2 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.02231/0.1275, allocations: 17.65 MB / 403.8 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01909/0.1466, allocations: 17.24 MB / 421.1 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.152e-05/0.1467, allocations: 4 kB / 421.1 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007463/0.1476, allocations: 251.6 kB / 421.3 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01672/0.1643, allocations: 5.26 MB / 426.6 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.1657, allocations: 489.7 kB / 427 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.1659, allocations: 195 kB / 427.2 MB, free: 484 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.878e-05/0.166, allocations: 9.109 kB / 427.2 MB, free: 472 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1661, allocations: 87.59 kB / 427.3 MB, free: 384 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.597e-05/0.1662, allocations: 63.7 kB / 427.4 MB, free: 320 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.1662, allocations: 4 kB / 427.4 MB, free: 316 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2113/0.3775, allocations: 9.142 MB / 436.5 MB, free: 18.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.3776, allocations: 13.62 kB / 436.5 MB, free: 18.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.3777, allocations: 59.59 kB / 436.6 MB, free: 18.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004985/0.3827, allocations: 2.32 MB / 438.9 MB, free: 18.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3827, allocations: 2.156 kB / 438.9 MB, free: 18.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3827, allocations: 1.375 kB / 438.9 MB, free: 18.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.3827, allocations: 0 / 438.9 MB, free: 18.23 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.001907/0.3847, allocations: 0.8878 MB / 439.8 MB, free: 17.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3847, allocations: 9.969 kB / 439.8 MB, free: 17.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.3849, allocations: 26.95 kB / 439.8 MB, free: 17.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.3851, allocations: 197.1 kB / 440 MB, free: 17.4 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.3851, allocations: 6.344 kB / 440 MB, free: 17.4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.3851, allocations: 5.562 kB / 440.1 MB, free: 17.4 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.3853, allocations: 127.7 kB / 440.2 MB, free: 17.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3853, allocations: 3.516 kB / 440.2 MB, free: 17.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3854, allocations: 5.094 kB / 440.2 MB, free: 17.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.3854, allocations: 7.969 kB / 440.2 MB, free: 17.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.3855, allocations: 91.02 kB / 440.3 MB, free: 17.36 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005366/0.3861, allocations: 0.5835 MB / 440.9 MB, free: 16.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.3863, allocations: 128.7 kB / 441 MB, free: 16.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.3864, allocations: 81.05 kB / 441.1 MB, free: 16.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0576/0.444, allocations: 33.17 MB / 474.2 MB, free: 17.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.4441, allocations: 42.88 kB / 474.3 MB, free: 17.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 3.015e-06/0.4441, allocations: 0 / 474.3 MB, free: 17.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006726/0.4448, allocations: 225.4 kB / 474.5 MB, free: 17.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.4449, allocations: 77.11 kB / 474.6 MB, free: 17.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.445, allocations: 135.3 kB / 474.7 MB, free: 17.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.445, allocations: 29.27 kB / 474.7 MB, free: 17.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.4451, allocations: 84.14 kB / 474.8 MB, free: 17.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.868e-05/0.4451, allocations: 87.97 kB / 474.9 MB, free: 17.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.4452, allocations: 35.83 kB / 474.9 MB, free: 17.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.4453, allocations: 318 kB / 475.3 MB, free: 16.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.145e-05/0.4454, allocations: 46.97 kB / 475.3 MB, free: 16.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.811e-05/0.4455, allocations: 68.45 kB / 475.4 MB, free: 16.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.4456, allocations: 115.4 kB / 475.5 MB, free: 16.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4456, allocations: 0 / 475.5 MB, free: 16.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002364/0.4459, allocations: 172.7 kB / 475.6 MB, free: 16.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.4459, allocations: 9.5 kB / 475.7 MB, free: 16.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.4459, allocations: 0.875 kB / 475.7 MB, free: 16.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4459, allocations: 0 / 475.7 MB, free: 16.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.504e-05/0.446, allocations: 27.8 kB / 475.7 MB, free: 16.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.4461, allocations: 0 / 475.7 MB, free: 16.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.439e-05/0.4462, allocations: 14.97 kB / 475.7 MB, free: 16.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.4462, allocations: 6.625 kB / 475.7 MB, free: 16.64 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.0001203/0.4463, allocations: 119 kB / 475.8 MB, free: 16.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.727e-05/0.4464, allocations: 15.16 kB / 475.8 MB, free: 16.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004403/0.4468, allocations: 313.2 kB / 476.1 MB, free: 16.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002682/0.4471, allocations: 243.4 kB / 476.4 MB, free: 16.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.4471, allocations: 5.125 kB / 476.4 MB, free: 16.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4472, allocations: 3.938 kB / 476.4 MB, free: 16.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000918/0.4481, allocations: 0.7573 MB / 477.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4481, allocations: 0 / 477.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.4483, allocations: 47.33 kB / 477.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.4483, allocations: 0 / 477.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.4483, allocations: 11.42 kB / 477.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.4483, allocations: 0 / 477.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4483, allocations: 3.594 kB / 477.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/0.4488, allocations: 0.5211 MB / 477.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.883e-05/0.4489, allocations: 94.11 kB / 477.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.449, allocations: 5.25 kB / 477.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.4491, allocations: 3.812 kB / 477.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.4491, allocations: 23.03 kB / 477.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.4492, allocations: 15.06 kB / 477.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.739e-05/0.4492, allocations: 90.44 kB / 478 MB, free: 15.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4492, allocations: 0 / 478 MB, free: 15.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00331/0.4526, allocations: 0.9264 MB / 478.9 MB, free: 14.74 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.005444/0.458, allocations: 1.43 MB / 480.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004231/0.4584, allocations: 247.7 kB / 480.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4585, allocations: 4 kB / 480.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.4586, allocations: 119.8 kB / 480.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000921/0.4595, allocations: 144.1 kB / 480.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009078/0.4604, allocations: 0.5666 MB / 481.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.4608, allocations: 0.7307 MB / 482.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/0.4609, allocations: 27.44 kB / 482.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4609, allocations: 0 / 482.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of Templates: time 0.03101/0.4919, allocations: 18.88 MB / 0.4893 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