Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.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.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009506/0.0009504, allocations: 98.88 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.001382/0.001382, allocations: 187.1 kB / 16.92 MB, free: 6.75 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.406/1.406, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1398/0.1398, allocations: 2.785 MB / 294.9 MB, free: 4.293 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.0003213, allocations: 8 kB / 356.9 MB, free: 3.984 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1088, allocations: 51.25 MB / 408.1 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.009165/0.118, allocations: 8.588 MB / 416.7 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2151/0.3332, allocations: 8.391 MB / 425.1 MB, free: 34.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.3334, allocations: 0 / 425.1 MB, free: 34.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006071/0.334, allocations: 154.1 kB / 425.3 MB, free: 34.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000356/0.3344, allocations: 92.69 kB / 425.3 MB, free: 34.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005115/0.3395, allocations: 1.342 MB / 426.7 MB, free: 34.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005423/0.3401, allocations: 307 kB / 427 MB, free: 34.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.676e-05/0.3401, allocations: 19.5 kB / 427 MB, free: 34.68 MB / 350.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.3975/0.7377, allocations: 11.84 MB / 438.9 MB, free: 31.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.738, allocations: 82.45 kB / 438.9 MB, free: 31.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.738, allocations: 6.5 kB / 438.9 MB, free: 31.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002534/0.7405, allocations: 0.4945 MB / 439.4 MB, free: 30.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.705e-05/0.7406, allocations: 29.28 kB / 439.5 MB, free: 30.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.7408, allocations: 115.1 kB / 439.6 MB, free: 30.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006701/0.7415, allocations: 369.3 kB / 439.9 MB, free: 30.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7415, allocations: 0 / 439.9 MB, free: 30.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.7415, allocations: 0 / 439.9 MB, free: 30.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.7415, allocations: 3.156 kB / 439.9 MB, free: 30.88 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007472/0.7423, allocations: 0.5334 MB / 440.5 MB, free: 30.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.7423, allocations: 8.812 kB / 440.5 MB, free: 30.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003373/0.7427, allocations: 59.61 kB / 440.5 MB, free: 30.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.7428, allocations: 212.9 kB / 440.7 MB, free: 30.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.7429, allocations: 7.438 kB / 440.8 MB, free: 30.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.7429, allocations: 9.781 kB / 440.8 MB, free: 30.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004799/0.7434, allocations: 249.3 kB / 441 MB, free: 30.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.7434, allocations: 0 / 441 MB, free: 30.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.7434, allocations: 3.312 kB / 441 MB, free: 30.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.7435, allocations: 13.62 kB / 441 MB, free: 30.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004614/0.7439, allocations: 210 kB / 441.2 MB, free: 30.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000809/0.7448, allocations: 0.6824 MB / 441.9 MB, free: 29.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005292/0.7453, allocations: 229.1 kB / 442.1 MB, free: 29.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.7456, allocations: 158 kB / 442.3 MB, free: 29.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002346/0.7458, allocations: 332.4 kB / 442.6 MB, free: 29.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.7458, allocations: 37.09 kB / 442.7 MB, free: 29.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.393e-06/0.7458, allocations: 0 / 442.7 MB, free: 29.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002652/0.7485, allocations: 1.228 MB / 443.9 MB, free: 29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.7485, allocations: 54.38 kB / 443.9 MB, free: 28.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.7487, allocations: 139.5 kB / 444.1 MB, free: 28.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.7487, allocations: 33.64 kB / 444.1 MB, free: 28.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.7487, allocations: 111.1 kB / 444.2 MB, free: 28.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.843e-05/0.7488, allocations: 153.3 kB / 444.4 MB, free: 28.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.7489, allocations: 36.62 kB / 444.4 MB, free: 28.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.749, allocations: 332.6 kB / 444.7 MB, free: 28.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.7492, allocations: 135.3 kB / 444.9 MB, free: 28.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.7495, allocations: 192.7 kB / 445 MB, free: 28.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004894/0.75, allocations: 348.6 kB / 445.4 MB, free: 28.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.75, allocations: 0 / 445.4 MB, free: 28.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001032/0.751, allocations: 499.8 kB / 445.9 MB, free: 28.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.7511, allocations: 6.531 kB / 445.9 MB, free: 28.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.7511, allocations: 3.062 kB / 445.9 MB, free: 28.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007293/0.7518, allocations: 148.2 kB / 446 MB, free: 28.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.752, allocations: 39.89 kB / 446.1 MB, free: 28.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004766/0.7524, allocations: 0.6585 MB / 446.7 MB, free: 27.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.7526, allocations: 10.12 kB / 446.7 MB, free: 27.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.7526, allocations: 12.67 kB / 446.7 MB, free: 27.49 MB / 350.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.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.7527, allocations: 136.2 kB / 446.9 MB, free: 27.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/0.7528, allocations: 17.81 kB / 446.9 MB, free: 27.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009626/0.7537, allocations: 0.7194 MB / 447.6 MB, free: 27.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.7538, allocations: 9.047 kB / 447.6 MB, free: 27.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7538, allocations: 0 / 447.6 MB, free: 27.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.7538, allocations: 3.422 kB / 447.6 MB, free: 27.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.7541, allocations: 388.9 kB / 448 MB, free: 27.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7541, allocations: 0 / 448 MB, free: 27.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.7543, allocations: 43.03 kB / 448 MB, free: 27.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002512/0.7546, allocations: 86.88 kB / 448.1 MB, free: 27.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.7546, allocations: 11.19 kB / 448.1 MB, free: 27.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007688/0.7554, allocations: 1.313 MB / 449.5 MB, free: 25.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7554, allocations: 3.188 kB / 449.5 MB, free: 25.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.7564, allocations: 0.8431 MB / 450.3 MB, free: 25.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.7564, allocations: 94.98 kB / 450.4 MB, free: 25.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.7565, allocations: 6.766 kB / 450.4 MB, free: 25.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.7566, allocations: 16.75 kB / 450.4 MB, free: 25.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.7567, allocations: 20.5 kB / 450.4 MB, free: 25.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.7567, allocations: 10.53 kB / 450.4 MB, free: 25.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.998e-05/0.7568, allocations: 95.97 kB / 450.5 MB, free: 25.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7568, allocations: 0 / 450.5 MB, free: 25.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003548/0.7571, allocations: 67.83 kB / 450.6 MB, free: 25.42 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003294/0.7575, allocations: 176.2 kB / 450.8 MB, free: 25.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007123/0.7582, allocations: 369.9 kB / 451.1 MB, free: 25.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7582, allocations: 0 / 451.1 MB, free: 25.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004198/0.7586, allocations: 298.1 kB / 451.4 MB, free: 25.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006589/0.7593, allocations: 106.5 kB / 451.5 MB, free: 25.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009553/0.7603, allocations: 0.8548 MB / 452.4 MB, free: 24.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.7604, allocations: 0.7368 MB / 453.1 MB, free: 23.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.7605, allocations: 19.09 kB / 453.1 MB, free: 23.98 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.7605, allocations: 0 / 453.1 MB, free: 23.98 MB / 350.1 MB Notification: Performance of Templates: time 0.005035/0.7655, allocations: 3.448 MB / 456.6 MB, free: 23.7 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.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.TestBasePropertiesDynamicCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamicCalcHelperMain.o] Error 1