Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003964/0.003964, allocations: 100.2 kB / 15.87 MB, free: 6.328 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.001011/0.001011, allocations: 193.7 kB / 16.79 MB, free: 6.254 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1693/0.1693, allocations: 2.772 MB / 293.4 MB, free: 3.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 59.91 kB / 354.4 MB, free: 5.047 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08297/0.08403, allocations: 50.25 MB / 404.6 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.1949/0.279, allocations: 50.47 MB / 455.1 MB, free: 21.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01711/0.2961, allocations: 28.96 MB / 484 MB, free: 328 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005682/0.2967, allocations: 3.062 kB / 484 MB, free: 328 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.2983, allocations: 0.5702 MB / 484.6 MB, free: 24 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005535/0.3038, allocations: 2.067 MB / 486.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008473/0.3123, allocations: 2.712 MB / 489.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001326/0.3136, allocations: 0.978 MB / 490.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.3138, allocations: 55 kB / 490.4 MB, free: 12.82 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.9183/1.232, allocations: 47.07 MB / 0.5249 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/1.233, allocations: 294.6 kB / 0.5252 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/1.233, allocations: 20 kB / 0.5252 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.357/1.59, allocations: 25.04 MB / 0.5497 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002081/1.591, allocations: 95.47 kB / 0.5497 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000593/1.591, allocations: 318.4 kB / 0.55 GB, free: 3.797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0024/1.594, allocations: 1.368 MB / 0.5514 GB, free: 2.426 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.594, allocations: 4 kB / 0.5514 GB, free: 2.422 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/1.594, allocations: 0 / 0.5514 GB, free: 2.422 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.213e-05/1.594, allocations: 0 / 0.5514 GB, free: 2.422 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.00174/1.595, allocations: 1.108 MB / 0.5525 GB, free: 1.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/1.595, allocations: 8.031 kB / 0.5525 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/1.597, allocations: 0.4996 MB / 0.553 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/1.598, allocations: 343.5 kB / 0.5533 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.743e-05/1.598, allocations: 42.06 kB / 0.5533 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.928e-05/1.598, allocations: 56 kB / 0.5534 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/1.599, allocations: 0.8684 MB / 0.5542 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/1.6, allocations: 7.938 kB / 0.5542 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.271e-05/1.6, allocations: 24 kB / 0.5543 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/1.6, allocations: 31.97 kB / 0.5543 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/1.601, allocations: 0.7117 MB / 0.555 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003848/1.605, allocations: 5.14 MB / 0.56 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006637/1.605, allocations: 329.8 kB / 0.5603 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/1.606, allocations: 221.6 kB / 0.5605 GB, free: 8.277 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/1.607, allocations: 1.542 MB / 0.562 GB, free: 6.562 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/1.607, allocations: 34.56 kB / 0.5621 GB, free: 6.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=71): time 1.793e-06/1.607, allocations: 0 / 0.5621 GB, free: 6.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=71): time 0.001538/1.609, allocations: 0.6001 MB / 0.5627 GB, free: 5.914 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/1.609, allocations: 89.05 kB / 0.5627 GB, free: 5.809 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/1.609, allocations: 182.2 kB / 0.5629 GB, free: 5.621 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/1.609, allocations: 33.64 kB / 0.563 GB, free: 5.582 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/1.609, allocations: 283.5 kB / 0.5632 GB, free: 5.297 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/1.609, allocations: 236.4 kB / 0.5634 GB, free: 5.062 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/1.61, allocations: 93.92 kB / 0.5635 GB, free: 4.965 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/1.61, allocations: 338.8 kB / 0.5639 GB, free: 4.625 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/1.61, allocations: 125.3 kB / 0.564 GB, free: 4.504 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/1.61, allocations: 308 kB / 0.5643 GB, free: 4.125 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006528/1.611, allocations: 484.5 kB / 0.5647 GB, free: 3.574 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.611, allocations: 0 / 0.5647 GB, free: 3.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008579/1.612, allocations: 492.2 kB / 0.5652 GB, free: 3.086 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/1.612, allocations: 8.719 kB / 0.5652 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/1.612, allocations: 7.938 kB / 0.5652 GB, free: 3.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/1.612, allocations: 12 kB / 0.5652 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/1.612, allocations: 83.89 kB / 0.5653 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005862/1.613, allocations: 1.176 MB / 0.5665 GB, free: 1.754 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003642/1.613, allocations: 87.44 kB / 0.5665 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/1.613, allocations: 23.94 kB / 0.5666 GB, free: 1.645 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002273/1.614, allocations: 189.7 kB / 0.5667 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/1.614, allocations: 31.56 kB / 0.5668 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/1.615, allocations: 1.347 MB / 0.5681 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001286/1.616, allocations: 1.143 MB / 0.5692 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.616, allocations: 0 / 0.5692 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/1.616, allocations: 7.984 kB / 0.5692 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002949/1.619, allocations: 2.51 MB / 0.5717 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/1.619, allocations: 0 / 0.5717 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/1.62, allocations: 111.8 kB / 0.5718 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005874/1.62, allocations: 309.2 kB / 0.5721 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/1.62, allocations: 12 kB / 0.5721 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006932/1.621, allocations: 1.264 MB / 0.5733 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.621, allocations: 0 / 0.5733 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/1.622, allocations: 1.166 MB / 0.5745 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/1.623, allocations: 144.1 kB / 0.5746 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/1.623, allocations: 12 kB / 0.5746 GB, free: 9.215 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/1.623, allocations: 99.48 kB / 0.5747 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/1.623, allocations: 39.94 kB / 0.5747 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/1.623, allocations: 19.94 kB / 0.5748 GB, free: 9.059 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.774e-05/1.623, allocations: 128.2 kB / 0.5749 GB, free: 8.934 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.824e-06/1.623, allocations: 0 / 0.5749 GB, free: 8.934 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007595/1.624, allocations: 231.4 kB / 0.5751 GB, free: 8.707 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: 5 (medium1.completeState.state.phase,$cse4.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005494/1.625, allocations: 296.9 kB / 0.5754 GB, free: 8.406 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/1.626, allocations: 0.777 MB / 0.5761 GB, free: 7.602 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.626, allocations: 0 / 0.5761 GB, free: 7.602 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005208/1.626, allocations: 374.7 kB / 0.5765 GB, free: 7.238 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/1.628, allocations: 325 kB / 0.5768 GB, free: 6.922 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/1.63, allocations: 1.718 MB / 0.5785 GB, free: 5.168 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/1.631, allocations: 0.9638 MB / 0.5794 GB, free: 4.172 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.126e-05/1.631, allocations: 47.44 kB / 0.5795 GB, free: 4.125 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/1.631, allocations: 0 / 0.5795 GB, free: 4.125 MB / 446.1 MB Notification: Performance of Templates: time 0.2023/1.833, allocations: 15.67 MB / 0.5948 GB, free: 140.3 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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.TestBasePropertiesImplicitCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicitCalcHelperMain.o] Error 1