Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008045/0.0008051, allocations: 98.88 kB / 16.02 MB, free: 72 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.001021/0.001021, allocations: 182.7 kB / 16.92 MB, free: 6.914 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.354/1.354, allocations: 223.2 MB / 240.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001679/0.001679, allocations: 278.8 kB / 292.3 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9595/0.9595, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004457/0.0004459, allocations: 15.69 kB / 0.5993 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1793, allocations: 88.55 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0006918/0.18, allocations: 317.9 kB / 0.6861 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007201/0.1807, allocations: 381.2 kB / 0.6865 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.169e-05/0.1808, allocations: 0 / 0.6865 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.1808, allocations: 0 / 0.6865 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.526e-05/0.1808, allocations: 0 / 0.6865 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.1811, allocations: 79.23 kB / 0.6865 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.813e-05/0.1812, allocations: 4 kB / 0.6865 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.1812, allocations: 4 kB / 0.6865 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.823e-05/0.1813, allocations: 3.984 kB / 0.6865 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.358e-05/0.1813, allocations: 11.94 kB / 0.6866 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.1813, allocations: 0 / 0.6866 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003505/0.1817, allocations: 267.7 kB / 0.6868 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.1817, allocations: 11.97 kB / 0.6868 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.1817, allocations: 30.58 kB / 0.6869 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.1819, allocations: 55.91 kB / 0.6869 GB, free: 13.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1819, allocations: 0 / 0.6869 GB, free: 13.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1819, allocations: 4.5 kB / 0.6869 GB, free: 13.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.1819, allocations: 2.281 kB / 0.6869 GB, free: 13.93 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003065/0.1822, allocations: 335.8 kB / 0.6872 GB, free: 13.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1822, allocations: 12.02 kB / 0.6872 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/0.1823, allocations: 4.938 kB / 0.6872 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.1824, allocations: 164.3 kB / 0.6874 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.1824, allocations: 0.875 kB / 0.6874 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.1825, allocations: 1.125 kB / 0.6874 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.117e-05/0.1825, allocations: 39.34 kB / 0.6874 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.1826, allocations: 192 / 0.6874 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.1826, allocations: 7.938 kB / 0.6875 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1826, allocations: 3.406 kB / 0.6875 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.845e-05/0.1826, allocations: 7.875 kB / 0.6875 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.1828, allocations: 153.7 kB / 0.6876 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.792e-05/0.1828, allocations: 18.61 kB / 0.6876 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.67e-05/0.1828, allocations: 8.922 kB / 0.6876 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006709/0.1835, allocations: 464.9 kB / 0.6881 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.1836, allocations: 35.41 kB / 0.6881 GB, free: 12.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1836, allocations: 0 / 0.6881 GB, free: 12.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004586/0.184, allocations: 255.8 kB / 0.6884 GB, free: 12.15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.1841, allocations: 55.62 kB / 0.6884 GB, free: 12.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.142e-05/0.1841, allocations: 93.86 kB / 0.6885 GB, free: 11.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.1842, allocations: 25.7 kB / 0.6885 GB, free: 11.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.1842, allocations: 80.14 kB / 0.6886 GB, free: 11.87 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.1843, allocations: 19.8 kB / 0.6886 GB, free: 11.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.1843, allocations: 9.719 kB / 0.6886 GB, free: 11.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1844, allocations: 314.8 kB / 0.6889 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/0.1844, allocations: 8 kB / 0.6889 GB, free: 11.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.328e-05/0.1844, allocations: 21.83 kB / 0.689 GB, free: 11.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.21e-05/0.1845, allocations: 25.72 kB / 0.689 GB, free: 11.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1845, allocations: 0 / 0.689 GB, free: 11.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.925e-05/0.1846, allocations: 57.62 kB / 0.689 GB, free: 11.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.1846, allocations: 7.938 kB / 0.689 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.1846, allocations: 0 / 0.689 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.1846, allocations: 4.062 kB / 0.689 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.939e-05/0.1847, allocations: 8 kB / 0.6891 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1847, allocations: 3.938 kB / 0.6891 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.627e-05/0.1847, allocations: 0 / 0.6891 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1847, allocations: 4 kB / 0.6891 GB, free: 11.36 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 6.131e-05/0.1848, allocations: 107.2 kB / 0.6892 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.1848, allocations: 7.938 kB / 0.6892 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.185, allocations: 65.11 kB / 0.6892 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.185, allocations: 0 / 0.6892 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.185, allocations: 0 / 0.6892 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.185, allocations: 0 / 0.6892 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.483e-05/0.1851, allocations: 149.7 kB / 0.6894 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1851, allocations: 0 / 0.6894 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.1851, allocations: 8 kB / 0.6894 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1852, allocations: 3.938 kB / 0.6894 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.1852, allocations: 8.125 kB / 0.6894 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1852, allocations: 0 / 0.6894 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1852, allocations: 0 / 0.6894 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.1853, allocations: 89.03 kB / 0.6895 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.1854, allocations: 81.02 kB / 0.6896 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.1854, allocations: 7.969 kB / 0.6896 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.54e-05/0.1854, allocations: 4 kB / 0.6896 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.084e-05/0.1854, allocations: 0 / 0.6896 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.1854, allocations: 7.984 kB / 0.6896 GB, free: 10.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.68e-05/0.1855, allocations: 75.34 kB / 0.6897 GB, free: 10.65 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1855, allocations: 4.094 kB / 0.6897 GB, free: 10.65 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001964/0.1857, allocations: 24 kB / 0.6897 GB, free: 10.62 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001917/0.1859, allocations: 131.2 kB / 0.6898 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.094e-05/0.186, allocations: 15.94 kB / 0.6898 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.186, allocations: 0 / 0.6898 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.589e-05/0.186, allocations: 11.98 kB / 0.6898 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.1862, allocations: 4.75 kB / 0.6898 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000219/0.1864, allocations: 146.7 kB / 0.69 GB, free: 10.28 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.1866, allocations: 0.6731 MB / 0.6906 GB, free: 9.582 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.1866, allocations: 7.438 kB / 0.6906 GB, free: 9.574 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1867, allocations: 0 / 0.6906 GB, free: 9.574 MB / 494.1 MB Notification: Performance of Templates: time 0.002121/0.1888, allocations: 0.757 MB / 0.6914 GB, free: 8.824 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheckCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheckCalcHelperMain.o] Error 1