Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests") translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001064/0.001064, allocations: 102.6 kB / 15.71 MB, free: 460 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.001064/0.001064, allocations: 174.6 kB / 16.58 MB, free: 6.355 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.264/1.264, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8761/0.8761, allocations: 135.3 MB / 427 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002957, allocations: 8 kB / 0.5076 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1436, allocations: 82.31 MB / 0.588 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.001508/0.1451, allocations: 1.176 MB / 0.5891 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006817/0.1458, allocations: 427.3 kB / 0.5895 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.1459, allocations: 0 / 0.5895 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.882e-05/0.146, allocations: 7.922 kB / 0.5895 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.898e-05/0.146, allocations: 11.88 kB / 0.5896 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.1462, allocations: 27.95 kB / 0.5896 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.1464, allocations: 83.75 kB / 0.5897 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.566e-05/0.1465, allocations: 8.188 kB / 0.5897 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.1466, allocations: 47.83 kB / 0.5897 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.654e-05/0.1467, allocations: 31.89 kB / 0.5897 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.1467, allocations: 8 kB / 0.5897 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.566e-05/0.1468, allocations: 4 kB / 0.5898 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.304e-05/0.1468, allocations: 11.92 kB / 0.5898 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.1468, allocations: 37.7 kB / 0.5898 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.878e-05/0.1469, allocations: 51.89 kB / 0.5899 GB, free: 1.199 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1469, allocations: 4 kB / 0.5899 GB, free: 1.195 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.147, allocations: 0 / 0.5899 GB, free: 1.195 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.147, allocations: 0 / 0.5899 GB, free: 1.195 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.0006219/0.1476, allocations: 442.8 kB / 0.5903 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1476, allocations: 11.97 kB / 0.5903 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.1477, allocations: 11.91 kB / 0.5903 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.1479, allocations: 202.8 kB / 0.5905 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.1479, allocations: 0 / 0.5905 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1479, allocations: 11.94 kB / 0.5905 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.1482, allocations: 125.6 kB / 0.5906 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.1483, allocations: 0 / 0.5906 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1483, allocations: 0 / 0.5906 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1483, allocations: 4 kB / 0.5906 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002681/0.1486, allocations: 103.9 kB / 0.5907 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005198/0.1491, allocations: 336.7 kB / 0.591 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.1494, allocations: 122.5 kB / 0.5912 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.1496, allocations: 84.94 kB / 0.5912 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.1496, allocations: 0 / 0.5912 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003081/0.1499, allocations: 135.3 kB / 0.5914 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1499, allocations: 4 kB / 0.5914 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006372/0.1506, allocations: 295.2 kB / 0.5917 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.1506, allocations: 89.06 kB / 0.5917 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.56e-05/0.1507, allocations: 129.1 kB / 0.5919 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.1508, allocations: 33.7 kB / 0.5919 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.1508, allocations: 96.03 kB / 0.592 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.1508, allocations: 15.75 kB / 0.592 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/0.1509, allocations: 8 kB / 0.592 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.843e-05/0.151, allocations: 322.8 kB / 0.5923 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.1511, allocations: 71.95 kB / 0.5924 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.1513, allocations: 75.89 kB / 0.5925 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.1515, allocations: 115.4 kB / 0.5926 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1515, allocations: 0 / 0.5926 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004487/0.1519, allocations: 276.9 kB / 0.5928 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.337e-05/0.152, allocations: 59.41 kB / 0.5929 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.152, allocations: 4 kB / 0.5929 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.152, allocations: 0 / 0.5929 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.1522, allocations: 19.92 kB / 0.5929 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1522, allocations: 3.984 kB / 0.5929 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.1523, allocations: 35.94 kB / 0.593 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.1523, allocations: 4 kB / 0.593 GB, free: 13.73 MB / 0.4981 GB 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.0001145/0.1525, allocations: 155.5 kB / 0.5931 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.1525, allocations: 7.906 kB / 0.5931 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.1525, allocations: 8.375 kB / 0.5931 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1525, allocations: 4 kB / 0.5931 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1525, allocations: 3.938 kB / 0.5931 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1525, allocations: 7.984 kB / 0.5931 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.1527, allocations: 189.6 kB / 0.5933 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1527, allocations: 0 / 0.5933 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.307e-05/0.1528, allocations: 19.97 kB / 0.5933 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1528, allocations: 0 / 0.5933 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1528, allocations: 0 / 0.5933 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1528, allocations: 4 kB / 0.5933 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1528, allocations: 0 / 0.5933 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004408/0.1533, allocations: 270.5 kB / 0.5936 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.1533, allocations: 84.95 kB / 0.5937 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.1533, allocations: 4.312 kB / 0.5937 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.1535, allocations: 31.97 kB / 0.5937 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.1536, allocations: 31.95 kB / 0.5937 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.1536, allocations: 12 kB / 0.5938 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.23e-05/0.1537, allocations: 95.27 kB / 0.5938 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.61e-07/0.1537, allocations: 0 / 0.5938 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001985/0.1539, allocations: 28 kB / 0.5939 GB, free: 12.68 MB / 0.4981 GB 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.0001001/0.154, allocations: 107.4 kB / 0.594 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004486/0.1544, allocations: 286.7 kB / 0.5943 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1545, allocations: 4 kB / 0.5943 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.1547, allocations: 139.4 kB / 0.5944 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.1549, allocations: 19.94 kB / 0.5944 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/0.1554, allocations: 262.9 kB / 0.5947 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.1556, allocations: 0.6988 MB / 0.5953 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.1556, allocations: 15.44 kB / 0.5954 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1556, allocations: 3.938 kB / 0.5954 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.002853/0.1585, allocations: 1.422 MB / 0.5967 GB, free: 9.648 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.o] Error 1