Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 99.58 kB / 16.02 MB, free: 76 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.001362/0.001362, allocations: 181.5 kB / 16.92 MB, free: 6.918 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.391/1.391, allocations: 223.2 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001815/0.001815, allocations: 278.1 kB / 292.3 MB, free: 1.805 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.007/1.007, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.000431, allocations: 16.16 kB / 0.5993 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1822, allocations: 88.54 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0007579/0.183, allocations: 317.4 kB / 0.6861 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003199/0.1833, allocations: 103.7 kB / 0.6862 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.088e-05/0.1834, allocations: 0 / 0.6862 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.169e-05/0.1834, allocations: 0 / 0.6862 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.559e-05/0.1834, allocations: 0.5625 kB / 0.6862 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.1836, allocations: 10.5 kB / 0.6862 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.21e-05/0.1837, allocations: 11.98 kB / 0.6862 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.1837, allocations: 4 kB / 0.6862 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.995e-05/0.1837, allocations: 3.984 kB / 0.6862 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.456e-05/0.1838, allocations: 4 kB / 0.6862 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1838, allocations: 0 / 0.6862 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.084e-05/0.1839, allocations: 19.98 kB / 0.6862 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.1839, allocations: 1.844 kB / 0.6862 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.184, allocations: 29.64 kB / 0.6863 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.979e-05/0.184, allocations: 7.984 kB / 0.6863 GB, free: 14.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.184, allocations: 0 / 0.6863 GB, free: 14.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1841, allocations: 0 / 0.6863 GB, free: 14.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1841, allocations: 0.5938 kB / 0.6863 GB, free: 14.57 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.000332/0.1844, allocations: 316.7 kB / 0.6866 GB, free: 14.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1844, allocations: 12.03 kB / 0.6866 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.1846, allocations: 10.7 kB / 0.6866 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.462e-05/0.1847, allocations: 168.5 kB / 0.6868 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.1847, allocations: 4.375 kB / 0.6868 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.1847, allocations: 5.25 kB / 0.6868 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.1849, allocations: 38.25 kB / 0.6868 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.1849, allocations: 0.75 kB / 0.6868 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1849, allocations: 4.594 kB / 0.6868 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1849, allocations: 3.984 kB / 0.6868 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.475e-05/0.185, allocations: 13.55 kB / 0.6868 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.1852, allocations: 153.6 kB / 0.687 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.1853, allocations: 46.44 kB / 0.687 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.1854, allocations: 12.92 kB / 0.687 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.1854, allocations: 4 kB / 0.687 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.1854, allocations: 30.56 kB / 0.6871 GB, free: 13.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1854, allocations: 0 / 0.6871 GB, free: 13.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002131/0.1857, allocations: 62.75 kB / 0.6871 GB, free: 13.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.1857, allocations: 55.34 kB / 0.6872 GB, free: 13.47 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.786e-05/0.1858, allocations: 98.52 kB / 0.6873 GB, free: 13.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.1858, allocations: 25.7 kB / 0.6873 GB, free: 13.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.943e-05/0.1858, allocations: 85 kB / 0.6874 GB, free: 13.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.1859, allocations: 12.52 kB / 0.6874 GB, free: 13.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/0.1859, allocations: 9.719 kB / 0.6874 GB, free: 13.22 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.186, allocations: 312.7 kB / 0.6877 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.935e-05/0.1861, allocations: 8 kB / 0.6877 GB, free: 12.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.008e-05/0.1861, allocations: 7.984 kB / 0.6877 GB, free: 12.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.414e-05/0.1862, allocations: 24.84 kB / 0.6877 GB, free: 12.87 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1862, allocations: 0 / 0.6877 GB, free: 12.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001054/0.1863, allocations: 49.59 kB / 0.6878 GB, free: 12.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1863, allocations: 8 kB / 0.6878 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1863, allocations: 0 / 0.6878 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1863, allocations: 7.875 kB / 0.6878 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/0.1867, allocations: 47.92 kB / 0.6878 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.188, allocations: 1.294 MB / 0.6891 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.076e-05/0.188, allocations: 8.031 kB / 0.6891 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.188, allocations: 0 / 0.6891 GB, free: 11.32 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.276e-05/0.1881, allocations: 115.2 kB / 0.6892 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.1881, allocations: 11.84 kB / 0.6892 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.344e-05/0.1881, allocations: 7.484 kB / 0.6892 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1881, allocations: 0 / 0.6892 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.81e-07/0.1881, allocations: 0 / 0.6892 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1881, allocations: 0 / 0.6892 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.1883, allocations: 153.6 kB / 0.6894 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1883, allocations: 3.984 kB / 0.6894 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.1886, allocations: 47.88 kB / 0.6894 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1886, allocations: 4 kB / 0.6894 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.1887, allocations: 0 / 0.6894 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.1897, allocations: 1.314 MB / 0.6907 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1898, allocations: 4.188 kB / 0.6907 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.1899, allocations: 77.06 kB / 0.6908 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/0.1899, allocations: 77.11 kB / 0.6909 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-06/0.19, allocations: 3.984 kB / 0.6909 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.59e-05/0.19, allocations: 4 kB / 0.6909 GB, free: 9.277 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.19, allocations: 0 / 0.6909 GB, free: 9.277 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.19, allocations: 3.938 kB / 0.6909 GB, free: 9.273 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.864e-05/0.1901, allocations: 79.28 kB / 0.691 GB, free: 9.195 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1901, allocations: 0 / 0.691 GB, free: 9.195 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001813/0.1902, allocations: 8 kB / 0.691 GB, free: 9.188 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000141/0.1904, allocations: 107.1 kB / 0.6911 GB, free: 9.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004348/0.1908, allocations: 63.91 kB / 0.6911 GB, free: 9.008 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1908, allocations: 0 / 0.6911 GB, free: 9.008 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003726/0.1912, allocations: 51.92 kB / 0.6912 GB, free: 8.957 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.1914, allocations: 4.75 kB / 0.6912 GB, free: 8.953 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.1917, allocations: 117 kB / 0.6913 GB, free: 8.809 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.1919, allocations: 0.6731 MB / 0.692 GB, free: 8.109 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.192, allocations: 11.44 kB / 0.692 GB, free: 8.098 MB / 494.1 MB Notification: Performance of SimCode: time 2.424e-06/0.192, allocations: 0 / 0.692 GB, free: 8.098 MB / 494.1 MB Notification: Performance of Templates: time 0.002109/0.1941, allocations: 0.5883 MB / 0.6925 GB, free: 7.512 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.PowerLinearizedCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearizedCalcHelperMain.o] Error 1