Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 100.9 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.001322/0.001322, allocations: 176.3 kB / 16.58 MB, free: 6.422 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.606/1.606, allocations: 223.3 MB / 240.6 MB, free: 5.418 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.551/2.551, allocations: 390.4 MB / 0.6662 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 16 kB / 0.8155 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9514/0.9518, allocations: 142.3 MB / 0.9544 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001165/0.9531, allocations: 474.2 kB / 0.9549 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.9546, allocations: 1.12 MB / 0.956 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.185e-05/0.9547, allocations: 1.219 kB / 0.956 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.9547, allocations: 3.938 kB / 0.956 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.935e-05/0.9548, allocations: 13.31 kB / 0.956 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.9553, allocations: 118 kB / 0.9561 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.9554, allocations: 97.84 kB / 0.9562 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.9556, allocations: 18.31 kB / 0.9562 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.768e-05/0.9557, allocations: 39.72 kB / 0.9562 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.97e-05/0.9558, allocations: 38.05 kB / 0.9563 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.9558, allocations: 4.781 kB / 0.9563 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.883e-05/0.9559, allocations: 15.92 kB / 0.9563 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.9559, allocations: 15.31 kB / 0.9563 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.411e-05/0.956, allocations: 41.27 kB / 0.9564 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.9561, allocations: 69.95 kB / 0.9564 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.9561, allocations: 4 kB / 0.9564 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.805e-06/0.9561, allocations: 0 / 0.9564 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.9561, allocations: 0 / 0.9564 GB, free: 6.578 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005184/0.9566, allocations: 399.8 kB / 0.9568 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.9567, allocations: 9.312 kB / 0.9568 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.6e-05/0.9568, allocations: 17.89 kB / 0.9568 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.999e-05/0.9569, allocations: 173.7 kB / 0.957 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.9569, allocations: 8.25 kB / 0.957 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.9569, allocations: 6.156 kB / 0.957 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.9571, allocations: 73.25 kB / 0.9571 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.9572, allocations: 0 / 0.9571 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.9572, allocations: 1 kB / 0.9571 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.9572, allocations: 5 kB / 0.9571 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.9574, allocations: 62.75 kB / 0.9572 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.9579, allocations: 337.7 kB / 0.9575 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.958, allocations: 66.77 kB / 0.9575 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.311e-05/0.9581, allocations: 40.78 kB / 0.9576 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.9582, allocations: 4 kB / 0.9576 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.9584, allocations: 96.81 kB / 0.9577 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.9584, allocations: 0 / 0.9577 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004475/0.9589, allocations: 162.8 kB / 0.9578 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.9589, allocations: 52.75 kB / 0.9579 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.76e-05/0.959, allocations: 119.1 kB / 0.958 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.959, allocations: 28.55 kB / 0.958 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.9591, allocations: 92.39 kB / 0.9581 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.9591, allocations: 26.53 kB / 0.9581 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/0.9591, allocations: 6.625 kB / 0.9581 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.369e-05/0.9592, allocations: 312.9 kB / 0.9584 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.9593, allocations: 59.23 kB / 0.9585 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.9595, allocations: 92.75 kB / 0.9586 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.9597, allocations: 88.52 kB / 0.9587 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9597, allocations: 4 kB / 0.9587 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003906/0.9601, allocations: 212.9 kB / 0.9589 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.9601, allocations: 38.56 kB / 0.9589 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.9601, allocations: 128 / 0.9589 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.9602, allocations: 7.625 kB / 0.9589 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.956e-05/0.9602, allocations: 17.89 kB / 0.9589 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.9603, allocations: 1.594 kB / 0.9589 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.9605, allocations: 55.2 kB / 0.959 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.9605, allocations: 6.531 kB / 0.959 GB, free: 4.273 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,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * 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 8.691e-05/0.9606, allocations: 123 kB / 0.9591 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.9606, allocations: 6.938 kB / 0.9591 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.9607, allocations: 14.42 kB / 0.9591 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.9607, allocations: 1.344 kB / 0.9591 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.9607, allocations: 4.062 kB / 0.9591 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.9607, allocations: 0 / 0.9591 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.9611, allocations: 398.6 kB / 0.9595 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9611, allocations: 0 / 0.9595 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-05/0.9612, allocations: 19.66 kB / 0.9595 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.9612, allocations: 1.594 kB / 0.9595 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.9612, allocations: 0 / 0.9595 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.9612, allocations: 5.312 kB / 0.9595 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9612, allocations: 80 / 0.9595 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.9615, allocations: 218.3 kB / 0.9598 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.9615, allocations: 87.16 kB / 0.9598 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.9616, allocations: 13.09 kB / 0.9598 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.909e-05/0.9616, allocations: 5.438 kB / 0.9599 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.9617, allocations: 7.516 kB / 0.9599 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.9617, allocations: 2.25 kB / 0.9599 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.966e-05/0.9617, allocations: 91.83 kB / 0.9599 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9618, allocations: 4 kB / 0.96 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002639/0.962, allocations: 28.75 kB / 0.96 GB, free: 3.359 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0001814/0.9622, allocations: 107.4 kB / 0.9601 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000376/0.9626, allocations: 193.1 kB / 0.9603 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9626, allocations: 3.938 kB / 0.9603 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.9627, allocations: 41.08 kB / 0.9603 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.963, allocations: 14.02 kB / 0.9603 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003724/0.9634, allocations: 208.4 kB / 0.9605 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.9636, allocations: 0.6893 MB / 0.9612 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.9636, allocations: 11.53 kB / 0.9612 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.9636, allocations: 0 / 0.9612 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of Templates: time 0.003296/0.9669, allocations: 1.252 MB / 0.9624 GB, free: 1.586 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.FallingEdgeCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdgeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdgeCalcHelperMain.o] Error 1