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.0008416/0.0008417, allocations: 99.12 kB / 15.71 MB, free: 452 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.0009652/0.0009652, allocations: 176.8 kB / 16.58 MB, free: 6.879 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.449/1.449, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7508/0.7508, allocations: 132.3 MB / 424 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.0004562, allocations: 9.312 kB / 0.504 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5301/0.5306, allocations: 81.57 MB / 0.5837 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.001767/0.5324, allocations: 1.18 MB / 0.5848 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007642/0.5332, allocations: 442.8 kB / 0.5852 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.806e-05/0.5333, allocations: 0.75 kB / 0.5852 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.5334, allocations: 2.141 kB / 0.5852 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.111e-05/0.5334, allocations: 13.36 kB / 0.5853 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.5337, allocations: 22.16 kB / 0.5853 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.5338, allocations: 92.31 kB / 0.5854 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.534, allocations: 12.27 kB / 0.5854 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.5341, allocations: 41.75 kB / 0.5854 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.628e-05/0.5342, allocations: 30.86 kB / 0.5854 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.5342, allocations: 3.688 kB / 0.5854 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.806e-05/0.5343, allocations: 4.656 kB / 0.5855 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.145e-05/0.5343, allocations: 17.3 kB / 0.5855 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.5344, allocations: 43.12 kB / 0.5855 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.5345, allocations: 54.5 kB / 0.5856 GB, free: 2.648 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5345, allocations: 0 / 0.5856 GB, free: 2.648 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.5345, allocations: 0 / 0.5856 GB, free: 2.648 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.5345, allocations: 4.594 kB / 0.5856 GB, free: 2.645 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.0006223/0.5351, allocations: 437.9 kB / 0.586 GB, free: 2.211 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.5352, allocations: 9.469 kB / 0.586 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.5353, allocations: 13.69 kB / 0.586 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.5354, allocations: 189.9 kB / 0.5862 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.5354, allocations: 3.656 kB / 0.5862 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.5355, allocations: 10.44 kB / 0.5862 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.5358, allocations: 124.9 kB / 0.5863 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.5358, allocations: 0 / 0.5863 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.5359, allocations: 2.312 kB / 0.5863 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5359, allocations: 4.938 kB / 0.5863 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003157/0.5362, allocations: 103.7 kB / 0.5864 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.5367, allocations: 342.1 kB / 0.5868 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.5371, allocations: 120.2 kB / 0.5869 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.5373, allocations: 82.72 kB / 0.5869 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.5373, allocations: 1.406 kB / 0.5869 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003602/0.5377, allocations: 134.7 kB / 0.5871 GB, free: 1.465 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.5377, allocations: 1.25 kB / 0.5871 GB, free: 1.465 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007446/0.5384, allocations: 299.4 kB / 0.5874 GB, free: 1.348 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.5385, allocations: 85.59 kB / 0.5874 GB, free: 1.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.625e-05/0.5386, allocations: 124.7 kB / 0.5876 GB, free: 1.145 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.5386, allocations: 36.17 kB / 0.5876 GB, free: 1.105 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.5387, allocations: 97.73 kB / 0.5877 GB, free: 1.012 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.5387, allocations: 13 kB / 0.5877 GB, free: 1.004 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.5387, allocations: 6.094 kB / 0.5877 GB, free: 1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.5388, allocations: 319.9 kB / 0.588 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.539, allocations: 73.97 kB / 0.5881 GB, free: 0.668 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.5392, allocations: 81.45 kB / 0.5882 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.5394, allocations: 107.8 kB / 0.5883 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5394, allocations: 0.9688 kB / 0.5883 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005099/0.5399, allocations: 282.7 kB / 0.5885 GB, free: 432 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.969e-05/0.54, allocations: 61.64 kB / 0.5886 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.54, allocations: 4.562 kB / 0.5886 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.54, allocations: 1.703 kB / 0.5886 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.5401, allocations: 25.31 kB / 0.5886 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.5402, allocations: 0.6562 kB / 0.5886 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.5403, allocations: 35.78 kB / 0.5887 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.5403, allocations: 3.531 kB / 0.5887 GB, free: 348 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 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.5405, allocations: 159.7 kB / 0.5888 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.5405, allocations: 9.406 kB / 0.5888 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/0.5405, allocations: 10.92 kB / 0.5888 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.5405, allocations: 6.219 kB / 0.5888 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5405, allocations: 3.953 kB / 0.5888 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5405, allocations: 3.984 kB / 0.5888 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.5407, allocations: 188.5 kB / 0.589 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5407, allocations: 0.6094 kB / 0.589 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.287e-05/0.5408, allocations: 20.28 kB / 0.589 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.5408, allocations: 0.7031 kB / 0.589 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.5409, allocations: 11.83 kB / 0.5891 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5409, allocations: 0 / 0.5891 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5409, allocations: 0.8125 kB / 0.5891 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/0.5414, allocations: 263.4 kB / 0.5893 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.5415, allocations: 84.25 kB / 0.5894 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.5415, allocations: 2.688 kB / 0.5894 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.5417, allocations: 29.12 kB / 0.5894 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.5419, allocations: 39.22 kB / 0.5895 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.5419, allocations: 3.75 kB / 0.5895 GB, free: 15.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.551e-05/0.542, allocations: 99.62 kB / 0.5896 GB, free: 15.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.542, allocations: 96 / 0.5896 GB, free: 15.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002159/0.5422, allocations: 33.88 kB / 0.5896 GB, free: 15.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001258/0.5423, allocations: 101.2 kB / 0.5897 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005418/0.5429, allocations: 281.4 kB / 0.59 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5429, allocations: 0 / 0.59 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002726/0.5432, allocations: 146.8 kB / 0.5901 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.5434, allocations: 13.88 kB / 0.5901 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005962/0.544, allocations: 267.1 kB / 0.5904 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.5443, allocations: 0.6899 MB / 0.591 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.482e-05/0.5443, allocations: 15.02 kB / 0.591 GB, free: 14.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5443, allocations: 0 / 0.591 GB, free: 14.34 MB / 446.1 MB Notification: Performance of Templates: time 0.004041/0.5484, allocations: 1.42 MB / 0.5924 GB, free: 14.24 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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