Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008798/0.0008796, allocations: 92 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.0007831/0.0007831, allocations: 180.4 kB / 16.92 MB, free: 6.652 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.349/1.349, allocations: 223.2 MB / 240.9 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001688/0.001688, allocations: 263.1 kB / 292.3 MB, free: 1.832 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9192/0.9192, allocations: 169.5 MB / 0.501 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000406/0.0004059, allocations: 18.53 kB / 0.5993 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.174, allocations: 88.54 MB / 0.6858 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002964/0.177, allocations: 2.191 MB / 0.6879 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1784, allocations: 0.7607 MB / 0.6887 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.488e-05/0.1785, allocations: 4.594 kB / 0.6887 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.1787, allocations: 24.53 kB / 0.6887 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.179, allocations: 104.6 kB / 0.6888 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.1794, allocations: 104 kB / 0.6889 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.1797, allocations: 295.2 kB / 0.6892 GB, free: 11.6 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003122/0.18, allocations: 184.9 kB / 0.6893 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.817e-05/0.1801, allocations: 60.28 kB / 0.6894 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.1803, allocations: 92.77 kB / 0.6895 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.1803, allocations: 8 kB / 0.6895 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.1805, allocations: 135.6 kB / 0.6896 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.963e-05/0.1806, allocations: 57.28 kB / 0.6897 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.563e-05/0.1807, allocations: 93.31 kB / 0.6898 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.1809, allocations: 171.6 kB / 0.6899 GB, free: 10.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1809, allocations: 0 / 0.6899 GB, free: 10.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1809, allocations: 2.281 kB / 0.6899 GB, free: 10.79 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1809, allocations: 0 / 0.6899 GB, free: 10.79 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005253/0.1815, allocations: 417.5 kB / 0.6903 GB, free: 10.33 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.1815, allocations: 8.031 kB / 0.6903 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003428/0.1819, allocations: 49.97 kB / 0.6904 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1821, allocations: 212.1 kB / 0.6906 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.1821, allocations: 13.84 kB / 0.6906 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.1821, allocations: 12.38 kB / 0.6906 GB, free: 10 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.1825, allocations: 229.8 kB / 0.6908 GB, free: 9.762 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1825, allocations: 192 / 0.6908 GB, free: 9.762 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.1825, allocations: 11.88 kB / 0.6908 GB, free: 9.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-05/0.1826, allocations: 16.8 kB / 0.6909 GB, free: 9.734 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.1828, allocations: 149.4 kB / 0.691 GB, free: 9.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009889/0.1838, allocations: 1.127 MB / 0.6921 GB, free: 8.336 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.04e-05/0.1839, allocations: 39.28 kB / 0.6921 GB, free: 8.289 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.1839, allocations: 17.73 kB / 0.6922 GB, free: 8.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.128e-06/0.1839, allocations: 0 / 0.6922 GB, free: 8.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.184, allocations: 40.3 kB / 0.6922 GB, free: 8.223 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.184, allocations: 0 / 0.6922 GB, free: 8.223 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001824/0.1842, allocations: 73.5 kB / 0.6923 GB, free: 8.145 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.1842, allocations: 56.28 kB / 0.6923 GB, free: 8.078 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.1844, allocations: 180.6 kB / 0.6925 GB, free: 7.895 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1844, allocations: 25.7 kB / 0.6925 GB, free: 7.863 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.701e-05/0.1845, allocations: 139.4 kB / 0.6926 GB, free: 7.723 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.1845, allocations: 15.81 kB / 0.6927 GB, free: 7.707 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.1845, allocations: 13.72 kB / 0.6927 GB, free: 7.688 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1846, allocations: 330.8 kB / 0.693 GB, free: 7.355 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.774e-05/0.1847, allocations: 19.98 kB / 0.693 GB, free: 7.336 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.05e-05/0.1848, allocations: 85.44 kB / 0.6931 GB, free: 7.219 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.1849, allocations: 121.3 kB / 0.6932 GB, free: 7.066 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1849, allocations: 4 kB / 0.6932 GB, free: 7.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001891/0.1851, allocations: 137.5 kB / 0.6933 GB, free: 6.922 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.849e-05/0.1852, allocations: 157.8 kB / 0.6935 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1852, allocations: 4.047 kB / 0.6935 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1852, allocations: 3.984 kB / 0.6935 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.957e-05/0.1853, allocations: 31.86 kB / 0.6935 GB, free: 6.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.1854, allocations: 8 kB / 0.6935 GB, free: 6.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.804e-05/0.1854, allocations: 19.84 kB / 0.6936 GB, free: 6.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1854, allocations: 4 kB / 0.6936 GB, free: 6.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/0.1855, allocations: 6.031 kB / 0.6936 GB, free: 6.656 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001326/0.1856, allocations: 99.69 kB / 0.6937 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1856, allocations: 4.312 kB / 0.6937 GB, free: 6.555 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.008e-06/0.1856, allocations: 11.94 kB / 0.6937 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.1857, allocations: 31.92 kB / 0.6937 GB, free: 6.512 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.1857, allocations: 4 kB / 0.6937 GB, free: 6.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.359e-05/0.1858, allocations: 11.84 kB / 0.6937 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1858, allocations: 4 kB / 0.6937 GB, free: 6.492 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * 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 0.0001309/0.1859, allocations: 218.3 kB / 0.6939 GB, free: 6.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.186, allocations: 11.91 kB / 0.6939 GB, free: 6.258 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.186, allocations: 12.92 kB / 0.694 GB, free: 6.242 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.186, allocations: 8 kB / 0.694 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.186, allocations: 4 kB / 0.694 GB, free: 6.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.186, allocations: 3.938 kB / 0.694 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.1864, allocations: 481 kB / 0.6944 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1865, allocations: 0 / 0.6944 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.1865, allocations: 8 kB / 0.6944 GB, free: 5.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.1865, allocations: 8.062 kB / 0.6944 GB, free: 5.672 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.1865, allocations: 4 kB / 0.6945 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1865, allocations: 0 / 0.6945 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1865, allocations: 0 / 0.6945 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.1866, allocations: 111.5 kB / 0.6946 GB, free: 5.531 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.1867, allocations: 96.86 kB / 0.6946 GB, free: 5.418 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.1867, allocations: 11.98 kB / 0.6947 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.242e-05/0.1868, allocations: 0 / 0.6947 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.1868, allocations: 4 kB / 0.6947 GB, free: 5.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-06/0.1868, allocations: 0 / 0.6947 GB, free: 5.402 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.68e-05/0.1869, allocations: 127.5 kB / 0.6948 GB, free: 5.281 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1869, allocations: 0 / 0.6948 GB, free: 5.281 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000325/0.1872, allocations: 51.84 kB / 0.6948 GB, free: 5.23 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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 Backend phase and start with SimCode phase: time 9.764e-05/0.1873, allocations: 107.2 kB / 0.6949 GB, free: 5.113 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.1875, allocations: 99.72 kB / 0.695 GB, free: 5.016 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1875, allocations: 1.25 kB / 0.695 GB, free: 5.016 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.757e-05/0.1876, allocations: 19.92 kB / 0.6951 GB, free: 4.996 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.1878, allocations: 35.27 kB / 0.6951 GB, free: 4.965 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004931/0.1883, allocations: 362.5 kB / 0.6954 GB, free: 4.574 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.1886, allocations: 0.7241 MB / 0.6961 GB, free: 3.824 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.1887, allocations: 19.38 kB / 0.6962 GB, free: 3.805 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1887, allocations: 0 / 0.6962 GB, free: 3.805 MB / 494.1 MB Notification: Performance of Templates: time 0.002788/0.1915, allocations: 1.426 MB / 0.6976 GB, free: 2.379 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.Electrical.DC.Sensors.Examples.GeneralizedSensorCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensorCalcHelperMain.o] Error 1