Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.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.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008933/0.0008935, allocations: 92.16 kB / 16.02 MB, free: 80 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.001261/0.001261, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.807/1.807, allocations: 205.4 MB / 223.1 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04751/0.04751, allocations: 9.063 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.0005628/0.0005631, allocations: 12.59 kB / 340.4 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1226, allocations: 49.2 MB / 389.6 MB, free: 8.395 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium): time 0.02334/0.146, allocations: 17.08 MB / 406.7 MB, free: 7.234 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01959/0.1657, allocations: 16.94 MB / 423.6 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.1659, allocations: 0 / 423.6 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008889/0.1668, allocations: 239.6 kB / 423.8 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02116/0.188, allocations: 5.22 MB / 429.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.1901, allocations: 465.7 kB / 429.5 MB, free: 336 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002933/0.1904, allocations: 183 kB / 429.7 MB, free: 152 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.024e-05/0.1905, allocations: 9.109 kB / 429.7 MB, free: 140 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.1907, allocations: 79.55 kB / 429.8 MB, free: 60 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.1908, allocations: 55.77 kB / 429.8 MB, free: 4 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.1909, allocations: 4 kB / 429.8 MB, free: 0 / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.298/0.4889, allocations: 8.782 MB / 438.6 MB, free: 18.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.489, allocations: 14.98 kB / 438.6 MB, free: 18.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.4891, allocations: 81.55 kB / 438.7 MB, free: 18.26 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006951/0.4961, allocations: 2.311 MB / 441 MB, free: 18.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4961, allocations: 1.375 kB / 441 MB, free: 18.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4961, allocations: 0 / 441 MB, free: 18.17 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.4961, allocations: 0 / 441 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.002733/0.4989, allocations: 0.8699 MB / 441.9 MB, free: 17.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.4989, allocations: 10.25 kB / 441.9 MB, free: 17.55 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.4991, allocations: 31.31 kB / 441.9 MB, free: 17.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.4994, allocations: 199 kB / 442.1 MB, free: 17.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.4994, allocations: 7.719 kB / 442.1 MB, free: 17.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.4994, allocations: 8.5 kB / 442.2 MB, free: 17.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.4997, allocations: 129 kB / 442.3 MB, free: 17.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.4997, allocations: 0.9688 kB / 442.3 MB, free: 17.3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.4997, allocations: 5.312 kB / 442.3 MB, free: 17.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.4997, allocations: 4.719 kB / 442.3 MB, free: 17.3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.4999, allocations: 98.84 kB / 442.4 MB, free: 17.3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006002/0.5005, allocations: 0.5758 MB / 443 MB, free: 16.81 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.5007, allocations: 124.7 kB / 443.1 MB, free: 16.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.5009, allocations: 81.03 kB / 443.2 MB, free: 16.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05689/0.5578, allocations: 32.34 MB / 475.5 MB, free: 17.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.381e-05/0.5579, allocations: 39.05 kB / 475.5 MB, free: 17.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 3.216e-06/0.5579, allocations: 4.562 kB / 475.6 MB, free: 17.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007248/0.5586, allocations: 222.8 kB / 475.8 MB, free: 17.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.5587, allocations: 81.89 kB / 475.9 MB, free: 17.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.5588, allocations: 118.7 kB / 476 MB, free: 17.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.5589, allocations: 29.17 kB / 476 MB, free: 17.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.5589, allocations: 88.44 kB / 476.1 MB, free: 17.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.312e-05/0.559, allocations: 83.73 kB / 476.2 MB, free: 17.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.5591, allocations: 24.7 kB / 476.2 MB, free: 17.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5592, allocations: 325.3 kB / 476.5 MB, free: 16.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.744e-05/0.5593, allocations: 43.08 kB / 476.5 MB, free: 16.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.897e-05/0.5594, allocations: 72.94 kB / 476.6 MB, free: 16.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.5595, allocations: 121 kB / 476.7 MB, free: 16.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5595, allocations: 0 / 476.7 MB, free: 16.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002436/0.5598, allocations: 164.6 kB / 476.9 MB, free: 16.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.5598, allocations: 7.375 kB / 476.9 MB, free: 16.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.5598, allocations: 0 / 476.9 MB, free: 16.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.5599, allocations: 6 kB / 476.9 MB, free: 16.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.961e-05/0.56, allocations: 24.48 kB / 476.9 MB, free: 16.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.56, allocations: 0 / 476.9 MB, free: 16.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.5601, allocations: 19.5 kB / 477 MB, free: 16.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.5601, allocations: 4.438 kB / 477 MB, free: 16.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.5603, allocations: 116.3 kB / 477.1 MB, free: 16.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.5603, allocations: 20.53 kB / 477.1 MB, free: 16.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004679/0.5608, allocations: 312.2 kB / 477.4 MB, free: 16.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002796/0.5611, allocations: 242.1 kB / 477.6 MB, free: 16.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5611, allocations: 0 / 477.6 MB, free: 16.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.5611, allocations: 7.922 kB / 477.6 MB, free: 16.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.5621, allocations: 0.7635 MB / 478.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5622, allocations: 0 / 478.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.5623, allocations: 43.8 kB / 478.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.5623, allocations: 6.031 kB / 478.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.5624, allocations: 3.812 kB / 478.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.5624, allocations: 3.531 kB / 478.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5624, allocations: 3 kB / 478.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005785/0.563, allocations: 0.5176 MB / 479 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.5631, allocations: 100.2 kB / 479.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.5631, allocations: 7.938 kB / 479.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.5633, allocations: 7.125 kB / 479.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.5633, allocations: 11.17 kB / 479.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.5633, allocations: 14.91 kB / 479.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.309e-05/0.5634, allocations: 98.08 kB / 479.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5634, allocations: 0 / 479.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003764/0.5672, allocations: 0.9224 MB / 480.1 MB, free: 15.19 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.006492/0.5737, allocations: 1.425 MB / 481.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004418/0.5741, allocations: 258.1 kB / 481.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.5742, allocations: 4 kB / 481.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.5743, allocations: 118.4 kB / 481.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009844/0.5753, allocations: 142.2 kB / 482.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.5763, allocations: 0.6056 MB / 482.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.5767, allocations: 0.7331 MB / 483.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.712e-05/0.5768, allocations: 24.94 kB / 483.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5768, allocations: 4 kB / 483.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of Templates: time 0.03549/0.6123, allocations: 18.87 MB / 0.4905 GB, free: 9.438 MB / 366.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.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.CheckDerivativesHeliumCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHeliumCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHeliumCalcHelperMain.o] Error 1