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.001019/0.001019, 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.001299/0.001299, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.5/1.5, allocations: 223.2 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.2032/0.2032, allocations: 2.796 MB / 294.9 MB, free: 4.273 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003352, allocations: 8 kB / 356.9 MB, free: 3.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1217, allocations: 51.26 MB / 408.1 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.2859/0.4076, allocations: 18.25 MB / 426.4 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003133/0.4108, allocations: 3.459 MB / 429.8 MB, free: 34.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.411, allocations: 0 / 429.8 MB, free: 34.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00081/0.4118, allocations: 284.6 kB / 430.1 MB, free: 34.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.412, allocations: 77.77 kB / 430.2 MB, free: 34.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.4137, allocations: 0.5533 MB / 430.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.4139, allocations: 177.9 kB / 430.9 MB, free: 33.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.477e-05/0.414, allocations: 22.41 kB / 430.9 MB, free: 33.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.373e-05/0.4141, allocations: 50.66 kB / 431 MB, free: 33.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.4142, allocations: 65.48 kB / 431 MB, free: 33.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.4142, allocations: 7.469 kB / 431.1 MB, free: 33.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5858/1, allocations: 38.41 MB / 469.5 MB, free: 18.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.165e-05/1, allocations: 18.78 kB / 469.5 MB, free: 18.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002814/1, allocations: 105.5 kB / 469.6 MB, free: 18.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007773/1.001, allocations: 243 kB / 469.8 MB, free: 18.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.001, allocations: 1.156 kB / 469.8 MB, free: 18.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.865e-06/1.001, allocations: 0 / 469.8 MB, free: 18.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.641e-05/1.001, allocations: 0 / 469.8 MB, free: 18.55 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.0006741/1.002, allocations: 478.4 kB / 470.3 MB, free: 18.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/1.002, allocations: 13.72 kB / 470.3 MB, free: 18.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/1.002, allocations: 30.78 kB / 470.3 MB, free: 18.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/1.002, allocations: 183.8 kB / 470.5 MB, free: 17.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/1.002, allocations: 9.594 kB / 470.5 MB, free: 17.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/1.002, allocations: 5.156 kB / 470.5 MB, free: 17.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/1.003, allocations: 240.6 kB / 470.8 MB, free: 17.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/1.003, allocations: 1.656 kB / 470.8 MB, free: 17.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/1.003, allocations: 4 kB / 470.8 MB, free: 17.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/1.003, allocations: 17.81 kB / 470.8 MB, free: 17.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003458/1.003, allocations: 278.4 kB / 471.1 MB, free: 17.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008441/1.004, allocations: 0.5991 MB / 471.7 MB, free: 17.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/1.004, allocations: 255 kB / 471.9 MB, free: 17.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/1.005, allocations: 233.3 kB / 472.1 MB, free: 17.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.862e-05/1.005, allocations: 29.41 kB / 472.2 MB, free: 17.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/1.005, allocations: 37.83 kB / 472.2 MB, free: 17.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 1.793e-06/1.005, allocations: 0 / 472.2 MB, free: 17.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.001207/1.006, allocations: 0.6767 MB / 472.9 MB, free: 17.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/1.006, allocations: 56.59 kB / 472.9 MB, free: 17.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.843e-05/1.006, allocations: 104.8 kB / 473 MB, free: 17.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/1.006, allocations: 26.73 kB / 473.1 MB, free: 17.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/1.006, allocations: 93.3 kB / 473.2 MB, free: 17.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/1.006, allocations: 201 kB / 473.3 MB, free: 16.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/1.006, allocations: 38.28 kB / 473.4 MB, free: 16.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.897e-05/1.006, allocations: 331.3 kB / 473.7 MB, free: 16.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/1.007, allocations: 174.1 kB / 473.9 MB, free: 16.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/1.007, allocations: 215.6 kB / 474.1 MB, free: 16.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004607/1.007, allocations: 426.3 kB / 474.5 MB, free: 16.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.007, allocations: 0 / 474.5 MB, free: 16.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006272/1.008, allocations: 447.5 kB / 474.9 MB, free: 16.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/1.008, allocations: 6.625 kB / 474.9 MB, free: 16.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.008, allocations: 0 / 474.9 MB, free: 16.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/1.008, allocations: 1.531 kB / 474.9 MB, free: 16.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/1.008, allocations: 21.48 kB / 475 MB, free: 16.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/1.008, allocations: 5.281 kB / 475 MB, free: 16.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/1.008, allocations: 33.44 kB / 475 MB, free: 16.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/1.008, allocations: 4 kB / 475 MB, free: 16.44 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_tbl.phase,state_spl.phase,state_std.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001099/1.008, allocations: 119.9 kB / 475.1 MB, free: 16.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/1.008, allocations: 17 kB / 475.1 MB, free: 16.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007084/1.009, allocations: 0.5253 MB / 475.7 MB, free: 16.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005359/1.01, allocations: 452.3 kB / 476.1 MB, free: 16.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.01, allocations: 4 kB / 476.1 MB, free: 16.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/1.01, allocations: 1.281 kB / 476.1 MB, free: 16.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/1.011, allocations: 1.093 MB / 477.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/1.011, allocations: 6.484 kB / 477.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/1.011, allocations: 28.73 kB / 477.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/1.011, allocations: 12.55 kB / 477.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/1.011, allocations: 9.938 kB / 477.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/1.011, allocations: 13.44 kB / 477.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.011, allocations: 3.25 kB / 477.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008133/1.012, allocations: 0.6494 MB / 477.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/1.012, allocations: 135.6 kB / 478.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/1.012, allocations: 12.84 kB / 478.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/1.012, allocations: 7.969 kB / 478.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/1.012, allocations: 20.44 kB / 478.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/1.012, allocations: 13.22 kB / 478.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.869e-05/1.012, allocations: 105 kB / 478.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.012, allocations: 5.469 kB / 478.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008079/1.013, allocations: 102 kB / 478.3 MB, free: 14.78 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 (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.0009591/1.014, allocations: 358.5 kB / 478.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000949/1.015, allocations: 0.4927 MB / 479.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.015, allocations: 3.938 kB / 479.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004026/1.016, allocations: 265.1 kB / 479.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/1.017, allocations: 154.9 kB / 479.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/1.019, allocations: 1.346 MB / 480.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/1.02, allocations: 0.7648 MB / 481.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/1.02, allocations: 19.16 kB / 481.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of SimCode: time 8.31e-07/1.02, allocations: 0 / 481.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of Templates: time 0.01194/1.032, allocations: 4.506 MB / 486.2 MB, free: 11.98 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++ -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.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