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.0008333/0.0008334, allocations: 100.8 kB / 15.71 MB, free: 456 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.001036/0.001036, allocations: 174.6 kB / 16.58 MB, free: 6.859 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.843/1.843, allocations: 205.4 MB / 222.8 MB, free: 5.887 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.841/1.841, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0005374/0.0005374, allocations: 19.86 kB / 0.6744 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3239, allocations: 116.3 MB / 0.7879 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay): time 0.001055/0.3251, allocations: 393.5 kB / 0.7883 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.3269, allocations: 1.025 MB / 0.7893 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.435e-05/0.327, allocations: 0 / 0.7893 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.327, allocations: 3.938 kB / 0.7893 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.379e-05/0.3271, allocations: 0 / 0.7893 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.3274, allocations: 43.89 kB / 0.7894 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.093e-05/0.3275, allocations: 35.86 kB / 0.7894 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.3276, allocations: 7.984 kB / 0.7894 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.683e-05/0.3277, allocations: 15.98 kB / 0.7894 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.398e-05/0.3278, allocations: 15.92 kB / 0.7894 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.3278, allocations: 4 kB / 0.7894 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.512e-05/0.3279, allocations: 19.92 kB / 0.7895 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.872e-05/0.3279, allocations: 3.984 kB / 0.7895 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.328, allocations: 33.7 kB / 0.7895 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.3281, allocations: 35.92 kB / 0.7895 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3281, allocations: 0 / 0.7895 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.315e-06/0.3281, allocations: 0 / 0.7895 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.3281, allocations: 0 / 0.7895 GB, free: 10.27 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.0005979/0.3287, allocations: 355.5 kB / 0.7899 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3288, allocations: 11.97 kB / 0.7899 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.3288, allocations: 3.906 kB / 0.7899 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.329, allocations: 182.9 kB / 0.7901 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.329, allocations: 0 / 0.7901 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.329, allocations: 7.938 kB / 0.7901 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.3294, allocations: 65.66 kB / 0.7901 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3295, allocations: 3.984 kB / 0.7901 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3295, allocations: 0 / 0.7901 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3295, allocations: 0 / 0.7901 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.3297, allocations: 47.97 kB / 0.7902 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006192/0.3303, allocations: 280.8 kB / 0.7904 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.3305, allocations: 58.55 kB / 0.7905 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.096e-05/0.3306, allocations: 24.94 kB / 0.7905 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.3307, allocations: 0 / 0.7905 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.3309, allocations: 79.38 kB / 0.7906 GB, free: 9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.3309, allocations: 0 / 0.7906 GB, free: 9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0004296/0.3313, allocations: 125.5 kB / 0.7907 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.3314, allocations: 55.41 kB / 0.7908 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.648e-05/0.3315, allocations: 105.8 kB / 0.7909 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.3315, allocations: 25.7 kB / 0.7909 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.3316, allocations: 88.14 kB / 0.791 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.3316, allocations: 19.78 kB / 0.791 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.3316, allocations: 0 / 0.791 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3318, allocations: 326.8 kB / 0.7913 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-05/0.3319, allocations: 27.97 kB / 0.7913 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.332, allocations: 47.42 kB / 0.7914 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.3321, allocations: 43.91 kB / 0.7914 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3321, allocations: 0 / 0.7914 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002542/0.3324, allocations: 105.6 kB / 0.7915 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3324, allocations: 8 kB / 0.7915 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3324, allocations: 0 / 0.7915 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3325, allocations: 0 / 0.7915 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.3326, allocations: 19.98 kB / 0.7916 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.3326, allocations: 3.938 kB / 0.7916 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.52e-05/0.3327, allocations: 23.95 kB / 0.7916 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.3327, allocations: 0 / 0.7916 GB, free: 7.93 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 ($PRE.unitDelay1.y,unitDelay1.y,$whenCondition1,unitDelay1.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.3328, allocations: 121.7 kB / 0.7917 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.3328, allocations: 4 kB / 0.7917 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.3332, allocations: 101.9 kB / 0.7918 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3332, allocations: 0 / 0.7918 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3332, allocations: 4.062 kB / 0.7918 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3332, allocations: 0 / 0.7918 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004572/0.3337, allocations: 358.3 kB / 0.7921 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3337, allocations: 3.984 kB / 0.7921 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.615e-05/0.3338, allocations: 12 kB / 0.7922 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.3338, allocations: 0 / 0.7922 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.3338, allocations: 0 / 0.7922 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3338, allocations: 0 / 0.7922 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-05/0.3339, allocations: 3.984 kB / 0.7922 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.3342, allocations: 199.4 kB / 0.7924 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.3344, allocations: 81.02 kB / 0.7924 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.3344, allocations: 4 kB / 0.7924 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.3345, allocations: 11.98 kB / 0.7924 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.3345, allocations: 4 kB / 0.7924 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.3345, allocations: 0 / 0.7924 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.3e-05/0.3346, allocations: 91.27 kB / 0.7925 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3346, allocations: 0 / 0.7925 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002499/0.3349, allocations: 11.95 kB / 0.7925 GB, free: 6.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: 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 (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.0003388/0.3352, allocations: 107.2 kB / 0.7926 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.3355, allocations: 71.89 kB / 0.7927 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3355, allocations: 0 / 0.7927 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.703e-05/0.3356, allocations: 31.98 kB / 0.7927 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.3358, allocations: 8.25 kB / 0.7928 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.3362, allocations: 170.3 kB / 0.7929 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.3364, allocations: 0.6809 MB / 0.7936 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.3365, allocations: 7.438 kB / 0.7936 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.3365, allocations: 0 / 0.7936 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of Templates: time 0.002422/0.3389, allocations: 0.8127 MB / 0.7944 GB, free: 4.883 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++ 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_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