Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000943/0.0009432, allocations: 92.55 kB / 16.02 MB, free: 80 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.0009709/0.000971, allocations: 184.3 kB / 16.92 MB, free: 6.922 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.319/1.319, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002052/0.002052, allocations: 269.6 kB / 292.3 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9299/0.9299, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005239/0.0005241, allocations: 19.06 kB / 0.5993 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1803, allocations: 88.54 MB / 0.6858 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.00171/0.1821, allocations: 1.161 MB / 0.6869 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003191/0.1824, allocations: 89.39 kB / 0.687 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.668e-05/0.1825, allocations: 2.312 kB / 0.687 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.1825, allocations: 3.938 kB / 0.687 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.298e-05/0.1826, allocations: 3.984 kB / 0.687 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.1827, allocations: 15.98 kB / 0.687 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.206e-05/0.1828, allocations: 19.94 kB / 0.687 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.218e-05/0.1829, allocations: 6.797 kB / 0.687 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.371e-05/0.183, allocations: 11.94 kB / 0.6871 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.599e-05/0.183, allocations: 7.984 kB / 0.6871 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.183, allocations: 3.938 kB / 0.6871 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.329e-05/0.1831, allocations: 19.92 kB / 0.6871 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.1831, allocations: 7.938 kB / 0.6871 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.1832, allocations: 33.64 kB / 0.6871 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.598e-05/0.1832, allocations: 32.22 kB / 0.6872 GB, free: 13.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1833, allocations: 1.469 kB / 0.6872 GB, free: 13.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1833, allocations: 0 / 0.6872 GB, free: 13.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.1833, allocations: 0 / 0.6872 GB, free: 13.66 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004528/0.1837, allocations: 341.2 kB / 0.6875 GB, free: 13.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1838, allocations: 8.031 kB / 0.6875 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.184, allocations: 23.36 kB / 0.6875 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.1841, allocations: 160.4 kB / 0.6877 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.1841, allocations: 4.375 kB / 0.6877 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.1842, allocations: 384 / 0.6877 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.1844, allocations: 69.62 kB / 0.6877 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1844, allocations: 192 / 0.6877 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1844, allocations: 3.938 kB / 0.6877 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1844, allocations: 0 / 0.6877 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.1847, allocations: 68.73 kB / 0.6878 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.1851, allocations: 268.8 kB / 0.6881 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.1853, allocations: 65.14 kB / 0.6881 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.1854, allocations: 38.27 kB / 0.6882 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.1854, allocations: 0 / 0.6882 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.1855, allocations: 37.16 kB / 0.6882 GB, free: 12.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.936e-06/0.1855, allocations: 0 / 0.6882 GB, free: 12.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004483/0.1859, allocations: 129.5 kB / 0.6883 GB, free: 12.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.186, allocations: 55.41 kB / 0.6884 GB, free: 12.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.561e-05/0.1861, allocations: 106 kB / 0.6885 GB, free: 12.13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1861, allocations: 29.7 kB / 0.6885 GB, free: 12.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.1862, allocations: 84.08 kB / 0.6886 GB, free: 12.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.1862, allocations: 7.906 kB / 0.6886 GB, free: 12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.1862, allocations: 9.719 kB / 0.6886 GB, free: 11.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1863, allocations: 314.8 kB / 0.6889 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.1865, allocations: 35.97 kB / 0.6889 GB, free: 11.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.1866, allocations: 31.97 kB / 0.689 GB, free: 11.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.1868, allocations: 68.81 kB / 0.689 GB, free: 11.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1868, allocations: 4 kB / 0.689 GB, free: 11.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002746/0.1871, allocations: 97.59 kB / 0.6891 GB, free: 11.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1871, allocations: 4 kB / 0.6891 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.1871, allocations: 0 / 0.6891 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1871, allocations: 3.984 kB / 0.6891 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.1873, allocations: 12 kB / 0.6891 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1873, allocations: 3.984 kB / 0.6891 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.738e-05/0.1874, allocations: 12.03 kB / 0.6892 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1874, allocations: 3.938 kB / 0.6892 GB, free: 11.39 MB / 494.1 MB 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.799e-05/0.1875, allocations: 119.1 kB / 0.6893 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.1875, allocations: 3.906 kB / 0.6893 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.1875, allocations: 7.531 kB / 0.6893 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1875, allocations: 0 / 0.6893 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1875, allocations: 0 / 0.6893 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1875, allocations: 4 kB / 0.6893 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.1877, allocations: 165.6 kB / 0.6894 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1877, allocations: 256 / 0.6894 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.674e-05/0.1878, allocations: 23.92 kB / 0.6895 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1878, allocations: 0 / 0.6895 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1878, allocations: 0 / 0.6895 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1878, allocations: 0 / 0.6895 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1879, allocations: 0 / 0.6895 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.1882, allocations: 199.4 kB / 0.6897 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.1882, allocations: 77.11 kB / 0.6897 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.1883, allocations: 0 / 0.6897 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.363e-05/0.1884, allocations: 19.95 kB / 0.6898 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.1884, allocations: 4 kB / 0.6898 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1884, allocations: 0 / 0.6898 GB, free: 10.69 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.36e-05/0.1885, allocations: 87.27 kB / 0.6898 GB, free: 10.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1885, allocations: 0 / 0.6898 GB, free: 10.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002112/0.1887, allocations: 4 kB / 0.6898 GB, free: 10.6 MB / 494.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 (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.0001255/0.1888, allocations: 99.25 kB / 0.6899 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002672/0.1891, allocations: 67.89 kB / 0.69 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1891, allocations: 0 / 0.69 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.1892, allocations: 40.03 kB / 0.69 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.1895, allocations: 7.875 kB / 0.69 GB, free: 10.38 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.1898, allocations: 162.4 kB / 0.6902 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.1901, allocations: 0.6809 MB / 0.6909 GB, free: 9.484 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.1901, allocations: 7.438 kB / 0.6909 GB, free: 9.477 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1902, allocations: 0 / 0.6909 GB, free: 9.477 MB / 494.1 MB Notification: Performance of Templates: time 0.001782/0.1919, allocations: 0.6199 MB / 0.6915 GB, free: 8.863 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.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.Examples.PowerLinearizedCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearizedCalcHelperMain.o] Error 1