Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007405/0.0007405, allocations: 100.6 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.000802/0.0008023, allocations: 177.4 kB / 16.58 MB, free: 6.422 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.234/1.234, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.917/0.917, allocations: 135.3 MB / 427 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002899/0.0002899, allocations: 8 kB / 0.5076 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1673, allocations: 82.31 MB / 0.588 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001513/0.1688, allocations: 1.129 MB / 0.5891 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006399/0.1695, allocations: 403.4 kB / 0.5895 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.497e-05/0.1695, allocations: 4 kB / 0.5895 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.1696, allocations: 7.922 kB / 0.5895 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.095e-05/0.1697, allocations: 7.938 kB / 0.5895 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.1698, allocations: 11.97 kB / 0.5895 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.254e-05/0.1699, allocations: 43.86 kB / 0.5895 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.814e-05/0.17, allocations: 7.984 kB / 0.5895 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.657e-05/0.1701, allocations: 19.92 kB / 0.5896 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.612e-05/0.1701, allocations: 15.92 kB / 0.5896 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.1702, allocations: 4 kB / 0.5896 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.879e-06/0.1702, allocations: 7.938 kB / 0.5896 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.1702, allocations: 7.984 kB / 0.5896 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.36e-05/0.1703, allocations: 33.7 kB / 0.5896 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.581e-05/0.1703, allocations: 27.94 kB / 0.5897 GB, free: 1.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1704, allocations: 0 / 0.5897 GB, free: 1.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1704, allocations: 4 kB / 0.5897 GB, free: 1.426 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1704, allocations: 0 / 0.5897 GB, free: 1.426 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005571/0.1709, allocations: 393.1 kB / 0.59 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.171, allocations: 8.031 kB / 0.59 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.171, allocations: 4 kB / 0.59 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.1712, allocations: 174.8 kB / 0.5902 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.1712, allocations: 4 kB / 0.5902 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.1712, allocations: 8 kB / 0.5902 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.1713, allocations: 45.67 kB / 0.5903 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1713, allocations: 4 kB / 0.5903 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.1714, allocations: 4 kB / 0.5903 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1714, allocations: 0 / 0.5903 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.882e-05/0.1714, allocations: 19.98 kB / 0.5903 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.1718, allocations: 276.7 kB / 0.5906 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.706e-05/0.1719, allocations: 34.58 kB / 0.5906 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.672e-05/0.172, allocations: 24.97 kB / 0.5906 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.172, allocations: 4 kB / 0.5906 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.1722, allocations: 105.1 kB / 0.5907 GB, free: 164 kB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.1722, allocations: 0 / 0.5907 GB, free: 164 kB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002564/0.1724, allocations: 143.2 kB / 0.5909 GB, free: 8 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.1725, allocations: 85.09 kB / 0.5909 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.978e-05/0.1726, allocations: 113.8 kB / 0.591 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1726, allocations: 25.7 kB / 0.5911 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.1727, allocations: 96.08 kB / 0.5912 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.1727, allocations: 19.8 kB / 0.5912 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.1727, allocations: 0 / 0.5912 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.1728, allocations: 318.8 kB / 0.5915 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.853e-05/0.1728, allocations: 12 kB / 0.5915 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.481e-05/0.1729, allocations: 38.56 kB / 0.5915 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.907e-05/0.173, allocations: 45.7 kB / 0.5916 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.173, allocations: 4 kB / 0.5916 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001466/0.1731, allocations: 123.3 kB / 0.5917 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.1732, allocations: 33.7 kB / 0.5917 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1732, allocations: 4 kB / 0.5917 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1732, allocations: 4.375 kB / 0.5917 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.676e-05/0.1732, allocations: 0 / 0.5917 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.1732, allocations: 7.938 kB / 0.5917 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.511e-05/0.1733, allocations: 19.88 kB / 0.5918 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1733, allocations: 12 kB / 0.5918 GB, free: 14.98 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.0001043/0.1734, allocations: 143.5 kB / 0.5919 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.1735, allocations: 11.89 kB / 0.5919 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.1735, allocations: 8.375 kB / 0.5919 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1735, allocations: 4 kB / 0.5919 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1735, allocations: 0 / 0.5919 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1735, allocations: 0 / 0.5919 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003531/0.1739, allocations: 400.2 kB / 0.5923 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1739, allocations: 4 kB / 0.5923 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-06/0.1739, allocations: 0 / 0.5923 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1739, allocations: 0 / 0.5923 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.1739, allocations: 7.984 kB / 0.5923 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1739, allocations: 3.938 kB / 0.5923 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1739, allocations: 7.938 kB / 0.5923 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.1741, allocations: 233.1 kB / 0.5926 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.1742, allocations: 77.11 kB / 0.5926 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.1742, allocations: 8 kB / 0.5926 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.556e-05/0.1743, allocations: 11.98 kB / 0.5927 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.1744, allocations: 3.984 kB / 0.5927 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.1744, allocations: 11.95 kB / 0.5927 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.917e-05/0.1744, allocations: 83.28 kB / 0.5927 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1744, allocations: 0 / 0.5927 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002207/0.1747, allocations: 16 kB / 0.5928 GB, free: 13.84 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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 9.719e-05/0.1748, allocations: 107.2 kB / 0.5929 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001609/0.1749, allocations: 111.4 kB / 0.593 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.175, allocations: 0 / 0.593 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.239e-05/0.175, allocations: 95.33 kB / 0.5931 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.1753, allocations: 19.58 kB / 0.5931 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.1757, allocations: 194.4 kB / 0.5933 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.1759, allocations: 0.6848 MB / 0.5939 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/0.1759, allocations: 11.44 kB / 0.5939 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.176, allocations: 0 / 0.5939 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.002203/0.1782, allocations: 0.8813 MB / 0.5948 GB, free: 11.67 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelayCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelayCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelayCalcHelperMain.o] Error 1