Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.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.Misc.RhoSmoothing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing") translateModel(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009712/0.0009712, allocations: 98.89 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.001639/0.001639, allocations: 180 kB / 16.58 MB, free: 6.422 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.626/1.626, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.2037/0.2037, allocations: 2.781 MB / 294.5 MB, free: 4.297 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003339, allocations: 4 kB / 356.2 MB, free: 4.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1251, allocations: 51.26 MB / 407.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.2932/0.4184, allocations: 17.29 MB / 424.8 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003369/0.4218, allocations: 3.241 MB / 428 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.422, allocations: 0 / 428 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000756/0.4228, allocations: 267.2 kB / 428.3 MB, free: 34.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.423, allocations: 80.33 kB / 428.4 MB, free: 34.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.4248, allocations: 0.5197 MB / 428.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.425, allocations: 182.5 kB / 429.1 MB, free: 34.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.776e-05/0.4251, allocations: 19.94 kB / 429.1 MB, free: 34.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.205e-05/0.4252, allocations: 50.17 kB / 429.1 MB, free: 34.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.4253, allocations: 63.42 kB / 429.2 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.4253, allocations: 0 / 429.2 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05479/0.4801, allocations: 35.66 MB / 464.9 MB, free: 32.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.874e-05/0.4802, allocations: 15.81 kB / 464.9 MB, free: 32.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.4804, allocations: 57.7 kB / 464.9 MB, free: 32.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005706/0.481, allocations: 243.9 kB / 465.2 MB, free: 32.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.481, allocations: 0 / 465.2 MB, free: 32.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.481, allocations: 0 / 465.2 MB, free: 32.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.4811, allocations: 0 / 465.2 MB, free: 32.2 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0004952/0.4816, allocations: 475.8 kB / 465.6 MB, free: 31.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.4816, allocations: 17.12 kB / 465.6 MB, free: 31.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.4817, allocations: 31.12 kB / 465.7 MB, free: 31.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.585e-05/0.4818, allocations: 180.7 kB / 465.8 MB, free: 31.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.4819, allocations: 5.109 kB / 465.9 MB, free: 31.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.4819, allocations: 6.781 kB / 465.9 MB, free: 31.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.4822, allocations: 235.4 kB / 466.1 MB, free: 31.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.4822, allocations: 0 / 466.1 MB, free: 31.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.4822, allocations: 3.25 kB / 466.1 MB, free: 31.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.4822, allocations: 13.73 kB / 466.1 MB, free: 31.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.4825, allocations: 275 kB / 466.4 MB, free: 31.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006591/0.4832, allocations: 0.6135 MB / 467 MB, free: 31.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.4834, allocations: 250.2 kB / 467.2 MB, free: 31.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.4836, allocations: 234.5 kB / 467.5 MB, free: 31.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.554e-05/0.4837, allocations: 25.69 kB / 467.5 MB, free: 31.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.4837, allocations: 38.5 kB / 467.5 MB, free: 31.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 1.333e-06/0.4837, allocations: 3.938 kB / 467.5 MB, free: 31.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.0006815/0.4844, allocations: 0.6748 MB / 468.2 MB, free: 30.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.4844, allocations: 54.97 kB / 468.3 MB, free: 30.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.412e-05/0.4845, allocations: 101.5 kB / 468.4 MB, free: 30.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.4845, allocations: 25.7 kB / 468.4 MB, free: 30.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/0.4845, allocations: 100.2 kB / 468.5 MB, free: 30.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.4847, allocations: 197.8 kB / 468.7 MB, free: 30.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.4847, allocations: 2.125 kB / 468.7 MB, free: 30.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.287e-05/0.4847, allocations: 335.9 kB / 469 MB, free: 29.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.4849, allocations: 165.9 kB / 469.2 MB, free: 29.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.485, allocations: 219.2 kB / 469.4 MB, free: 29.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.4852, allocations: 188.1 kB / 469.6 MB, free: 29.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4852, allocations: 0 / 469.6 MB, free: 29.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003627/0.4856, allocations: 444.3 kB / 470 MB, free: 29.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4856, allocations: 8 kB / 470 MB, free: 29.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.4856, allocations: 0 / 470 MB, free: 29.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.4856, allocations: 4 kB / 470 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.172e-05/0.4857, allocations: 17.75 kB / 470 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4857, allocations: 0 / 470 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.344e-05/0.4858, allocations: 35.22 kB / 470.1 MB, free: 29.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.4858, allocations: 7.953 kB / 470.1 MB, free: 29.33 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (state_std.phase,state_spl.phase,state_tbl.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.233e-05/0.4859, allocations: 125.4 kB / 470.2 MB, free: 29.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.4859, allocations: 15.72 kB / 470.2 MB, free: 29.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000495/0.4864, allocations: 0.5274 MB / 470.7 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003346/0.4868, allocations: 446.2 kB / 471.2 MB, free: 28.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4868, allocations: 7.375 kB / 471.2 MB, free: 28.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4868, allocations: 0 / 471.2 MB, free: 28.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008747/0.4877, allocations: 1.089 MB / 472.3 MB, free: 27.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4877, allocations: 4 kB / 472.3 MB, free: 27.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.002e-05/0.4878, allocations: 32.66 kB / 472.3 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.4878, allocations: 4 kB / 472.3 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.4878, allocations: 10.5 kB / 472.3 MB, free: 27.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.4878, allocations: 7.938 kB / 472.3 MB, free: 27.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4878, allocations: 4 kB / 472.3 MB, free: 27.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004744/0.4883, allocations: 0.6599 MB / 473 MB, free: 27.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-05/0.4884, allocations: 125.5 kB / 473.1 MB, free: 27.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.4884, allocations: 8 kB / 473.1 MB, free: 27.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.4885, allocations: 7.25 kB / 473.1 MB, free: 27.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.4886, allocations: 29.23 kB / 473.2 MB, free: 27.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.4886, allocations: 11.25 kB / 473.2 MB, free: 27.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.794e-05/0.4887, allocations: 99.39 kB / 473.3 MB, free: 27.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4887, allocations: 0 / 473.3 MB, free: 27.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004723/0.4891, allocations: 104.9 kB / 473.4 MB, free: 26.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 3 (state_std.phase,state_spl.phase,state_tbl.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006458/0.4898, allocations: 376 kB / 473.7 MB, free: 26.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004434/0.4903, allocations: 0.4972 MB / 474.2 MB, free: 26.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4903, allocations: 0 / 474.2 MB, free: 26.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.4905, allocations: 262.7 kB / 474.5 MB, free: 26.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008423/0.4913, allocations: 152.2 kB / 474.6 MB, free: 25.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.4927, allocations: 1.335 MB / 476 MB, free: 24.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.4929, allocations: 0.7642 MB / 476.7 MB, free: 23.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.4929, allocations: 19.44 kB / 476.8 MB, free: 23.95 MB / 350.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4929, allocations: 0 / 476.8 MB, free: 23.95 MB / 350.1 MB Notification: Performance of Templates: time 0.007337/0.5003, allocations: 4.279 MB / 481 MB, free: 21.31 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.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.Misc.RhoSmoothingCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothingCalcHelperMain.o] Error 1