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.007749/0.007749, allocations: 100.3 kB / 15.87 MB, free: 6.328 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.001091/0.001091, allocations: 192.6 kB / 16.79 MB, free: 6.254 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.509/1.509, allocations: 205.1 MB / 222.6 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04434/0.04434, allocations: 9.085 MB / 279.1 MB, free: 12.27 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.001946/0.001946, allocations: 59.91 kB / 338 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1118, allocations: 48.18 MB / 386.2 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium): time 0.01993/0.1318, allocations: 17.6 MB / 403.8 MB, free: 7.992 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01544/0.1473, allocations: 17.13 MB / 420.9 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.178e-05/0.1474, allocations: 0 / 420.9 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007108/0.1482, allocations: 239.6 kB / 421.1 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01596/0.1642, allocations: 5.214 MB / 426.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.1658, allocations: 461.7 kB / 426.8 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.166, allocations: 191 kB / 427 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.227e-05/0.166, allocations: 5.125 kB / 427 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.1662, allocations: 71.67 kB / 427 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.122e-05/0.1663, allocations: 59.7 kB / 427.1 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1663, allocations: 4 kB / 427.1 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2638/0.4301, allocations: 8.778 MB / 435.9 MB, free: 18.44 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.329e-05/0.4302, allocations: 15.98 kB / 435.9 MB, free: 18.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.4303, allocations: 52.25 kB / 435.9 MB, free: 18.44 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007308/0.4376, allocations: 2.321 MB / 438.3 MB, free: 18.36 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.485e-06/0.4377, allocations: 3.656 kB / 438.3 MB, free: 18.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4377, allocations: 1 kB / 438.3 MB, free: 18.36 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.4377, allocations: 0 / 438.3 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.002807/0.4405, allocations: 0.8937 MB / 439.2 MB, free: 17.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4406, allocations: 9.094 kB / 439.2 MB, free: 17.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.4408, allocations: 28.08 kB / 439.2 MB, free: 17.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.441, allocations: 200.6 kB / 439.4 MB, free: 17.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.441, allocations: 6.719 kB / 439.4 MB, free: 17.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.441, allocations: 5.531 kB / 439.4 MB, free: 17.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.4412, allocations: 130.5 kB / 439.5 MB, free: 17.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4412, allocations: 0 / 439.5 MB, free: 17.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.4412, allocations: 3.812 kB / 439.5 MB, free: 17.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.4413, allocations: 7.406 kB / 439.6 MB, free: 17.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.4414, allocations: 101 kB / 439.6 MB, free: 17.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005718/0.442, allocations: 0.5718 MB / 440.2 MB, free: 16.99 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.4422, allocations: 124.4 kB / 440.3 MB, free: 16.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.4424, allocations: 85.89 kB / 440.4 MB, free: 16.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05878/0.5012, allocations: 33.16 MB / 473.6 MB, free: 17.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.5012, allocations: 33.47 kB / 473.6 MB, free: 17.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.585e-06/0.5012, allocations: 0 / 473.6 MB, free: 17.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006755/0.5019, allocations: 229.2 kB / 473.8 MB, free: 17.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.502, allocations: 83.67 kB / 473.9 MB, free: 17.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.5021, allocations: 124.6 kB / 474.1 MB, free: 17.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.5021, allocations: 29.7 kB / 474.1 MB, free: 17.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.5022, allocations: 92.72 kB / 474.2 MB, free: 17.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.357e-05/0.5023, allocations: 73.39 kB / 474.2 MB, free: 17.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.5023, allocations: 42.88 kB / 474.3 MB, free: 17.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5025, allocations: 322.2 kB / 474.6 MB, free: 17.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-05/0.5025, allocations: 51.98 kB / 474.6 MB, free: 17.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.932e-05/0.5026, allocations: 69.62 kB / 474.7 MB, free: 16.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.5028, allocations: 118.8 kB / 474.8 MB, free: 16.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5028, allocations: 0 / 474.8 MB, free: 16.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002197/0.503, allocations: 168.7 kB / 475 MB, free: 16.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.503, allocations: 7 kB / 475 MB, free: 16.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.5031, allocations: 1.625 kB / 475 MB, free: 16.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.5031, allocations: 0 / 475 MB, free: 16.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.977e-05/0.5032, allocations: 33.11 kB / 475 MB, free: 16.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5032, allocations: 0 / 475 MB, free: 16.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.5033, allocations: 15.34 kB / 475.1 MB, free: 16.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.5033, allocations: 4.625 kB / 475.1 MB, free: 16.9 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.0001004/0.5034, allocations: 119 kB / 475.2 MB, free: 16.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.5035, allocations: 11.34 kB / 475.2 MB, free: 16.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004292/0.5039, allocations: 319.5 kB / 475.5 MB, free: 16.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002647/0.5042, allocations: 235.6 kB / 475.7 MB, free: 16.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.5042, allocations: 10.61 kB / 475.7 MB, free: 16.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.5042, allocations: 5.875 kB / 475.7 MB, free: 16.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007952/0.505, allocations: 0.7508 MB / 476.5 MB, free: 16.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5051, allocations: 0 / 476.5 MB, free: 16.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.5052, allocations: 44.77 kB / 476.5 MB, free: 16.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5052, allocations: 0 / 476.5 MB, free: 16.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.5052, allocations: 6.656 kB / 476.5 MB, free: 16.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.5053, allocations: 0 / 476.5 MB, free: 16.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5053, allocations: 2.125 kB / 476.5 MB, free: 16.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/0.5058, allocations: 0.5262 MB / 477.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.5058, allocations: 103.6 kB / 477.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.5059, allocations: 0 / 477.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.506, allocations: 8.828 kB / 477.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.506, allocations: 15.89 kB / 477.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.5061, allocations: 14.72 kB / 477.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.876e-05/0.5061, allocations: 90.45 kB / 477.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5061, allocations: 4.062 kB / 477.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003408/0.5095, allocations: 0.9247 MB / 478.2 MB, free: 15.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 (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.003686/0.5132, allocations: 1.435 MB / 479.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003884/0.5136, allocations: 249.6 kB / 479.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5137, allocations: 0 / 479.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.5138, allocations: 117.5 kB / 480 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008742/0.5147, allocations: 147.8 kB / 480.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009188/0.5156, allocations: 0.5744 MB / 480.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.5159, allocations: 0.7292 MB / 481.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.516, allocations: 27.44 kB / 481.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of SimCode: time 1.553e-06/0.516, allocations: 0 / 481.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Templates: time 0.03601/0.552, allocations: 18.88 MB / 0.4887 GB, free: 9.508 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