Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 92.78 kB / 16.02 MB, free: 80 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.002178/0.002178, allocations: 181.5 kB / 16.92 MB, free: 6.652 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.446/1.446, allocations: 223.2 MB / 241 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1425/0.1425, allocations: 2.782 MB / 294.9 MB, free: 4.23 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.0004957, allocations: 8 kB / 356.9 MB, free: 3.969 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1219, allocations: 51.26 MB / 408.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.2599/0.3819, allocations: 49.38 MB / 457.5 MB, free: 22.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01981/0.4017, allocations: 28.51 MB / 486 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007063/0.4025, allocations: 6.938 kB / 486 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.4041, allocations: 0.5642 MB / 486.6 MB, free: 308 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006798/0.4109, allocations: 2.06 MB / 488.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01056/0.4215, allocations: 2.708 MB / 491.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001628/0.4231, allocations: 0.9731 MB / 492.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.4233, allocations: 55.94 kB / 492.4 MB, free: 13.11 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 0.9769/1.4, allocations: 47.06 MB / 0.5268 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009568/1.401, allocations: 298.6 kB / 0.5271 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001318/1.401, allocations: 23.98 kB / 0.5271 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3746/1.776, allocations: 25.06 MB / 0.5516 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003113/1.776, allocations: 87.53 kB / 0.5517 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008207/1.777, allocations: 344.1 kB / 0.552 GB, free: 4.852 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003825/1.781, allocations: 1.352 MB / 0.5533 GB, free: 3.496 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.781, allocations: 3.938 kB / 0.5533 GB, free: 3.492 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.786e-06/1.781, allocations: 4 kB / 0.5533 GB, free: 3.488 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.844e-05/1.781, allocations: 0 / 0.5533 GB, free: 3.488 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.002056/1.783, allocations: 0.983 MB / 0.5543 GB, free: 2.457 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/1.783, allocations: 8.031 kB / 0.5543 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002326/1.785, allocations: 0.5075 MB / 0.5548 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007089/1.786, allocations: 335.4 kB / 0.5551 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/1.786, allocations: 46.06 kB / 0.5551 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/1.786, allocations: 52 kB / 0.5552 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/1.788, allocations: 0.884 MB / 0.5561 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/1.788, allocations: 7.938 kB / 0.5561 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/1.789, allocations: 23.98 kB / 0.5561 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-05/1.789, allocations: 35.97 kB / 0.5561 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/1.791, allocations: 0.7234 MB / 0.5568 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005018/1.796, allocations: 4.973 MB / 0.5617 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008415/1.796, allocations: 341.1 kB / 0.562 GB, free: 9.836 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003948/1.797, allocations: 229.7 kB / 0.5622 GB, free: 9.605 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002002/1.799, allocations: 1.547 MB / 0.5637 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/1.799, allocations: 38.56 kB / 0.5638 GB, free: 7.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 1.893e-06/1.799, allocations: 0 / 0.5638 GB, free: 7.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.001988/1.801, allocations: 0.6193 MB / 0.5644 GB, free: 7.215 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/1.801, allocations: 88.98 kB / 0.5645 GB, free: 7.109 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/1.801, allocations: 167.7 kB / 0.5646 GB, free: 6.938 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/1.801, allocations: 29.7 kB / 0.5647 GB, free: 6.902 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/1.801, allocations: 279.6 kB / 0.5649 GB, free: 6.621 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/1.802, allocations: 244.3 kB / 0.5652 GB, free: 6.379 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/1.802, allocations: 61.67 kB / 0.5652 GB, free: 6.312 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/1.802, allocations: 338.8 kB / 0.5655 GB, free: 5.973 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/1.802, allocations: 125.3 kB / 0.5657 GB, free: 5.848 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000559/1.803, allocations: 285.5 kB / 0.5659 GB, free: 5.504 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009215/1.804, allocations: 474.7 kB / 0.5664 GB, free: 4.973 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.804, allocations: 0 / 0.5664 GB, free: 4.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001171/1.805, allocations: 480.5 kB / 0.5668 GB, free: 4.496 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/1.805, allocations: 12.09 kB / 0.5669 GB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/1.805, allocations: 7.938 kB / 0.5669 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/1.805, allocations: 8 kB / 0.5669 GB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/1.805, allocations: 67.91 kB / 0.5669 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-05/1.805, allocations: 15.92 kB / 0.5669 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/1.806, allocations: 79.27 kB / 0.567 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/1.806, allocations: 23.98 kB / 0.567 GB, free: 4.285 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * 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.0002828/1.806, allocations: 177.8 kB / 0.5672 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.991e-05/1.806, allocations: 35.56 kB / 0.5673 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/1.808, allocations: 1.193 MB / 0.5684 GB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001414/1.809, allocations: 0.991 MB / 0.5694 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/1.81, allocations: 4 kB / 0.5694 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/1.81, allocations: 3.984 kB / 0.5694 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003888/1.813, allocations: 2.329 MB / 0.5717 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/1.813, allocations: 3.938 kB / 0.5717 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005062/1.814, allocations: 119.8 kB / 0.5718 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/1.814, allocations: 0 / 0.5718 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/1.814, allocations: 12 kB / 0.5718 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/1.814, allocations: 12.38 kB / 0.5718 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.814, allocations: 0 / 0.5718 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/1.815, allocations: 0.8869 MB / 0.5727 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/1.816, allocations: 148.1 kB / 0.5728 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/1.816, allocations: 19.94 kB / 0.5728 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005179/1.816, allocations: 95.45 kB / 0.5729 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/1.816, allocations: 47.94 kB / 0.573 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/1.816, allocations: 19.98 kB / 0.573 GB, free: 14.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001427/1.817, allocations: 124.1 kB / 0.5731 GB, free: 13.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.817, allocations: 0 / 0.5731 GB, free: 13.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009294/1.818, allocations: 227.3 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: 6 (medium1.completeState.state.phase,$cse4.phase,medium1.baseProperties.phaseOutput,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 (78): * Single equations (assignments): 74 * 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.0007746/1.818, allocations: 305.5 kB / 0.5736 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0016/1.82, allocations: 0.7609 MB / 0.5744 GB, free: 12.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.82, allocations: 0 / 0.5744 GB, free: 12.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006189/1.821, allocations: 386.4 kB / 0.5747 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/1.823, allocations: 329.2 kB / 0.575 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/1.825, allocations: 1.749 MB / 0.5767 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009039/1.826, allocations: 0.965 MB / 0.5777 GB, free: 9.168 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/1.826, allocations: 47.44 kB / 0.5777 GB, free: 9.121 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/1.826, allocations: 4 kB / 0.5777 GB, free: 9.117 MB / 446.1 MB Notification: Performance of Templates: time 0.01646/1.843, allocations: 8.499 MB / 0.586 GB, free: 0.6133 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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.TestBasePropertiesTranscriticalCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscriticalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscriticalCalcHelperMain.o] Error 1