Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.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.Discrete.Examples.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001043, allocations: 99.11 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.001629/0.001629, allocations: 185.6 kB / 16.92 MB, free: 6.75 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.895/1.895, allocations: 205.4 MB / 223.1 MB, free: 5.5 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.95/1.95, 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.0005684/0.0005684, allocations: 14.12 kB / 0.675 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3033, allocations: 116.3 MB / 0.7886 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay): time 0.0009796/0.3043, allocations: 401.4 kB / 0.7889 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.3057, allocations: 1.044 MB / 0.79 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.3058, allocations: 0 / 0.79 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.903e-05/0.3058, allocations: 3.938 kB / 0.79 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.212e-05/0.3059, allocations: 0 / 0.79 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.3061, allocations: 39.89 kB / 0.79 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.526e-05/0.3062, allocations: 35.92 kB / 0.79 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3063, allocations: 8 kB / 0.79 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.014e-05/0.3064, allocations: 15.92 kB / 0.7901 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.3065, allocations: 23.91 kB / 0.7901 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.3065, allocations: 3.938 kB / 0.7901 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.356e-05/0.3066, allocations: 15.98 kB / 0.7901 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.3066, allocations: 11.94 kB / 0.7901 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.3067, allocations: 41.62 kB / 0.7901 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.44e-05/0.3068, allocations: 35.92 kB / 0.7902 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3068, allocations: 0 / 0.7902 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3068, allocations: 0 / 0.7902 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.3068, allocations: 0 / 0.7902 GB, free: 9.871 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005776/0.3074, allocations: 355.7 kB / 0.7905 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3074, allocations: 12.03 kB / 0.7905 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.3075, allocations: 4.844 kB / 0.7905 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.3076, allocations: 168.3 kB / 0.7907 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.3076, allocations: 384 / 0.7907 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.3077, allocations: 4.375 kB / 0.7907 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.3079, allocations: 70.22 kB / 0.7908 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.3079, allocations: 4.125 kB / 0.7908 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3079, allocations: 3.938 kB / 0.7908 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3079, allocations: 0 / 0.7908 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.3081, allocations: 47.91 kB / 0.7908 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.3086, allocations: 284.8 kB / 0.7911 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.3088, allocations: 62.48 kB / 0.7912 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.3089, allocations: 36.88 kB / 0.7912 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.3089, allocations: 0 / 0.7912 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.3092, allocations: 71.38 kB / 0.7913 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.3092, allocations: 0 / 0.7913 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0004373/0.3096, allocations: 121.6 kB / 0.7914 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.3097, allocations: 51.41 kB / 0.7914 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.898e-05/0.3098, allocations: 109.8 kB / 0.7915 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.3098, allocations: 33.7 kB / 0.7916 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.308e-05/0.3099, allocations: 84.14 kB / 0.7916 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.3099, allocations: 15.8 kB / 0.7917 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.3099, allocations: 13.72 kB / 0.7917 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3101, allocations: 314.8 kB / 0.792 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.3102, allocations: 31.95 kB / 0.792 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.3103, allocations: 59.41 kB / 0.7921 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.3105, allocations: 87.28 kB / 0.7921 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3106, allocations: 0 / 0.7921 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002638/0.3108, allocations: 113.5 kB / 0.7922 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3108, allocations: 8 kB / 0.7923 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3109, allocations: 0 / 0.7923 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.3109, allocations: 0 / 0.7923 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.311, allocations: 23.92 kB / 0.7923 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.311, allocations: 4 kB / 0.7923 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.634e-05/0.3111, allocations: 12.06 kB / 0.7923 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.3111, allocations: 7.984 kB / 0.7923 GB, free: 7.449 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (unitDelay1.y,$PRE.unitDelay1.y,unitDelay1.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.212e-05/0.3112, allocations: 118.4 kB / 0.7924 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.3112, allocations: 3.984 kB / 0.7924 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.3115, allocations: 105.9 kB / 0.7925 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3115, allocations: 0 / 0.7925 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3116, allocations: 8 kB / 0.7925 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3116, allocations: 0 / 0.7925 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/0.312, allocations: 350.4 kB / 0.7929 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.312, allocations: 0 / 0.7929 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.195e-05/0.3121, allocations: 11.98 kB / 0.7929 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3121, allocations: 7.938 kB / 0.7929 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.3121, allocations: 0 / 0.7929 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3121, allocations: 0 / 0.7929 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3122, allocations: 3.938 kB / 0.7929 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.3124, allocations: 195.4 kB / 0.7931 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.3125, allocations: 85 kB / 0.7932 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.3125, allocations: 8 kB / 0.7932 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.208e-05/0.3126, allocations: 8 kB / 0.7932 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.3127, allocations: 7.984 kB / 0.7932 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.3127, allocations: 3.938 kB / 0.7932 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.321e-05/0.3127, allocations: 83.28 kB / 0.7933 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3128, allocations: 4 kB / 0.7933 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002346/0.313, allocations: 15.98 kB / 0.7933 GB, free: 6.34 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: 3 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y) * Number of discrete states: 1 (unitDelay1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001571/0.3132, allocations: 95.25 kB / 0.7934 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.3134, allocations: 75.89 kB / 0.7934 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3134, allocations: 0 / 0.7934 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.3136, allocations: 39.91 kB / 0.7935 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.3138, allocations: 8.25 kB / 0.7935 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.3142, allocations: 162.4 kB / 0.7936 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.3146, allocations: 0.6809 MB / 0.7943 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.3146, allocations: 15.42 kB / 0.7943 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.3146, allocations: 0 / 0.7943 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of Templates: time 0.002363/0.317, allocations: 0.8119 MB / 0.7951 GB, free: 4.395 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.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.Discrete.Examples.UnitDelayCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelayCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelayCalcHelperMain.o] Error 1