Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.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.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, 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.001426/0.001426, 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 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.1 MB / 222.6 MB, free: 4.828 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.808/1.808, allocations: 292.3 MB / 0.5491 GB, free: 13.69 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.001399/0.001399, allocations: 67.09 kB / 0.6715 GB, free: 26.53 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3296, allocations: 114.5 MB / 0.7833 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax): time 0.003022/0.3327, allocations: 0.7996 MB / 0.7841 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002136/0.3349, allocations: 1.196 MB / 0.7853 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.335, allocations: 4 kB / 0.7853 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.927e-05/0.335, allocations: 7.922 kB / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.3352, allocations: 11.92 kB / 0.7853 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006064/0.3358, allocations: 127.8 kB / 0.7854 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.336, allocations: 103.7 kB / 0.7855 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.3361, allocations: 16 kB / 0.7855 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.3362, allocations: 39.91 kB / 0.7856 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.152e-05/0.3363, allocations: 39.88 kB / 0.7856 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.3363, allocations: 8 kB / 0.7856 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.034e-05/0.3364, allocations: 19.98 kB / 0.7856 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.609e-05/0.3365, allocations: 7.984 kB / 0.7857 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.763e-05/0.3365, allocations: 35.86 kB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.3367, allocations: 76.11 kB / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3367, allocations: 0 / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3367, allocations: 0 / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.3368, allocations: 0 / 0.7858 GB, free: 11.54 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.0008257/0.3376, allocations: 420.9 kB / 0.7862 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.085e-05/0.3377, allocations: 12.03 kB / 0.7862 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.551e-05/0.3378, allocations: 4.938 kB / 0.7862 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.338, allocations: 172.2 kB / 0.7863 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.338, allocations: 4.312 kB / 0.7863 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.338, allocations: 8.375 kB / 0.7864 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.3383, allocations: 70.2 kB / 0.7864 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3383, allocations: 4.188 kB / 0.7864 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.3383, allocations: 7.922 kB / 0.7864 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3384, allocations: 0 / 0.7864 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.3386, allocations: 39.97 kB / 0.7865 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006341/0.3392, allocations: 324.7 kB / 0.7868 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.3394, allocations: 54.55 kB / 0.7868 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.3395, allocations: 24.94 kB / 0.7869 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.3395, allocations: 4 kB / 0.7869 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003113/0.3399, allocations: 91.2 kB / 0.7869 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.3399, allocations: 4 kB / 0.787 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004943/0.3404, allocations: 129.7 kB / 0.7871 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.3404, allocations: 59.39 kB / 0.7871 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.3406, allocations: 121.7 kB / 0.7872 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.3406, allocations: 25.7 kB / 0.7873 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/0.3407, allocations: 88.14 kB / 0.7874 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.3407, allocations: 19.81 kB / 0.7874 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.453e-05/0.3408, allocations: 33.69 kB / 0.7874 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.341, allocations: 322.8 kB / 0.7877 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.3411, allocations: 47.95 kB / 0.7878 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.3413, allocations: 83.7 kB / 0.7878 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.3416, allocations: 129 kB / 0.788 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3416, allocations: 0 / 0.788 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004454/0.342, allocations: 207.1 kB / 0.7882 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.3421, allocations: 29.86 kB / 0.7882 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3421, allocations: 15.92 kB / 0.7882 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3421, allocations: 0 / 0.7882 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3422, allocations: 8 kB / 0.7882 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/0.3423, allocations: 7.984 kB / 0.7882 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.3425, allocations: 35.91 kB / 0.7883 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.3425, allocations: 11.92 kB / 0.7883 GB, free: 8.695 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * 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.0001175/0.3426, allocations: 129.7 kB / 0.7884 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.3427, allocations: 3.906 kB / 0.7884 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003055/0.343, allocations: 114 kB / 0.7885 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.343, allocations: 4 kB / 0.7885 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.343, allocations: 0 / 0.7885 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.343, allocations: 0 / 0.7885 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/0.3435, allocations: 370.4 kB / 0.7889 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3435, allocations: 0 / 0.7889 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.832e-05/0.3436, allocations: 11.98 kB / 0.7889 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3436, allocations: 0 / 0.7889 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3436, allocations: 0 / 0.7889 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3436, allocations: 0 / 0.7889 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3436, allocations: 0 / 0.7889 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.3439, allocations: 211.3 kB / 0.7891 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.344, allocations: 81.11 kB / 0.7891 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.344, allocations: 4 kB / 0.7892 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.383e-05/0.3441, allocations: 7.984 kB / 0.7892 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.3441, allocations: 11.92 kB / 0.7892 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.3442, allocations: 0 / 0.7892 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.15e-05/0.3442, allocations: 87.28 kB / 0.7893 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3442, allocations: 0 / 0.7893 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002658/0.3445, allocations: 31.98 kB / 0.7893 GB, free: 7.543 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001916/0.3447, allocations: 99.53 kB / 0.7894 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003882/0.3451, allocations: 167.3 kB / 0.7895 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3451, allocations: 3.938 kB / 0.7895 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.3452, allocations: 40.45 kB / 0.7896 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.3455, allocations: 16.12 kB / 0.7896 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004242/0.346, allocations: 197.4 kB / 0.7898 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.3463, allocations: 0.6848 MB / 0.7905 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.3463, allocations: 15.44 kB / 0.7905 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.3463, allocations: 0 / 0.7905 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of Templates: time 0.003596/0.3499, allocations: 1.206 MB / 0.7916 GB, free: 5.051 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.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.OBC.CDL.Discrete.Examples.TriggeredMaxCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMaxCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMaxCalcHelperMain.o] Error 1