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.001383/0.001383, 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.002471/0.002471, allocations: 195 kB / 16.79 MB, free: 6.812 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.864/1.864, allocations: 205.1 MB / 222.6 MB, free: 4.762 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.76/1.76, allocations: 292.3 MB / 0.5491 GB, free: 13.6 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.001285/0.001285, allocations: 63.5 kB / 0.6715 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3138, allocations: 114.5 MB / 0.7833 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.003298/0.3171, allocations: 1.495 MB / 0.7848 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.3183, allocations: 480.9 kB / 0.7852 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.143e-05/0.3184, allocations: 4 kB / 0.7852 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.616e-05/0.3184, allocations: 0 / 0.7852 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.3185, allocations: 3.938 kB / 0.7852 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.3187, allocations: 19.91 kB / 0.7853 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.3189, allocations: 47.8 kB / 0.7853 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.319, allocations: 11.98 kB / 0.7853 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.334e-05/0.319, allocations: 12 kB / 0.7853 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.866e-05/0.3191, allocations: 19.86 kB / 0.7853 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.3191, allocations: 4 kB / 0.7853 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.3192, allocations: 4 kB / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.985e-05/0.3192, allocations: 7.984 kB / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.016e-05/0.3193, allocations: 23.86 kB / 0.7854 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.3194, allocations: 28.23 kB / 0.7854 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3194, allocations: 3.938 kB / 0.7854 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3194, allocations: 4 kB / 0.7854 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3194, allocations: 0 / 0.7854 GB, free: 11.86 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.0007479/0.3202, allocations: 397 kB / 0.7858 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.3202, allocations: 12.03 kB / 0.7858 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.3203, allocations: 0.9375 kB / 0.7858 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.3204, allocations: 176.2 kB / 0.786 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.3205, allocations: 384 / 0.786 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.3205, allocations: 4.375 kB / 0.786 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.3206, allocations: 54 kB / 0.786 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.3207, allocations: 0 / 0.786 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3207, allocations: 0 / 0.786 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3207, allocations: 4 kB / 0.786 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.29e-05/0.3208, allocations: 23.92 kB / 0.7861 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.3212, allocations: 272.8 kB / 0.7863 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.82e-05/0.3214, allocations: 42.56 kB / 0.7864 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.172e-05/0.3214, allocations: 16.98 kB / 0.7864 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.3214, allocations: 0 / 0.7864 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/0.3217, allocations: 109 kB / 0.7865 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.3217, allocations: 4 kB / 0.7865 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003169/0.322, allocations: 139.2 kB / 0.7866 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/0.3221, allocations: 77.11 kB / 0.7867 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3222, allocations: 113.8 kB / 0.7868 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.3222, allocations: 25.7 kB / 0.7868 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.3223, allocations: 92.2 kB / 0.7869 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.3223, allocations: 19.73 kB / 0.7869 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.3224, allocations: 29.72 kB / 0.787 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.3226, allocations: 318.8 kB / 0.7873 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.3e-05/0.3226, allocations: 19.94 kB / 0.7873 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.399e-05/0.3227, allocations: 34.56 kB / 0.7873 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.3228, allocations: 118.3 kB / 0.7874 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3228, allocations: 4 kB / 0.7874 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001741/0.323, allocations: 127.6 kB / 0.7876 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.3231, allocations: 29.7 kB / 0.7876 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3231, allocations: 0 / 0.7876 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3231, allocations: 4 kB / 0.7876 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.115e-05/0.3231, allocations: 7.922 kB / 0.7876 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3232, allocations: 4 kB / 0.7876 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.397e-05/0.3232, allocations: 8 kB / 0.7876 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.3233, allocations: 4 kB / 0.7876 GB, free: 9.32 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.0001812/0.3234, allocations: 162.8 kB / 0.7878 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.3235, allocations: 7.906 kB / 0.7878 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.3235, allocations: 12.36 kB / 0.7878 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3235, allocations: 0 / 0.7878 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3235, allocations: 0 / 0.7878 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3235, allocations: 0 / 0.7878 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000488/0.324, allocations: 404.1 kB / 0.7882 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.324, allocations: 64 / 0.7882 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.377e-05/0.3241, allocations: 12 kB / 0.7882 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3241, allocations: 0 / 0.7882 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.3241, allocations: 0 / 0.7882 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3241, allocations: 0 / 0.7882 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3241, allocations: 4 kB / 0.7882 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.3244, allocations: 229 kB / 0.7884 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.3244, allocations: 85.02 kB / 0.7885 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.3245, allocations: 4 kB / 0.7885 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.3246, allocations: 15.98 kB / 0.7885 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.3247, allocations: 11.92 kB / 0.7885 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.3247, allocations: 3.984 kB / 0.7885 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.513e-05/0.3247, allocations: 91.27 kB / 0.7886 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3248, allocations: 0 / 0.7886 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002392/0.325, allocations: 16 kB / 0.7886 GB, free: 8.168 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.0001356/0.3251, allocations: 103.2 kB / 0.7887 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.3254, allocations: 119.3 kB / 0.7888 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.3254, allocations: 4 kB / 0.7888 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.3255, allocations: 91.28 kB / 0.7889 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.3258, allocations: 20.03 kB / 0.7889 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.3263, allocations: 189.1 kB / 0.7891 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/0.3268, allocations: 0.6887 MB / 0.7898 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.3269, allocations: 11.44 kB / 0.7898 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.3269, allocations: 0 / 0.7898 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of Templates: time 0.002694/0.3296, allocations: 0.881 MB / 0.7907 GB, free: 5.984 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