Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.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.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009726/0.0009724, allocations: 102.4 kB / 15.71 MB, free: 460 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.001647/0.001647, allocations: 174.8 kB / 16.58 MB, free: 6.105 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.561/1.561, allocations: 223.3 MB / 240.6 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.2487/0.2487, allocations: 2.783 MB / 294.5 MB, free: 4.371 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003334, allocations: 11.98 kB / 356.2 MB, free: 4.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1665, allocations: 51.25 MB / 407.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.3859/0.5525, allocations: 76.26 MB / 483.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03686/0.5894, allocations: 37.43 MB / 0.509 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.5908, allocations: 4.281 kB / 0.509 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003456/0.5943, allocations: 1.096 MB / 0.51 GB, free: 6.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02309/0.6174, allocations: 6.047 MB / 0.5159 GB, free: 3.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.619, allocations: 239.2 kB / 0.5162 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003171/0.6222, allocations: 1.249 MB / 0.5174 GB, free: 2.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004569/0.6227, allocations: 114 kB / 0.5175 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.6241, allocations: 396.5 kB / 0.5179 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001633/0.6257, allocations: 481 kB / 0.5183 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.6259, allocations: 22.75 kB / 0.5184 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.8321/1.458, allocations: 142.8 MB / 0.6578 GB, free: 42.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003805/1.459, allocations: 131.3 kB / 0.6579 GB, free: 42.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001108/1.46, allocations: 273 kB / 0.6582 GB, free: 42.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005437/1.465, allocations: 1.889 MB / 0.66 GB, free: 41.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/1.465, allocations: 0 / 0.66 GB, free: 41.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.27e-06/1.465, allocations: 0 / 0.66 GB, free: 41.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.217e-05/1.465, allocations: 6.625 kB / 0.6601 GB, free: 41.23 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.0023/1.467, allocations: 1.403 MB / 0.6614 GB, free: 39.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/1.468, allocations: 8.031 kB / 0.6614 GB, free: 39.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004221/1.472, allocations: 1.208 MB / 0.6626 GB, free: 39.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/1.472, allocations: 289.8 kB / 0.6629 GB, free: 38.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.38e-05/1.472, allocations: 76.97 kB / 0.663 GB, free: 38.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/1.472, allocations: 89.92 kB / 0.663 GB, free: 38.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/1.474, allocations: 1.688 MB / 0.6647 GB, free: 37.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/1.474, allocations: 4.859 kB / 0.6647 GB, free: 37.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.728e-05/1.474, allocations: 43.42 kB / 0.6647 GB, free: 37.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-05/1.475, allocations: 69.56 kB / 0.6648 GB, free: 37.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/1.476, allocations: 1.603 MB / 0.6664 GB, free: 36.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006384/1.483, allocations: 8.601 MB / 0.6748 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009845/1.484, allocations: 0.7601 MB / 0.6755 GB, free: 28.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006939/1.484, allocations: 0.7372 MB / 0.6762 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002002/1.486, allocations: 2.349 MB / 0.6785 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/1.486, allocations: 34.56 kB / 0.6786 GB, free: 25.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=182): time 1.923e-06/1.486, allocations: 2.906 kB / 0.6786 GB, free: 25.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=182): time 0.001779/1.488, allocations: 1.493 MB / 0.68 GB, free: 24.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/1.488, allocations: 80.08 kB / 0.6801 GB, free: 24.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/1.488, allocations: 141.4 kB / 0.6802 GB, free: 24.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/1.489, allocations: 32.52 kB / 0.6803 GB, free: 24.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/1.489, allocations: 391.4 kB / 0.6806 GB, free: 24.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003268/1.489, allocations: 0.5594 MB / 0.6812 GB, free: 23.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/1.489, allocations: 7.688 kB / 0.6812 GB, free: 23.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/1.489, allocations: 365.6 kB / 0.6815 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/1.49, allocations: 339 kB / 0.6819 GB, free: 23.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004827/1.49, allocations: 500 kB / 0.6823 GB, free: 22.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00054/1.491, allocations: 472.3 kB / 0.6828 GB, free: 22.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.491, allocations: 3.953 kB / 0.6828 GB, free: 22.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001202/1.492, allocations: 1.027 MB / 0.6838 GB, free: 21.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/1.492, allocations: 7.984 kB / 0.6838 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.492, allocations: 6.734 kB / 0.6838 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/1.492, allocations: 4 kB / 0.6838 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/1.492, allocations: 30.16 kB / 0.6838 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/1.492, allocations: 10.98 kB / 0.6839 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005916/1.493, allocations: 132.8 kB / 0.684 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/1.493, allocations: 18.17 kB / 0.684 GB, free: 21.73 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (state2.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,state1.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003757/1.493, allocations: 231.6 kB / 0.6842 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.559e-05/1.493, allocations: 47.3 kB / 0.6843 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003081/1.496, allocations: 3.067 MB / 0.6873 GB, free: 19.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001964/1.498, allocations: 1.812 MB / 0.689 GB, free: 18.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.498, allocations: 2.625 kB / 0.689 GB, free: 18.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/1.498, allocations: 18.69 kB / 0.6891 GB, free: 18.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005201/1.504, allocations: 4.513 MB / 0.6935 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/1.504, allocations: 0 / 0.6935 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005933/1.504, allocations: 235.2 kB / 0.6937 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/1.504, allocations: 7.953 kB / 0.6937 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.013e-05/1.504, allocations: 33 kB / 0.6937 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/1.504, allocations: 4 kB / 0.6937 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.504, allocations: 4 kB / 0.6937 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/1.506, allocations: 1.929 MB / 0.6956 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003903/1.507, allocations: 240.8 kB / 0.6958 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.622e-05/1.507, allocations: 27.89 kB / 0.6959 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006606/1.507, allocations: 163.1 kB / 0.696 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.773e-05/1.508, allocations: 87.34 kB / 0.6961 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/1.508, allocations: 46.38 kB / 0.6962 GB, free: 12.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001091/1.508, allocations: 140.8 kB / 0.6963 GB, free: 12.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/1.508, allocations: 0 / 0.6963 GB, free: 12.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001265/1.509, allocations: 476 kB / 0.6967 GB, free: 12.41 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: 20 (state1.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,$cse8.phase,$cse9.phase,$cse10.phase,$cse11.phase,$cse12.phase,state2.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,$cse2.phase,$cse3.phase,$cse4.phase,$cse5.phase,$cse6.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009466/1.51, allocations: 0.5756 MB / 0.6973 GB, free: 12.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001979/1.512, allocations: 2.044 MB / 0.6993 GB, free: 10.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.512, allocations: 0 / 0.6993 GB, free: 10.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008946/1.513, allocations: 0.9285 MB / 0.7002 GB, free: 9.973 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003352/1.516, allocations: 0.8257 MB / 0.701 GB, free: 9.297 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004576/1.521, allocations: 4.009 MB / 0.7049 GB, free: 5.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007748/1.522, allocations: 1.332 MB / 0.7062 GB, free: 4.543 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/1.522, allocations: 86.31 kB / 0.7063 GB, free: 4.461 MB / 446.1 MB Notification: Performance of SimCode: time 1.523e-06/1.522, allocations: 6.625 kB / 0.7063 GB, free: 4.457 MB / 446.1 MB Notification: Performance of Templates: time 0.03203/1.554, allocations: 17.79 MB / 0.7237 GB, free: 3.523 MB / 462.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.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.TestStatesSatSubcriticalCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcriticalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcriticalCalcHelperMain.o] Error 1