Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 99.12 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.001303/0.001303, allocations: 181.2 kB / 16.58 MB, free: 6.879 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.648/1.648, allocations: 223.2 MB / 240.6 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1541/0.1541, allocations: 2.786 MB / 294.5 MB, free: 4.297 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003486, allocations: 12 kB / 356.2 MB, free: 4.297 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1354, allocations: 51.26 MB / 407.5 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.3891/0.5246, allocations: 46.63 MB / 454.1 MB, free: 24.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0263/0.551, allocations: 26.72 MB / 480.8 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008779/0.5519, allocations: 6.781 kB / 480.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00235/0.5543, allocations: 0.5392 MB / 481.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007677/0.562, allocations: 1.943 MB / 483.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009797/0.5718, allocations: 2.517 MB / 485.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001719/0.5736, allocations: 0.8637 MB / 486.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.5738, allocations: 59 kB / 486.8 MB, free: 1.555 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.09074/0.6646, allocations: 42.92 MB / 0.5173 GB, free: 7.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.6656, allocations: 290.7 kB / 0.5176 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.6658, allocations: 20 kB / 0.5176 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04392/0.7097, allocations: 22.94 MB / 0.54 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002977/0.7101, allocations: 91.47 kB / 0.5401 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005478/0.7107, allocations: 157.4 kB / 0.5402 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003984/0.7147, allocations: 1.348 MB / 0.5415 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.7147, allocations: 0 / 0.5415 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.7147, allocations: 0 / 0.5415 GB, free: 14.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.685e-05/0.7147, allocations: 0 / 0.5415 GB, free: 14.39 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.002246/0.717, allocations: 1.006 MB / 0.5425 GB, free: 13.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.7171, allocations: 8.031 kB / 0.5425 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002239/0.7193, allocations: 0.5073 MB / 0.543 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005958/0.7199, allocations: 334.2 kB / 0.5433 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.079e-05/0.72, allocations: 45.31 kB / 0.5434 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.7201, allocations: 52 kB / 0.5434 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.7219, allocations: 0.8801 MB / 0.5443 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.7219, allocations: 0 / 0.5443 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.018e-05/0.722, allocations: 28 kB / 0.5443 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.307e-05/0.722, allocations: 31.98 kB / 0.5443 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.7236, allocations: 0.7196 MB / 0.545 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005388/0.729, allocations: 5.147 MB / 0.5501 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007492/0.7298, allocations: 333.7 kB / 0.5504 GB, free: 4.547 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.7302, allocations: 225.7 kB / 0.5506 GB, free: 4.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001756/0.7319, allocations: 1.539 MB / 0.5521 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.732, allocations: 46.52 kB / 0.5521 GB, free: 2.555 MB / 414.1 MB Notification: Performance of pre-optimization done (n=71): time 2.004e-06/0.732, allocations: 0 / 0.5521 GB, free: 2.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=71): time 0.001596/0.7336, allocations: 0.5987 MB / 0.5527 GB, free: 1.953 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.7337, allocations: 81.11 kB / 0.5528 GB, free: 1.855 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.7339, allocations: 194.1 kB / 0.553 GB, free: 1.656 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.7339, allocations: 25.7 kB / 0.553 GB, free: 1.625 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.7342, allocations: 291.4 kB / 0.5533 GB, free: 1.332 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/0.7344, allocations: 232.5 kB / 0.5535 GB, free: 1.102 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/0.7344, allocations: 4 kB / 0.5535 GB, free: 1.098 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.7346, allocations: 342.8 kB / 0.5538 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.7349, allocations: 125.2 kB / 0.554 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.7353, allocations: 304.1 kB / 0.5543 GB, free: 260 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.7356, allocations: 187.6 kB / 0.5544 GB, free: 72 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.7356, allocations: 3.938 kB / 0.5544 GB, free: 68 kB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008878/0.7365, allocations: 484.8 kB / 0.5549 GB, free: 15.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.7366, allocations: 11.95 kB / 0.5549 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.7366, allocations: 8.031 kB / 0.5549 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.7366, allocations: 12 kB / 0.5549 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003621/0.737, allocations: 87.83 kB / 0.555 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008998/0.7379, allocations: 1.18 MB / 0.5562 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/0.7384, allocations: 79.47 kB / 0.5562 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.7385, allocations: 20 kB / 0.5563 GB, free: 14.14 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.0003597/0.7388, allocations: 197.6 kB / 0.5565 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.7389, allocations: 31.53 kB / 0.5565 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.7409, allocations: 1.345 MB / 0.5578 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001565/0.7425, allocations: 1.15 MB / 0.5589 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.7425, allocations: 0 / 0.5589 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.7425, allocations: 3.984 kB / 0.5589 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003407/0.7459, allocations: 2.5 MB / 0.5614 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.7459, allocations: 0 / 0.5614 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000334/0.7463, allocations: 111.8 kB / 0.5615 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004559/0.7467, allocations: 316 kB / 0.5618 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/0.7468, allocations: 16 kB / 0.5618 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009062/0.7477, allocations: 1.261 MB / 0.563 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.7477, allocations: 4.062 kB / 0.563 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.7492, allocations: 1.169 MB / 0.5642 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.7494, allocations: 136.3 kB / 0.5643 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.7495, allocations: 16 kB / 0.5643 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/0.7499, allocations: 91.48 kB / 0.5644 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.828e-05/0.75, allocations: 39.94 kB / 0.5644 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.75, allocations: 20 kB / 0.5645 GB, free: 5.566 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.7501, allocations: 124.8 kB / 0.5646 GB, free: 5.445 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7501, allocations: 0 / 0.5646 GB, free: 5.445 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009409/0.7511, allocations: 227.3 kB / 0.5648 GB, free: 5.223 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.0006348/0.7517, allocations: 311.3 kB / 0.5651 GB, free: 4.941 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.7531, allocations: 0.7724 MB / 0.5658 GB, free: 4.141 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.7531, allocations: 0 / 0.5658 GB, free: 4.141 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005883/0.7537, allocations: 386.1 kB / 0.5662 GB, free: 3.766 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.7553, allocations: 332.8 kB / 0.5665 GB, free: 3.445 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.7578, allocations: 1.699 MB / 0.5682 GB, free: 1.719 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/0.7584, allocations: 0.9638 MB / 0.5691 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.7585, allocations: 51.44 kB / 0.5692 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.7585, allocations: 0 / 0.5692 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of Templates: time 0.0232/0.7818, allocations: 15.55 MB / 0.5844 GB, free: 1.438 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.TestBasePropertiesImplicitCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicitCalcHelperMain.o] Error 1