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.0008209/0.0008209, allocations: 102.8 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.00127/0.00127, allocations: 175.2 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.542/1.542, allocations: 205.4 MB / 222.8 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04511/0.04511, allocations: 9.06 MB / 280.1 MB, free: 12.26 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.0004929/0.0004929, allocations: 12 kB / 339.8 MB, free: 26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1106, allocations: 49.19 MB / 389 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide): time 0.01854/0.1291, allocations: 16.11 MB / 405.1 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01621/0.1454, allocations: 15.83 MB / 420.9 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.1456, allocations: 0 / 420.9 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007297/0.1463, allocations: 231 kB / 421.1 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01797/0.1643, allocations: 5.174 MB / 426.3 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.1658, allocations: 449.8 kB / 426.7 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.166, allocations: 191 kB / 426.9 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.1661, allocations: 9.391 kB / 426.9 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.1662, allocations: 91.58 kB / 427 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.536e-05/0.1663, allocations: 55.78 kB / 427.1 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.826e-06/0.1663, allocations: 7.938 kB / 427.1 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2314/0.3978, allocations: 8.578 MB / 435.7 MB, free: 19.97 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/0.3978, allocations: 17.19 kB / 435.7 MB, free: 19.97 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.948e-05/0.3979, allocations: 44.08 kB / 435.7 MB, free: 19.94 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005618/0.4035, allocations: 2.404 MB / 438.1 MB, free: 19.86 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4035, allocations: 3.188 kB / 438.1 MB, free: 19.86 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4036, allocations: 0 / 438.1 MB, free: 19.86 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.4036, allocations: 1.781 kB / 438.1 MB, free: 19.86 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.002659/0.4062, allocations: 0.8728 MB / 439 MB, free: 19.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.4063, allocations: 9.656 kB / 439 MB, free: 19.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.4064, allocations: 29.69 kB / 439 MB, free: 19.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.4066, allocations: 195.7 kB / 439.2 MB, free: 19.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.4066, allocations: 5.531 kB / 439.2 MB, free: 19.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.4067, allocations: 9.875 kB / 439.2 MB, free: 19.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.4069, allocations: 123.9 kB / 439.4 MB, free: 18.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.4069, allocations: 0.75 kB / 439.4 MB, free: 18.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.4069, allocations: 4.266 kB / 439.4 MB, free: 18.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.4069, allocations: 9.984 kB / 439.4 MB, free: 18.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.4071, allocations: 95.14 kB / 439.5 MB, free: 18.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.4076, allocations: 0.5799 MB / 440 MB, free: 18.49 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.4078, allocations: 123.8 kB / 440.2 MB, free: 18.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.408, allocations: 86.92 kB / 440.3 MB, free: 18.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04713/0.4551, allocations: 32.34 MB / 472.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.4552, allocations: 41.25 kB / 472.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.884e-06/0.4552, allocations: 2.516 kB / 472.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005708/0.4557, allocations: 234.5 kB / 472.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000183/0.4559, allocations: 77.11 kB / 472.9 MB, free: 20.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.4561, allocations: 117.3 kB / 473.1 MB, free: 20.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.4561, allocations: 29.52 kB / 473.1 MB, free: 20.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.4561, allocations: 93.94 kB / 473.2 MB, free: 19.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.577e-05/0.4562, allocations: 84.61 kB / 473.3 MB, free: 19.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.4562, allocations: 3.812 kB / 473.3 MB, free: 19.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4563, allocations: 321.6 kB / 473.6 MB, free: 19.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.052e-05/0.4564, allocations: 43.95 kB / 473.6 MB, free: 19.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-05/0.4565, allocations: 65.91 kB / 473.7 MB, free: 19.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.416e-05/0.4566, allocations: 59.41 kB / 473.7 MB, free: 19.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4566, allocations: 0 / 473.7 MB, free: 19.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002307/0.4568, allocations: 163.5 kB / 473.9 MB, free: 19.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.4568, allocations: 10.97 kB / 473.9 MB, free: 19.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4569, allocations: 2.375 kB / 473.9 MB, free: 19.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.4569, allocations: 2.594 kB / 473.9 MB, free: 19.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.925e-05/0.457, allocations: 22.39 kB / 473.9 MB, free: 19.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.457, allocations: 0 / 473.9 MB, free: 19.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.868e-05/0.4571, allocations: 9.5 kB / 473.9 MB, free: 19.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.4571, allocations: 10.47 kB / 474 MB, free: 19.45 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 8.718e-05/0.4572, allocations: 118.3 kB / 474.1 MB, free: 19.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.4572, allocations: 19.41 kB / 474.1 MB, free: 19.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003772/0.4576, allocations: 309.4 kB / 474.4 MB, free: 19.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002252/0.4579, allocations: 233.3 kB / 474.6 MB, free: 19.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4579, allocations: 3.656 kB / 474.6 MB, free: 19.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4579, allocations: 1.062 kB / 474.6 MB, free: 19.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008489/0.4587, allocations: 0.7575 MB / 475.4 MB, free: 18.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4587, allocations: 3.984 kB / 475.4 MB, free: 18.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.4589, allocations: 40.11 kB / 475.4 MB, free: 18.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.4589, allocations: 3.688 kB / 475.4 MB, free: 18.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.4589, allocations: 6.281 kB / 475.4 MB, free: 18.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4589, allocations: 0 / 475.4 MB, free: 18.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.4589, allocations: 1.391 kB / 475.4 MB, free: 18.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.4594, allocations: 0.5309 MB / 476 MB, free: 18.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.581e-05/0.4594, allocations: 96.33 kB / 476.1 MB, free: 18.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.4595, allocations: 7.125 kB / 476.1 MB, free: 18.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.4596, allocations: 7.281 kB / 476.1 MB, free: 18.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.4596, allocations: 23.02 kB / 476.1 MB, free: 18.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.4596, allocations: 7.406 kB / 476.1 MB, free: 18.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.323e-05/0.4597, allocations: 93.83 kB / 476.2 MB, free: 18.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.142e-06/0.4597, allocations: 0 / 476.2 MB, free: 18.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003267/0.463, allocations: 0.93 MB / 477.1 MB, free: 18.03 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.005754/0.4688, allocations: 1.469 MB / 478.6 MB, free: 17.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003006/0.4691, allocations: 249.1 kB / 478.8 MB, free: 17.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.4691, allocations: 0 / 478.8 MB, free: 17.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.4692, allocations: 121.4 kB / 479 MB, free: 17.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008212/0.47, allocations: 147.6 kB / 479.1 MB, free: 17.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007031/0.4707, allocations: 0.596 MB / 479.7 MB, free: 16.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.4711, allocations: 0.7329 MB / 480.4 MB, free: 16.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.776e-05/0.4711, allocations: 29.5 kB / 480.5 MB, free: 16.25 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4711, allocations: 0 / 480.5 MB, free: 16.25 MB / 350.1 MB Notification: Performance of Templates: time 0.03177/0.5029, allocations: 18.96 MB / 499.4 MB, free: 13.52 MB / 366.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.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.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