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.001111/0.001111, allocations: 100.1 kB / 15.88 MB, free: 12 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.001157/0.001157, allocations: 197.1 kB / 16.79 MB, free: 6.863 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0022/0.0022, allocations: 283.1 kB / 290.9 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.018/1.018, allocations: 169.2 MB / 0.4984 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 87.25 kB / 0.5951 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1989, allocations: 86.99 MB / 0.6801 GB, free: 1.207 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002576/0.2015, allocations: 1.476 MB / 0.6815 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003032/0.2046, allocations: 2.645 MB / 0.6841 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.2046, allocations: 0 / 0.6841 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.2061, allocations: 0.5521 MB / 0.6846 GB, free: 12.53 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.366e-05/0.2061, allocations: 19.89 kB / 0.6847 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.807e-06/0.2061, allocations: 0 / 0.6847 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.2064, allocations: 167 kB / 0.6848 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.742e-05/0.2065, allocations: 36.39 kB / 0.6849 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.121e-05/0.2065, allocations: 55.73 kB / 0.6849 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.2067, allocations: 79.58 kB / 0.685 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.2067, allocations: 4 kB / 0.685 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.2078, allocations: 495.2 kB / 0.6855 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.713e-05/0.2078, allocations: 39.78 kB / 0.6855 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.208, allocations: 95.42 kB / 0.6856 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.2083, allocations: 286.9 kB / 0.6859 GB, free: 11.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2083, allocations: 0 / 0.6859 GB, free: 11.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.2083, allocations: 0 / 0.6859 GB, free: 11.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.2083, allocations: 0 / 0.6859 GB, free: 11.27 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.0007569/0.2091, allocations: 0.5568 MB / 0.6864 GB, free: 10.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.2091, allocations: 8.031 kB / 0.6864 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.2093, allocations: 107.9 kB / 0.6865 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.2096, allocations: 306.2 kB / 0.6868 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.271e-05/0.2096, allocations: 150.9 kB / 0.687 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.844e-05/0.2097, allocations: 162.9 kB / 0.6871 GB, free: 9.906 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.867e-05/0.2098, allocations: 101.5 kB / 0.6872 GB, free: 9.801 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/0.2098, allocations: 79.45 kB / 0.6873 GB, free: 9.723 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/0.2099, allocations: 158.5 kB / 0.6874 GB, free: 9.566 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.603e-05/0.2099, allocations: 150.6 kB / 0.6876 GB, free: 9.418 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.063e-05/0.21, allocations: 150.6 kB / 0.6877 GB, free: 9.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.2104, allocations: 0.5328 MB / 0.6882 GB, free: 8.688 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.426e-05/0.2105, allocations: 177.1 kB / 0.6884 GB, free: 8.504 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.2105, allocations: 80.14 kB / 0.6885 GB, free: 8.422 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.2105, allocations: 75.28 kB / 0.6886 GB, free: 8.348 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/0.2106, allocations: 109.8 kB / 0.6887 GB, free: 8.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.2106, allocations: 0 / 0.6887 GB, free: 8.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001688/0.2108, allocations: 57.3 kB / 0.6887 GB, free: 8.168 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.2109, allocations: 134.7 kB / 0.6888 GB, free: 8.023 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004217/0.2113, allocations: 429.2 kB / 0.6893 GB, free: 7.594 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.2113, allocations: 29.64 kB / 0.6893 GB, free: 7.559 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.554e-05/0.2114, allocations: 136.5 kB / 0.6894 GB, free: 7.422 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-06/0.2114, allocations: 0 / 0.6894 GB, free: 7.422 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-05/0.2115, allocations: 89.66 kB / 0.6895 GB, free: 7.328 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.2117, allocations: 342.8 kB / 0.6898 GB, free: 6.984 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.2118, allocations: 100.5 kB / 0.6899 GB, free: 6.887 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.212, allocations: 165.3 kB / 0.6901 GB, free: 6.707 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.2123, allocations: 301.6 kB / 0.6904 GB, free: 6.391 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2123, allocations: 0 / 0.6904 GB, free: 6.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004969/0.2128, allocations: 329 kB / 0.6907 GB, free: 6.062 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2128, allocations: 4 kB / 0.6907 GB, free: 6.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.2129, allocations: 7.938 kB / 0.6907 GB, free: 6.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2129, allocations: 3.984 kB / 0.6907 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.618e-06/0.2129, allocations: 7.938 kB / 0.6907 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.2129, allocations: 0 / 0.6907 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.213, allocations: 43.28 kB / 0.6907 GB, free: 5.996 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.213, allocations: 4 kB / 0.6907 GB, free: 5.992 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.000257/0.2133, allocations: 246.6 kB / 0.691 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.317e-05/0.2134, allocations: 128.6 kB / 0.6911 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.193e-05/0.2135, allocations: 122.9 kB / 0.6912 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.889e-05/0.2135, allocations: 176.3 kB / 0.6914 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.13e-05/0.2136, allocations: 184.1 kB / 0.6916 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-05/0.2137, allocations: 180.3 kB / 0.6917 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.214, allocations: 485.2 kB / 0.6922 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.727e-05/0.2141, allocations: 109 kB / 0.6923 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/0.2141, allocations: 105 kB / 0.6924 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.638e-05/0.2142, allocations: 180.2 kB / 0.6926 GB, free: 3.992 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.871e-05/0.2143, allocations: 188.2 kB / 0.6928 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.033e-05/0.2143, allocations: 184.2 kB / 0.6929 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-05/0.2144, allocations: 176.3 kB / 0.6931 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.2146, allocations: 327.4 kB / 0.6934 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.2147, allocations: 197.8 kB / 0.6936 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.2149, allocations: 192.1 kB / 0.6938 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.215, allocations: 105 kB / 0.6939 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.167e-05/0.2151, allocations: 180.2 kB / 0.6941 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.397e-05/0.2152, allocations: 101 kB / 0.6942 GB, free: 2.277 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003124/0.2155, allocations: 283.1 kB / 0.6944 GB, free: 2.004 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2155, allocations: 0 / 0.6944 GB, free: 2.004 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004367/0.2159, allocations: 79.98 kB / 0.6945 GB, free: 1.926 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.0003842/0.2163, allocations: 297.1 kB / 0.6948 GB, free: 1.629 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002418/0.2166, allocations: 167.8 kB / 0.6949 GB, free: 1.465 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2166, allocations: 0 / 0.6949 GB, free: 1.465 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.2166, allocations: 3.938 kB / 0.6949 GB, free: 1.461 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.2171, allocations: 0.5335 MB / 0.6955 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007088/0.2178, allocations: 0.5588 MB / 0.696 GB, free: 340 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.2182, allocations: 0.7707 MB / 0.6968 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.083e-05/0.2182, allocations: 11.44 kB / 0.6968 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.2182, allocations: 0 / 0.6968 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.004719/0.2229, allocations: 3.056 MB / 0.6998 GB, free: 12.47 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