Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009097/0.0009099, allocations: 102.4 kB / 15.71 MB, free: 440 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.001038/0.001038, allocations: 177.2 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.448/1.448, allocations: 223.3 MB / 240.6 MB, free: 5.453 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.523/2.523, allocations: 390.4 MB / 0.6662 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005612/0.0005613, allocations: 15.94 kB / 0.8155 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9272/0.9278, allocations: 142.3 MB / 0.9544 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.0009697/0.9288, allocations: 469.8 kB / 0.9549 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.93, allocations: 1.05 MB / 0.9559 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.93, allocations: 1.469 kB / 0.9559 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.9301, allocations: 3.938 kB / 0.9559 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.65e-05/0.9302, allocations: 5.375 kB / 0.9559 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.9304, allocations: 39.8 kB / 0.956 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.296e-05/0.9305, allocations: 65.88 kB / 0.956 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/0.9306, allocations: 18.47 kB / 0.956 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.245e-05/0.9307, allocations: 22.02 kB / 0.9561 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.958e-05/0.9308, allocations: 28.81 kB / 0.9561 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.9308, allocations: 3.719 kB / 0.9561 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.94e-05/0.9309, allocations: 16.25 kB / 0.9561 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.9309, allocations: 22.44 kB / 0.9561 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.931, allocations: 34.39 kB / 0.9562 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.9311, allocations: 44.17 kB / 0.9562 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.9311, allocations: 5.156 kB / 0.9562 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9311, allocations: 0 / 0.9562 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.706e-06/0.9311, allocations: 0 / 0.9562 GB, free: 6.691 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005142/0.9316, allocations: 372 kB / 0.9566 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.9317, allocations: 8.562 kB / 0.9566 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.9317, allocations: 15.97 kB / 0.9566 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.9318, allocations: 174.8 kB / 0.9568 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.9318, allocations: 9.625 kB / 0.9568 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.9319, allocations: 3.562 kB / 0.9568 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.9321, allocations: 70.59 kB / 0.9568 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.9321, allocations: 3.938 kB / 0.9568 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.9321, allocations: 1.156 kB / 0.9568 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.9321, allocations: 1.094 kB / 0.9568 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.9323, allocations: 65.88 kB / 0.9569 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005332/0.9329, allocations: 327.7 kB / 0.9572 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.9331, allocations: 64.39 kB / 0.9573 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.51e-05/0.9332, allocations: 36.2 kB / 0.9573 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.9332, allocations: 4.875 kB / 0.9573 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.9334, allocations: 83.2 kB / 0.9574 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.9334, allocations: 0 / 0.9574 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004072/0.9338, allocations: 149.6 kB / 0.9575 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.9339, allocations: 57.45 kB / 0.9576 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.737e-05/0.934, allocations: 124.6 kB / 0.9577 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.934, allocations: 31.11 kB / 0.9577 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.934, allocations: 98.5 kB / 0.9578 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.9341, allocations: 14.81 kB / 0.9579 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-06/0.9341, allocations: 4 kB / 0.9579 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.389e-05/0.9341, allocations: 321 kB / 0.9582 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.9343, allocations: 29.14 kB / 0.9582 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.9344, allocations: 78.23 kB / 0.9583 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.9345, allocations: 44.62 kB / 0.9583 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.9345, allocations: 0 / 0.9583 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002945/0.9348, allocations: 142.9 kB / 0.9584 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.9349, allocations: 9.703 kB / 0.9585 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.9349, allocations: 2.625 kB / 0.9585 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.9349, allocations: 2.844 kB / 0.9585 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.935, allocations: 17.52 kB / 0.9585 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.935, allocations: 11.39 kB / 0.9585 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.717e-05/0.9351, allocations: 15.44 kB / 0.9585 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.9351, allocations: 8 kB / 0.9585 GB, free: 4.582 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.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): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.526e-05/0.9352, allocations: 124.9 kB / 0.9586 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.9352, allocations: 7.188 kB / 0.9586 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/0.9353, allocations: 13.55 kB / 0.9586 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.9353, allocations: 1.25 kB / 0.9586 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.9353, allocations: 5.344 kB / 0.9587 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.9353, allocations: 0 / 0.9587 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003812/0.9357, allocations: 382.2 kB / 0.959 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.9357, allocations: 5.453 kB / 0.959 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.022e-05/0.9357, allocations: 10.48 kB / 0.959 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.9358, allocations: 1.219 kB / 0.959 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.9358, allocations: 5.094 kB / 0.959 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.9358, allocations: 4.016 kB / 0.959 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.9358, allocations: 4.984 kB / 0.959 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.9361, allocations: 214.6 kB / 0.9593 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.9361, allocations: 86.06 kB / 0.9593 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.9361, allocations: 5.531 kB / 0.9593 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.761e-05/0.9362, allocations: 13.45 kB / 0.9594 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.9362, allocations: 2.875 kB / 0.9594 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.9363, allocations: 1.875 kB / 0.9594 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.875e-05/0.9363, allocations: 93.08 kB / 0.9594 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9363, allocations: 0 / 0.9594 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002471/0.9366, allocations: 17.25 kB / 0.9595 GB, free: 3.684 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * 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.0001502/0.9367, allocations: 113.2 kB / 0.9596 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002541/0.937, allocations: 82.42 kB / 0.9596 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.937, allocations: 4.125 kB / 0.9597 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.9371, allocations: 45.22 kB / 0.9597 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.9374, allocations: 9.984 kB / 0.9597 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.9377, allocations: 191.4 kB / 0.9599 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.9378, allocations: 0.6896 MB / 0.9606 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.9379, allocations: 14.95 kB / 0.9606 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.9379, allocations: 0 / 0.9606 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of Templates: time 0.003079/0.941, allocations: 1.029 MB / 0.9616 GB, free: 2.121 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.Sources.Validation.SampleTriggerPositiveStartTimeCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTimeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTimeCalcHelperMain.o] Error 1