Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.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.CheckDerivativesCarbondioxide,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005248/0.005248, 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.001022/0.001022, 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.548/1.548, allocations: 205.1 MB / 222.6 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04736/0.04736, allocations: 9.071 MB / 279 MB, free: 12.42 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.001384/0.001384, allocations: 59.91 kB / 338 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09588/0.09728, allocations: 48.17 MB / 386.2 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide): time 0.02104/0.1184, allocations: 17.66 MB / 403.8 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01809/0.1365, allocations: 17.25 MB / 421.1 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.1366, allocations: 0 / 421.1 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008186/0.1375, allocations: 259.5 kB / 421.3 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01869/0.1562, allocations: 5.459 MB / 426.8 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.1582, allocations: 485.7 kB / 427.3 MB, free: 460 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.1586, allocations: 199 kB / 427.4 MB, free: 260 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.431e-05/0.1586, allocations: 5.125 kB / 427.5 MB, free: 252 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.1588, allocations: 83.59 kB / 427.5 MB, free: 168 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.159, allocations: 67.7 kB / 427.6 MB, free: 100 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.159, allocations: 4 kB / 427.6 MB, free: 96 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2631/0.4221, allocations: 9.647 MB / 437.3 MB, free: 18.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.786e-05/0.4222, allocations: 18.56 kB / 437.3 MB, free: 18.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.4223, allocations: 53.14 kB / 437.3 MB, free: 18.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007075/0.4294, allocations: 2.384 MB / 439.7 MB, free: 18.36 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4295, allocations: 0 / 439.7 MB, free: 18.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4295, allocations: 1.094 kB / 439.7 MB, free: 18.36 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.4295, allocations: 0.7656 kB / 439.7 MB, free: 18.36 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.003635/0.4331, allocations: 0.8875 MB / 440.6 MB, free: 17.74 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.4332, allocations: 10.78 kB / 440.6 MB, free: 17.74 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.4334, allocations: 26.34 kB / 440.6 MB, free: 17.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.4336, allocations: 196.7 kB / 440.8 MB, free: 17.53 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.4336, allocations: 7.781 kB / 440.8 MB, free: 17.53 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.4337, allocations: 5.578 kB / 440.8 MB, free: 17.53 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.4339, allocations: 131.3 kB / 441 MB, free: 17.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4339, allocations: 0 / 441 MB, free: 17.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.434, allocations: 7.25 kB / 441 MB, free: 17.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.434, allocations: 4.781 kB / 441 MB, free: 17.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.4342, allocations: 98.64 kB / 441.1 MB, free: 17.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007171/0.4349, allocations: 0.5762 MB / 441.6 MB, free: 17 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.4352, allocations: 126.6 kB / 441.8 MB, free: 16.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.4353, allocations: 82.53 kB / 441.9 MB, free: 16.94 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05893/0.4942, allocations: 33.17 MB / 475 MB, free: 17.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.647e-05/0.4944, allocations: 30.56 kB / 475.1 MB, free: 17.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 3.527e-06/0.4944, allocations: 0 / 475.1 MB, free: 17.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008782/0.4953, allocations: 232.6 kB / 475.3 MB, free: 17.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.4953, allocations: 81.89 kB / 475.4 MB, free: 17.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.4954, allocations: 123.7 kB / 475.5 MB, free: 17.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.4955, allocations: 29.64 kB / 475.5 MB, free: 17.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.292e-05/0.4956, allocations: 92.03 kB / 475.6 MB, free: 17.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.428e-05/0.4957, allocations: 81.38 kB / 475.7 MB, free: 16.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-05/0.4958, allocations: 38.08 kB / 475.7 MB, free: 16.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4959, allocations: 316.9 kB / 476 MB, free: 16.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.76e-05/0.496, allocations: 44.77 kB / 476.1 MB, free: 16.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.792e-05/0.4961, allocations: 72.22 kB / 476.1 MB, free: 16.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.4963, allocations: 119.9 kB / 476.3 MB, free: 16.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4963, allocations: 0 / 476.3 MB, free: 16.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002865/0.4966, allocations: 177.7 kB / 476.4 MB, free: 16.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.4966, allocations: 3.594 kB / 476.4 MB, free: 16.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.4966, allocations: 1.562 kB / 476.4 MB, free: 16.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.4967, allocations: 3.812 kB / 476.4 MB, free: 16.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.647e-05/0.4968, allocations: 23.27 kB / 476.5 MB, free: 16.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.4968, allocations: 3.562 kB / 476.5 MB, free: 16.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.4969, allocations: 11.78 kB / 476.5 MB, free: 16.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.4969, allocations: 7.062 kB / 476.5 MB, free: 16.53 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.0001513/0.4971, allocations: 122.8 kB / 476.6 MB, free: 16.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.349e-05/0.4972, allocations: 8.125 kB / 476.6 MB, free: 16.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004747/0.4977, allocations: 317.8 kB / 476.9 MB, free: 16.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000263/0.498, allocations: 236.7 kB / 477.2 MB, free: 16.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.498, allocations: 3.844 kB / 477.2 MB, free: 16.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.498, allocations: 11.92 kB / 477.2 MB, free: 16.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009888/0.499, allocations: 0.7527 MB / 477.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.499, allocations: 0 / 477.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.4992, allocations: 44.23 kB / 478 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.4992, allocations: 4 kB / 478 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.4992, allocations: 3.562 kB / 478 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.4992, allocations: 4 kB / 478 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4992, allocations: 3.188 kB / 478 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005786/0.4998, allocations: 0.5252 MB / 478.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.765e-05/0.4999, allocations: 96.88 kB / 478.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.4999, allocations: 6.188 kB / 478.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.5001, allocations: 4.688 kB / 478.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.5001, allocations: 13.61 kB / 478.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.5001, allocations: 12.56 kB / 478.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.149e-05/0.5002, allocations: 99.42 kB / 478.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5002, allocations: 0 / 478.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003297/0.5035, allocations: 0.9282 MB / 479.7 MB, free: 14.18 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.006779/0.5103, allocations: 1.463 MB / 481.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004268/0.5107, allocations: 250.5 kB / 481.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5108, allocations: 4 kB / 481.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.5109, allocations: 130.1 kB / 481.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009907/0.5119, allocations: 141.8 kB / 481.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009545/0.5129, allocations: 0.5616 MB / 482.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.5132, allocations: 0.737 MB / 482.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.5133, allocations: 25.25 kB / 483 MB, free: 11.2 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5133, allocations: 3.656 kB / 483 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Templates: time 0.03255/0.5459, allocations: 18.97 MB / 0.4902 GB, free: 8.367 MB / 366.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.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.CheckDerivativesCarbondioxideCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxideCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxideCalcHelperMain.o] Error 1