Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.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.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009144/0.0009144, allocations: 98.88 kB / 16.02 MB, free: 76 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.001063/0.001063, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.536/1.536, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1694/0.1694, allocations: 2.787 MB / 294.9 MB, free: 4.254 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.000352, allocations: 4 kB / 356.9 MB, free: 3.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1167, allocations: 51.26 MB / 408.1 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.2891/0.4058, allocations: 18.48 MB / 426.6 MB, free: 34.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005094/0.411, allocations: 5.972 MB / 432.6 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.4112, allocations: 3.125 kB / 432.6 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006438/0.4118, allocations: 240.4 kB / 432.8 MB, free: 34.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003166/0.415, allocations: 1.108 MB / 433.9 MB, free: 33.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.4154, allocations: 78.52 kB / 434 MB, free: 33.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003076/0.4157, allocations: 303.8 kB / 434.3 MB, free: 33.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.779e-05/0.4158, allocations: 26.28 kB / 434.3 MB, free: 33.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.428e-05/0.4159, allocations: 92.86 kB / 434.4 MB, free: 33.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.416, allocations: 111.7 kB / 434.5 MB, free: 33.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.4161, allocations: 8.812 kB / 434.5 MB, free: 33.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5491/0.9652, allocations: 35.05 MB / 469.6 MB, free: 19.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.93e-05/0.9653, allocations: 35.73 kB / 469.6 MB, free: 19.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003075/0.9656, allocations: 162.1 kB / 469.8 MB, free: 19.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008834/0.9665, allocations: 345.3 kB / 470.1 MB, free: 19.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.9665, allocations: 3.938 kB / 470.1 MB, free: 19.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.9665, allocations: 0 / 470.1 MB, free: 19.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.9665, allocations: 1.375 kB / 470.1 MB, free: 19.61 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.0007217/0.9673, allocations: 0.5229 MB / 470.6 MB, free: 19.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.9673, allocations: 12.88 kB / 470.7 MB, free: 19.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009568/0.9683, allocations: 200.3 kB / 470.9 MB, free: 19.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.9684, allocations: 188.7 kB / 471 MB, free: 18.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/0.9685, allocations: 23 kB / 471.1 MB, free: 18.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/0.9685, allocations: 27 kB / 471.1 MB, free: 18.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005178/0.9691, allocations: 334 kB / 471.4 MB, free: 18.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.9691, allocations: 3.938 kB / 471.4 MB, free: 18.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.9691, allocations: 10.28 kB / 471.4 MB, free: 18.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.9691, allocations: 14.09 kB / 471.4 MB, free: 18.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.9695, allocations: 256.1 kB / 471.7 MB, free: 18.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.971, allocations: 2.127 MB / 473.8 MB, free: 16.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.9712, allocations: 138.1 kB / 474 MB, free: 16.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.9713, allocations: 106.4 kB / 474.1 MB, free: 16.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006078/0.9719, allocations: 0.6865 MB / 474.7 MB, free: 16.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.972, allocations: 36.44 kB / 474.8 MB, free: 16.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.753e-06/0.972, allocations: 0 / 474.8 MB, free: 16.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0006025/0.9726, allocations: 187.1 kB / 475 MB, free: 16.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.9726, allocations: 82.45 kB / 475 MB, free: 16.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/0.9727, allocations: 102.4 kB / 475.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.9727, allocations: 30.41 kB / 475.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.9728, allocations: 157.3 kB / 475.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.9e-05/0.9728, allocations: 103.4 kB / 475.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.9729, allocations: 32.59 kB / 475.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.901e-05/0.9729, allocations: 329 kB / 475.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.382e-05/0.973, allocations: 28.69 kB / 475.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.49e-05/0.9731, allocations: 84.83 kB / 475.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.9733, allocations: 137.1 kB / 476 MB, free: 15.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.9733, allocations: 1 kB / 476 MB, free: 15.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002323/0.9735, allocations: 167.5 kB / 476.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.9735, allocations: 5.344 kB / 476.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.9735, allocations: 1.344 kB / 476.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.9736, allocations: 6.438 kB / 476.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.365e-05/0.9736, allocations: 12.91 kB / 476.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.9737, allocations: 1.438 kB / 476.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.9738, allocations: 35.2 kB / 476.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.9739, allocations: 9.031 kB / 476.3 MB, free: 15.18 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 9.464e-05/0.974, allocations: 133.6 kB / 476.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.974, allocations: 12.06 kB / 476.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004643/0.9745, allocations: 423.6 kB / 476.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003749/0.9749, allocations: 341 kB / 477.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.9749, allocations: 0 / 477.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.9749, allocations: 4.578 kB / 477.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.9761, allocations: 1.041 MB / 478.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.9761, allocations: 3.938 kB / 478.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.9763, allocations: 43.2 kB / 478.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.9763, allocations: 2.312 kB / 478.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.9763, allocations: 11.58 kB / 478.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.9764, allocations: 2.219 kB / 478.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.9764, allocations: 1.219 kB / 478.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.9769, allocations: 0.497 MB / 478.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.977, allocations: 108.5 kB / 478.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.977, allocations: 6.125 kB / 478.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.9773, allocations: 46.56 kB / 478.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.9773, allocations: 20.55 kB / 478.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.9774, allocations: 5.844 kB / 478.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.689e-05/0.9774, allocations: 82.59 kB / 479 MB, free: 13.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9774, allocations: 1.188 kB / 479 MB, free: 13.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005467/0.9779, allocations: 105.2 kB / 479.1 MB, free: 13.86 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.0003983/0.9784, allocations: 211.6 kB / 479.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004093/0.9788, allocations: 296.5 kB / 479.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9788, allocations: 0 / 479.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.979, allocations: 167.9 kB / 479.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.9801, allocations: 170.2 kB / 479.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.9812, allocations: 0.8741 MB / 480.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.9815, allocations: 0.803 MB / 481.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.9816, allocations: 25.47 kB / 481.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of SimCode: time 8.91e-07/0.9816, allocations: 0 / 481.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of Templates: time 0.007197/0.9888, allocations: 3.545 MB / 485.2 MB, free: 11.73 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.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.TestStatesTranscriticalCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscriticalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscriticalCalcHelperMain.o] Error 1