Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009948/0.0009948, allocations: 102.2 kB / 15.71 MB, free: 460 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.001321/0.001321, allocations: 175.4 kB / 16.58 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.873/1.873, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.904/1.904, allocations: 292.7 MB / 0.5505 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005742/0.0005743, allocations: 12.78 kB / 0.6744 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3131, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002121/0.3153, allocations: 1.127 MB / 0.789 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00365/0.319, allocations: 2.431 MB / 0.7914 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.3191, allocations: 0 / 0.7914 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002096/0.3212, allocations: 0.513 MB / 0.7919 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.903e-05/0.3213, allocations: 15.91 kB / 0.7919 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.887e-06/0.3213, allocations: 0 / 0.7919 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000277/0.3216, allocations: 166.9 kB / 0.7921 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.059e-05/0.3217, allocations: 32.41 kB / 0.7921 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.828e-05/0.3218, allocations: 55.75 kB / 0.7922 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.3219, allocations: 83.58 kB / 0.7922 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.322, allocations: 4 kB / 0.7922 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.3233, allocations: 419.4 kB / 0.7926 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.3234, allocations: 35.84 kB / 0.7927 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.443e-05/0.3235, allocations: 69.52 kB / 0.7927 GB, free: 7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004246/0.3239, allocations: 303 kB / 0.793 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3239, allocations: 0 / 0.793 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.755e-06/0.3239, allocations: 0 / 0.793 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3239, allocations: 0 / 0.793 GB, free: 6.703 MB / 0.6075 GB 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.0007895/0.3247, allocations: 0.5371 MB / 0.7936 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.3248, allocations: 8.031 kB / 0.7936 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.325, allocations: 103 kB / 0.7937 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.3252, allocations: 301 kB / 0.7939 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/0.3253, allocations: 150.6 kB / 0.7941 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.789e-05/0.3254, allocations: 166.5 kB / 0.7942 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.509e-05/0.3255, allocations: 101 kB / 0.7943 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-05/0.3255, allocations: 75.28 kB / 0.7944 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.3256, allocations: 150.6 kB / 0.7946 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.958e-05/0.3257, allocations: 154.6 kB / 0.7947 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.941e-05/0.3257, allocations: 154.5 kB / 0.7949 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.3262, allocations: 0.5366 MB / 0.7954 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.3263, allocations: 173.1 kB / 0.7955 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.3264, allocations: 84.08 kB / 0.7956 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.3264, allocations: 75.28 kB / 0.7957 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.184e-05/0.3265, allocations: 109.8 kB / 0.7958 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3265, allocations: 0 / 0.7958 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001758/0.3266, allocations: 53.42 kB / 0.7959 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.3267, allocations: 130.6 kB / 0.796 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.3272, allocations: 429.2 kB / 0.7964 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.3272, allocations: 25.7 kB / 0.7964 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.3273, allocations: 136.5 kB / 0.7965 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.3274, allocations: 0 / 0.7965 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.3274, allocations: 4 kB / 0.7965 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3275, allocations: 338.8 kB / 0.7969 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.3277, allocations: 100.5 kB / 0.797 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.3279, allocations: 157.3 kB / 0.7971 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.328, allocations: 131.8 kB / 0.7972 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.328, allocations: 0 / 0.7972 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005351/0.3286, allocations: 332.8 kB / 0.7976 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.3286, allocations: 4 kB / 0.7976 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.3286, allocations: 4 kB / 0.7976 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3286, allocations: 0 / 0.7976 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.945e-06/0.3287, allocations: 4 kB / 0.7976 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3287, allocations: 0 / 0.7976 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.3288, allocations: 51.28 kB / 0.7976 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.3288, allocations: 4 kB / 0.7976 GB, free: 1.746 MB / 0.6075 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002449/0.3291, allocations: 249.9 kB / 0.7979 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.3292, allocations: 124.7 kB / 0.798 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.083e-05/0.3293, allocations: 111 kB / 0.7981 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-05/0.3294, allocations: 184.2 kB / 0.7983 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.923e-05/0.3295, allocations: 184.2 kB / 0.7984 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.859e-05/0.3296, allocations: 192.2 kB / 0.7986 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.3299, allocations: 469.2 kB / 0.7991 GB, free: 164 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.182e-05/0.33, allocations: 104.9 kB / 0.7992 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.4e-05/0.33, allocations: 105 kB / 0.7993 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.907e-05/0.3301, allocations: 180.2 kB / 0.7994 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.697e-05/0.3302, allocations: 188.2 kB / 0.7996 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.8e-05/0.3303, allocations: 180.2 kB / 0.7998 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.793e-05/0.3304, allocations: 184.2 kB / 0.8 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.3306, allocations: 323.5 kB / 0.8003 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.3307, allocations: 202 kB / 0.8005 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.3308, allocations: 188.2 kB / 0.8006 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.331, allocations: 109 kB / 0.8008 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3311, allocations: 180.2 kB / 0.8009 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-05/0.3311, allocations: 113 kB / 0.801 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002797/0.3314, allocations: 267.1 kB / 0.8013 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3314, allocations: 0 / 0.8013 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004406/0.3319, allocations: 87.92 kB / 0.8014 GB, free: 13.68 MB / 0.6231 GB 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 (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.0004801/0.3324, allocations: 306.1 kB / 0.8017 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.3326, allocations: 163.8 kB / 0.8018 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3326, allocations: 0 / 0.8018 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.176e-06/0.3326, allocations: 3.984 kB / 0.8018 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.3331, allocations: 0.5321 MB / 0.8023 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007256/0.3338, allocations: 0.5418 MB / 0.8029 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.3342, allocations: 0.7785 MB / 0.8036 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.3342, allocations: 11.44 kB / 0.8036 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.3343, allocations: 0 / 0.8036 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of Templates: time 0.005367/0.3396, allocations: 3.088 MB / 0.8067 GB, free: 8.195 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile make -j1 -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_medCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_medCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_medCalcHelperMain.o] Error 1