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.001222/0.001222, allocations: 96.14 kB / 15.87 MB, free: 16 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.001258/0.001258, allocations: 191.2 kB / 16.79 MB, free: 6.812 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.831/1.831, allocations: 205.1 MB / 222.6 MB, free: 4.984 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.84/1.84, allocations: 292.3 MB / 0.5491 GB, free: 13.67 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.001333/0.001333, allocations: 71.12 kB / 0.6715 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3036, allocations: 114.5 MB / 0.7833 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002875/0.3065, allocations: 1.488 MB / 0.7848 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003175/0.3097, allocations: 2.643 MB / 0.7874 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.974e-05/0.3097, allocations: 0 / 0.7874 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001498/0.3112, allocations: 0.5444 MB / 0.7879 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.698e-05/0.3113, allocations: 19.91 kB / 0.7879 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.937e-06/0.3113, allocations: 0 / 0.7879 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.3116, allocations: 178.9 kB / 0.7881 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.796e-05/0.3117, allocations: 36.41 kB / 0.7881 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.707e-05/0.3117, allocations: 51.73 kB / 0.7882 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.3119, allocations: 83.53 kB / 0.7882 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.3119, allocations: 0 / 0.7882 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.313, allocations: 495.2 kB / 0.7887 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.851e-05/0.313, allocations: 35.84 kB / 0.7887 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.3132, allocations: 99.34 kB / 0.7888 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.3135, allocations: 298.8 kB / 0.7891 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3135, allocations: 0 / 0.7891 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.41e-07/0.3135, allocations: 0 / 0.7891 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.3135, allocations: 0 / 0.7891 GB, free: 8.051 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.0007783/0.3143, allocations: 0.5412 MB / 0.7897 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3144, allocations: 12.03 kB / 0.7897 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.3145, allocations: 99.84 kB / 0.7898 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.3148, allocations: 306.4 kB / 0.7901 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.588e-05/0.3149, allocations: 154.9 kB / 0.7902 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.029e-05/0.315, allocations: 158.9 kB / 0.7904 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.066e-05/0.3151, allocations: 105.5 kB / 0.7905 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.472e-05/0.3151, allocations: 75.47 kB / 0.7905 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/0.3152, allocations: 162.5 kB / 0.7907 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.397e-05/0.3152, allocations: 150.6 kB / 0.7908 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.765e-05/0.3153, allocations: 158.5 kB / 0.791 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.3157, allocations: 0.5289 MB / 0.7915 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.3159, allocations: 173.1 kB / 0.7917 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/0.3159, allocations: 84.14 kB / 0.7917 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.316, allocations: 75.28 kB / 0.7918 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.399e-05/0.316, allocations: 105.8 kB / 0.7919 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.316, allocations: 0 / 0.7919 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001871/0.3162, allocations: 65.25 kB / 0.792 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/0.3163, allocations: 126.7 kB / 0.7921 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000457/0.3168, allocations: 437.2 kB / 0.7925 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.3168, allocations: 25.7 kB / 0.7925 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.069e-05/0.3169, allocations: 132.5 kB / 0.7927 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.021e-06/0.3169, allocations: 0 / 0.7927 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.317, allocations: 93.59 kB / 0.7927 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3172, allocations: 338.8 kB / 0.7931 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.3173, allocations: 104.5 kB / 0.7932 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.3175, allocations: 161.3 kB / 0.7933 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.3179, allocations: 309.6 kB / 0.7936 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.3179, allocations: 4 kB / 0.7936 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004855/0.3184, allocations: 324.9 kB / 0.7939 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3184, allocations: 8.219 kB / 0.7939 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3184, allocations: 11.88 kB / 0.794 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3184, allocations: 4 kB / 0.794 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.3184, allocations: 0 / 0.794 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.3185, allocations: 7.938 kB / 0.794 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.3186, allocations: 39.38 kB / 0.794 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.3186, allocations: 11.98 kB / 0.794 GB, free: 2.762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002692/0.3189, allocations: 241 kB / 0.7942 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.393e-05/0.319, allocations: 132.6 kB / 0.7944 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.622e-05/0.3191, allocations: 114.8 kB / 0.7945 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.463e-05/0.3192, allocations: 184.2 kB / 0.7947 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.209e-05/0.3192, allocations: 184.2 kB / 0.7948 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.662e-05/0.3193, allocations: 176.3 kB / 0.795 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.3197, allocations: 477.2 kB / 0.7955 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.936e-05/0.3197, allocations: 104.9 kB / 0.7956 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.3198, allocations: 105 kB / 0.7957 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.723e-05/0.3199, allocations: 184.2 kB / 0.7958 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.309e-05/0.3199, allocations: 184.2 kB / 0.796 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.866e-05/0.32, allocations: 176.3 kB / 0.7962 GB, free: 416 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.121e-05/0.3201, allocations: 188.2 kB / 0.7964 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.3203, allocations: 319.5 kB / 0.7967 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.3205, allocations: 205.7 kB / 0.7969 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.3206, allocations: 180.2 kB / 0.797 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.3207, allocations: 112.9 kB / 0.7971 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.129e-05/0.3208, allocations: 180.6 kB / 0.7973 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.3209, allocations: 108.9 kB / 0.7974 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002795/0.3212, allocations: 279.1 kB / 0.7977 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3212, allocations: 0 / 0.7977 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003959/0.3216, allocations: 80 kB / 0.7978 GB, free: 14.71 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 (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.0004349/0.322, allocations: 305 kB / 0.798 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.3223, allocations: 167.9 kB / 0.7982 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3223, allocations: 0 / 0.7982 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.3223, allocations: 0 / 0.7982 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.3228, allocations: 0.5277 MB / 0.7987 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000729/0.3235, allocations: 0.5601 MB / 0.7993 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.3239, allocations: 0.7785 MB / 0.8 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.806e-05/0.3239, allocations: 7.438 kB / 0.8 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.3239, allocations: 0 / 0.8 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.00493/0.3289, allocations: 3.04 MB / 0.803 GB, free: 9.262 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++ -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 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