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.001197/0.001197, allocations: 98.88 kB / 16.02 MB, free: 76 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.001887/0.001887, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.839/1.839, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.927/1.927, 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.000576/0.0005758, allocations: 16.78 kB / 0.675 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3668, allocations: 116.3 MB / 0.7886 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001296/0.3682, allocations: 489.2 kB / 0.789 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.3698, allocations: 1.056 MB / 0.7901 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.799e-05/0.3699, allocations: 0 / 0.7901 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.3699, allocations: 7.875 kB / 0.7901 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.96e-05/0.37, allocations: 15.91 kB / 0.7901 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.3703, allocations: 47.91 kB / 0.7901 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.3704, allocations: 67.78 kB / 0.7902 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.3706, allocations: 16.17 kB / 0.7902 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.947e-05/0.3707, allocations: 19.92 kB / 0.7902 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.025e-05/0.3707, allocations: 27.84 kB / 0.7903 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.3708, allocations: 4 kB / 0.7903 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.357e-05/0.3708, allocations: 15.98 kB / 0.7903 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.686e-05/0.3709, allocations: 11.98 kB / 0.7903 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.514e-05/0.371, allocations: 57.48 kB / 0.7903 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.3711, allocations: 56.17 kB / 0.7904 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3711, allocations: 0 / 0.7904 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3711, allocations: 3.938 kB / 0.7904 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.3711, allocations: 0 / 0.7904 GB, free: 9.613 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.0006631/0.3718, allocations: 371.3 kB / 0.7908 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3718, allocations: 8.031 kB / 0.7908 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.3719, allocations: 8.844 kB / 0.7908 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.3721, allocations: 176.3 kB / 0.7909 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.3721, allocations: 4.375 kB / 0.7909 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.3721, allocations: 8.375 kB / 0.791 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.3724, allocations: 70.17 kB / 0.791 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3724, allocations: 3.938 kB / 0.791 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3724, allocations: 0 / 0.791 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.3724, allocations: 0 / 0.791 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.3726, allocations: 59.95 kB / 0.7911 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007373/0.3733, allocations: 340.6 kB / 0.7914 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.3735, allocations: 58.58 kB / 0.7915 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.3737, allocations: 44.97 kB / 0.7915 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.3737, allocations: 0 / 0.7915 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/0.374, allocations: 79.38 kB / 0.7916 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.374, allocations: 0 / 0.7916 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004885/0.3745, allocations: 157.5 kB / 0.7917 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.3746, allocations: 51.41 kB / 0.7918 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.3747, allocations: 129.7 kB / 0.7919 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.3747, allocations: 29.7 kB / 0.7919 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.941e-05/0.3748, allocations: 99.98 kB / 0.792 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.3748, allocations: 15.73 kB / 0.792 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.3749, allocations: 17.72 kB / 0.7921 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.375, allocations: 326.8 kB / 0.7924 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.3752, allocations: 27.98 kB / 0.7924 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.3753, allocations: 81.98 kB / 0.7925 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.3756, allocations: 121.8 kB / 0.7926 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3756, allocations: 4 kB / 0.7926 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003213/0.3759, allocations: 141.4 kB / 0.7927 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.376, allocations: 4.219 kB / 0.7927 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.376, allocations: 8 kB / 0.7927 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.376, allocations: 0 / 0.7927 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.3761, allocations: 23.92 kB / 0.7928 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3762, allocations: 4 kB / 0.7928 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.474e-05/0.3763, allocations: 15.98 kB / 0.7928 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.3763, allocations: 4 kB / 0.7928 GB, free: 6.902 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.0001237/0.3764, allocations: 124.4 kB / 0.7929 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.3764, allocations: 7.906 kB / 0.7929 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.3765, allocations: 8.375 kB / 0.7929 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3765, allocations: 0 / 0.7929 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/0.3765, allocations: 7.984 kB / 0.7929 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.3765, allocations: 3.938 kB / 0.7929 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005692/0.3771, allocations: 386.3 kB / 0.7933 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3771, allocations: 0 / 0.7933 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-05/0.3772, allocations: 11.98 kB / 0.7933 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.3772, allocations: 0 / 0.7933 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3772, allocations: 7.875 kB / 0.7933 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3772, allocations: 3.938 kB / 0.7933 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3772, allocations: 0 / 0.7933 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.3776, allocations: 211.5 kB / 0.7935 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.3776, allocations: 85.02 kB / 0.7936 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.3777, allocations: 0 / 0.7936 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.411e-05/0.3778, allocations: 19.92 kB / 0.7936 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.3778, allocations: 3.984 kB / 0.7936 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.3778, allocations: 4 kB / 0.7936 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.534e-05/0.3779, allocations: 95.27 kB / 0.7937 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3779, allocations: 0 / 0.7937 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002585/0.3782, allocations: 16 kB / 0.7937 GB, free: 5.828 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.0002179/0.3784, allocations: 107.2 kB / 0.7938 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003006/0.3787, allocations: 91.86 kB / 0.7939 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3787, allocations: 4 kB / 0.7939 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.3789, allocations: 44.41 kB / 0.794 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.3791, allocations: 11.94 kB / 0.794 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/0.3796, allocations: 199 kB / 0.7942 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.38, allocations: 0.7004 MB / 0.7949 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.3801, allocations: 15.44 kB / 0.7949 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.3801, allocations: 0 / 0.7949 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of Templates: time 0.003574/0.3837, allocations: 1.029 MB / 0.7959 GB, free: 3.57 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