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.0009226/0.0009225, allocations: 99.98 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.00091/0.0009101, allocations: 179.7 kB / 16.58 MB, free: 6.422 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.571/1.571, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1737/0.1737, allocations: 2.785 MB / 294.5 MB, free: 4.309 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003547, allocations: 8 kB / 356.2 MB, free: 4.297 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1392, allocations: 51.24 MB / 407.5 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.01199/0.1512, allocations: 8.184 MB / 415.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008025/0.1593, allocations: 7.875 MB / 423.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002466/0.1596, allocations: 0 / 423.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006491/0.1603, allocations: 151.2 kB / 423.7 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004559/0.1608, allocations: 91.39 kB / 423.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3065/0.4672, allocations: 1.261 MB / 425 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006631/0.4679, allocations: 283.7 kB / 425.3 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.246e-05/0.468, allocations: 10.97 kB / 425.3 MB, free: 35.77 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.2819/0.7499, allocations: 10.95 MB / 436.3 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003782/0.7503, allocations: 83.48 kB / 436.4 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.7504, allocations: 5.906 kB / 436.4 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002796/0.7532, allocations: 489.3 kB / 436.9 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.984e-05/0.7533, allocations: 25.64 kB / 436.9 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.7534, allocations: 58.89 kB / 436.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009161/0.7544, allocations: 377.5 kB / 437.3 MB, free: 35.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.7544, allocations: 0 / 437.3 MB, free: 35.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.7544, allocations: 0 / 437.3 MB, free: 35.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.7544, allocations: 0 / 437.3 MB, free: 35.14 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.0008945/0.7553, allocations: 0.5384 MB / 437.8 MB, free: 34.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.7554, allocations: 9.688 kB / 437.9 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003497/0.7557, allocations: 57.38 kB / 437.9 MB, free: 34.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.7559, allocations: 205.3 kB / 438.1 MB, free: 34.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.756, allocations: 8.438 kB / 438.1 MB, free: 34.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.756, allocations: 20.41 kB / 438.1 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005886/0.7566, allocations: 234 kB / 438.4 MB, free: 34.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.7566, allocations: 6.5 kB / 438.4 MB, free: 34.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.7567, allocations: 3 kB / 438.4 MB, free: 34.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.7567, allocations: 10.22 kB / 438.4 MB, free: 34.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005488/0.7573, allocations: 212.7 kB / 438.6 MB, free: 34.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009124/0.7582, allocations: 0.6842 MB / 439.3 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.7587, allocations: 233.9 kB / 439.5 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.7589, allocations: 151.5 kB / 439.7 MB, free: 33.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/0.7592, allocations: 335.7 kB / 440 MB, free: 33.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.7592, allocations: 33.66 kB / 440 MB, free: 33.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.572e-06/0.7592, allocations: 1.781 kB / 440 MB, free: 33.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002761/0.762, allocations: 1.233 MB / 441.2 MB, free: 33.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.762, allocations: 54.53 kB / 441.3 MB, free: 33.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.7622, allocations: 129.3 kB / 441.4 MB, free: 33.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.7622, allocations: 29.52 kB / 441.5 MB, free: 33.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.7622, allocations: 112.2 kB / 441.6 MB, free: 33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.7624, allocations: 159.6 kB / 441.7 MB, free: 32.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/0.7624, allocations: 7.688 kB / 441.7 MB, free: 32.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.7625, allocations: 339.5 kB / 442.1 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.7627, allocations: 121.1 kB / 442.2 MB, free: 32.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.763, allocations: 199.3 kB / 442.4 MB, free: 32.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.7633, allocations: 156 kB / 442.5 MB, free: 32.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.7633, allocations: 0 / 442.5 MB, free: 32.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001085/0.7644, allocations: 481.2 kB / 443 MB, free: 32.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.7644, allocations: 10.61 kB / 443 MB, free: 32.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.7644, allocations: 0 / 443 MB, free: 32.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007298/0.7651, allocations: 156.4 kB / 443.2 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.7653, allocations: 34.97 kB / 443.2 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000575/0.7659, allocations: 0.6484 MB / 443.8 MB, free: 31.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.766, allocations: 12.72 kB / 443.9 MB, free: 31.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.7661, allocations: 12.72 kB / 443.9 MB, free: 31.9 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.state.phase,medium.phaseOutput,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.7662, allocations: 134.2 kB / 444 MB, free: 31.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.7663, allocations: 22.39 kB / 444 MB, free: 31.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.7674, allocations: 0.7247 MB / 444.7 MB, free: 31.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.7674, allocations: 6.844 kB / 444.7 MB, free: 31.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.7674, allocations: 0 / 444.7 MB, free: 31.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.7674, allocations: 11.38 kB / 444.8 MB, free: 31.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003954/0.7678, allocations: 391.3 kB / 445.1 MB, free: 31.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.7679, allocations: 0 / 445.1 MB, free: 31.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.768, allocations: 39.67 kB / 445.2 MB, free: 31.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002367/0.7683, allocations: 89.98 kB / 445.3 MB, free: 31.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.7683, allocations: 2.625 kB / 445.3 MB, free: 31.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009461/0.7692, allocations: 1.31 MB / 446.6 MB, free: 30.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.7693, allocations: 0 / 446.6 MB, free: 30.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.7705, allocations: 0.8416 MB / 447.4 MB, free: 30.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.7705, allocations: 97.94 kB / 447.5 MB, free: 29.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.7706, allocations: 11.09 kB / 447.5 MB, free: 29.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.7707, allocations: 9.375 kB / 447.5 MB, free: 29.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.7708, allocations: 19.02 kB / 447.6 MB, free: 29.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.7708, allocations: 10.36 kB / 447.6 MB, free: 29.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.487e-05/0.7709, allocations: 97.62 kB / 447.7 MB, free: 29.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7709, allocations: 0 / 447.7 MB, free: 29.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000383/0.7713, allocations: 61.03 kB / 447.7 MB, free: 29.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004175/0.7717, allocations: 177.9 kB / 447.9 MB, free: 29.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007522/0.7725, allocations: 372.5 kB / 448.3 MB, free: 29.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.7725, allocations: 0 / 448.3 MB, free: 29.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004481/0.7729, allocations: 305.1 kB / 448.6 MB, free: 29.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006183/0.7736, allocations: 97.53 kB / 448.7 MB, free: 29.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.7747, allocations: 0.8345 MB / 449.5 MB, free: 29.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.7749, allocations: 0.7394 MB / 450.2 MB, free: 28.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/0.775, allocations: 19.53 kB / 450.2 MB, free: 28.49 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.775, allocations: 0 / 450.2 MB, free: 28.49 MB / 350.1 MB Notification: Performance of Templates: time 0.005853/0.7808, allocations: 3.442 MB / 453.7 MB, free: 28.23 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++ 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/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/c/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