Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests") translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.005175/0.005175, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001029/0.001029, allocations: 190.5 kB / 16.79 MB, free: 5.809 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7772/0.7772, allocations: 132.2 MB / 422.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 63.77 kB / 0.5017 GB, free: 9.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1748, allocations: 80.21 MB / 0.58 GB, free: 9.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002779/0.1776, allocations: 1.542 MB / 0.5815 GB, free: 7.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007698/0.1784, allocations: 462.9 kB / 0.582 GB, free: 7.223 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.788e-05/0.1784, allocations: 4 kB / 0.582 GB, free: 7.219 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.1786, allocations: 3.938 kB / 0.582 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.822e-05/0.1786, allocations: 11.94 kB / 0.582 GB, free: 7.203 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.1788, allocations: 27.95 kB / 0.582 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.1789, allocations: 91.69 kB / 0.5821 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.945e-05/0.1791, allocations: 16.17 kB / 0.5821 GB, free: 7.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.1792, allocations: 47.91 kB / 0.5822 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.222e-05/0.1793, allocations: 43.81 kB / 0.5822 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.1793, allocations: 7.938 kB / 0.5822 GB, free: 6.973 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.828e-05/0.1793, allocations: 4 kB / 0.5822 GB, free: 6.969 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.1794, allocations: 11.98 kB / 0.5822 GB, free: 6.957 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.189e-05/0.1794, allocations: 35.8 kB / 0.5823 GB, free: 6.922 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.1796, allocations: 51.89 kB / 0.5823 GB, free: 6.871 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1796, allocations: 0 / 0.5823 GB, free: 6.871 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1796, allocations: 0 / 0.5823 GB, free: 6.871 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1796, allocations: 0 / 0.5823 GB, free: 6.871 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.0007347/0.1803, allocations: 454.8 kB / 0.5827 GB, free: 6.367 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1804, allocations: 8.031 kB / 0.5827 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.1804, allocations: 12.84 kB / 0.5828 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.1806, allocations: 188.2 kB / 0.5829 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1806, allocations: 8.375 kB / 0.5829 GB, free: 6.117 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.1807, allocations: 4.375 kB / 0.583 GB, free: 6.113 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.181, allocations: 121.7 kB / 0.5831 GB, free: 5.988 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.181, allocations: 4 kB / 0.5831 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.181, allocations: 3.938 kB / 0.5831 GB, free: 5.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.181, allocations: 0 / 0.5831 GB, free: 5.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.1813, allocations: 87.92 kB / 0.5832 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005478/0.1819, allocations: 332.7 kB / 0.5835 GB, free: 5.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.1822, allocations: 106.5 kB / 0.5836 GB, free: 5.406 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.1824, allocations: 68.94 kB / 0.5836 GB, free: 5.336 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.1824, allocations: 7.938 kB / 0.5837 GB, free: 5.328 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00032/0.1828, allocations: 131.2 kB / 0.5838 GB, free: 5.188 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.1828, allocations: 0 / 0.5838 GB, free: 5.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006748/0.1834, allocations: 267.2 kB / 0.584 GB, free: 4.914 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.1835, allocations: 81.11 kB / 0.5841 GB, free: 4.816 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.1836, allocations: 141.7 kB / 0.5842 GB, free: 4.668 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.1837, allocations: 33.64 kB / 0.5843 GB, free: 4.629 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.1837, allocations: 96.12 kB / 0.5844 GB, free: 4.531 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.1838, allocations: 19.75 kB / 0.5844 GB, free: 4.512 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.1838, allocations: 25.7 kB / 0.5844 GB, free: 4.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.184, allocations: 322.8 kB / 0.5847 GB, free: 4.156 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.1841, allocations: 67.94 kB / 0.5848 GB, free: 4.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.1843, allocations: 67.95 kB / 0.5848 GB, free: 4.023 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.1847, allocations: 181.9 kB / 0.585 GB, free: 3.824 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1847, allocations: 0 / 0.585 GB, free: 3.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004963/0.1852, allocations: 260.8 kB / 0.5853 GB, free: 3.551 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.621e-05/0.1852, allocations: 63.41 kB / 0.5853 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1853, allocations: 4 kB / 0.5853 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1853, allocations: 0 / 0.5853 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.1854, allocations: 11.98 kB / 0.5853 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.1854, allocations: 12.12 kB / 0.5854 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.1856, allocations: 20.08 kB / 0.5854 GB, free: 3.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.1856, allocations: 7.938 kB / 0.5854 GB, free: 3.422 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.0001312/0.1857, allocations: 159.5 kB / 0.5855 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.1858, allocations: 11.91 kB / 0.5855 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.1858, allocations: 12.31 kB / 0.5856 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.1858, allocations: 4 kB / 0.5856 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1858, allocations: 256 / 0.5856 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1858, allocations: 3.984 kB / 0.5856 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.186, allocations: 197.6 kB / 0.5858 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.186, allocations: 0 / 0.5858 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.67e-05/0.1861, allocations: 15.97 kB / 0.5858 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1861, allocations: 0 / 0.5858 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.1861, allocations: 0 / 0.5858 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1861, allocations: 8 kB / 0.5858 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1861, allocations: 0 / 0.5858 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/0.1866, allocations: 242.6 kB / 0.586 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.1867, allocations: 88.95 kB / 0.5861 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.1867, allocations: 8 kB / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.1868, allocations: 23.97 kB / 0.5861 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.187, allocations: 31.95 kB / 0.5862 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.187, allocations: 11.94 kB / 0.5862 GB, free: 2.512 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.927e-05/0.1871, allocations: 101.9 kB / 0.5863 GB, free: 2.414 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1871, allocations: 0 / 0.5863 GB, free: 2.414 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002065/0.1873, allocations: 31.94 kB / 0.5863 GB, free: 2.383 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.0001128/0.1874, allocations: 103.2 kB / 0.5864 GB, free: 2.273 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000513/0.1879, allocations: 270.7 kB / 0.5867 GB, free: 1.984 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1879, allocations: 0 / 0.5867 GB, free: 1.984 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.1882, allocations: 139.3 kB / 0.5868 GB, free: 1.836 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.1884, allocations: 15.98 kB / 0.5868 GB, free: 1.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005652/0.189, allocations: 254.7 kB / 0.587 GB, free: 1.531 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.1893, allocations: 0.6926 MB / 0.5877 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.1894, allocations: 7.438 kB / 0.5877 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1894, allocations: 0 / 0.5877 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of Templates: time 0.003085/0.1925, allocations: 1.428 MB / 0.5891 GB, free: 15.39 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.o OMCppIDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.o] Error 1