Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Examples.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_9_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.00105/0.001051, allocations: 100.5 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.001834/0.001834, allocations: 176.6 kB / 16.58 MB, free: 6.879 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.473/1.473, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.512/2.512, allocations: 390.4 MB / 0.6662 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 11.98 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9192/0.9196, allocations: 142.3 MB / 0.9544 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax): time 0.0009796/0.9206, allocations: 452.6 kB / 0.9548 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.922, allocations: 1.16 MB / 0.956 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.588e-05/0.9221, allocations: 1.219 kB / 0.956 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.122e-05/0.9221, allocations: 3.938 kB / 0.956 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.062e-05/0.9222, allocations: 9.328 kB / 0.956 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.9226, allocations: 124 kB / 0.9561 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.9228, allocations: 93.25 kB / 0.9562 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.465e-05/0.9229, allocations: 13.95 kB / 0.9562 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.607e-05/0.923, allocations: 39.12 kB / 0.9563 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.874e-05/0.923, allocations: 42.16 kB / 0.9563 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.9231, allocations: 5.188 kB / 0.9563 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.484e-05/0.9232, allocations: 19.73 kB / 0.9563 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.9232, allocations: 2.219 kB / 0.9563 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.9232, allocations: 41.64 kB / 0.9564 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.9234, allocations: 76.62 kB / 0.9564 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.9234, allocations: 1.031 kB / 0.9564 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.775e-06/0.9234, allocations: 0 / 0.9564 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.9234, allocations: 4 kB / 0.9564 GB, free: 6.531 MB / 0.7169 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.0005345/0.9239, allocations: 394.1 kB / 0.9568 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.924, allocations: 9.625 kB / 0.9568 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.9241, allocations: 12.11 kB / 0.9568 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.259e-05/0.9242, allocations: 166.1 kB / 0.957 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.9242, allocations: 3.219 kB / 0.957 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.9242, allocations: 10.89 kB / 0.957 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.9244, allocations: 72.31 kB / 0.9571 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.9244, allocations: 3.938 kB / 0.9571 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.9244, allocations: 1.125 kB / 0.9571 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.9245, allocations: 5.156 kB / 0.9571 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.9246, allocations: 60.06 kB / 0.9571 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.9251, allocations: 323.3 kB / 0.9574 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.9253, allocations: 62.89 kB / 0.9575 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.47e-05/0.9254, allocations: 31.28 kB / 0.9575 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.9254, allocations: 0 / 0.9575 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.9257, allocations: 95.59 kB / 0.9576 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.9257, allocations: 0 / 0.9576 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004417/0.9261, allocations: 151.1 kB / 0.9578 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.9262, allocations: 60.83 kB / 0.9578 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.3e-05/0.9262, allocations: 117.7 kB / 0.9579 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.9263, allocations: 28.05 kB / 0.958 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.9263, allocations: 95.42 kB / 0.9581 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.9264, allocations: 18.2 kB / 0.9581 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.9264, allocations: 2.344 kB / 0.9581 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.899e-05/0.9264, allocations: 317.1 kB / 0.9584 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.9266, allocations: 58.55 kB / 0.9584 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.9268, allocations: 72.72 kB / 0.9585 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.9269, allocations: 85.55 kB / 0.9586 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9269, allocations: 1.281 kB / 0.9586 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003834/0.9273, allocations: 211 kB / 0.9588 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/0.9274, allocations: 46.27 kB / 0.9588 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.9274, allocations: 0 / 0.9588 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.9274, allocations: 2.062 kB / 0.9588 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.89e-05/0.9275, allocations: 15.39 kB / 0.9589 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.9275, allocations: 5.938 kB / 0.9589 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.9278, allocations: 54.8 kB / 0.9589 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.9278, allocations: 10.25 kB / 0.9589 GB, free: 4.273 MB / 0.7169 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 7.617e-05/0.9279, allocations: 119.8 kB / 0.959 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.9279, allocations: 3.125 kB / 0.959 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.9282, allocations: 126.8 kB / 0.9592 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.9282, allocations: 1.5 kB / 0.9592 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.9282, allocations: 3.938 kB / 0.9592 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.9282, allocations: 1.625 kB / 0.9592 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.9286, allocations: 375.6 kB / 0.9595 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9286, allocations: 0 / 0.9595 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.222e-05/0.9287, allocations: 16.98 kB / 0.9595 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.9287, allocations: 3.953 kB / 0.9595 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.9287, allocations: 1.781 kB / 0.9595 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.9287, allocations: 0 / 0.9595 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9287, allocations: 4 kB / 0.9595 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.929, allocations: 209.3 kB / 0.9597 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.929, allocations: 82.86 kB / 0.9598 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.9291, allocations: 17.25 kB / 0.9598 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.279e-05/0.9292, allocations: 10.88 kB / 0.9599 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.9292, allocations: 6.734 kB / 0.9599 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.9292, allocations: 2.75 kB / 0.9599 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.161e-05/0.9293, allocations: 92.7 kB / 0.96 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9293, allocations: 1.375 kB / 0.96 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002538/0.9295, allocations: 19.25 kB / 0.96 GB, free: 3.324 MB / 0.7169 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.0001411/0.9297, allocations: 106.5 kB / 0.9601 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003545/0.93, allocations: 180.2 kB / 0.9602 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.93, allocations: 0 / 0.9602 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.9302, allocations: 46.62 kB / 0.9603 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.9304, allocations: 15.31 kB / 0.9603 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.9308, allocations: 191.7 kB / 0.9605 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.931, allocations: 0.696 MB / 0.9612 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.931, allocations: 10.84 kB / 0.9612 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.931, allocations: 0 / 0.9612 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of Templates: time 0.003239/0.9342, allocations: 1.181 MB / 0.9623 GB, free: 1.594 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.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_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMaxCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMaxCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMaxCalcHelperMain.o] Error 1