Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009894/0.0009891, allocations: 92 kB / 16.02 MB, free: 80 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.001237/0.001237, allocations: 181.3 kB / 16.92 MB, free: 6.652 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.441/1.441, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1675/0.1675, allocations: 2.791 MB / 294.9 MB, free: 4.254 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003149, allocations: 8 kB / 356.9 MB, free: 3.988 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1301, allocations: 51.25 MB / 408.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.2707/0.4008, allocations: 49.38 MB / 457.5 MB, free: 22.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01775/0.4186, allocations: 28.51 MB / 486 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007051/0.4193, allocations: 3.25 kB / 486 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.4209, allocations: 0.5712 MB / 486.6 MB, free: 420 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006831/0.4278, allocations: 2.058 MB / 488.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009106/0.4369, allocations: 2.708 MB / 491.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.4382, allocations: 0.9707 MB / 492.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.4383, allocations: 60.41 kB / 492.4 MB, free: 13.23 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.7359/1.174, allocations: 46.47 MB / 0.5262 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009658/1.175, allocations: 302.6 kB / 0.5265 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/1.175, allocations: 20 kB / 0.5265 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.383/1.558, allocations: 24.77 MB / 0.5507 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003798/1.559, allocations: 87.48 kB / 0.5508 GB, free: 6.109 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009608/1.56, allocations: 348.2 kB / 0.5511 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004056/1.564, allocations: 1.352 MB / 0.5525 GB, free: 4.406 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/1.564, allocations: 0 / 0.5525 GB, free: 4.406 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.557e-06/1.564, allocations: 0 / 0.5525 GB, free: 4.406 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.728e-05/1.564, allocations: 0 / 0.5525 GB, free: 4.406 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.002499/1.566, allocations: 0.9869 MB / 0.5534 GB, free: 3.371 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/1.566, allocations: 12.03 kB / 0.5534 GB, free: 3.359 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/1.569, allocations: 0.5036 MB / 0.5539 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006931/1.57, allocations: 343.3 kB / 0.5543 GB, free: 2.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.092e-05/1.57, allocations: 46.06 kB / 0.5543 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/1.57, allocations: 56 kB / 0.5544 GB, free: 2.383 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/1.572, allocations: 0.8801 MB / 0.5552 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/1.572, allocations: 3.984 kB / 0.5552 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.079e-05/1.572, allocations: 27.94 kB / 0.5552 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/1.572, allocations: 31.98 kB / 0.5553 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/1.574, allocations: 0.7196 MB / 0.556 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004925/1.579, allocations: 4.962 MB / 0.5608 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007623/1.579, allocations: 345 kB / 0.5612 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003873/1.58, allocations: 229.7 kB / 0.5614 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00173/1.581, allocations: 1.547 MB / 0.5629 GB, free: 8.809 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/1.582, allocations: 34.56 kB / 0.5629 GB, free: 8.766 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 1.923e-06/1.582, allocations: 0 / 0.5629 GB, free: 8.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.002064/1.584, allocations: 0.6193 MB / 0.5635 GB, free: 8.141 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/1.584, allocations: 89.03 kB / 0.5636 GB, free: 8.035 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/1.584, allocations: 167.7 kB / 0.5638 GB, free: 7.863 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/1.584, allocations: 29.7 kB / 0.5638 GB, free: 7.828 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/1.584, allocations: 283.5 kB / 0.5641 GB, free: 7.543 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/1.584, allocations: 240.3 kB / 0.5643 GB, free: 7.305 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.28e-05/1.584, allocations: 61.69 kB / 0.5644 GB, free: 7.238 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/1.585, allocations: 346.7 kB / 0.5647 GB, free: 6.891 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/1.585, allocations: 117.3 kB / 0.5648 GB, free: 6.773 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/1.585, allocations: 285.5 kB / 0.5651 GB, free: 6.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007273/1.586, allocations: 470.7 kB / 0.5655 GB, free: 5.902 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.351e-06/1.586, allocations: 4.188 kB / 0.5655 GB, free: 5.898 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008846/1.587, allocations: 483.9 kB / 0.566 GB, free: 5.418 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/1.587, allocations: 4.625 kB / 0.566 GB, free: 5.414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/1.587, allocations: 19.94 kB / 0.566 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/1.587, allocations: 7.984 kB / 0.566 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/1.587, allocations: 71.91 kB / 0.5661 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/1.587, allocations: 7.938 kB / 0.5661 GB, free: 5.309 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004139/1.588, allocations: 83.25 kB / 0.5662 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/1.588, allocations: 23.98 kB / 0.5662 GB, free: 5.203 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002983/1.588, allocations: 181.8 kB / 0.5664 GB, free: 5.016 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/1.588, allocations: 27.62 kB / 0.5664 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/1.59, allocations: 1.2 MB / 0.5676 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001348/1.591, allocations: 0.9871 MB / 0.5685 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/1.591, allocations: 0 / 0.5685 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/1.591, allocations: 11.98 kB / 0.5685 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003271/1.595, allocations: 2.325 MB / 0.5708 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.595, allocations: 3.938 kB / 0.5708 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/1.595, allocations: 119.8 kB / 0.5709 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/1.595, allocations: 4 kB / 0.5709 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/1.595, allocations: 16 kB / 0.5709 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/1.595, allocations: 3.984 kB / 0.5709 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.595, allocations: 8 kB / 0.571 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/1.596, allocations: 0.8753 MB / 0.5718 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/1.596, allocations: 148.2 kB / 0.572 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/1.597, allocations: 15.94 kB / 0.572 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004657/1.597, allocations: 91.39 kB / 0.5721 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.942e-05/1.597, allocations: 55.92 kB / 0.5721 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/1.597, allocations: 20 kB / 0.5721 GB, free: 15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001089/1.597, allocations: 120.1 kB / 0.5722 GB, free: 14.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.597, allocations: 0 / 0.5722 GB, free: 14.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008894/1.598, allocations: 223.4 kB / 0.5725 GB, free: 14.66 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: 6 (medium1.completeState.state.phase,$cse4.phase,medium1.baseProperties.phaseOutput,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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006588/1.599, allocations: 313 kB / 0.5728 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001275/1.6, allocations: 0.7562 MB / 0.5735 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.6, allocations: 4.625 kB / 0.5735 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000548/1.601, allocations: 386.4 kB / 0.5739 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/1.603, allocations: 324.8 kB / 0.5742 GB, free: 12.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/1.605, allocations: 1.749 MB / 0.5759 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007453/1.606, allocations: 0.9572 MB / 0.5768 GB, free: 10.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/1.606, allocations: 59.38 kB / 0.5769 GB, free: 10.04 MB / 446.1 MB Notification: Performance of SimCode: time 1.593e-06/1.606, allocations: 0 / 0.5769 GB, free: 10.04 MB / 446.1 MB Notification: Performance of Templates: time 0.01817/1.625, allocations: 8.491 MB / 0.5852 GB, free: 1.566 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.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.TestBasePropertiesTranscriticalCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscriticalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscriticalCalcHelperMain.o] Error 1