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.0008842/0.0008841, allocations: 91.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.001001/0.001002, 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.361/1.361, allocations: 223.3 MB / 241 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.789/0.789, allocations: 132.3 MB / 424.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003419, allocations: 8.562 kB / 0.5046 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5386/0.539, allocations: 81.57 MB / 0.5843 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.001668/0.5407, allocations: 1.187 MB / 0.5854 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008101/0.5415, allocations: 468.3 kB / 0.5859 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.345e-05/0.5416, allocations: 3.938 kB / 0.5859 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.62e-05/0.5417, allocations: 4.594 kB / 0.5859 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.268e-05/0.5417, allocations: 8.75 kB / 0.5859 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.542, allocations: 37.75 kB / 0.5859 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.5421, allocations: 86.91 kB / 0.586 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.5422, allocations: 13.73 kB / 0.586 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.5424, allocations: 46.98 kB / 0.5861 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.671e-05/0.5425, allocations: 38.52 kB / 0.5861 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.5425, allocations: 3.719 kB / 0.5861 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.752e-05/0.5425, allocations: 3.344 kB / 0.5861 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.1e-05/0.5426, allocations: 14.88 kB / 0.5861 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.4e-05/0.5427, allocations: 58.39 kB / 0.5862 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.5428, allocations: 50.92 kB / 0.5862 GB, free: 2.664 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.5428, allocations: 1 kB / 0.5862 GB, free: 2.664 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5428, allocations: 3.938 kB / 0.5863 GB, free: 2.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.5429, allocations: 0 / 0.5863 GB, free: 2.66 MB / 430.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.0006497/0.5435, allocations: 442.1 kB / 0.5867 GB, free: 2.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.5436, allocations: 9.188 kB / 0.5867 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.5436, allocations: 11.95 kB / 0.5867 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.5438, allocations: 189.9 kB / 0.5869 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.5438, allocations: 4.078 kB / 0.5869 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.5439, allocations: 14.66 kB / 0.5869 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/0.5442, allocations: 128.2 kB / 0.587 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.5442, allocations: 1.344 kB / 0.587 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.5443, allocations: 4.969 kB / 0.587 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5443, allocations: 1.125 kB / 0.587 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003498/0.5446, allocations: 104.9 kB / 0.5871 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000556/0.5452, allocations: 345.3 kB / 0.5874 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.5456, allocations: 117.2 kB / 0.5876 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.5458, allocations: 86.62 kB / 0.5876 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.5458, allocations: 0.8438 kB / 0.5876 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003681/0.5462, allocations: 134.7 kB / 0.5878 GB, free: 1.469 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.5462, allocations: 0 / 0.5878 GB, free: 1.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008102/0.547, allocations: 297.1 kB / 0.5881 GB, free: 1.355 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.5471, allocations: 90.52 kB / 0.5881 GB, free: 1.254 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.5472, allocations: 128.8 kB / 0.5883 GB, free: 1.145 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.5472, allocations: 28.7 kB / 0.5883 GB, free: 1.113 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.5473, allocations: 97.02 kB / 0.5884 GB, free: 1.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.5473, allocations: 17.42 kB / 0.5884 GB, free: 1.008 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.5473, allocations: 15.3 kB / 0.5884 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.235e-05/0.5474, allocations: 328.5 kB / 0.5887 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.5476, allocations: 72.16 kB / 0.5888 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.5478, allocations: 70.77 kB / 0.5889 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/0.5482, allocations: 199.8 kB / 0.5891 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5483, allocations: 1.375 kB / 0.5891 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005505/0.5488, allocations: 275.5 kB / 0.5893 GB, free: 376 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.254e-05/0.5489, allocations: 69.88 kB / 0.5894 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5489, allocations: 0.75 kB / 0.5894 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.5489, allocations: 1.312 kB / 0.5894 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.549, allocations: 21.38 kB / 0.5894 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.549, allocations: 1.375 kB / 0.5894 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.5492, allocations: 34.02 kB / 0.5894 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.5493, allocations: 7.375 kB / 0.5895 GB, free: 288 kB / 430.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.0001083/0.5494, allocations: 165.3 kB / 0.5896 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.5494, allocations: 9.594 kB / 0.5896 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/0.5494, allocations: 11.02 kB / 0.5896 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.5494, allocations: 1.312 kB / 0.5896 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.5495, allocations: 0 / 0.5896 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.5495, allocations: 1.625 kB / 0.5896 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.5497, allocations: 196 kB / 0.5898 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5497, allocations: 0 / 0.5898 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.506e-05/0.5498, allocations: 16.02 kB / 0.5898 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.5498, allocations: 4.812 kB / 0.5898 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.5498, allocations: 4.312 kB / 0.5898 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5498, allocations: 0 / 0.5898 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5498, allocations: 1.344 kB / 0.5898 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005868/0.5504, allocations: 263.5 kB / 0.5901 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.5505, allocations: 84.17 kB / 0.5902 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.5505, allocations: 6.188 kB / 0.5902 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.5507, allocations: 30.14 kB / 0.5902 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.5508, allocations: 46 kB / 0.5903 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.5509, allocations: 3.281 kB / 0.5903 GB, free: 15.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.377e-05/0.5509, allocations: 103 kB / 0.5904 GB, free: 15.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5509, allocations: 0 / 0.5904 GB, free: 15.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002177/0.5512, allocations: 29.44 kB / 0.5904 GB, free: 15.53 MB / 446.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.0001283/0.5513, allocations: 96.92 kB / 0.5905 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006273/0.5519, allocations: 278.1 kB / 0.5907 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.552, allocations: 4 kB / 0.5907 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.5522, allocations: 150.5 kB / 0.5909 GB, free: 15.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.5525, allocations: 20.17 kB / 0.5909 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006005/0.5531, allocations: 264.1 kB / 0.5912 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.5534, allocations: 0.694 MB / 0.5918 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.5535, allocations: 10.42 kB / 0.5918 GB, free: 14.28 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5535, allocations: 1.062 kB / 0.5918 GB, free: 14.28 MB / 446.1 MB Notification: Performance of Templates: time 0.003739/0.5572, allocations: 1.422 MB / 0.5932 GB, free: 14.17 MB / 446.1 MB 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