Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.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.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006397/0.006397, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001331/0.001331, allocations: 192 kB / 16.79 MB, free: 5.809 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1768/0.1768, allocations: 2.763 MB / 293.4 MB, free: 3.766 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 59.91 kB / 354.4 MB, free: 5.008 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1561, allocations: 50.24 MB / 404.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.2238/0.3799, allocations: 19.07 MB / 423.7 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00431/0.3843, allocations: 6.047 MB / 429.7 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.3845, allocations: 7.344 kB / 429.7 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006041/0.3852, allocations: 235.7 kB / 430 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002731/0.3879, allocations: 1.117 MB / 431.1 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.3882, allocations: 77.44 kB / 431.2 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.3885, allocations: 299.5 kB / 431.4 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.553e-05/0.3885, allocations: 22.17 kB / 431.5 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.929e-05/0.3886, allocations: 95.7 kB / 431.6 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.3887, allocations: 114.4 kB / 431.7 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.3887, allocations: 5.906 kB / 431.7 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5355/0.9243, allocations: 35.07 MB / 466.7 MB, free: 21.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.231e-05/0.9244, allocations: 28.41 kB / 466.8 MB, free: 21.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004076/0.9248, allocations: 129.3 kB / 466.9 MB, free: 21.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.9259, allocations: 354.8 kB / 467.2 MB, free: 21.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.9259, allocations: 1.031 kB / 467.2 MB, free: 21.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.9259, allocations: 0 / 467.2 MB, free: 21.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.9259, allocations: 0 / 467.2 MB, free: 21.32 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.000731/0.9267, allocations: 0.5672 MB / 467.8 MB, free: 20.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.9267, allocations: 9.781 kB / 467.8 MB, free: 20.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009098/0.9276, allocations: 201.7 kB / 468 MB, free: 20.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.9278, allocations: 186.1 kB / 468.2 MB, free: 20.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.9278, allocations: 17.94 kB / 468.2 MB, free: 20.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.9279, allocations: 27.44 kB / 468.2 MB, free: 20.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004882/0.9284, allocations: 338.8 kB / 468.6 MB, free: 20.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.9284, allocations: 7.938 kB / 468.6 MB, free: 20.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.9284, allocations: 9.5 kB / 468.6 MB, free: 20.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.9284, allocations: 13.52 kB / 468.6 MB, free: 20.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003375/0.9288, allocations: 257.6 kB / 468.9 MB, free: 20.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.9302, allocations: 2.12 MB / 471 MB, free: 18.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.9303, allocations: 135 kB / 471.1 MB, free: 18.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.9305, allocations: 108.8 kB / 471.2 MB, free: 18.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005321/0.931, allocations: 0.6886 MB / 471.9 MB, free: 17.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.931, allocations: 44.02 kB / 471.9 MB, free: 17.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.352e-06/0.931, allocations: 0 / 471.9 MB, free: 17.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003421/0.9314, allocations: 187.5 kB / 472.1 MB, free: 17.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.9314, allocations: 78.23 kB / 472.2 MB, free: 17.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.367e-05/0.9315, allocations: 107.1 kB / 472.3 MB, free: 17.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.9315, allocations: 25.7 kB / 472.3 MB, free: 17.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.9316, allocations: 162.5 kB / 472.5 MB, free: 17.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/0.9316, allocations: 102.5 kB / 472.6 MB, free: 16.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.9317, allocations: 34.98 kB / 472.6 MB, free: 16.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.121e-05/0.9318, allocations: 328.8 kB / 473 MB, free: 16.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.636e-05/0.9318, allocations: 30.25 kB / 473 MB, free: 16.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.438e-05/0.9319, allocations: 89.84 kB / 473.1 MB, free: 16.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.9321, allocations: 142.5 kB / 473.2 MB, free: 16.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.9321, allocations: 5.375 kB / 473.2 MB, free: 16.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002265/0.9323, allocations: 165 kB / 473.4 MB, free: 16.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.9323, allocations: 6.125 kB / 473.4 MB, free: 16.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.9323, allocations: 5.469 kB / 473.4 MB, free: 16.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.9323, allocations: 1.281 kB / 473.4 MB, free: 16.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.511e-05/0.9324, allocations: 9.594 kB / 473.4 MB, free: 16.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.9324, allocations: 1.094 kB / 473.4 MB, free: 16.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.9326, allocations: 32.58 kB / 473.4 MB, free: 16.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.9326, allocations: 4.438 kB / 473.4 MB, free: 16.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 8.94e-05/0.9327, allocations: 138.3 kB / 473.6 MB, free: 16.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.9327, allocations: 11.44 kB / 473.6 MB, free: 16.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004702/0.9332, allocations: 427 kB / 474 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000331/0.9336, allocations: 332.4 kB / 474.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.9336, allocations: 0 / 474.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.9336, allocations: 1.531 kB / 474.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.9349, allocations: 1.04 MB / 475.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.9349, allocations: 3.938 kB / 475.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.9351, allocations: 55.92 kB / 475.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.9351, allocations: 1.219 kB / 475.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.9351, allocations: 10.27 kB / 475.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.9351, allocations: 6.188 kB / 475.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9351, allocations: 0 / 475.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000513/0.9357, allocations: 0.4999 MB / 475.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-05/0.9358, allocations: 111.5 kB / 476 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.9358, allocations: 6.625 kB / 476.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.936, allocations: 45.81 kB / 476.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.9361, allocations: 20.91 kB / 476.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.9361, allocations: 10.53 kB / 476.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.45e-05/0.9361, allocations: 78.53 kB / 476.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9361, allocations: 0 / 476.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005143/0.9366, allocations: 102.3 kB / 476.3 MB, free: 14.51 MB / 350.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: 4 (state1.phase,$cse2.phase,state2.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003602/0.937, allocations: 196.1 kB / 476.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003903/0.9374, allocations: 312.5 kB / 476.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.9374, allocations: 0 / 476.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.9376, allocations: 168.4 kB / 477 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009913/0.9386, allocations: 168.1 kB / 477.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.9397, allocations: 0.8367 MB / 478 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.9399, allocations: 0.8085 MB / 478.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.315e-05/0.94, allocations: 23.22 kB / 478.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.94, allocations: 1.281 kB / 478.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of Templates: time 0.008201/0.9482, allocations: 3.582 MB / 482.4 MB, free: 12.35 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.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.TestStatesSupercriticalCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercriticalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercriticalCalcHelperMain.o] Error 1