Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008742/0.0008744, allocations: 98.97 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.001084/0.001084, allocations: 176.1 kB / 16.58 MB, free: 6.418 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.489/1.489, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.691/2.691, allocations: 436.7 MB / 0.7113 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003865, allocations: 15.94 kB / 0.8717 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8046/0.805, allocations: 153.6 MB / 1.022 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001023/0.8061, allocations: 457.4 kB / 1.022 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.8077, allocations: 1.152 MB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.652e-05/0.8077, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.8078, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.192e-05/0.8078, allocations: 7.938 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.8083, allocations: 130.3 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.8085, allocations: 95.73 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.078e-05/0.8085, allocations: 12 kB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.693e-05/0.8086, allocations: 39.89 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.536e-05/0.8087, allocations: 31.89 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.8088, allocations: 8 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.776e-05/0.8088, allocations: 19.98 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.8088, allocations: 7.938 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.078e-05/0.8089, allocations: 41.64 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.809, allocations: 71.81 kB / 1.024 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.8091, allocations: 4 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8091, allocations: 0 / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.748e-06/0.8091, allocations: 0 / 1.024 GB, free: 15.05 MB / 0.7794 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.0006119/0.8097, allocations: 394.8 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.8097, allocations: 19.98 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.8098, allocations: 7.938 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.8099, allocations: 170.9 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.81, allocations: 4 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.81, allocations: 7.984 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.8102, allocations: 81.53 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.8102, allocations: 0 / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.8102, allocations: 4 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.8103, allocations: 0 / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.8104, allocations: 55.95 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.8109, allocations: 320.8 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.8111, allocations: 62.48 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.98e-05/0.8112, allocations: 32.94 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.8113, allocations: 4 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.8115, allocations: 87.36 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.8115, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004387/0.8119, allocations: 157.5 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.812, allocations: 59.39 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.44e-05/0.8121, allocations: 113.8 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.8121, allocations: 25.7 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.8122, allocations: 96.23 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.8122, allocations: 23.73 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.8122, allocations: 0 / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.8124, allocations: 322.8 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.8125, allocations: 51.95 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.8127, allocations: 83.34 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.8129, allocations: 85.61 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.8129, allocations: 480 / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004138/0.8133, allocations: 207.2 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.027e-05/0.8134, allocations: 41.69 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8134, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.8134, allocations: 4 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.862e-05/0.8135, allocations: 19.98 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.8135, allocations: 4 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.8137, allocations: 47.86 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.8138, allocations: 11.94 kB / 1.026 GB, free: 12.24 MB / 0.7794 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,$whenCondition1,$PRE.booPul.y,booPul.y,$PRE.triggeredMax.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.8139, allocations: 125.8 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.8139, allocations: 0 / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.8142, allocations: 129.9 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.8142, allocations: 4 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.8142, allocations: 4 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.8142, allocations: 0 / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.8147, allocations: 374.5 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.8148, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.474e-05/0.8148, allocations: 15.98 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.8148, allocations: 0 / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.8148, allocations: 0 / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.8149, allocations: 4 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8149, allocations: 0 / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.8152, allocations: 223.8 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.8153, allocations: 85 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.8153, allocations: 4 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.2e-05/0.8154, allocations: 8 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.8155, allocations: 7.984 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.8155, allocations: 0 / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.078e-05/0.8155, allocations: 95.27 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8155, allocations: 0 / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002809/0.8158, allocations: 20 kB / 1.027 GB, free: 11.06 MB / 0.7794 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 (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 0.0002525/0.8161, allocations: 115.1 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004615/0.8166, allocations: 175.3 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8166, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.8167, allocations: 48.19 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.8171, allocations: 26.42 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.8177, allocations: 202.5 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005878/0.8183, allocations: 0.6887 MB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.8183, allocations: 11.44 kB / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of SimCode: time 1.433e-06/0.8183, allocations: 0 / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of Templates: time 0.004008/0.8223, allocations: 1.169 MB / 1.03 GB, free: 8.566 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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 OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMaxCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMaxCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMaxCalcHelperMain.o] Error 1