Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.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.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008342/0.0008339, allocations: 99.59 kB / 15.71 MB, free: 452 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.0008766/0.0008767, allocations: 180.3 kB / 16.58 MB, free: 6.879 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.507/1.507, allocations: 205.4 MB / 222.8 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04496/0.04496, allocations: 9.064 MB / 280.1 MB, free: 12.5 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.0004901/0.0004901, allocations: 16 kB / 339.8 MB, free: 26.04 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1073, allocations: 49.21 MB / 389 MB, free: 8.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.01445/0.1218, allocations: 11.88 MB / 400.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009257/0.1311, allocations: 7.953 MB / 408.8 MB, free: 4.883 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.706e-05/0.1312, allocations: 4 kB / 408.8 MB, free: 4.879 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.1314, allocations: 35.78 kB / 408.8 MB, free: 4.844 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00469/0.1361, allocations: 1.438 MB / 410.3 MB, free: 3.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005873/0.142, allocations: 1.72 MB / 412 MB, free: 1.691 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.1422, allocations: 123.1 kB / 412.1 MB, free: 1.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.1423, allocations: 4 kB / 412.1 MB, free: 1.566 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.827e-05/0.1423, allocations: 43.8 kB / 412.2 MB, free: 1.523 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.965e-05/0.1424, allocations: 51.78 kB / 412.2 MB, free: 1.473 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.1425, allocations: 4 kB / 412.2 MB, free: 1.469 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01227/0.1547, allocations: 6.594 MB / 418.8 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.881e-05/0.1548, allocations: 11.92 kB / 418.8 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.623e-05/0.1549, allocations: 45.64 kB / 418.9 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005124/0.16, allocations: 2.503 MB / 421.4 MB, free: 8.297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.16, allocations: 4 kB / 421.4 MB, free: 8.293 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.16, allocations: 0 / 421.4 MB, free: 8.293 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1601, allocations: 0 / 421.4 MB, free: 8.293 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00283/0.1629, allocations: 0.8694 MB / 422.2 MB, free: 7.375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1629, allocations: 8.031 kB / 422.3 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003362/0.1633, allocations: 43.86 kB / 422.3 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.1635, allocations: 202.9 kB / 422.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.1636, allocations: 4.188 kB / 422.5 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.1636, allocations: 12 kB / 422.5 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007521/0.1643, allocations: 256.5 kB / 422.8 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1644, allocations: 0 / 422.8 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1644, allocations: 4 kB / 422.8 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1644, allocations: 7.953 kB / 422.8 MB, free: 6.797 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000651/0.1651, allocations: 215.7 kB / 423 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007547/0.1658, allocations: 0.6661 MB / 423.6 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007472/0.1666, allocations: 249 kB / 423.9 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.567e-05/0.1667, allocations: 53.73 kB / 423.9 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3302/0.4969, allocations: 64.58 MB / 488.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.497, allocations: 38.25 kB / 488.6 MB, free: 4.785 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.497, allocations: 4 kB / 488.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001461/0.4985, allocations: 365.7 kB / 488.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.4985, allocations: 84.58 kB / 489 MB, free: 4.332 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.4986, allocations: 126.1 kB / 489.1 MB, free: 4.195 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.4987, allocations: 29.7 kB / 489.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.4987, allocations: 95.41 kB / 489.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/0.4988, allocations: 51.12 kB / 489.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.4988, allocations: 0 / 489.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4989, allocations: 334.7 kB / 489.6 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.4991, allocations: 51.97 kB / 489.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.4992, allocations: 91.3 kB / 489.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.4993, allocations: 57.53 kB / 489.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4994, allocations: 0 / 489.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000401/0.4998, allocations: 218.5 kB / 490 MB, free: 3.285 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.4998, allocations: 8.062 kB / 490 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4998, allocations: 4 kB / 490 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.4998, allocations: 3.781 kB / 490 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.5, allocations: 59.14 kB / 490.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.5, allocations: 0.875 kB / 490.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.5002, allocations: 15.56 kB / 490.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.5002, allocations: 19.98 kB / 490.1 MB, free: 3.188 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (state_h.phase,state_p.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 0.0001105/0.5003, allocations: 117.7 kB / 490.3 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/0.5004, allocations: 14.86 kB / 490.3 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/0.5023, allocations: 2.1 MB / 492.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.5024, allocations: 8.672 kB / 492.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.5024, allocations: 3 kB / 492.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.5024, allocations: 7.953 kB / 492.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009234/0.5033, allocations: 1.052 MB / 493.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5033, allocations: 0 / 493.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.5035, allocations: 37.22 kB / 493.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5035, allocations: 0 / 493.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.5036, allocations: 0 / 493.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.5036, allocations: 4.078 kB / 493.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5036, allocations: 3.984 kB / 493.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006579/0.5042, allocations: 0.6378 MB / 494.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.5043, allocations: 104.7 kB / 494.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.5043, allocations: 3.984 kB / 494.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.5045, allocations: 8 kB / 494.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.5045, allocations: 4 kB / 494.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.5045, allocations: 7.984 kB / 494.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.497e-05/0.5046, allocations: 100.4 kB / 494.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5046, allocations: 0 / 494.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002566/0.5072, allocations: 0.9134 MB / 495.3 MB, free: 14.01 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_p_int,d_h_int) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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.003277/0.5105, allocations: 1.091 MB / 496.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003696/0.5108, allocations: 212.3 kB / 496.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5109, allocations: 128 / 496.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.5111, allocations: 164.6 kB / 496.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/0.5116, allocations: 67.77 kB / 496.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009618/0.5126, allocations: 0.7062 MB / 497.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.5129, allocations: 0.737 MB / 498.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.992e-05/0.513, allocations: 31.42 kB / 498.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.513, allocations: 0 / 498.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Templates: time 0.02911/0.5421, allocations: 18.67 MB / 0.5048 GB, free: 8.367 MB / 366.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.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.CheckDerivativesWaterCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWaterCalcHelperMain.o] Error 1