Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 99.19 kB / 16.02 MB, free: 76 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.001458/0.001458, allocations: 185.6 kB / 16.92 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.141/0.141, allocations: 2.791 MB / 294.9 MB, free: 4.23 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003177, allocations: 8 kB / 356.9 MB, free: 3.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1071, allocations: 51.26 MB / 408.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.2816/0.3888, allocations: 49.39 MB / 457.5 MB, free: 22.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01816/0.407, allocations: 28.51 MB / 486 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000762/0.4078, allocations: 3.094 kB / 486 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.4094, allocations: 0.5725 MB / 486.6 MB, free: 316 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006477/0.4159, allocations: 2.058 MB / 488.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008742/0.4246, allocations: 2.698 MB / 491.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00134/0.426, allocations: 0.9756 MB / 492.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.4261, allocations: 55.69 kB / 492.4 MB, free: 13.13 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function ‘ExternalMedia.Common.CheckCoolPropOptions‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFEvalConstants.evaluate: time 1.007/1.433, allocations: 47.07 MB / 0.5268 GB, free: 14.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009076/1.434, allocations: 298.6 kB / 0.5271 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/1.434, allocations: 20 kB / 0.5271 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3824/1.817, allocations: 25.05 MB / 0.5516 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003368/1.817, allocations: 95.47 kB / 0.5517 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008606/1.818, allocations: 352.1 kB / 0.552 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003757/1.822, allocations: 1.348 MB / 0.5533 GB, free: 3.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/1.822, allocations: 0 / 0.5533 GB, free: 3.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.407e-06/1.822, allocations: 0 / 0.5533 GB, free: 3.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.701e-05/1.822, allocations: 0 / 0.5533 GB, free: 3.52 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002157/1.824, allocations: 0.9947 MB / 0.5543 GB, free: 2.477 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/1.824, allocations: 8.031 kB / 0.5543 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/1.826, allocations: 0.4997 MB / 0.5548 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006231/1.827, allocations: 339.4 kB / 0.5551 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.959e-05/1.827, allocations: 50.06 kB / 0.5552 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.772e-05/1.827, allocations: 56 kB / 0.5552 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/1.829, allocations: 0.8762 MB / 0.5561 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/1.829, allocations: 7.984 kB / 0.5561 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.829e-05/1.829, allocations: 24 kB / 0.5561 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-05/1.829, allocations: 35.97 kB / 0.5561 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/1.831, allocations: 0.7196 MB / 0.5568 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004214/1.835, allocations: 5.032 MB / 0.5617 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006945/1.836, allocations: 337.7 kB / 0.5621 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/1.836, allocations: 217.7 kB / 0.5623 GB, free: 9.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001732/1.838, allocations: 1.531 MB / 0.5638 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/1.838, allocations: 38.5 kB / 0.5638 GB, free: 7.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=71): time 2.675e-06/1.838, allocations: 0 / 0.5638 GB, free: 7.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=71): time 0.001691/1.84, allocations: 0.6079 MB / 0.5644 GB, free: 7.227 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/1.84, allocations: 81.11 kB / 0.5645 GB, free: 7.129 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/1.84, allocations: 182.2 kB / 0.5647 GB, free: 6.941 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/1.84, allocations: 29.7 kB / 0.5647 GB, free: 6.906 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/1.84, allocations: 291.5 kB / 0.565 GB, free: 6.613 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/1.84, allocations: 228.5 kB / 0.5652 GB, free: 6.387 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.568e-05/1.84, allocations: 57.69 kB / 0.5652 GB, free: 6.324 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/1.841, allocations: 346.8 kB / 0.5656 GB, free: 5.977 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/1.841, allocations: 117.3 kB / 0.5657 GB, free: 5.859 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/1.841, allocations: 304 kB / 0.566 GB, free: 5.488 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006793/1.842, allocations: 496.5 kB / 0.5664 GB, free: 4.926 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.842, allocations: 4 kB / 0.5664 GB, free: 4.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008905/1.843, allocations: 488.9 kB / 0.5669 GB, free: 4.438 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/1.843, allocations: 8 kB / 0.5669 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/1.843, allocations: 12 kB / 0.5669 GB, free: 4.418 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/1.843, allocations: 8 kB / 0.5669 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/1.843, allocations: 72.09 kB / 0.567 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/1.843, allocations: 11.94 kB / 0.567 GB, free: 4.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/1.844, allocations: 91.12 kB / 0.5671 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/1.844, allocations: 20 kB / 0.5671 GB, free: 4.219 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002752/1.844, allocations: 193.7 kB / 0.5673 GB, free: 4.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.219e-05/1.844, allocations: 31.62 kB / 0.5673 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/1.846, allocations: 1.178 MB / 0.5685 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001249/1.847, allocations: 0.969 MB / 0.5694 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.847, allocations: 3.938 kB / 0.5694 GB, free: 1.824 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/1.847, allocations: 7.984 kB / 0.5694 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/1.85, allocations: 2.302 MB / 0.5717 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/1.85, allocations: 11.92 kB / 0.5717 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/1.851, allocations: 123.8 kB / 0.5718 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-06/1.851, allocations: 4 kB / 0.5718 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/1.851, allocations: 8 kB / 0.5718 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/1.851, allocations: 4 kB / 0.5718 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.851, allocations: 0 / 0.5718 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/1.852, allocations: 0.887 MB / 0.5727 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/1.852, allocations: 140.2 kB / 0.5728 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/1.852, allocations: 12 kB / 0.5728 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004511/1.853, allocations: 91.55 kB / 0.5729 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/1.853, allocations: 39.94 kB / 0.573 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/1.853, allocations: 16 kB / 0.573 GB, free: 14.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003606/1.853, allocations: 132.2 kB / 0.5731 GB, free: 13.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/1.853, allocations: 0 / 0.5731 GB, free: 13.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008939/1.854, allocations: 227.4 kB / 0.5733 GB, free: 13.73 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (medium1.completeState.state.phase,$cse4.phase,medium2.completeState.state.phase,$cse2.phase,medium2.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0006191/1.855, allocations: 308.7 kB / 0.5736 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/1.856, allocations: 0.7495 MB / 0.5744 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.856, allocations: 448 / 0.5744 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005219/1.856, allocations: 378.6 kB / 0.5747 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/1.858, allocations: 325.1 kB / 0.575 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/1.861, allocations: 1.743 MB / 0.5767 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007496/1.861, allocations: 0.9563 MB / 0.5777 GB, free: 9.195 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/1.861, allocations: 47.44 kB / 0.5777 GB, free: 9.148 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/1.861, allocations: 4 kB / 0.5777 GB, free: 9.145 MB / 446.1 MB Notification: Performance of Templates: time 0.0145/1.876, allocations: 8.326 MB / 0.5858 GB, free: 0.8281 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicitCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicitCalcHelperMain.o] Error 1