Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007215/0.007215, allocations: 100.5 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.001697/0.001697, allocations: 190.6 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.402/1.402, allocations: 222.9 MB / 240.5 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002084, allocations: 282.7 kB / 290.9 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9818/0.9818, allocations: 169.2 MB / 0.4983 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 86.28 kB / 0.5951 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1779, allocations: 86.99 MB / 0.6801 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002892/0.1809, allocations: 1.455 MB / 0.6815 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.1832, allocations: 1.906 MB / 0.6834 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.1832, allocations: 3.938 kB / 0.6834 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009534/0.1842, allocations: 370 kB / 0.6837 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.424e-05/0.1843, allocations: 19.91 kB / 0.6837 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.256e-06/0.1843, allocations: 4 kB / 0.6837 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.1845, allocations: 139.1 kB / 0.6839 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.1846, allocations: 17.5 kB / 0.6839 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.349e-05/0.1846, allocations: 47.8 kB / 0.6839 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1847, allocations: 59.77 kB / 0.684 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.1848, allocations: 4 kB / 0.684 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.1852, allocations: 179.9 kB / 0.6842 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.1853, allocations: 31.84 kB / 0.6842 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.554e-05/0.1854, allocations: 71.55 kB / 0.6843 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.1856, allocations: 211.5 kB / 0.6845 GB, free: 12.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1856, allocations: 0 / 0.6845 GB, free: 12.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1857, allocations: 0 / 0.6845 GB, free: 12.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.1857, allocations: 4 kB / 0.6845 GB, free: 12.68 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006883/0.1864, allocations: 490.6 kB / 0.6849 GB, free: 12.15 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1864, allocations: 8.031 kB / 0.685 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.1866, allocations: 96.03 kB / 0.685 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.1868, allocations: 291.3 kB / 0.6853 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/0.1869, allocations: 162.9 kB / 0.6855 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.1869, allocations: 150.9 kB / 0.6856 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.061e-05/0.187, allocations: 109.1 kB / 0.6857 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.187, allocations: 79.27 kB / 0.6858 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.902e-05/0.1871, allocations: 150.6 kB / 0.6859 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.346e-05/0.1872, allocations: 150.6 kB / 0.6861 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.992e-05/0.1872, allocations: 158.5 kB / 0.6862 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.1876, allocations: 0.5055 MB / 0.6867 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.055e-05/0.1877, allocations: 169.1 kB / 0.6869 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.334e-05/0.1877, allocations: 80.14 kB / 0.687 GB, free: 9.961 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.1878, allocations: 79.28 kB / 0.687 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/0.1878, allocations: 117.8 kB / 0.6872 GB, free: 9.758 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1878, allocations: 0 / 0.6872 GB, free: 9.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001702/0.188, allocations: 49.5 kB / 0.6872 GB, free: 9.703 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.1881, allocations: 126.7 kB / 0.6873 GB, free: 9.566 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.1884, allocations: 326.3 kB / 0.6876 GB, free: 9.238 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1884, allocations: 25.7 kB / 0.6877 GB, free: 9.207 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.1885, allocations: 116.5 kB / 0.6878 GB, free: 9.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-06/0.1885, allocations: 0 / 0.6878 GB, free: 9.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.941e-05/0.1886, allocations: 65.67 kB / 0.6878 GB, free: 9.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1887, allocations: 330.8 kB / 0.6882 GB, free: 8.688 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.1888, allocations: 63.95 kB / 0.6882 GB, free: 8.625 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.189, allocations: 125.8 kB / 0.6883 GB, free: 8.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.1892, allocations: 209.9 kB / 0.6885 GB, free: 8.254 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1892, allocations: 0 / 0.6885 GB, free: 8.254 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004124/0.1896, allocations: 241.1 kB / 0.6888 GB, free: 8.012 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1896, allocations: 8 kB / 0.6888 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1897, allocations: 3.938 kB / 0.6888 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1897, allocations: 4 kB / 0.6888 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/0.1897, allocations: 4.219 kB / 0.6888 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.1897, allocations: 4 kB / 0.6888 GB, free: 7.988 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.1898, allocations: 23.62 kB / 0.6888 GB, free: 7.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.1898, allocations: 8 kB / 0.6888 GB, free: 7.957 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0002391/0.1901, allocations: 226.4 kB / 0.689 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.772e-05/0.1902, allocations: 124.6 kB / 0.6891 GB, free: 7.598 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.64e-05/0.1902, allocations: 113.8 kB / 0.6893 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-05/0.1903, allocations: 184.2 kB / 0.6894 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.757e-05/0.1904, allocations: 180.3 kB / 0.6896 GB, free: 7.105 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7e-05/0.1905, allocations: 180.3 kB / 0.6898 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.1908, allocations: 453.1 kB / 0.6902 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.405e-05/0.1908, allocations: 101 kB / 0.6903 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.1909, allocations: 116.9 kB / 0.6904 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-05/0.1909, allocations: 180.2 kB / 0.6906 GB, free: 6.012 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.447e-05/0.191, allocations: 176.3 kB / 0.6908 GB, free: 5.832 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.459e-05/0.1911, allocations: 180.2 kB / 0.6909 GB, free: 5.648 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-05/0.1912, allocations: 184.3 kB / 0.6911 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.1914, allocations: 327.6 kB / 0.6914 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.1915, allocations: 193.8 kB / 0.6916 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.1917, allocations: 180.2 kB / 0.6918 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.1918, allocations: 113 kB / 0.6919 GB, free: 4.602 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.123e-05/0.1919, allocations: 180.2 kB / 0.6921 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/0.192, allocations: 105 kB / 0.6922 GB, free: 4.309 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002094/0.1922, allocations: 217.9 kB / 0.6924 GB, free: 4.102 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1922, allocations: 0 / 0.6924 GB, free: 4.102 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003792/0.1926, allocations: 64 kB / 0.6924 GB, free: 4.039 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000362/0.1929, allocations: 282.6 kB / 0.6927 GB, free: 3.754 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.1931, allocations: 99.89 kB / 0.6928 GB, free: 3.656 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1931, allocations: 0 / 0.6928 GB, free: 3.656 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.34e-06/0.1931, allocations: 7.938 kB / 0.6928 GB, free: 3.648 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.1936, allocations: 0.5292 MB / 0.6933 GB, free: 3.113 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005687/0.1942, allocations: 444.6 kB / 0.6937 GB, free: 2.648 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.1945, allocations: 0.7355 MB / 0.6945 GB, free: 1.887 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.955e-05/0.1945, allocations: 15.44 kB / 0.6945 GB, free: 1.871 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1946, allocations: 0 / 0.6945 GB, free: 1.871 MB / 494.1 MB Notification: Performance of Templates: time 0.004366/0.1989, allocations: 2.324 MB / 0.6967 GB, free: 15.55 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_lowCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_lowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_lowCalcHelperMain.o] Error 1