Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008562/0.0008558, allocations: 92.16 kB / 16.02 MB, free: 80 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.00131/0.00131, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.842/1.842, allocations: 205.4 MB / 223.1 MB, free: 5.523 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.876/1.876, allocations: 292.7 MB / 0.5509 GB, free: 14.45 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.0005791/0.0005792, allocations: 14.59 kB / 0.675 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3109, allocations: 116.3 MB / 0.7886 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001019/0.312, allocations: 489.2 kB / 0.789 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.3134, allocations: 1.064 MB / 0.7901 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/0.3134, allocations: 3.938 kB / 0.7901 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.3134, allocations: 0 / 0.7901 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.062e-05/0.3135, allocations: 11.92 kB / 0.7901 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.3138, allocations: 43.91 kB / 0.7901 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.833e-05/0.3139, allocations: 71.77 kB / 0.7902 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.314, allocations: 16.17 kB / 0.7902 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.517e-05/0.3141, allocations: 27.86 kB / 0.7902 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.455e-05/0.3142, allocations: 27.84 kB / 0.7903 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.3142, allocations: 4 kB / 0.7903 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.595e-05/0.3143, allocations: 15.98 kB / 0.7903 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.3143, allocations: 11.98 kB / 0.7903 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.487e-05/0.3144, allocations: 57.5 kB / 0.7904 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.3145, allocations: 56.16 kB / 0.7904 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3145, allocations: 0 / 0.7904 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3145, allocations: 0 / 0.7904 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.3145, allocations: 0 / 0.7904 GB, free: 9.637 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.0005822/0.3151, allocations: 371.3 kB / 0.7908 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3151, allocations: 12.03 kB / 0.7908 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.3152, allocations: 8.844 kB / 0.7908 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.3153, allocations: 180.2 kB / 0.791 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.3154, allocations: 384 / 0.791 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.3154, allocations: 12.31 kB / 0.791 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.3156, allocations: 66.23 kB / 0.791 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3156, allocations: 3.938 kB / 0.791 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.3156, allocations: 0 / 0.791 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.3156, allocations: 7.984 kB / 0.791 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.3158, allocations: 51.97 kB / 0.7911 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/0.3165, allocations: 340.6 kB / 0.7914 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.3167, allocations: 58.55 kB / 0.7915 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.3168, allocations: 36.97 kB / 0.7915 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.3168, allocations: 4 kB / 0.7915 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.317, allocations: 91.39 kB / 0.7916 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.3171, allocations: 0 / 0.7916 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004287/0.3175, allocations: 145.5 kB / 0.7917 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.3175, allocations: 55.41 kB / 0.7918 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.3176, allocations: 125.7 kB / 0.7919 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.3177, allocations: 33.7 kB / 0.7919 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/0.3177, allocations: 92.05 kB / 0.792 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.3178, allocations: 23.72 kB / 0.7921 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.3178, allocations: 17.72 kB / 0.7921 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3179, allocations: 322.8 kB / 0.7924 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.318, allocations: 35.98 kB / 0.7924 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.3182, allocations: 81.92 kB / 0.7925 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.3184, allocations: 117.9 kB / 0.7926 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3185, allocations: 4 kB / 0.7926 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003142/0.3188, allocations: 141.3 kB / 0.7927 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3188, allocations: 8.219 kB / 0.7927 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3188, allocations: 4 kB / 0.7927 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3188, allocations: 4 kB / 0.7928 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.319, allocations: 19.98 kB / 0.7928 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.319, allocations: 0 / 0.7928 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.409e-05/0.3191, allocations: 15.98 kB / 0.7928 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.3191, allocations: 4 kB / 0.7928 GB, free: 6.926 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 9.733e-05/0.3192, allocations: 133.2 kB / 0.7929 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.3192, allocations: 3.906 kB / 0.7929 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.3192, allocations: 16.31 kB / 0.7929 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3193, allocations: 3.984 kB / 0.7929 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3193, allocations: 0 / 0.7929 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3193, allocations: 0 / 0.7929 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004906/0.3198, allocations: 386.3 kB / 0.7933 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3198, allocations: 0 / 0.7933 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/0.3198, allocations: 11.98 kB / 0.7933 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3199, allocations: 4 kB / 0.7933 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.3199, allocations: 7.938 kB / 0.7933 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3199, allocations: 3.938 kB / 0.7933 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3199, allocations: 0 / 0.7933 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.3202, allocations: 211.9 kB / 0.7935 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.3203, allocations: 81.02 kB / 0.7936 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.3203, allocations: 7.938 kB / 0.7936 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.332e-05/0.3204, allocations: 15.92 kB / 0.7936 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.3205, allocations: 7.984 kB / 0.7936 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-06/0.3205, allocations: 0 / 0.7936 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.661e-05/0.3205, allocations: 99.27 kB / 0.7937 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3205, allocations: 0 / 0.7937 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002403/0.3208, allocations: 12 kB / 0.7938 GB, free: 5.844 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.0001897/0.321, allocations: 107.2 kB / 0.7939 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002727/0.3213, allocations: 87.88 kB / 0.7939 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3213, allocations: 0 / 0.7939 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.3214, allocations: 52.41 kB / 0.794 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.3217, allocations: 10.95 kB / 0.794 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.3221, allocations: 203 kB / 0.7942 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.3223, allocations: 0.6965 MB / 0.7949 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.3224, allocations: 11.44 kB / 0.7949 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.3224, allocations: 0 / 0.7949 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of Templates: time 0.002716/0.3251, allocations: 1.025 MB / 0.7959 GB, free: 3.602 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.SampleTriggerNegativeStartTimeCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTimeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTimeCalcHelperMain.o] Error 1