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.001142/0.001149, allocations: 98.88 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.001577/0.001577, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.805/1.805, allocations: 205.4 MB / 223.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04695/0.04695, allocations: 9.077 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.0005015/0.0005015, allocations: 12 kB / 340.4 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1214, allocations: 49.21 MB / 389.6 MB, free: 8.391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide): time 0.02152/0.143, allocations: 17.15 MB / 406.7 MB, free: 7.164 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01812/0.1612, allocations: 17.05 MB / 423.8 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.1614, allocations: 0 / 423.8 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009547/0.1624, allocations: 251.6 kB / 424 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01883/0.1812, allocations: 5.477 MB / 429.5 MB, free: 352 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2754/0.4566, allocations: 477.6 kB / 430 MB, free: 18.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004269/0.4571, allocations: 204.7 kB / 430.2 MB, free: 18.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.122e-05/0.4572, allocations: 6.219 kB / 430.2 MB, free: 18.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.4574, allocations: 83.3 kB / 430.3 MB, free: 18.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.4575, allocations: 61.5 kB / 430.3 MB, free: 18.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.4575, allocations: 2.75 kB / 430.3 MB, free: 18.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02176/0.4793, allocations: 9.655 MB / 440 MB, free: 18.26 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.57e-05/0.4794, allocations: 17.56 kB / 440 MB, free: 18.26 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.4796, allocations: 84.36 kB / 440.1 MB, free: 18.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006616/0.4862, allocations: 2.373 MB / 442.5 MB, free: 18.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4862, allocations: 0 / 442.5 MB, free: 18.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.297e-06/0.4862, allocations: 3.406 kB / 442.5 MB, free: 18.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.4862, allocations: 0 / 442.5 MB, free: 18.14 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.003041/0.4893, allocations: 0.8713 MB / 443.3 MB, free: 17.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.4893, allocations: 9.625 kB / 443.3 MB, free: 17.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.4895, allocations: 25.72 kB / 443.4 MB, free: 17.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.4897, allocations: 204.7 kB / 443.6 MB, free: 17.31 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.4898, allocations: 3.25 kB / 443.6 MB, free: 17.31 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.4898, allocations: 9.312 kB / 443.6 MB, free: 17.31 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.49, allocations: 134 kB / 443.7 MB, free: 17.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.49, allocations: 2.484 kB / 443.7 MB, free: 17.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.4901, allocations: 3.719 kB / 443.7 MB, free: 17.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.4901, allocations: 8.031 kB / 443.7 MB, free: 17.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.4902, allocations: 105 kB / 443.8 MB, free: 17.26 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006212/0.4909, allocations: 0.5721 MB / 444.4 MB, free: 16.78 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.4911, allocations: 128.5 kB / 444.5 MB, free: 16.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.4912, allocations: 81.06 kB / 444.6 MB, free: 16.72 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05735/0.5486, allocations: 32.33 MB / 476.9 MB, free: 17.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.584e-05/0.5487, allocations: 38.38 kB / 477 MB, free: 17.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 4.108e-06/0.5488, allocations: 2.734 kB / 477 MB, free: 17.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008329/0.5496, allocations: 230.9 kB / 477.2 MB, free: 17.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.5497, allocations: 79.83 kB / 477.3 MB, free: 17.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.5498, allocations: 119 kB / 477.4 MB, free: 16.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.5498, allocations: 33.2 kB / 477.4 MB, free: 16.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/0.5499, allocations: 84.45 kB / 477.5 MB, free: 16.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.884e-05/0.55, allocations: 88.41 kB / 477.6 MB, free: 16.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.55, allocations: 28.61 kB / 477.6 MB, free: 16.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5502, allocations: 322.8 kB / 477.9 MB, free: 16.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.16e-05/0.5503, allocations: 42.48 kB / 478 MB, free: 16.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.923e-05/0.5504, allocations: 66.64 kB / 478 MB, free: 16.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.5506, allocations: 124.6 kB / 478.2 MB, free: 16.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5506, allocations: 0 / 478.2 MB, free: 16.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002518/0.5508, allocations: 165.8 kB / 478.3 MB, free: 16.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.5509, allocations: 6.781 kB / 478.3 MB, free: 16.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.5509, allocations: 4 kB / 478.3 MB, free: 16.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.5509, allocations: 0 / 478.3 MB, free: 16.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.13e-05/0.551, allocations: 21.8 kB / 478.4 MB, free: 16.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.551, allocations: 0.7031 kB / 478.4 MB, free: 16.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.5511, allocations: 18.72 kB / 478.4 MB, free: 16.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.5512, allocations: 6.344 kB / 478.4 MB, free: 16.27 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.0001139/0.5513, allocations: 119.6 kB / 478.5 MB, free: 16.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.5513, allocations: 16.64 kB / 478.5 MB, free: 16.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004755/0.5518, allocations: 312.1 kB / 478.8 MB, free: 16.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002802/0.5521, allocations: 240.2 kB / 479.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.5521, allocations: 0 / 479.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.5521, allocations: 3.938 kB / 479.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009221/0.5531, allocations: 0.7645 MB / 479.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5531, allocations: 3.984 kB / 479.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.5532, allocations: 39.48 kB / 479.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.5533, allocations: 2.688 kB / 479.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.5533, allocations: 8 kB / 479.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5533, allocations: 0 / 479.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5533, allocations: 0 / 479.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005887/0.5539, allocations: 0.5242 MB / 480.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.744e-05/0.554, allocations: 92.89 kB / 480.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.554, allocations: 12 kB / 480.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.5542, allocations: 5.797 kB / 480.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.5542, allocations: 19.66 kB / 480.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.5542, allocations: 15.88 kB / 480.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.806e-05/0.5543, allocations: 91.2 kB / 480.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5543, allocations: 0 / 480.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.004736/0.5591, allocations: 0.9201 MB / 481.6 MB, free: 14.09 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.00525/0.5643, allocations: 1.472 MB / 483 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004379/0.5648, allocations: 260.8 kB / 483.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.5648, allocations: 0 / 483.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.565, allocations: 116.7 kB / 483.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.566, allocations: 150.2 kB / 483.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009869/0.567, allocations: 0.6067 MB / 484.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.5674, allocations: 0.733 MB / 484.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.499e-05/0.5674, allocations: 28.44 kB / 484.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5674, allocations: 0 / 484.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Templates: time 0.04348/0.6109, allocations: 18.96 MB / 0.4921 GB, free: 8.188 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