Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001112/0.001112, allocations: 96.14 kB / 15.87 MB, free: 16 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.001059/0.001059, allocations: 194.1 kB / 16.79 MB, free: 6.812 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.403/1.403, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7413/0.7413, allocations: 132.2 MB / 422.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 64.11 kB / 0.5017 GB, free: 9.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1657, allocations: 80.2 MB / 0.58 GB, free: 9.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002532/0.1682, allocations: 1.487 MB / 0.5815 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006769/0.1689, allocations: 435 kB / 0.5819 GB, free: 7.289 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.342e-05/0.169, allocations: 4 kB / 0.5819 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.382e-05/0.169, allocations: 7.922 kB / 0.5819 GB, free: 7.277 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.914e-05/0.1691, allocations: 7.922 kB / 0.5819 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.1692, allocations: 19.98 kB / 0.5819 GB, free: 7.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.177e-05/0.1693, allocations: 47.8 kB / 0.582 GB, free: 7.203 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.692e-05/0.1694, allocations: 4 kB / 0.582 GB, free: 7.199 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.273e-05/0.1695, allocations: 19.92 kB / 0.582 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.47e-05/0.1695, allocations: 23.91 kB / 0.582 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.1696, allocations: 4 kB / 0.582 GB, free: 7.152 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.037e-05/0.1696, allocations: 3.938 kB / 0.582 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.378e-05/0.1696, allocations: 11.98 kB / 0.582 GB, free: 7.137 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.1696, allocations: 15.88 kB / 0.5821 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.645e-05/0.1697, allocations: 23.95 kB / 0.5821 GB, free: 7.098 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1697, allocations: 0 / 0.5821 GB, free: 7.098 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1697, allocations: 0 / 0.5821 GB, free: 7.098 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1697, allocations: 0 / 0.5821 GB, free: 7.098 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.0005845/0.1703, allocations: 397.3 kB / 0.5825 GB, free: 6.656 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1704, allocations: 8.031 kB / 0.5825 GB, free: 6.648 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.1704, allocations: 4.938 kB / 0.5825 GB, free: 6.645 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.1705, allocations: 176.2 kB / 0.5826 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1706, allocations: 4.359 kB / 0.5826 GB, free: 6.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.1706, allocations: 8.375 kB / 0.5826 GB, free: 6.422 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.1707, allocations: 53.98 kB / 0.5827 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1707, allocations: 0 / 0.5827 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1707, allocations: 4 kB / 0.5827 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1707, allocations: 3.938 kB / 0.5827 GB, free: 6.355 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.61e-05/0.1708, allocations: 23.98 kB / 0.5827 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.1712, allocations: 264.8 kB / 0.583 GB, free: 6.023 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.151e-05/0.1713, allocations: 38.56 kB / 0.583 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/0.1713, allocations: 24.98 kB / 0.583 GB, free: 5.949 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.1714, allocations: 4 kB / 0.583 GB, free: 5.945 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.1715, allocations: 101 kB / 0.5831 GB, free: 5.828 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.1716, allocations: 3.938 kB / 0.5831 GB, free: 5.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003027/0.1719, allocations: 147.3 kB / 0.5833 GB, free: 5.668 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.1719, allocations: 77.11 kB / 0.5834 GB, free: 5.574 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.166e-05/0.172, allocations: 113.8 kB / 0.5835 GB, free: 5.453 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.172, allocations: 25.7 kB / 0.5835 GB, free: 5.422 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.1721, allocations: 88.14 kB / 0.5836 GB, free: 5.332 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.1721, allocations: 27.64 kB / 0.5836 GB, free: 5.305 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.1722, allocations: 21.72 kB / 0.5836 GB, free: 5.277 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1723, allocations: 326.8 kB / 0.5839 GB, free: 4.949 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.236e-05/0.1723, allocations: 12 kB / 0.5839 GB, free: 4.938 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.386e-05/0.1724, allocations: 38.56 kB / 0.584 GB, free: 4.891 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.1725, allocations: 117.9 kB / 0.5841 GB, free: 4.754 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1725, allocations: 0 / 0.5841 GB, free: 4.754 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001409/0.1726, allocations: 119.7 kB / 0.5842 GB, free: 4.625 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/0.1727, allocations: 37.7 kB / 0.5842 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1727, allocations: 3.984 kB / 0.5843 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1727, allocations: 0 / 0.5843 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.604e-05/0.1728, allocations: 4 kB / 0.5843 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.1728, allocations: 7.984 kB / 0.5843 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.445e-05/0.1728, allocations: 15.91 kB / 0.5843 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1729, allocations: 7.938 kB / 0.5843 GB, free: 4.543 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.173, allocations: 148.3 kB / 0.5844 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.173, allocations: 4 kB / 0.5844 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/0.173, allocations: 12.38 kB / 0.5844 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.173, allocations: 0 / 0.5844 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.173, allocations: 0 / 0.5844 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1731, allocations: 0 / 0.5844 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/0.1734, allocations: 408.5 kB / 0.5848 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1734, allocations: 0 / 0.5848 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.144e-06/0.1734, allocations: 0 / 0.5848 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1735, allocations: 7.984 kB / 0.5848 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.1735, allocations: 3.938 kB / 0.5848 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1735, allocations: 0 / 0.5848 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1735, allocations: 0 / 0.5848 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.1737, allocations: 237.1 kB / 0.5851 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.1737, allocations: 89.02 kB / 0.5852 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.1738, allocations: 0 / 0.5852 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1739, allocations: 11.98 kB / 0.5852 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.1739, allocations: 11.92 kB / 0.5852 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.1739, allocations: 7.938 kB / 0.5852 GB, free: 3.504 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.241e-05/0.174, allocations: 87.28 kB / 0.5853 GB, free: 3.418 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.174, allocations: 0 / 0.5853 GB, free: 3.418 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.1742, allocations: 12 kB / 0.5853 GB, free: 3.406 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.422e-05/0.1743, allocations: 107.2 kB / 0.5854 GB, free: 3.293 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.1745, allocations: 111.3 kB / 0.5855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1745, allocations: 0 / 0.5855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.401e-05/0.1746, allocations: 95.33 kB / 0.5856 GB, free: 3.066 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.1749, allocations: 18 kB / 0.5856 GB, free: 3.051 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.1752, allocations: 193.1 kB / 0.5858 GB, free: 2.824 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.1755, allocations: 0.6809 MB / 0.5864 GB, free: 2.117 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.1756, allocations: 11.44 kB / 0.5865 GB, free: 2.105 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1756, allocations: 0 / 0.5865 GB, free: 2.105 MB / 494.1 MB Notification: Performance of Templates: time 0.002178/0.1777, allocations: 0.8941 MB / 0.5873 GB, free: 1.211 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelayCalcHelperMain.o OMCppIDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelayCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelayCalcHelperMain.o] Error 1