Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009486/0.0009484, allocations: 98.88 kB / 16.02 MB, free: 76 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.001552/0.001552, allocations: 187.7 kB / 16.92 MB, free: 6.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.882/1.882, allocations: 205.4 MB / 223.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.877/1.877, allocations: 292.7 MB / 0.5509 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005901/0.0005904, allocations: 16.5 kB / 0.675 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3317, allocations: 116.3 MB / 0.7885 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001871/0.3337, allocations: 1.144 MB / 0.7896 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000853/0.3345, allocations: 477 kB / 0.7901 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.535e-05/0.3346, allocations: 0 / 0.7901 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.336e-05/0.3346, allocations: 3.938 kB / 0.7901 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.3347, allocations: 3.938 kB / 0.7901 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.3349, allocations: 15.98 kB / 0.7901 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.3351, allocations: 47.8 kB / 0.7902 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3352, allocations: 15.97 kB / 0.7902 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.161e-05/0.3352, allocations: 15.94 kB / 0.7902 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.3353, allocations: 15.86 kB / 0.7902 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.3354, allocations: 4 kB / 0.7902 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.118e-05/0.3354, allocations: 0 / 0.7902 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.104e-05/0.3354, allocations: 11.98 kB / 0.7902 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.531e-05/0.3355, allocations: 49.56 kB / 0.7903 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.016e-05/0.3356, allocations: 28.23 kB / 0.7903 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3356, allocations: 3.984 kB / 0.7903 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.256e-06/0.3356, allocations: 4 kB / 0.7903 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.3356, allocations: 0 / 0.7903 GB, free: 9.719 MB / 0.6075 GB 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.0007138/0.3364, allocations: 381.1 kB / 0.7907 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.3364, allocations: 12.02 kB / 0.7907 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.358e-05/0.3365, allocations: 12.84 kB / 0.7907 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.3367, allocations: 168.3 kB / 0.7909 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.3367, allocations: 4.375 kB / 0.7909 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.3368, allocations: 8.375 kB / 0.7909 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.3369, allocations: 57.92 kB / 0.7909 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.337, allocations: 0 / 0.7909 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.337, allocations: 0 / 0.7909 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.337, allocations: 0 / 0.7909 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.876e-05/0.3371, allocations: 19.94 kB / 0.7909 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/0.3376, allocations: 280.7 kB / 0.7912 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.769e-05/0.3377, allocations: 34.58 kB / 0.7912 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.343e-05/0.3377, allocations: 28.91 kB / 0.7913 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.3377, allocations: 4 kB / 0.7913 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.338, allocations: 97.16 kB / 0.7914 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.338, allocations: 4 kB / 0.7914 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003171/0.3383, allocations: 139.2 kB / 0.7915 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.3384, allocations: 81.11 kB / 0.7916 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.3385, allocations: 109.8 kB / 0.7917 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.3385, allocations: 33.69 kB / 0.7917 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.3386, allocations: 84.14 kB / 0.7918 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.3386, allocations: 19.75 kB / 0.7918 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.3387, allocations: 17.72 kB / 0.7918 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3389, allocations: 326.8 kB / 0.7921 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.698e-05/0.3389, allocations: 15.98 kB / 0.7922 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.179e-05/0.339, allocations: 38.52 kB / 0.7922 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.3391, allocations: 114.3 kB / 0.7923 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3391, allocations: 0 / 0.7923 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001692/0.3393, allocations: 135.2 kB / 0.7924 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/0.3394, allocations: 37.69 kB / 0.7925 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3394, allocations: 0 / 0.7925 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3394, allocations: 0 / 0.7925 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.132e-05/0.3394, allocations: 7.938 kB / 0.7925 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3395, allocations: 0 / 0.7925 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.41e-05/0.3395, allocations: 8 kB / 0.7925 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.3395, allocations: 7.984 kB / 0.7925 GB, free: 7.188 MB / 0.6075 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 (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.0001414/0.3397, allocations: 158.4 kB / 0.7926 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.3397, allocations: 7.906 kB / 0.7927 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.3397, allocations: 4.75 kB / 0.7927 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3398, allocations: 0 / 0.7927 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3398, allocations: 0 / 0.7927 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3398, allocations: 3.984 kB / 0.7927 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/0.3402, allocations: 404.1 kB / 0.793 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3402, allocations: 0 / 0.793 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-06/0.3403, allocations: 4 kB / 0.7931 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3403, allocations: 4 kB / 0.7931 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.3403, allocations: 4 kB / 0.7931 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3403, allocations: 0 / 0.7931 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3403, allocations: 4.062 kB / 0.7931 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.3406, allocations: 233 kB / 0.7933 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-05/0.3407, allocations: 81.11 kB / 0.7934 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.3407, allocations: 3.984 kB / 0.7934 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3408, allocations: 16 kB / 0.7934 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.3409, allocations: 15.91 kB / 0.7934 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.3409, allocations: 4 kB / 0.7934 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.535e-05/0.3409, allocations: 91.27 kB / 0.7935 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.341, allocations: 0 / 0.7935 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002288/0.3412, allocations: 12 kB / 0.7935 GB, free: 6.043 MB / 0.6075 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 (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.0001603/0.3414, allocations: 106.3 kB / 0.7936 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.3416, allocations: 123.3 kB / 0.7937 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3416, allocations: 0 / 0.7937 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.3417, allocations: 91.33 kB / 0.7938 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.342, allocations: 12 kB / 0.7938 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/0.3425, allocations: 194.3 kB / 0.794 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.3429, allocations: 0.685 MB / 0.7947 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.3429, allocations: 11.44 kB / 0.7947 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.3429, allocations: 0 / 0.7947 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of Templates: time 0.002832/0.3458, allocations: 0.8893 MB / 0.7956 GB, free: 3.852 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile make -j1 -f Buildings_8_Buildings.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 OMCppBuildings_8_Buildings.Controls.Discrete.Examples.BooleanDelayCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.Discrete.Examples.BooleanDelayCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.Discrete.Examples.BooleanDelayCalcHelperMain.o] Error 1