Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.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_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007834/0.0007832, allocations: 92.08 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.0008451/0.0008452, allocations: 182.3 kB / 16.92 MB, free: 6.926 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.314/1.314, allocations: 223.2 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001753/0.001753, allocations: 262.6 kB / 292.3 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9399/0.9399, allocations: 169.5 MB / 0.501 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004428/0.0004429, allocations: 17.75 kB / 0.5993 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.174, allocations: 88.55 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001541/0.1756, allocations: 1.13 MB / 0.6869 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002896/0.1785, allocations: 2.6 MB / 0.6894 GB, free: 11.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.82e-05/0.1785, allocations: 1.719 kB / 0.6894 GB, free: 11.35 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.1798, allocations: 0.5479 MB / 0.69 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.534e-05/0.1798, allocations: 25.41 kB / 0.69 GB, free: 10.78 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.437e-06/0.1798, allocations: 0 / 0.69 GB, free: 10.78 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.1801, allocations: 174.9 kB / 0.6901 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.222e-05/0.1802, allocations: 31.16 kB / 0.6902 GB, free: 10.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.043e-05/0.1802, allocations: 51.73 kB / 0.6902 GB, free: 10.54 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.1804, allocations: 85.3 kB / 0.6903 GB, free: 10.45 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.1804, allocations: 0 / 0.6903 GB, free: 10.45 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000884/0.1813, allocations: 491.2 kB / 0.6908 GB, free: 9.973 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.1813, allocations: 35.78 kB / 0.6908 GB, free: 9.938 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.1815, allocations: 121.1 kB / 0.6909 GB, free: 9.812 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.1818, allocations: 294.8 kB / 0.6912 GB, free: 9.523 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1818, allocations: 0 / 0.6912 GB, free: 9.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1818, allocations: 0 / 0.6912 GB, free: 9.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1818, allocations: 0 / 0.6912 GB, free: 9.523 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.0006887/0.1825, allocations: 0.5396 MB / 0.6917 GB, free: 8.934 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1826, allocations: 8.031 kB / 0.6917 GB, free: 8.926 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.1827, allocations: 107.8 kB / 0.6918 GB, free: 8.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.183, allocations: 310.3 kB / 0.6921 GB, free: 8.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.724e-05/0.183, allocations: 150.9 kB / 0.6923 GB, free: 8.332 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/0.1831, allocations: 158.9 kB / 0.6924 GB, free: 8.176 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.109e-05/0.1832, allocations: 109.5 kB / 0.6925 GB, free: 8.062 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.1832, allocations: 75.47 kB / 0.6926 GB, free: 7.988 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.869e-05/0.1833, allocations: 158.4 kB / 0.6928 GB, free: 7.832 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.458e-05/0.1833, allocations: 154.6 kB / 0.6929 GB, free: 7.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.818e-05/0.1834, allocations: 150.6 kB / 0.6931 GB, free: 7.531 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.1837, allocations: 0.5328 MB / 0.6936 GB, free: 6.949 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.187e-05/0.1838, allocations: 169.1 kB / 0.6937 GB, free: 6.773 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.1839, allocations: 84.14 kB / 0.6938 GB, free: 6.688 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.1839, allocations: 75.28 kB / 0.6939 GB, free: 6.613 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/0.184, allocations: 113.8 kB / 0.694 GB, free: 6.492 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.184, allocations: 0 / 0.694 GB, free: 6.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001768/0.1841, allocations: 57.27 kB / 0.6941 GB, free: 6.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.1842, allocations: 126.7 kB / 0.6942 GB, free: 6.293 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004165/0.1846, allocations: 437.2 kB / 0.6946 GB, free: 5.855 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1846, allocations: 29.7 kB / 0.6946 GB, free: 5.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.179e-05/0.1847, allocations: 128.5 kB / 0.6947 GB, free: 5.691 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.1847, allocations: 0 / 0.6947 GB, free: 5.691 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.376e-05/0.1848, allocations: 77.66 kB / 0.6948 GB, free: 5.609 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1849, allocations: 338.8 kB / 0.6951 GB, free: 5.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.1851, allocations: 96.5 kB / 0.6952 GB, free: 5.176 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.1852, allocations: 165.3 kB / 0.6954 GB, free: 4.996 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.1855, allocations: 305.6 kB / 0.6957 GB, free: 4.676 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1855, allocations: 0 / 0.6957 GB, free: 4.676 MB / 494.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004754/0.186, allocations: 328.9 kB / 0.696 GB, free: 4.348 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.186, allocations: 8 kB / 0.696 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.186, allocations: 4.156 kB / 0.696 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1861, allocations: 8 kB / 0.696 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-06/0.1861, allocations: 0 / 0.696 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1861, allocations: 7.938 kB / 0.696 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.1862, allocations: 43.38 kB / 0.6961 GB, free: 4.277 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.1862, allocations: 7.984 kB / 0.6961 GB, free: 4.27 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.0002136/0.1864, allocations: 238.4 kB / 0.6963 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.631e-05/0.1865, allocations: 128.5 kB / 0.6964 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.059e-05/0.1866, allocations: 122.8 kB / 0.6965 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.015e-05/0.1867, allocations: 180.2 kB / 0.6967 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.619e-05/0.1867, allocations: 184.2 kB / 0.6969 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.089e-05/0.1868, allocations: 180.3 kB / 0.6971 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.1871, allocations: 473.3 kB / 0.6975 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.213e-05/0.1871, allocations: 116.9 kB / 0.6976 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.672e-05/0.1872, allocations: 101 kB / 0.6977 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.129e-05/0.1872, allocations: 188.2 kB / 0.6979 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.639e-05/0.1873, allocations: 184.2 kB / 0.6981 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.577e-05/0.1873, allocations: 180.2 kB / 0.6982 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.214e-05/0.1874, allocations: 176.3 kB / 0.6984 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.1876, allocations: 331.5 kB / 0.6987 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.025e-05/0.1876, allocations: 197.8 kB / 0.6989 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.724e-05/0.1877, allocations: 184.1 kB / 0.6991 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.1879, allocations: 105 kB / 0.6992 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.1879, allocations: 184.3 kB / 0.6994 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.03e-05/0.188, allocations: 108.9 kB / 0.6995 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002534/0.1883, allocations: 275.1 kB / 0.6997 GB, free: 300 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1883, allocations: 0 / 0.6997 GB, free: 300 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003392/0.1886, allocations: 76 kB / 0.6998 GB, free: 224 kB / 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.000345/0.189, allocations: 302.3 kB / 0.7001 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.1892, allocations: 163.9 kB / 0.7002 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1892, allocations: 0 / 0.7002 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.1892, allocations: 0 / 0.7002 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.1896, allocations: 0.5345 MB / 0.7008 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006276/0.1902, allocations: 0.5773 MB / 0.7013 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.1906, allocations: 0.7707 MB / 0.7021 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.1906, allocations: 11.44 kB / 0.7021 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1906, allocations: 0 / 0.7021 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.004449/0.1951, allocations: 3.035 MB / 0.7051 GB, free: 10.77 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.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_medCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_medCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_medCalcHelperMain.o] Error 1