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.001092/0.001091, allocations: 102.2 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.001567/0.001567, allocations: 175.4 kB / 16.58 MB, free: 6.121 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.602/1.602, allocations: 223.3 MB / 240.6 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1749/0.1749, allocations: 2.789 MB / 294.5 MB, free: 4.379 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003956, allocations: 8 kB / 356.2 MB, free: 4.336 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1387, allocations: 51.25 MB / 407.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.3312/0.47, allocations: 46.62 MB / 454.1 MB, free: 24.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02198/0.492, allocations: 26.74 MB / 480.9 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.4933, allocations: 2.5 kB / 480.9 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001958/0.4953, allocations: 0.5415 MB / 481.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007556/0.5029, allocations: 1.947 MB / 483.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01055/0.5135, allocations: 2.509 MB / 485.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002035/0.5155, allocations: 0.8671 MB / 486.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.5157, allocations: 58.09 kB / 486.8 MB, free: 1.523 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.3398/0.8556, allocations: 43.51 MB / 0.5179 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008401/0.8564, allocations: 278.8 kB / 0.5181 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.494e-05/0.8565, allocations: 20 kB / 0.5181 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04514/0.9017, allocations: 23.24 MB / 0.5408 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003429/0.9021, allocations: 83.55 kB / 0.5409 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005565/0.9026, allocations: 161.4 kB / 0.5411 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003714/0.9064, allocations: 1.344 MB / 0.5424 GB, free: 13.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.9064, allocations: 0 / 0.5424 GB, free: 13.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.9064, allocations: 3.938 kB / 0.5424 GB, free: 13.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.874e-05/0.9065, allocations: 0 / 0.5424 GB, free: 13.57 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.002354/0.9088, allocations: 0.9984 MB / 0.5434 GB, free: 12.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.9089, allocations: 16.02 kB / 0.5434 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002319/0.9112, allocations: 0.5073 MB / 0.5439 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006274/0.9119, allocations: 334.1 kB / 0.5442 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.697e-05/0.912, allocations: 49.31 kB / 0.5442 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-05/0.9121, allocations: 52 kB / 0.5443 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.914, allocations: 0.8762 MB / 0.5451 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.9141, allocations: 0 / 0.5451 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.002e-05/0.9142, allocations: 28 kB / 0.5452 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-05/0.9142, allocations: 31.98 kB / 0.5452 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.9158, allocations: 0.7157 MB / 0.5459 GB, free: 9.832 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005655/0.9215, allocations: 5.151 MB / 0.5509 GB, free: 4.066 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008941/0.9224, allocations: 333.7 kB / 0.5512 GB, free: 3.723 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003591/0.9228, allocations: 221.7 kB / 0.5515 GB, free: 3.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001909/0.9247, allocations: 1.542 MB / 0.553 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.856e-05/0.9248, allocations: 46.52 kB / 0.553 GB, free: 1.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=71): time 2.975e-06/0.9248, allocations: 3.938 kB / 0.553 GB, free: 1.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=71): time 0.00168/0.9265, allocations: 0.6002 MB / 0.5536 GB, free: 1.121 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/0.9266, allocations: 77.11 kB / 0.5537 GB, free: 1.027 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.9268, allocations: 194.1 kB / 0.5539 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.9268, allocations: 29.7 kB / 0.5539 GB, free: 0.793 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.9271, allocations: 291.5 kB / 0.5542 GB, free: 0.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.9273, allocations: 224.5 kB / 0.5544 GB, free: 284 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.625e-05/0.9273, allocations: 4 kB / 0.5544 GB, free: 280 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.9275, allocations: 346.8 kB / 0.5547 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/0.9278, allocations: 125.3 kB / 0.5548 GB, free: 15.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/0.9282, allocations: 304 kB / 0.5551 GB, free: 15.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.9286, allocations: 179.6 kB / 0.5553 GB, free: 15.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.9286, allocations: 4 kB / 0.5553 GB, free: 15.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009019/0.9295, allocations: 488.7 kB / 0.5558 GB, free: 14.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.9295, allocations: 11.95 kB / 0.5558 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.9296, allocations: 8.062 kB / 0.5558 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.9296, allocations: 15.92 kB / 0.5558 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.93, allocations: 83.91 kB / 0.5559 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008926/0.9309, allocations: 1.184 MB / 0.557 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004812/0.9314, allocations: 75.47 kB / 0.5571 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/0.9314, allocations: 23.98 kB / 0.5571 GB, free: 13.32 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.baseProperties.phaseOutput,medium2.completeState.state.phase,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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003336/0.9318, allocations: 189.7 kB / 0.5573 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.9319, allocations: 31.53 kB / 0.5573 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.9337, allocations: 1.345 MB / 0.5587 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001614/0.9354, allocations: 1.15 MB / 0.5598 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.817e-05/0.9354, allocations: 4 kB / 0.5598 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.9354, allocations: 3.984 kB / 0.5598 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004675/0.9401, allocations: 2.5 MB / 0.5622 GB, free: 8.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.9401, allocations: 4 kB / 0.5622 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.9405, allocations: 111.9 kB / 0.5623 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006292/0.9411, allocations: 315.7 kB / 0.5626 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.357e-05/0.9412, allocations: 11.94 kB / 0.5626 GB, free: 7.566 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000938/0.9422, allocations: 1.261 MB / 0.5639 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.9422, allocations: 0 / 0.5639 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.9437, allocations: 1.173 MB / 0.565 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002679/0.944, allocations: 136.3 kB / 0.5652 GB, free: 4.906 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/0.9441, allocations: 16 kB / 0.5652 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/0.9446, allocations: 91.48 kB / 0.5653 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/0.9447, allocations: 43.88 kB / 0.5653 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/0.9447, allocations: 20.28 kB / 0.5653 GB, free: 4.738 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.9449, allocations: 124.2 kB / 0.5654 GB, free: 4.617 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.9449, allocations: 4 kB / 0.5654 GB, free: 4.613 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001148/0.946, allocations: 223.3 kB / 0.5657 GB, free: 4.395 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007588/0.9468, allocations: 304.2 kB / 0.5659 GB, free: 4.121 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00151/0.9483, allocations: 0.7759 MB / 0.5667 GB, free: 3.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.9483, allocations: 384 / 0.5667 GB, free: 3.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006231/0.949, allocations: 382 kB / 0.5671 GB, free: 2.949 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.9508, allocations: 332.7 kB / 0.5674 GB, free: 2.629 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.9538, allocations: 1.699 MB / 0.569 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009992/0.9548, allocations: 0.9639 MB / 0.57 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.955, allocations: 51.56 kB / 0.57 GB, free: 15.85 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.955, allocations: 0 / 0.57 GB, free: 15.85 MB / 446.1 MB Notification: Performance of Templates: time 0.0328/0.9878, allocations: 15.6 MB / 0.5853 GB, free: 0.7812 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++ 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.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