Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008607/0.0008609, allocations: 100.2 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.0009405/0.0009406, allocations: 177.5 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.573/1.573, allocations: 223.2 MB / 240.6 MB, free: 5.438 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.563/2.563, allocations: 390.5 MB / 0.6662 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003506, allocations: 16 kB / 0.8154 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8902/0.8906, allocations: 142.3 MB / 0.9544 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001016/0.8916, allocations: 470.4 kB / 0.9549 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.893, allocations: 1.128 MB / 0.956 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.647e-05/0.893, allocations: 0 / 0.956 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.8931, allocations: 3.984 kB / 0.956 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.104e-05/0.8932, allocations: 6.188 kB / 0.956 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.8936, allocations: 118.2 kB / 0.9561 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.8938, allocations: 96.55 kB / 0.9562 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.965e-05/0.8939, allocations: 14.69 kB / 0.9562 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.525e-05/0.894, allocations: 39.25 kB / 0.9562 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.022e-05/0.8941, allocations: 37.22 kB / 0.9563 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.8941, allocations: 6.344 kB / 0.9563 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.746e-05/0.8942, allocations: 14.92 kB / 0.9563 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.8942, allocations: 14.77 kB / 0.9563 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.8943, allocations: 37.23 kB / 0.9563 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.8944, allocations: 73.97 kB / 0.9564 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.8944, allocations: 0 / 0.9564 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.585e-06/0.8944, allocations: 0 / 0.9564 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.8944, allocations: 9.312 kB / 0.9564 GB, free: 6.5 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.0005333/0.895, allocations: 394.2 kB / 0.9568 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.895, allocations: 8.844 kB / 0.9568 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.8951, allocations: 9.766 kB / 0.9568 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.105e-05/0.8952, allocations: 174.6 kB / 0.957 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.8952, allocations: 7.406 kB / 0.957 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.8952, allocations: 5.406 kB / 0.957 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.8955, allocations: 76.3 kB / 0.9571 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.8955, allocations: 1.281 kB / 0.9571 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.8955, allocations: 0 / 0.9571 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.8955, allocations: 1.5 kB / 0.9571 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.8957, allocations: 59.47 kB / 0.9571 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.8962, allocations: 333.2 kB / 0.9574 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.8964, allocations: 63.11 kB / 0.9575 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.8965, allocations: 41.75 kB / 0.9575 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.8965, allocations: 1 kB / 0.9575 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002478/0.8968, allocations: 96.58 kB / 0.9576 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.8968, allocations: 3.938 kB / 0.9576 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004664/0.8973, allocations: 153.8 kB / 0.9578 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.8973, allocations: 56.64 kB / 0.9578 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.376e-05/0.8974, allocations: 119.8 kB / 0.958 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.8974, allocations: 32.05 kB / 0.958 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.8975, allocations: 96.66 kB / 0.9581 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.8975, allocations: 19.03 kB / 0.9581 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/0.8975, allocations: 1.406 kB / 0.9581 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.895e-05/0.8976, allocations: 325.2 kB / 0.9584 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.8978, allocations: 52.12 kB / 0.9585 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.898, allocations: 95.84 kB / 0.9585 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.8981, allocations: 87.95 kB / 0.9586 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8981, allocations: 0 / 0.9586 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004256/0.8986, allocations: 218.9 kB / 0.9588 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.8986, allocations: 41.23 kB / 0.9589 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.8986, allocations: 5.219 kB / 0.9589 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.8987, allocations: 5.391 kB / 0.9589 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.376e-05/0.8988, allocations: 14.61 kB / 0.9589 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.8988, allocations: 5.594 kB / 0.9589 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.899, allocations: 47.45 kB / 0.959 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.899, allocations: 5.812 kB / 0.959 GB, free: 4.219 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.edge1.u,edge1.u,edge1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 9.325e-05/0.8991, allocations: 134.7 kB / 0.9591 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.8991, allocations: 7.625 kB / 0.9591 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.8992, allocations: 9.594 kB / 0.9591 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.8992, allocations: 9.406 kB / 0.9591 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.8992, allocations: 3.938 kB / 0.9591 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.8992, allocations: 0 / 0.9591 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004126/0.8996, allocations: 389 kB / 0.9595 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.8996, allocations: 0 / 0.9595 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.572e-05/0.8997, allocations: 17.02 kB / 0.9595 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.8997, allocations: 3.953 kB / 0.9595 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.8997, allocations: 1.438 kB / 0.9595 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.8997, allocations: 0 / 0.9595 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8997, allocations: 5.844 kB / 0.9595 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.9, allocations: 212.5 kB / 0.9597 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.9001, allocations: 87.45 kB / 0.9598 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.9001, allocations: 12.97 kB / 0.9598 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.926e-05/0.9002, allocations: 7.438 kB / 0.9598 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.9002, allocations: 11.08 kB / 0.9598 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.9003, allocations: 1.406 kB / 0.9598 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.222e-05/0.9003, allocations: 96.58 kB / 0.9599 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9003, allocations: 0 / 0.9599 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002601/0.9006, allocations: 19.5 kB / 0.9599 GB, free: 3.305 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: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001585/0.9007, allocations: 116.2 kB / 0.9601 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003729/0.9011, allocations: 179.8 kB / 0.9602 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9011, allocations: 1.375 kB / 0.9602 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.9013, allocations: 48.19 kB / 0.9603 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.9015, allocations: 10.86 kB / 0.9603 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/0.9019, allocations: 212.7 kB / 0.9605 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.9021, allocations: 0.6839 MB / 0.9612 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.9021, allocations: 19.48 kB / 0.9612 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.9021, allocations: 0 / 0.9612 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of Templates: time 0.003354/0.9055, allocations: 1.242 MB / 0.9624 GB, free: 1.527 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Logical.Validation.EdgeCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.EdgeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.EdgeCalcHelperMain.o] Error 1