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.0007772/0.0007771, allocations: 92.16 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.0009101/0.0009103, allocations: 174.6 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.525/1.525, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1788/0.1788, allocations: 2.786 MB / 294.9 MB, free: 4.223 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004068/0.0004068, allocations: 8 kB / 356.9 MB, free: 3.973 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1368, allocations: 51.26 MB / 408.1 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.276/0.4129, allocations: 18.48 MB / 426.6 MB, free: 34.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005064/0.418, allocations: 5.976 MB / 432.6 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.4181, allocations: 3 kB / 432.6 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000705/0.4188, allocations: 238.9 kB / 432.8 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002865/0.4217, allocations: 1.105 MB / 433.9 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.4221, allocations: 81.64 kB / 434 MB, free: 33.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.4224, allocations: 303.7 kB / 434.3 MB, free: 33.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.337e-05/0.4225, allocations: 21.38 kB / 434.3 MB, free: 33.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.426e-05/0.4226, allocations: 98.67 kB / 434.4 MB, free: 33.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.4227, allocations: 112.8 kB / 434.5 MB, free: 33.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.4227, allocations: 6.312 kB / 434.5 MB, free: 33.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5271/0.9498, allocations: 35.06 MB / 469.6 MB, free: 19.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004832/0.9504, allocations: 37.22 kB / 469.6 MB, free: 19.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003272/0.9507, allocations: 152.1 kB / 469.8 MB, free: 19.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008447/0.9515, allocations: 350.1 kB / 470.1 MB, free: 19.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.9516, allocations: 5.312 kB / 470.1 MB, free: 19.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.9516, allocations: 0 / 470.1 MB, free: 19.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.9516, allocations: 0 / 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.0005964/0.9522, allocations: 0.5262 MB / 470.7 MB, free: 19.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.9522, allocations: 9.156 kB / 470.7 MB, free: 19.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00082/0.9531, allocations: 201.3 kB / 470.9 MB, free: 19.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.772e-05/0.9532, allocations: 186.3 kB / 471 MB, free: 18.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.9532, allocations: 18.66 kB / 471.1 MB, free: 18.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/0.9532, allocations: 22.72 kB / 471.1 MB, free: 18.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005398/0.9538, allocations: 343.7 kB / 471.4 MB, free: 18.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.9538, allocations: 7.984 kB / 471.4 MB, free: 18.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.9538, allocations: 10.22 kB / 471.4 MB, free: 18.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.9539, allocations: 10.89 kB / 471.4 MB, free: 18.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003983/0.9543, allocations: 257.5 kB / 471.7 MB, free: 18.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.9558, allocations: 2.135 MB / 473.8 MB, free: 16.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.956, allocations: 128.5 kB / 474 MB, free: 16.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.9561, allocations: 107.1 kB / 474.1 MB, free: 16.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005659/0.9567, allocations: 0.6893 MB / 474.7 MB, free: 16.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.9567, allocations: 33.41 kB / 474.8 MB, free: 16.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.172e-06/0.9567, allocations: 3.938 kB / 474.8 MB, free: 16.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003965/0.9571, allocations: 182.8 kB / 475 MB, free: 16.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.9572, allocations: 86.05 kB / 475 MB, free: 16.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/0.9572, allocations: 103.7 kB / 475.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.9573, allocations: 25.7 kB / 475.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.9573, allocations: 157.9 kB / 475.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.335e-05/0.9574, allocations: 105.3 kB / 475.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.9574, allocations: 28.66 kB / 475.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.9575, allocations: 325.2 kB / 475.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.639e-05/0.9576, allocations: 33.92 kB / 475.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.924e-05/0.9577, allocations: 91.03 kB / 475.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.9578, allocations: 135.6 kB / 476 MB, free: 15.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.9579, allocations: 5.25 kB / 476 MB, free: 15.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002364/0.9581, allocations: 158.7 kB / 476.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.9581, allocations: 5.219 kB / 476.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.9581, allocations: 5.344 kB / 476.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.9582, allocations: 2.5 kB / 476.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.853e-05/0.9582, allocations: 15.97 kB / 476.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.9583, allocations: 2.281 kB / 476.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.9584, allocations: 39.47 kB / 476.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.9584, allocations: 7.844 kB / 476.3 MB, free: 15.16 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.943e-05/0.9585, allocations: 126.4 kB / 476.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-05/0.9586, allocations: 12 kB / 476.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005172/0.9591, allocations: 426.2 kB / 476.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003962/0.9595, allocations: 336.3 kB / 477.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.9595, allocations: 4.703 kB / 477.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.9595, allocations: 0 / 477.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.9607, allocations: 1.04 MB / 478.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.9607, allocations: 4.938 kB / 478.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.9609, allocations: 54.62 kB / 478.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.758e-06/0.9609, allocations: 1.094 kB / 478.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.9609, allocations: 10.34 kB / 478.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.9609, allocations: 2.031 kB / 478.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9609, allocations: 0 / 478.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005054/0.9615, allocations: 0.4908 MB / 478.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-05/0.9615, allocations: 112.3 kB / 478.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.9616, allocations: 5.75 kB / 478.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.9618, allocations: 47.48 kB / 478.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.9618, allocations: 21.89 kB / 478.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.9619, allocations: 9.406 kB / 478.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.103e-05/0.9619, allocations: 78.59 kB / 479 MB, free: 13.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.9619, allocations: 3.938 kB / 479 MB, free: 13.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005836/0.9625, allocations: 113.9 kB / 479.1 MB, free: 13.9 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.0004111/0.9629, allocations: 184 kB / 479.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004336/0.9634, allocations: 316 kB / 479.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.9634, allocations: 0 / 479.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.9636, allocations: 156.8 kB / 479.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.9647, allocations: 171.4 kB / 479.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.9657, allocations: 0.8743 MB / 480.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006165/0.9664, allocations: 0.8062 MB / 481.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.9664, allocations: 23.97 kB / 481.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.9664, allocations: 1.281 kB / 481.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of Templates: time 0.006539/0.973, allocations: 3.551 MB / 485.2 MB, free: 11.78 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