Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.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.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests") translateModel(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01001/0.01001, allocations: 100.1 kB / 15.87 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002126/0.002126, allocations: 190.1 kB / 16.79 MB, free: 5.805 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.591/1.591, allocations: 222.9 MB / 240.4 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002274/0.002274, allocations: 275.1 kB / 290.9 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9474/0.9474, allocations: 169.2 MB / 0.4983 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 87.31 kB / 0.5951 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1776, allocations: 86.99 MB / 0.6801 GB, free: 1.137 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.00302/0.1807, allocations: 1.526 MB / 0.6816 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008168/0.1815, allocations: 455.5 kB / 0.682 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.875e-05/0.1816, allocations: 7.938 kB / 0.682 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.1818, allocations: 0 / 0.682 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.082e-05/0.1818, allocations: 19.8 kB / 0.682 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.182, allocations: 27.97 kB / 0.682 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.1822, allocations: 91.77 kB / 0.6821 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1823, allocations: 20.14 kB / 0.6822 GB, free: 15 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.1824, allocations: 35.91 kB / 0.6822 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.299e-05/0.1825, allocations: 39.83 kB / 0.6822 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.1825, allocations: 8 kB / 0.6822 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.006e-05/0.1825, allocations: 4 kB / 0.6822 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.054e-05/0.1826, allocations: 19.91 kB / 0.6823 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.307e-05/0.1827, allocations: 35.84 kB / 0.6823 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.1828, allocations: 60.08 kB / 0.6824 GB, free: 14.8 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1828, allocations: 0 / 0.6824 GB, free: 14.8 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1828, allocations: 0 / 0.6824 GB, free: 14.8 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.1828, allocations: 0 / 0.6824 GB, free: 14.8 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007041/0.1835, allocations: 450.7 kB / 0.6828 GB, free: 14.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1836, allocations: 15.95 kB / 0.6828 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.1836, allocations: 8.844 kB / 0.6828 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.1838, allocations: 192.2 kB / 0.683 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1838, allocations: 4.375 kB / 0.683 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.1839, allocations: 8.375 kB / 0.683 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.1842, allocations: 117.7 kB / 0.6831 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1842, allocations: 0 / 0.6831 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.1842, allocations: 4 kB / 0.6831 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1842, allocations: 4 kB / 0.6831 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.1846, allocations: 87.92 kB / 0.6832 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.1851, allocations: 332.6 kB / 0.6835 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.1854, allocations: 106.5 kB / 0.6836 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.1856, allocations: 72.94 kB / 0.6837 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.1856, allocations: 0 / 0.6837 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003261/0.186, allocations: 131.2 kB / 0.6838 GB, free: 13.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.186, allocations: 0 / 0.6838 GB, free: 13.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007059/0.1867, allocations: 271.2 kB / 0.6841 GB, free: 12.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.1868, allocations: 89.09 kB / 0.6842 GB, free: 12.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.672e-05/0.1869, allocations: 123.8 kB / 0.6843 GB, free: 12.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.1869, allocations: 33.69 kB / 0.6843 GB, free: 12.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.187, allocations: 99.98 kB / 0.6844 GB, free: 12.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.187, allocations: 19.88 kB / 0.6844 GB, free: 12.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/0.1871, allocations: 33.7 kB / 0.6845 GB, free: 12.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1872, allocations: 326.8 kB / 0.6848 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.1874, allocations: 59.95 kB / 0.6848 GB, free: 12.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.1876, allocations: 71.89 kB / 0.6849 GB, free: 11.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.188, allocations: 189.9 kB / 0.6851 GB, free: 11.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.188, allocations: 0 / 0.6851 GB, free: 11.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004896/0.1885, allocations: 260.8 kB / 0.6853 GB, free: 11.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.248e-05/0.1885, allocations: 59.41 kB / 0.6854 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1885, allocations: 4.234 kB / 0.6854 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1886, allocations: 7.938 kB / 0.6854 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.1887, allocations: 23.98 kB / 0.6854 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1887, allocations: 0 / 0.6854 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.1889, allocations: 19.98 kB / 0.6854 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.1889, allocations: 3.984 kB / 0.6854 GB, free: 11.34 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: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001224/0.189, allocations: 156.8 kB / 0.6856 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.1891, allocations: 7.906 kB / 0.6856 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.1891, allocations: 16.36 kB / 0.6856 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1891, allocations: 4 kB / 0.6856 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1891, allocations: 0 / 0.6856 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.1891, allocations: 0 / 0.6856 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.1893, allocations: 197.5 kB / 0.6858 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1893, allocations: 0 / 0.6858 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.295e-05/0.1894, allocations: 11.98 kB / 0.6858 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1894, allocations: 0 / 0.6858 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.1894, allocations: 11.94 kB / 0.6858 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1894, allocations: 0 / 0.6858 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1894, allocations: 0 / 0.6858 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004862/0.1899, allocations: 250.6 kB / 0.6861 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.19, allocations: 85.02 kB / 0.6861 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.19, allocations: 0 / 0.6861 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.1901, allocations: 19.97 kB / 0.6862 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.1903, allocations: 39.95 kB / 0.6862 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.1903, allocations: 8 kB / 0.6862 GB, free: 10.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.024e-05/0.1904, allocations: 101.1 kB / 0.6863 GB, free: 10.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1904, allocations: 0 / 0.6863 GB, free: 10.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002071/0.1906, allocations: 23.94 kB / 0.6863 GB, free: 10.32 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: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001084/0.1907, allocations: 111.2 kB / 0.6864 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005104/0.1912, allocations: 262.6 kB / 0.6867 GB, free: 9.922 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1912, allocations: 4 kB / 0.6867 GB, free: 9.918 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002468/0.1915, allocations: 139.3 kB / 0.6868 GB, free: 9.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.1917, allocations: 15.98 kB / 0.6868 GB, free: 9.754 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000568/0.1923, allocations: 266.6 kB / 0.6871 GB, free: 9.457 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.1926, allocations: 0.6927 MB / 0.6878 GB, free: 8.738 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.1926, allocations: 11.42 kB / 0.6878 GB, free: 8.727 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1927, allocations: 0 / 0.6878 GB, free: 8.727 MB / 494.1 MB Notification: Performance of Templates: time 0.003313/0.196, allocations: 1.426 MB / 0.6892 GB, free: 7.312 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.makefile make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.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.NumberOfRequestsCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.o] Error 1