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.000975/0.0009749, allocations: 98.64 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.00144/0.00144, allocations: 183 kB / 16.92 MB, free: 6.918 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.925/1.925, allocations: 205.4 MB / 223.1 MB, free: 5.535 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.871/1.871, 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.0006057/0.0006057, allocations: 13.44 kB / 0.675 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3429, allocations: 116.3 MB / 0.7886 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax): time 0.001048/0.344, allocations: 457.3 kB / 0.789 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.3456, allocations: 1.192 MB / 0.7902 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.055e-05/0.3456, allocations: 4 kB / 0.7902 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.863e-05/0.3456, allocations: 0 / 0.7902 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.434e-05/0.3457, allocations: 7.922 kB / 0.7902 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004867/0.3462, allocations: 126.9 kB / 0.7903 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.3464, allocations: 107.8 kB / 0.7904 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3465, allocations: 19.92 kB / 0.7904 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.815e-05/0.3466, allocations: 23.98 kB / 0.7904 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.673e-05/0.3467, allocations: 47.75 kB / 0.7905 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.3467, allocations: 4 kB / 0.7905 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.878e-05/0.3468, allocations: 19.98 kB / 0.7905 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.606e-05/0.3468, allocations: 11.98 kB / 0.7905 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.766e-05/0.3469, allocations: 61.56 kB / 0.7906 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.347, allocations: 76.09 kB / 0.7906 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3471, allocations: 3.938 kB / 0.7906 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3471, allocations: 4 kB / 0.7907 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.3471, allocations: 0 / 0.7907 GB, free: 9.387 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.000625/0.3477, allocations: 389.1 kB / 0.791 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.3478, allocations: 12.03 kB / 0.791 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.3478, allocations: 12.84 kB / 0.791 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.348, allocations: 172.3 kB / 0.7912 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.348, allocations: 384 / 0.7912 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/0.348, allocations: 12.36 kB / 0.7912 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.3483, allocations: 78.14 kB / 0.7913 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3483, allocations: 7.875 kB / 0.7913 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.3483, allocations: 0 / 0.7913 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3483, allocations: 0 / 0.7913 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.3485, allocations: 55.95 kB / 0.7914 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.3491, allocations: 320.8 kB / 0.7917 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.3493, allocations: 62.48 kB / 0.7917 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.3494, allocations: 36.92 kB / 0.7918 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.3494, allocations: 0 / 0.7918 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002617/0.3497, allocations: 91.36 kB / 0.7918 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3497, allocations: 0 / 0.7918 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004803/0.3502, allocations: 157.5 kB / 0.792 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.3502, allocations: 59.39 kB / 0.7921 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.3504, allocations: 117.8 kB / 0.7922 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.3504, allocations: 25.7 kB / 0.7922 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.3505, allocations: 92.05 kB / 0.7923 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.3506, allocations: 19.8 kB / 0.7923 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.3506, allocations: 17.72 kB / 0.7923 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3508, allocations: 326.8 kB / 0.7926 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.3509, allocations: 48.34 kB / 0.7927 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.3512, allocations: 87.39 kB / 0.7928 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.3515, allocations: 137.1 kB / 0.7929 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3515, allocations: 3.938 kB / 0.7929 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004217/0.3519, allocations: 211.2 kB / 0.7931 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.962e-05/0.352, allocations: 33.69 kB / 0.7931 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.352, allocations: 4 kB / 0.7931 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.352, allocations: 4.062 kB / 0.7931 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.795e-05/0.3521, allocations: 19.98 kB / 0.7932 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.3521, allocations: 0 / 0.7932 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.3524, allocations: 58.95 kB / 0.7932 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.3524, allocations: 8 kB / 0.7932 GB, free: 6.492 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.0001117/0.3525, allocations: 122.4 kB / 0.7933 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.3525, allocations: 7.906 kB / 0.7933 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.3529, allocations: 137.9 kB / 0.7935 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3529, allocations: 0 / 0.7935 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3529, allocations: 0 / 0.7935 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3529, allocations: 0 / 0.7935 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004563/0.3533, allocations: 374.5 kB / 0.7938 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3534, allocations: 3.938 kB / 0.7938 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.198e-05/0.3534, allocations: 15.98 kB / 0.7938 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3534, allocations: 0 / 0.7938 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.3535, allocations: 0 / 0.7938 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3535, allocations: 0 / 0.7938 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.3535, allocations: 3.938 kB / 0.7939 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.3538, allocations: 212 kB / 0.7941 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.3538, allocations: 81.02 kB / 0.7941 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.3539, allocations: 7.984 kB / 0.7941 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.471e-05/0.354, allocations: 8 kB / 0.7941 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.354, allocations: 15.92 kB / 0.7942 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.354, allocations: 0 / 0.7942 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.302e-05/0.3541, allocations: 95.2 kB / 0.7943 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3541, allocations: 0 / 0.7943 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000249/0.3544, allocations: 20 kB / 0.7943 GB, free: 5.305 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.0001713/0.3545, allocations: 103.5 kB / 0.7944 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003922/0.3549, allocations: 183.3 kB / 0.7945 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.355, allocations: 0 / 0.7945 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.3551, allocations: 47.95 kB / 0.7946 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.3554, allocations: 20.11 kB / 0.7946 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.3558, allocations: 196.3 kB / 0.7948 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.3562, allocations: 0.6911 MB / 0.7955 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.3562, allocations: 7.438 kB / 0.7955 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of SimCode: time 1.964e-06/0.3562, allocations: 4 kB / 0.7955 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of Templates: time 0.003008/0.3592, allocations: 1.189 MB / 0.7966 GB, free: 2.797 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