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.005241/0.005241, allocations: 101.1 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 189.8 kB / 16.79 MB, free: 5.809 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1148/0.1148, allocations: 2.763 MB / 293.4 MB, free: 3.816 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009881/0.0009881, allocations: 59.91 kB / 354.4 MB, free: 5.012 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1155, allocations: 50.23 MB / 404.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.009607/0.1252, allocations: 9.023 MB / 413.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006673/0.1319, allocations: 8.537 MB / 422.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.076e-05/0.132, allocations: 3.938 kB / 422.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005044/0.1325, allocations: 151.2 kB / 422.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.1329, allocations: 103.3 kB / 422.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2064/0.3393, allocations: 1.333 MB / 423.7 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006962/0.34, allocations: 312.6 kB / 424.1 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.324e-05/0.3401, allocations: 11.09 kB / 424.1 MB, free: 37.73 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.3876/0.7277, allocations: 11.84 MB / 435.9 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.728, allocations: 92.89 kB / 436 MB, free: 34.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.728, allocations: 3.156 kB / 436 MB, free: 34.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.7298, allocations: 0.5004 MB / 436.5 MB, free: 34.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.956e-05/0.7299, allocations: 27.61 kB / 436.5 MB, free: 34.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.73, allocations: 86.64 kB / 436.6 MB, free: 34.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005443/0.7306, allocations: 364.4 kB / 437 MB, free: 34.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7306, allocations: 3.062 kB / 437 MB, free: 34.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.7306, allocations: 0 / 437 MB, free: 34.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.7306, allocations: 0 / 437 MB, free: 34.06 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.0007297/0.7314, allocations: 0.5556 MB / 437.5 MB, free: 33.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.7314, allocations: 9.5 kB / 437.5 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003157/0.7317, allocations: 54.67 kB / 437.6 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.7319, allocations: 208.8 kB / 437.8 MB, free: 33.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.7319, allocations: 15.25 kB / 437.8 MB, free: 33.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.732, allocations: 10.19 kB / 437.8 MB, free: 33.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004574/0.7324, allocations: 245.4 kB / 438.1 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.7324, allocations: 0 / 438.1 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.7325, allocations: 7.094 kB / 438.1 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.7325, allocations: 10.16 kB / 438.1 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.7329, allocations: 195.8 kB / 438.3 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006688/0.7336, allocations: 0.6924 MB / 439 MB, free: 32.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004669/0.7341, allocations: 223.7 kB / 439.2 MB, free: 32.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.7343, allocations: 149.7 kB / 439.3 MB, free: 32.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.7345, allocations: 333 kB / 439.6 MB, free: 32.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.7345, allocations: 37.05 kB / 439.7 MB, free: 32.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.543e-06/0.7345, allocations: 0 / 439.7 MB, free: 32.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002431/0.737, allocations: 1.217 MB / 440.9 MB, free: 32.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.737, allocations: 54.28 kB / 441 MB, free: 32.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.725e-05/0.7371, allocations: 135.4 kB / 441.1 MB, free: 32.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.7371, allocations: 32.3 kB / 441.1 MB, free: 31.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.857e-05/0.7372, allocations: 111 kB / 441.2 MB, free: 31.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.732e-05/0.7372, allocations: 155.4 kB / 441.4 MB, free: 31.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.016e-05/0.7373, allocations: 59.84 kB / 441.4 MB, free: 31.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.856e-05/0.7374, allocations: 328.3 kB / 441.8 MB, free: 31.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.7376, allocations: 121.5 kB / 441.9 MB, free: 31.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.7378, allocations: 191 kB / 442.1 MB, free: 31.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004325/0.7382, allocations: 354.1 kB / 442.4 MB, free: 31.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7383, allocations: 3.938 kB / 442.4 MB, free: 31.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009708/0.7392, allocations: 485.8 kB / 442.9 MB, free: 31.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.7393, allocations: 6.531 kB / 442.9 MB, free: 31.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.7393, allocations: 3.094 kB / 442.9 MB, free: 31.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006937/0.74, allocations: 143.3 kB / 443 MB, free: 31.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.7401, allocations: 31.25 kB / 443.1 MB, free: 31.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004567/0.7406, allocations: 0.6511 MB / 443.7 MB, free: 30.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.7407, allocations: 16.06 kB / 443.7 MB, free: 30.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.7408, allocations: 17 kB / 443.7 MB, free: 30.71 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.0001008/0.7409, allocations: 128.9 kB / 443.9 MB, free: 30.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.7409, allocations: 19.72 kB / 443.9 MB, free: 30.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008962/0.7418, allocations: 0.7159 MB / 444.6 MB, free: 30.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.7418, allocations: 9.828 kB / 444.6 MB, free: 30.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.7418, allocations: 0 / 444.6 MB, free: 30.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.7419, allocations: 3.031 kB / 444.6 MB, free: 30.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.7422, allocations: 379.9 kB / 445 MB, free: 30.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.7422, allocations: 3 kB / 445 MB, free: 30.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.7424, allocations: 41.89 kB / 445 MB, free: 30.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002121/0.7426, allocations: 83.67 kB / 445.1 MB, free: 30.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.7426, allocations: 2.688 kB / 445.1 MB, free: 30.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007768/0.7434, allocations: 1.308 MB / 446.4 MB, free: 29.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7434, allocations: 0 / 446.4 MB, free: 29.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009623/0.7444, allocations: 0.8343 MB / 447.3 MB, free: 28.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.7444, allocations: 94.92 kB / 447.4 MB, free: 28.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.7444, allocations: 3.938 kB / 447.4 MB, free: 28.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.7446, allocations: 14.12 kB / 447.4 MB, free: 28.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.7447, allocations: 21.3 kB / 447.4 MB, free: 28.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.7447, allocations: 9.812 kB / 447.4 MB, free: 28.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.323e-05/0.7447, allocations: 92.25 kB / 447.5 MB, free: 28.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7447, allocations: 3.062 kB / 447.5 MB, free: 28.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003383/0.7451, allocations: 63.81 kB / 447.6 MB, free: 28.44 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.0003491/0.7454, allocations: 184.5 kB / 447.7 MB, free: 28.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007273/0.7462, allocations: 358.5 kB / 448.1 MB, free: 28.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.7462, allocations: 3.312 kB / 448.1 MB, free: 28.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005441/0.7467, allocations: 306.1 kB / 448.4 MB, free: 28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006178/0.7474, allocations: 98.62 kB / 448.5 MB, free: 27.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.7485, allocations: 0.7643 MB / 449.3 MB, free: 27.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.7487, allocations: 0.7386 MB / 450 MB, free: 26.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.7488, allocations: 17.06 kB / 450 MB, free: 26.77 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.7488, allocations: 0 / 450 MB, free: 26.77 MB / 350.1 MB Notification: Performance of Templates: time 0.005355/0.7542, allocations: 3.455 MB / 453.5 MB, free: 26.46 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