Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.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.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") translateModel(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007892/0.000789, allocations: 100.5 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.0008891/0.0008892, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04274/0.04274, allocations: 9.065 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.0005167/0.0005169, allocations: 16 kB / 339.8 MB, free: 26.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1089, allocations: 49.2 MB / 389 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.01982/0.1288, allocations: 18.26 MB / 407.2 MB, free: 6.434 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01608/0.1449, allocations: 16 MB / 423.2 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004709/0.1454, allocations: 4 kB / 423.2 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.1469, allocations: 469.8 kB / 423.7 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01276/0.1597, allocations: 4.294 MB / 428 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003947/0.1636, allocations: 0.7774 MB / 428.7 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.1649, allocations: 0.7434 MB / 429.5 MB, free: 112 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.1651, allocations: 41.72 kB / 429.5 MB, free: 68 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2343/0.3993, allocations: 316.9 kB / 429.8 MB, free: 18.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006353/0.4001, allocations: 294.2 kB / 430.1 MB, free: 18.62 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.245e-05/0.4001, allocations: 29.41 kB / 430.2 MB, free: 18.62 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01838/0.4185, allocations: 7.869 MB / 438 MB, free: 18.62 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.4187, allocations: 91.41 kB / 438.1 MB, free: 18.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.4189, allocations: 119.6 kB / 438.2 MB, free: 18.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00522/0.4241, allocations: 2.344 MB / 440.6 MB, free: 18.47 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.4242, allocations: 0 / 440.6 MB, free: 18.47 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4242, allocations: 0 / 440.6 MB, free: 18.47 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.4242, allocations: 0 / 440.6 MB, free: 18.47 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002199/0.4264, allocations: 1.174 MB / 441.7 MB, free: 17.76 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.4264, allocations: 9.125 kB / 441.8 MB, free: 17.76 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003795/0.4268, allocations: 87.97 kB / 441.8 MB, free: 17.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.427, allocations: 225.9 kB / 442.1 MB, free: 17.51 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.427, allocations: 24.69 kB / 442.1 MB, free: 17.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-05/0.4271, allocations: 33.12 kB / 442.1 MB, free: 17.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.4285, allocations: 1.259 MB / 443.4 MB, free: 17.45 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4286, allocations: 0 / 443.4 MB, free: 17.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.4286, allocations: 13.5 kB / 443.4 MB, free: 17.45 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.091e-05/0.4286, allocations: 26.36 kB / 443.4 MB, free: 17.45 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.4309, allocations: 2.326 MB / 445.7 MB, free: 17.42 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.4331, allocations: 2.161 MB / 447.9 MB, free: 17.03 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.4343, allocations: 1.353 MB / 449.3 MB, free: 16.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.4354, allocations: 1.281 MB / 450.5 MB, free: 16.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01488/0.4503, allocations: 10.91 MB / 461.4 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.4503, allocations: 42.64 kB / 461.5 MB, free: 6.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=185): time 2.565e-06/0.4503, allocations: 0 / 461.5 MB, free: 6.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=185): time 0.003575/0.4539, allocations: 3.596 MB / 465.1 MB, free: 5.727 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.454, allocations: 62.66 kB / 465.1 MB, free: 5.664 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.19e-05/0.4541, allocations: 112.6 kB / 465.3 MB, free: 5.559 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.4541, allocations: 36.2 kB / 465.3 MB, free: 5.527 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.4541, allocations: 90.91 kB / 465.4 MB, free: 5.438 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003331/0.4545, allocations: 0.5711 MB / 465.9 MB, free: 5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.4545, allocations: 9.719 kB / 466 MB, free: 5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.4546, allocations: 371 kB / 466.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008843/0.4555, allocations: 1.029 MB / 467.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008743/0.4564, allocations: 1.033 MB / 468.4 MB, free: 3.527 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009953/0.4574, allocations: 1.091 MB / 469.5 MB, free: 2.914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.4574, allocations: 0 / 469.5 MB, free: 2.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002085/0.4595, allocations: 2.333 MB / 471.8 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.4595, allocations: 8 kB / 471.8 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.4596, allocations: 6.438 kB / 471.8 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.4596, allocations: 4 kB / 471.8 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005234/0.4601, allocations: 119.2 kB / 471.9 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.4601, allocations: 7.953 kB / 471.9 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004096/0.4605, allocations: 88.42 kB / 472 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/0.4606, allocations: 23.98 kB / 472.1 MB, free: 344 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sat.liq.phase,sat.vap.phase,sat_Tplus.liq.phase,sat_Tplus.vap.phase,sat_Tminus.liq.phase,sat_Tminus.vap.phase,sat_pplus.liq.phase,sat_pplus.vap.phase,sat_pminus.liq.phase,sat_pminus.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0001534/0.4608, allocations: 168.8 kB / 472.2 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.4609, allocations: 58.61 kB / 472.3 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003068/0.4639, allocations: 2.645 MB / 474.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-05/0.464, allocations: 31.78 kB / 475 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.464, allocations: 0 / 475 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.464, allocations: 7.984 kB / 475 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.4651, allocations: 1.161 MB / 476.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4652, allocations: 0 / 476.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/0.4657, allocations: 139 kB / 476.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.4658, allocations: 4 kB / 476.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.4658, allocations: 16 kB / 476.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.4658, allocations: 7.984 kB / 476.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4658, allocations: 0 / 476.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/0.4684, allocations: 2.336 MB / 478.6 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.4686, allocations: 218.5 kB / 478.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-05/0.4687, allocations: 16 kB / 478.9 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/0.469, allocations: 27.98 kB / 478.9 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.574e-05/0.4691, allocations: 52.88 kB / 478.9 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.441e-05/0.4692, allocations: 27.98 kB / 479 MB, free: 9.391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.719e-05/0.4692, allocations: 83.58 kB / 479 MB, free: 9.309 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4692, allocations: 0 / 479 MB, free: 9.309 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00352/0.4727, allocations: 0.8824 MB / 479.9 MB, free: 8.426 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sat.liq.phase,sat.vap.phase,sat_Tplus.liq.phase,sat_Tplus.vap.phase,sat_Tminus.liq.phase,sat_Tminus.vap.phase,sat_pplus.liq.phase,sat_pplus.vap.phase,sat_pminus.liq.phase,sat_pminus.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.003309/0.4761, allocations: 1.309 MB / 481.2 MB, free: 7.281 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002443/0.4785, allocations: 2.364 MB / 483.6 MB, free: 4.926 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4785, allocations: 2.844 kB / 483.6 MB, free: 4.926 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.4798, allocations: 1.261 MB / 484.9 MB, free: 3.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.4813, allocations: 347 kB / 485.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.4835, allocations: 1.989 MB / 487.2 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.4839, allocations: 0.8898 MB / 488.1 MB, free: 424 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.4842, allocations: 67.41 kB / 488.1 MB, free: 356 kB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4842, allocations: 0 / 488.1 MB, free: 356 kB / 334.1 MB Notification: Performance of Templates: time 0.0362/0.5204, allocations: 23.67 MB / 0.4998 GB, free: 8.758 MB / 366.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.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.Derivatives_SaturationBoundaryCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundaryCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundaryCalcHelperMain.o] Error 1