Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009101/0.009101, allocations: 99.95 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 188.7 kB / 16.78 MB, free: 5.809 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.932/1.932, allocations: 205.1 MB / 222.6 MB, free: 4.723 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.959/1.959, allocations: 292.3 MB / 0.5491 GB, free: 13.66 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.001347/0.001347, allocations: 66.3 kB / 0.6715 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3303, allocations: 114.5 MB / 0.7834 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.003376/0.3338, allocations: 0.8204 MB / 0.7842 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002224/0.336, allocations: 1.064 MB / 0.7852 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.281e-05/0.3361, allocations: 4 kB / 0.7852 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.963e-05/0.3363, allocations: 7.938 kB / 0.7852 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.3364, allocations: 7.922 kB / 0.7852 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.3368, allocations: 47.89 kB / 0.7853 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.337, allocations: 67.78 kB / 0.7853 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.3371, allocations: 16.17 kB / 0.7853 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.3373, allocations: 23.92 kB / 0.7854 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.3374, allocations: 35.83 kB / 0.7854 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.3374, allocations: 8 kB / 0.7854 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.956e-05/0.3375, allocations: 16 kB / 0.7854 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.3376, allocations: 11.92 kB / 0.7854 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.247e-05/0.3377, allocations: 27.86 kB / 0.7855 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.3378, allocations: 52.17 kB / 0.7855 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.41e-05/0.3379, allocations: 7.938 kB / 0.7855 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3379, allocations: 3.938 kB / 0.7855 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.3379, allocations: 0 / 0.7855 GB, free: 11.73 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009764/0.3389, allocations: 379.2 kB / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 9.957e-05/0.339, allocations: 16.03 kB / 0.7859 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.4e-05/0.3391, allocations: 12.84 kB / 0.7859 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.3393, allocations: 168.2 kB / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.3394, allocations: 12.36 kB / 0.7861 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.3394, allocations: 4.375 kB / 0.7861 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.3397, allocations: 66.17 kB / 0.7861 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3397, allocations: 3.938 kB / 0.7862 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.3397, allocations: 4 kB / 0.7862 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.3397, allocations: 0 / 0.7862 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.3399, allocations: 55.89 kB / 0.7862 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009897/0.3409, allocations: 320.7 kB / 0.7865 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.3412, allocations: 62.58 kB / 0.7866 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.3413, allocations: 28.97 kB / 0.7866 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.3414, allocations: 0 / 0.7866 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003487/0.3417, allocations: 75.38 kB / 0.7867 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.3417, allocations: 0 / 0.7867 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005422/0.3423, allocations: 133.5 kB / 0.7868 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.3424, allocations: 59.39 kB / 0.7869 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.3425, allocations: 121.8 kB / 0.787 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.3426, allocations: 29.7 kB / 0.787 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.3427, allocations: 88.14 kB / 0.7871 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.3427, allocations: 15.75 kB / 0.7871 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.524e-05/0.3428, allocations: 29.7 kB / 0.7871 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002542/0.3431, allocations: 326.8 kB / 0.7874 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.3432, allocations: 31.97 kB / 0.7875 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.3434, allocations: 70.42 kB / 0.7875 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.3437, allocations: 109.8 kB / 0.7876 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.3437, allocations: 8 kB / 0.7877 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003312/0.344, allocations: 125.4 kB / 0.7878 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.344, allocations: 4 kB / 0.7878 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3441, allocations: 0 / 0.7878 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.3441, allocations: 4 kB / 0.7878 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.3442, allocations: 24.14 kB / 0.7878 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.3443, allocations: 11.94 kB / 0.7878 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.907e-05/0.3444, allocations: 11.89 kB / 0.7878 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.3444, allocations: 7.938 kB / 0.7878 GB, free: 9.098 MB / 0.6075 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 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.3446, allocations: 126.4 kB / 0.788 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.3446, allocations: 3.984 kB / 0.788 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/0.3446, allocations: 12.38 kB / 0.788 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.3447, allocations: 0 / 0.788 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.3447, allocations: 3.938 kB / 0.788 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3447, allocations: 4 kB / 0.788 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005778/0.3453, allocations: 382.6 kB / 0.7883 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3453, allocations: 0 / 0.7883 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.519e-05/0.3453, allocations: 8 kB / 0.7883 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.3454, allocations: 7.922 kB / 0.7884 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.3454, allocations: 4 kB / 0.7884 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.3454, allocations: 7.938 kB / 0.7884 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3454, allocations: 4 kB / 0.7884 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.3457, allocations: 191.4 kB / 0.7886 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-05/0.3458, allocations: 85.09 kB / 0.7886 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.3458, allocations: 0 / 0.7886 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.654e-05/0.3459, allocations: 7.938 kB / 0.7886 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.346, allocations: 15.98 kB / 0.7887 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.346, allocations: 0 / 0.7887 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.741e-05/0.3461, allocations: 95.42 kB / 0.7887 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3461, allocations: 4 kB / 0.7888 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002827/0.3464, allocations: 15.91 kB / 0.7888 GB, free: 8.039 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: 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 (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.0002325/0.3467, allocations: 113.8 kB / 0.7889 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003243/0.347, allocations: 79.94 kB / 0.789 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.347, allocations: 0 / 0.789 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.3472, allocations: 35.97 kB / 0.789 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.3475, allocations: 8 kB / 0.789 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/0.348, allocations: 206 kB / 0.7892 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.3484, allocations: 0.6926 MB / 0.7899 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.3484, allocations: 15.42 kB / 0.7899 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.3485, allocations: 0 / 0.7899 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of Templates: time 0.003502/0.352, allocations: 1.023 MB / 0.7909 GB, free: 5.816 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.Logical.Sources.Validation.SampleTriggerCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerCalcHelperMain.o] Error 1