Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.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.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009291/0.0009291, allocations: 92.31 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.0009311/0.0009311, allocations: 180.2 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.327/1.327, allocations: 223.2 MB / 241 MB, free: 5.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001725/0.001725, allocations: 274 kB / 292.3 MB, free: 1.758 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9432/0.9432, allocations: 169.5 MB / 0.501 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004397/0.0004397, allocations: 19.84 kB / 0.5993 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.172, allocations: 88.54 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.001554/0.1736, allocations: 1.257 MB / 0.687 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000926/0.1745, allocations: 0.5881 MB / 0.6876 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/0.1746, allocations: 0 / 0.6876 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.824e-05/0.1746, allocations: 3.938 kB / 0.6876 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.617e-05/0.1747, allocations: 19.84 kB / 0.6876 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.175, allocations: 67.86 kB / 0.6876 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.1751, allocations: 88.89 kB / 0.6877 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1752, allocations: 23.67 kB / 0.6878 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1754, allocations: 43.83 kB / 0.6878 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.987e-05/0.1755, allocations: 39.84 kB / 0.6878 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1755, allocations: 3.938 kB / 0.6878 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.081e-05/0.1756, allocations: 59.89 kB / 0.6879 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.186e-05/0.1756, allocations: 11.98 kB / 0.6879 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.46e-05/0.1757, allocations: 65.92 kB / 0.688 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.1758, allocations: 96.78 kB / 0.6881 GB, free: 12.69 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1759, allocations: 0 / 0.6881 GB, free: 12.69 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1759, allocations: 0.6562 kB / 0.6881 GB, free: 12.69 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1759, allocations: 0 / 0.6881 GB, free: 12.69 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007416/0.1766, allocations: 453.7 kB / 0.6885 GB, free: 12.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1767, allocations: 8.031 kB / 0.6885 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.1767, allocations: 20.28 kB / 0.6885 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.1769, allocations: 188.2 kB / 0.6887 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.1769, allocations: 8.25 kB / 0.6887 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.177, allocations: 8.375 kB / 0.6887 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.1773, allocations: 114.6 kB / 0.6888 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1773, allocations: 0.625 kB / 0.6888 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1773, allocations: 0 / 0.6888 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.1773, allocations: 5.844 kB / 0.6888 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.1777, allocations: 107.9 kB / 0.6889 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006279/0.1783, allocations: 364.6 kB / 0.6893 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.1787, allocations: 106.5 kB / 0.6894 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.1789, allocations: 72.86 kB / 0.6895 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.1789, allocations: 0 / 0.6895 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003139/0.1792, allocations: 127.3 kB / 0.6896 GB, free: 10.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.1792, allocations: 0 / 0.6896 GB, free: 10.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006735/0.1799, allocations: 237.5 kB / 0.6898 GB, free: 10.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.1799, allocations: 55.34 kB / 0.6899 GB, free: 10.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.1801, allocations: 140 kB / 0.69 GB, free: 10.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.1801, allocations: 33.7 kB / 0.69 GB, free: 10.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.1802, allocations: 100.1 kB / 0.6901 GB, free: 10.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.1802, allocations: 35.61 kB / 0.6901 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.1802, allocations: 17.72 kB / 0.6902 GB, free: 10.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1804, allocations: 322.8 kB / 0.6905 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.1806, allocations: 67.95 kB / 0.6905 GB, free: 9.941 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.1808, allocations: 68.23 kB / 0.6906 GB, free: 9.875 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.1811, allocations: 162.6 kB / 0.6908 GB, free: 9.707 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1812, allocations: 8.031 kB / 0.6908 GB, free: 9.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004718/0.1816, allocations: 223.1 kB / 0.691 GB, free: 9.469 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.1817, allocations: 29.7 kB / 0.691 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1817, allocations: 0 / 0.691 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.1817, allocations: 0 / 0.691 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.1819, allocations: 27.97 kB / 0.691 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1819, allocations: 0 / 0.691 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.182, allocations: 23.98 kB / 0.6911 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.182, allocations: 4 kB / 0.6911 GB, free: 9.379 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: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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 9.859e-05/0.1821, allocations: 131.1 kB / 0.6912 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.1822, allocations: 11.81 kB / 0.6912 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.1822, allocations: 8.719 kB / 0.6912 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.1822, allocations: 7.938 kB / 0.6912 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1822, allocations: 0 / 0.6912 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1822, allocations: 3.984 kB / 0.6912 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.1824, allocations: 201.5 kB / 0.6914 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1824, allocations: 4 kB / 0.6914 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.1826, allocations: 23.97 kB / 0.6914 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1826, allocations: 0 / 0.6914 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.1826, allocations: 0 / 0.6914 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.1826, allocations: 4 kB / 0.6914 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1826, allocations: 0 / 0.6914 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004463/0.183, allocations: 200.8 kB / 0.6916 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.083e-05/0.1831, allocations: 92.89 kB / 0.6917 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.1831, allocations: 8 kB / 0.6917 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.1833, allocations: 23.97 kB / 0.6917 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.1833, allocations: 11.98 kB / 0.6918 GB, free: 8.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.1833, allocations: 4 kB / 0.6918 GB, free: 8.562 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.185e-05/0.1834, allocations: 113.3 kB / 0.6919 GB, free: 8.453 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1834, allocations: 0 / 0.6919 GB, free: 8.453 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000226/0.1837, allocations: 39.94 kB / 0.6919 GB, free: 8.414 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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001465/0.1838, allocations: 119.2 kB / 0.692 GB, free: 8.289 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004804/0.1843, allocations: 211.2 kB / 0.6922 GB, free: 8.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1843, allocations: 0 / 0.6922 GB, free: 8.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.1845, allocations: 67.95 kB / 0.6923 GB, free: 8.004 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.1847, allocations: 15.98 kB / 0.6923 GB, free: 7.988 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005079/0.1852, allocations: 292.6 kB / 0.6926 GB, free: 7.664 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.1855, allocations: 0.7051 MB / 0.6933 GB, free: 6.934 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.1856, allocations: 11.44 kB / 0.6933 GB, free: 6.922 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1856, allocations: 0 / 0.6933 GB, free: 6.922 MB / 494.1 MB Notification: Performance of Templates: time 0.003005/0.1886, allocations: 1.502 MB / 0.6948 GB, free: 5.43 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.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.Controls.Continuous.Examples.SignalRankerCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRankerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRankerCalcHelperMain.o] Error 1