Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007495/0.007495, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.00131/0.00131, allocations: 192 kB / 16.79 MB, free: 5.809 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.839/1.839, allocations: 205.1 MB / 222.6 MB, free: 4.746 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.816/1.816, allocations: 292.3 MB / 0.5491 GB, free: 13.58 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.001933/0.001933, allocations: 66.77 kB / 0.6715 GB, free: 26.53 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3317, allocations: 114.5 MB / 0.7833 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.00312/0.3348, allocations: 1.497 MB / 0.7848 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007988/0.3357, allocations: 416.6 kB / 0.7852 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.3357, allocations: 4 kB / 0.7852 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.833e-05/0.3358, allocations: 0 / 0.7852 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.401e-05/0.3358, allocations: 3.938 kB / 0.7852 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.3362, allocations: 83.83 kB / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.601e-05/0.3362, allocations: 15.94 kB / 0.7853 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.521e-05/0.3363, allocations: 11.98 kB / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.583e-05/0.3364, allocations: 11.98 kB / 0.7853 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.219e-05/0.3364, allocations: 19.91 kB / 0.7853 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.3365, allocations: 0 / 0.7853 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000426/0.3369, allocations: 267.7 kB / 0.7856 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.3369, allocations: 7.938 kB / 0.7856 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.3369, allocations: 15.92 kB / 0.7856 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.3371, allocations: 63.89 kB / 0.7857 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3371, allocations: 3.984 kB / 0.7857 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.62e-07/0.3371, allocations: 0 / 0.7857 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.3371, allocations: 4 kB / 0.7857 GB, free: 11.59 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005475/0.3377, allocations: 359.7 kB / 0.786 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3377, allocations: 12.03 kB / 0.786 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.27e-05/0.3378, allocations: 0.9375 kB / 0.786 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.3379, allocations: 168.3 kB / 0.7862 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.3379, allocations: 4.359 kB / 0.7862 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.338, allocations: 4.312 kB / 0.7862 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.3381, allocations: 46.25 kB / 0.7862 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.3382, allocations: 192 / 0.7862 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.3382, allocations: 7.938 kB / 0.7862 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.3382, allocations: 7.984 kB / 0.7863 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.3384, allocations: 27.97 kB / 0.7863 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.3387, allocations: 253 kB / 0.7865 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.3389, allocations: 42.44 kB / 0.7866 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.965e-05/0.339, allocations: 24.91 kB / 0.7866 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007188/0.3397, allocations: 457.5 kB / 0.787 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.3397, allocations: 34.56 kB / 0.7871 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3397, allocations: 4 kB / 0.7871 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004418/0.3402, allocations: 81.64 kB / 0.7871 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.3402, allocations: 51.41 kB / 0.7872 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.184e-05/0.3403, allocations: 113.7 kB / 0.7873 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.3403, allocations: 29.83 kB / 0.7873 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/0.3404, allocations: 88.05 kB / 0.7874 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.3404, allocations: 11.86 kB / 0.7874 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.3405, allocations: 13.72 kB / 0.7874 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3406, allocations: 318.8 kB / 0.7877 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.968e-05/0.3407, allocations: 15.98 kB / 0.7878 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.936e-05/0.3408, allocations: 15.98 kB / 0.7878 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.3409, allocations: 44.88 kB / 0.7878 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3409, allocations: 0 / 0.7878 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002002/0.3411, allocations: 69.52 kB / 0.7879 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3412, allocations: 4 kB / 0.7879 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3412, allocations: 0 / 0.7879 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3412, allocations: 4.031 kB / 0.7879 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.404e-05/0.3413, allocations: 15.92 kB / 0.7879 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3413, allocations: 0 / 0.7879 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.923e-05/0.3413, allocations: 11.98 kB / 0.7879 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.3414, allocations: 0 / 0.7879 GB, free: 8.98 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 8.572e-05/0.3415, allocations: 113.8 kB / 0.788 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.3415, allocations: 0 / 0.788 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.3417, allocations: 77.19 kB / 0.7881 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3417, allocations: 0 / 0.7881 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3418, allocations: 0 / 0.7881 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3418, allocations: 3.984 kB / 0.7881 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.342, allocations: 161.9 kB / 0.7883 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.342, allocations: 4 kB / 0.7883 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.342, allocations: 7.984 kB / 0.7883 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.342, allocations: 3.938 kB / 0.7883 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.342, allocations: 4 kB / 0.7883 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3421, allocations: 4.031 kB / 0.7883 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3421, allocations: 0 / 0.7883 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.3424, allocations: 167.4 kB / 0.7884 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.3424, allocations: 77.11 kB / 0.7885 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.3425, allocations: 0 / 0.7885 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.3425, allocations: 7.984 kB / 0.7885 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.3426, allocations: 12.02 kB / 0.7885 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.3426, allocations: 3.938 kB / 0.7885 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.796e-05/0.3427, allocations: 87.27 kB / 0.7886 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3427, allocations: 0 / 0.7886 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002325/0.3429, allocations: 16 kB / 0.7886 GB, free: 8.141 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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.0001791/0.3431, allocations: 103.2 kB / 0.7887 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002762/0.3434, allocations: 51.89 kB / 0.7888 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3434, allocations: 0 / 0.7888 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.13e-05/0.3435, allocations: 15.98 kB / 0.7888 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.3438, allocations: 11.88 kB / 0.7888 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.3441, allocations: 137 kB / 0.7889 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.3444, allocations: 0.6811 MB / 0.7896 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.3444, allocations: 7.438 kB / 0.7896 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.3444, allocations: 4 kB / 0.7896 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.00213/0.3466, allocations: 0.6962 MB / 0.7903 GB, free: 6.371 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.Utilities.Math.Examples.RegNonZeroPowerCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPowerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPowerCalcHelperMain.o] Error 1