Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0007759/0.000776, allocations: 94.56 kB / 16.33 MB, free: 6.066 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.0008247/0.0008247, allocations: 181.1 kB / 17.22 MB, free: 5.945 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.54/1.54, allocations: 223.2 MB / 241.2 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7281/0.7281, allocations: 114.4 MB / 406.7 MB, free: 3.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003958, allocations: 13.97 kB / 494.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1879, allocations: 77.26 MB / 0.5583 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001589/0.1895, allocations: 1.113 MB / 0.5594 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.1923, allocations: 2.431 MB / 0.5618 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/0.1923, allocations: 0 / 0.5618 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.1936, allocations: 0.5208 MB / 0.5623 GB, free: 6.855 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.509e-05/0.1937, allocations: 23.91 kB / 0.5623 GB, free: 6.832 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.825e-06/0.1937, allocations: 0 / 0.5623 GB, free: 6.832 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.1939, allocations: 159 kB / 0.5625 GB, free: 6.676 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.74e-05/0.194, allocations: 36.39 kB / 0.5625 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.154e-05/0.1941, allocations: 55.73 kB / 0.5626 GB, free: 6.586 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.1942, allocations: 79.66 kB / 0.5626 GB, free: 6.508 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.1942, allocations: 0 / 0.5626 GB, free: 6.508 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009041/0.1951, allocations: 431.3 kB / 0.563 GB, free: 6.086 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.6e-05/0.1952, allocations: 39.83 kB / 0.5631 GB, free: 6.047 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.642e-05/0.1953, allocations: 61.58 kB / 0.5631 GB, free: 5.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003401/0.1956, allocations: 299 kB / 0.5634 GB, free: 5.688 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1956, allocations: 0 / 0.5634 GB, free: 5.688 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1956, allocations: 0 / 0.5634 GB, free: 5.688 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1956, allocations: 0 / 0.5634 GB, free: 5.688 MB / 430.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.0007112/0.1964, allocations: 0.5333 MB / 0.5639 GB, free: 5.105 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1964, allocations: 8.031 kB / 0.564 GB, free: 5.098 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.1966, allocations: 102.9 kB / 0.5641 GB, free: 4.996 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.1968, allocations: 297.2 kB / 0.5643 GB, free: 4.668 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.026e-05/0.1969, allocations: 150.6 kB / 0.5645 GB, free: 4.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/0.197, allocations: 154.6 kB / 0.5646 GB, free: 4.367 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.951e-05/0.197, allocations: 105 kB / 0.5647 GB, free: 4.258 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.1971, allocations: 79.23 kB / 0.5648 GB, free: 4.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.316e-05/0.1971, allocations: 150.6 kB / 0.5649 GB, free: 4.031 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-05/0.1972, allocations: 158.5 kB / 0.5651 GB, free: 3.875 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.069e-05/0.1973, allocations: 150.6 kB / 0.5652 GB, free: 3.727 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.1976, allocations: 0.5404 MB / 0.5658 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.1978, allocations: 173.1 kB / 0.5659 GB, free: 2.957 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.1978, allocations: 80.14 kB / 0.566 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.1978, allocations: 79.27 kB / 0.5661 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/0.1979, allocations: 121.8 kB / 0.5662 GB, free: 2.668 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1979, allocations: 0 / 0.5662 GB, free: 2.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001747/0.1981, allocations: 53.38 kB / 0.5663 GB, free: 2.609 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.1981, allocations: 126.7 kB / 0.5664 GB, free: 2.473 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.1986, allocations: 429.2 kB / 0.5668 GB, free: 2.047 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.1986, allocations: 25.7 kB / 0.5668 GB, free: 2.016 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.477e-05/0.1987, allocations: 136.5 kB / 0.5669 GB, free: 1.879 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-06/0.1988, allocations: 0 / 0.5669 GB, free: 1.879 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.1988, allocations: 0 / 0.5669 GB, free: 1.879 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1989, allocations: 346.8 kB / 0.5673 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.199, allocations: 104.4 kB / 0.5674 GB, free: 1.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.1992, allocations: 165.4 kB / 0.5675 GB, free: 1.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.1994, allocations: 123.8 kB / 0.5676 GB, free: 1.129 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1994, allocations: 4 kB / 0.5676 GB, free: 1.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005025/0.1999, allocations: 321 kB / 0.568 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1999, allocations: 4 kB / 0.568 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.1999, allocations: 0 / 0.568 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.2, allocations: 7.938 kB / 0.568 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.771e-06/0.2, allocations: 11.89 kB / 0.568 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2, allocations: 0 / 0.568 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.2001, allocations: 43.28 kB / 0.568 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.2001, allocations: 4 kB / 0.568 GB, free: 0.7344 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002181/0.2004, allocations: 249 kB / 0.5683 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.238e-05/0.2004, allocations: 128.6 kB / 0.5684 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.414e-05/0.2005, allocations: 115 kB / 0.5685 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.319e-05/0.2006, allocations: 176.3 kB / 0.5687 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.491e-05/0.2007, allocations: 184.2 kB / 0.5688 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.89e-05/0.2007, allocations: 184.2 kB / 0.569 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.201, allocations: 477.1 kB / 0.5695 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.114e-05/0.2011, allocations: 105 kB / 0.5696 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.264e-05/0.2011, allocations: 101 kB / 0.5697 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-05/0.2012, allocations: 180.2 kB / 0.5698 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.712e-05/0.2013, allocations: 180.2 kB / 0.57 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.707e-05/0.2013, allocations: 188.2 kB / 0.5702 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.197e-05/0.2014, allocations: 184.2 kB / 0.5704 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.2015, allocations: 319.4 kB / 0.5707 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.2017, allocations: 209.7 kB / 0.5709 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.11e-05/0.2018, allocations: 188.2 kB / 0.571 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.2019, allocations: 105 kB / 0.5711 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.202, allocations: 180.2 kB / 0.5713 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/0.202, allocations: 105.3 kB / 0.5714 GB, free: 13.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002625/0.2023, allocations: 275.1 kB / 0.5717 GB, free: 12.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2023, allocations: 0 / 0.5717 GB, free: 12.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003945/0.2027, allocations: 79.95 kB / 0.5718 GB, free: 12.69 MB / 446.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 (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.0003569/0.2031, allocations: 305.9 kB / 0.572 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.2033, allocations: 167.8 kB / 0.5722 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.2033, allocations: 4 kB / 0.5722 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.036e-06/0.2033, allocations: 3.938 kB / 0.5722 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.2037, allocations: 0.5282 MB / 0.5727 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006435/0.2044, allocations: 0.5417 MB / 0.5733 GB, free: 11.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.2047, allocations: 0.7746 MB / 0.574 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.2047, allocations: 11.44 kB / 0.574 GB, free: 10.29 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.2047, allocations: 0 / 0.574 GB, free: 10.29 MB / 446.1 MB Notification: Performance of Templates: time 0.004789/0.2095, allocations: 3.085 MB / 0.577 GB, free: 7.203 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile make -j1 -f IBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_medCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_medCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_medCalcHelperMain.o] Error 1