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.0007921/0.0007921, allocations: 102.7 kB / 15.71 MB, free: 460 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.0008142/0.0008141, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.541/1.541, allocations: 205.4 MB / 222.8 MB, free: 5.402 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.043/0.043, allocations: 9.067 MB / 280.1 MB, free: 12.11 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.0005322/0.0005322, allocations: 16 kB / 339.8 MB, free: 25.98 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1056, allocations: 49.2 MB / 389 MB, free: 8.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.0165/0.1221, allocations: 16.1 MB / 405.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01427/0.1364, allocations: 15.83 MB / 420.9 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.1366, allocations: 4 kB / 420.9 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006776/0.1373, allocations: 230.9 kB / 421.1 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01475/0.152, allocations: 4.995 MB / 426.1 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.1536, allocations: 441.8 kB / 426.5 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.1538, allocations: 191 kB / 426.7 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.787e-05/0.1539, allocations: 5.406 kB / 426.7 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.1541, allocations: 87.53 kB / 426.8 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1542, allocations: 63.7 kB / 426.9 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.1542, allocations: 4 kB / 426.9 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2531/0.4073, allocations: 8.15 MB / 435 MB, free: 19.88 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.4074, allocations: 15.14 kB / 435 MB, free: 19.88 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.016e-05/0.4074, allocations: 46.52 kB / 435.1 MB, free: 19.85 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004871/0.4123, allocations: 2.347 MB / 437.4 MB, free: 19.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.4123, allocations: 3.828 kB / 437.4 MB, free: 19.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4123, allocations: 2.5 kB / 437.4 MB, free: 19.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.4124, allocations: 1.375 kB / 437.4 MB, free: 19.77 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.00155/0.4139, allocations: 0.8705 MB / 438.3 MB, free: 19.15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.414, allocations: 9.438 kB / 438.3 MB, free: 19.15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.4141, allocations: 29.3 kB / 438.4 MB, free: 19.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.4143, allocations: 195.6 kB / 438.5 MB, free: 18.94 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.4144, allocations: 4.625 kB / 438.5 MB, free: 18.94 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.4144, allocations: 7.688 kB / 438.6 MB, free: 18.94 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.4146, allocations: 123.5 kB / 438.7 MB, free: 18.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.4146, allocations: 2.688 kB / 438.7 MB, free: 18.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.4147, allocations: 6.609 kB / 438.7 MB, free: 18.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.4147, allocations: 1.062 kB / 438.7 MB, free: 18.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.4148, allocations: 101.5 kB / 438.8 MB, free: 18.89 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005557/0.4154, allocations: 0.5726 MB / 439.4 MB, free: 18.4 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.4156, allocations: 131.1 kB / 439.5 MB, free: 18.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.599e-05/0.4157, allocations: 81.08 kB / 439.6 MB, free: 18.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.048/0.4637, allocations: 32.35 MB / 471.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.4638, allocations: 30.56 kB / 471.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 2.716e-06/0.4638, allocations: 0 / 471.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006602/0.4645, allocations: 235.6 kB / 472.2 MB, free: 4.414 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001843/0.4647, allocations: 82.53 kB / 472.3 MB, free: 20.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.4648, allocations: 119.5 kB / 472.4 MB, free: 20.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.4649, allocations: 29.45 kB / 472.4 MB, free: 20.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.4649, allocations: 99.16 kB / 472.5 MB, free: 20.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.845e-05/0.465, allocations: 82.36 kB / 472.6 MB, free: 20.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/0.465, allocations: 0 / 472.6 MB, free: 20.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.4651, allocations: 321.4 kB / 472.9 MB, free: 19.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.822e-05/0.4652, allocations: 43.23 kB / 472.9 MB, free: 19.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.165e-05/0.4653, allocations: 69.5 kB / 473 MB, free: 19.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.863e-05/0.4654, allocations: 55.5 kB / 473.1 MB, free: 19.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4654, allocations: 4 kB / 473.1 MB, free: 19.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002316/0.4657, allocations: 168.2 kB / 473.2 MB, free: 19.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4657, allocations: 3.438 kB / 473.2 MB, free: 19.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4657, allocations: 1.078 kB / 473.2 MB, free: 19.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.4657, allocations: 3.656 kB / 473.2 MB, free: 19.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.562e-05/0.4658, allocations: 21.55 kB / 473.3 MB, free: 19.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.4658, allocations: 3.531 kB / 473.3 MB, free: 19.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.607e-05/0.4659, allocations: 11.25 kB / 473.3 MB, free: 19.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.4659, allocations: 5.906 kB / 473.3 MB, free: 19.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.4661, allocations: 116 kB / 473.4 MB, free: 19.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.4661, allocations: 18.05 kB / 473.4 MB, free: 19.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004272/0.4666, allocations: 308.7 kB / 473.7 MB, free: 19.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002453/0.4668, allocations: 235.7 kB / 473.9 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.4668, allocations: 7.031 kB / 473.9 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.4668, allocations: 4 kB / 473.9 MB, free: 19.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008817/0.4677, allocations: 0.753 MB / 474.7 MB, free: 18.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4678, allocations: 7.25 kB / 474.7 MB, free: 18.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.4679, allocations: 39.17 kB / 474.7 MB, free: 18.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.4679, allocations: 6.516 kB / 474.7 MB, free: 18.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.4679, allocations: 7.375 kB / 474.8 MB, free: 18.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.468, allocations: 0 / 474.8 MB, free: 18.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.468, allocations: 3.562 kB / 474.8 MB, free: 18.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/0.4685, allocations: 0.5258 MB / 475.3 MB, free: 18.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.4686, allocations: 94.61 kB / 475.4 MB, free: 18.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.4686, allocations: 6.281 kB / 475.4 MB, free: 18.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.4688, allocations: 6.344 kB / 475.4 MB, free: 18.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.4688, allocations: 18.73 kB / 475.4 MB, free: 18.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.4688, allocations: 11.94 kB / 475.4 MB, free: 18.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.537e-05/0.4689, allocations: 93.14 kB / 475.5 MB, free: 18.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4689, allocations: 4.062 kB / 475.5 MB, free: 18.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003068/0.472, allocations: 0.9283 MB / 476.4 MB, free: 18.21 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005687/0.4777, allocations: 1.411 MB / 477.9 MB, free: 17.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003598/0.478, allocations: 244.4 kB / 478.1 MB, free: 17.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4781, allocations: 3.562 kB / 478.1 MB, free: 17.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.4782, allocations: 121.5 kB / 478.2 MB, free: 17.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008447/0.4791, allocations: 156 kB / 478.4 MB, free: 17.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008328/0.4799, allocations: 0.597 MB / 479 MB, free: 17.17 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.4802, allocations: 0.7319 MB / 479.7 MB, free: 16.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.392e-05/0.4802, allocations: 25.69 kB / 479.7 MB, free: 16.45 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4802, allocations: 7.094 kB / 479.7 MB, free: 16.45 MB / 350.1 MB Notification: Performance of Templates: time 0.03219/0.5124, allocations: 18.86 MB / 498.6 MB, free: 14.06 MB / 366.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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