Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.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.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") translateModel(HelmholtzMedia.Examples.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007963/0.0007963, allocations: 99.44 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.0007854/0.0007854, allocations: 176.1 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.562/1.562, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04443/0.04443, allocations: 9.067 MB / 280.1 MB, free: 12.25 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.0005078/0.000508, allocations: 12 kB / 339.7 MB, free: 26.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1078, allocations: 49.2 MB / 389 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01821/0.126, allocations: 16.52 MB / 405.5 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.247/0.3731, allocations: 30.08 MB / 435.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.3734, allocations: 1.906 kB / 435.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009304/0.3743, allocations: 356.8 kB / 435.9 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.3747, allocations: 123.5 kB / 436 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02127/0.396, allocations: 7.628 MB / 443.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005336/0.3965, allocations: 374.2 kB / 444 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.764e-05/0.3966, allocations: 20.17 kB / 444 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.3969, allocations: 151.8 kB / 444.2 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.397, allocations: 117.7 kB / 444.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.3971, allocations: 7.938 kB / 444.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01844/0.4155, allocations: 9.341 MB / 453.6 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.4157, allocations: 31.91 kB / 453.7 MB, free: 9.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.4159, allocations: 62.58 kB / 453.7 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006104/0.422, allocations: 2.882 MB / 456.6 MB, free: 8.863 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.422, allocations: 1.531 kB / 456.6 MB, free: 8.863 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.422, allocations: 0 / 456.6 MB, free: 8.863 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.422, allocations: 0 / 456.6 MB, free: 8.863 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.002258/0.4243, allocations: 1.132 MB / 457.8 MB, free: 8.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.4243, allocations: 8.344 kB / 457.8 MB, free: 8.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.4246, allocations: 35.56 kB / 457.8 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.4247, allocations: 222.6 kB / 458 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.4248, allocations: 10.94 kB / 458 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.4248, allocations: 8.594 kB / 458 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/0.4253, allocations: 268.8 kB / 458.3 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4254, allocations: 3.125 kB / 458.3 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.4254, allocations: 8.922 kB / 458.3 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.4254, allocations: 8.219 kB / 458.3 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000545/0.426, allocations: 254.7 kB / 458.6 MB, free: 7.613 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007813/0.4267, allocations: 1.08 MB / 459.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.4272, allocations: 254.3 kB / 459.9 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.4274, allocations: 171.3 kB / 460.1 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0687/0.4962, allocations: 45.21 MB / 0.4934 GB, free: 4.266 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.4963, allocations: 33.81 kB / 0.4935 GB, free: 4.227 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.946e-06/0.4963, allocations: 0 / 0.4935 GB, free: 4.227 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001649/0.4979, allocations: 0.5007 MB / 0.4939 GB, free: 3.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.01e-05/0.498, allocations: 136.5 kB / 0.4941 GB, free: 3.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.4982, allocations: 174.1 kB / 0.4942 GB, free: 3.496 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.4983, allocations: 35.83 kB / 0.4943 GB, free: 3.457 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.23e-05/0.4983, allocations: 118.1 kB / 0.4944 GB, free: 3.355 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.458e-05/0.4984, allocations: 89.16 kB / 0.4945 GB, free: 3.277 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-06/0.4985, allocations: 0 / 0.4945 GB, free: 3.277 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4986, allocations: 328.6 kB / 0.4948 GB, free: 2.957 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.4989, allocations: 123.9 kB / 0.4949 GB, free: 2.867 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.4992, allocations: 181.2 kB / 0.4951 GB, free: 2.707 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.4995, allocations: 131.4 kB / 0.4952 GB, free: 2.613 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4995, allocations: 0 / 0.4952 GB, free: 2.613 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006786/0.5002, allocations: 351 kB / 0.4955 GB, free: 2.336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.5002, allocations: 8.188 kB / 0.4955 GB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.5002, allocations: 4 kB / 0.4956 GB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.5002, allocations: 3.844 kB / 0.4956 GB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.5005, allocations: 58.89 kB / 0.4956 GB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.5005, allocations: 5.25 kB / 0.4956 GB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.5007, allocations: 39.83 kB / 0.4957 GB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.5008, allocations: 11.23 kB / 0.4957 GB, free: 2.223 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.state.phase,medium.sat.liq.phase,medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001396/0.5009, allocations: 136 kB / 0.4958 GB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.501, allocations: 19.72 kB / 0.4958 GB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006039/0.5016, allocations: 394.6 kB / 0.4962 GB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.5017, allocations: 3.281 kB / 0.4962 GB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.5017, allocations: 4 kB / 0.4962 GB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5017, allocations: 3.953 kB / 0.4962 GB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005208/0.5022, allocations: 318.9 kB / 0.4965 GB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5022, allocations: 0 / 0.4965 GB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.5024, allocations: 43.95 kB / 0.4965 GB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.5024, allocations: 8 kB / 0.4966 GB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.5025, allocations: 7.234 kB / 0.4966 GB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.5025, allocations: 4 kB / 0.4966 GB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.5025, allocations: 7.891 kB / 0.4966 GB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007991/0.5033, allocations: 0.6605 MB / 0.4972 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.13e-05/0.5034, allocations: 108 kB / 0.4973 GB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.5034, allocations: 7.984 kB / 0.4973 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.5037, allocations: 30.08 kB / 0.4974 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.992e-05/0.5038, allocations: 31.16 kB / 0.4974 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.5038, allocations: 4 kB / 0.4974 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.142e-05/0.5039, allocations: 126.3 kB / 0.4975 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5039, allocations: 0 / 0.4975 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002284/0.5062, allocations: 0.7863 MB / 0.4983 GB, free: 15.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,medium.state.phase,medium.sat.liq.phase,medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.003885/0.5101, allocations: 1.177 MB / 0.4994 GB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006682/0.5108, allocations: 306.5 kB / 0.4997 GB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5108, allocations: 0 / 0.4997 GB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.5111, allocations: 181.2 kB / 0.4999 GB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008168/0.512, allocations: 90.39 kB / 0.5 GB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008666/0.5128, allocations: 0.6041 MB / 0.5006 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.5132, allocations: 0.7365 MB / 0.5013 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.347e-05/0.5133, allocations: 23.42 kB / 0.5013 GB, free: 12.94 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.5133, allocations: 0 / 0.5013 GB, free: 12.94 MB / 382.1 MB Notification: Performance of Templates: time 0.0269/0.5402, allocations: 16.43 MB / 0.5174 GB, free: 12.55 MB / 398.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.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.BaseProps_sweepCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweepCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweepCalcHelperMain.o] Error 1