Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.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.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0068/0.0068, allocations: 100.1 kB / 15.87 MB, free: 5.863 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.0013/0.0013, allocations: 191.6 kB / 16.79 MB, free: 5.805 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.815/1.815, allocations: 205.1 MB / 222.6 MB, free: 4.949 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.831/1.831, allocations: 292.3 MB / 0.5491 GB, free: 13.69 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.001382/0.001382, allocations: 70.05 kB / 0.6715 GB, free: 26.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3146, allocations: 114.6 MB / 0.7833 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold): time 0.002194/0.3169, allocations: 0.7425 MB / 0.7841 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.3184, allocations: 1.06 MB / 0.7851 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.3184, allocations: 0 / 0.7851 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.721e-05/0.3185, allocations: 3.938 kB / 0.7851 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.703e-05/0.3186, allocations: 3.984 kB / 0.7851 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.3188, allocations: 43.84 kB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.099e-05/0.319, allocations: 47.84 kB / 0.7852 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.643e-05/0.3191, allocations: 8 kB / 0.7852 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.048e-05/0.3191, allocations: 23.91 kB / 0.7852 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.411e-05/0.3192, allocations: 23.86 kB / 0.7853 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3192, allocations: 4 kB / 0.7853 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.226e-05/0.3193, allocations: 19.98 kB / 0.7853 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.3193, allocations: 7.984 kB / 0.7853 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.3194, allocations: 23.86 kB / 0.7853 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.3195, allocations: 35.92 kB / 0.7853 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.3195, allocations: 0 / 0.7853 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3195, allocations: 0 / 0.7853 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3195, allocations: 0 / 0.7853 GB, free: 11.97 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006737/0.3202, allocations: 371.7 kB / 0.7857 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3202, allocations: 12.03 kB / 0.7857 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.3203, allocations: 4.844 kB / 0.7857 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.3204, allocations: 168.3 kB / 0.7859 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.3205, allocations: 4.375 kB / 0.7859 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.3205, allocations: 4.375 kB / 0.7859 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.3207, allocations: 70.16 kB / 0.7859 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.3207, allocations: 4.188 kB / 0.7859 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3207, allocations: 3.938 kB / 0.786 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3208, allocations: 0 / 0.786 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.321, allocations: 43.95 kB / 0.786 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.3214, allocations: 280.8 kB / 0.7863 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.3216, allocations: 66.42 kB / 0.7863 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.67e-05/0.3217, allocations: 28.97 kB / 0.7864 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3218, allocations: 7.984 kB / 0.7864 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/0.322, allocations: 67.39 kB / 0.7864 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.322, allocations: 0 / 0.7864 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004334/0.3225, allocations: 129.6 kB / 0.7865 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.3225, allocations: 59.39 kB / 0.7866 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.223e-05/0.3226, allocations: 105.8 kB / 0.7867 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.3227, allocations: 29.7 kB / 0.7867 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.3227, allocations: 84.12 kB / 0.7868 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.3228, allocations: 19.75 kB / 0.7868 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.3228, allocations: 29.7 kB / 0.7869 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.323, allocations: 314.8 kB / 0.7872 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.3231, allocations: 32.16 kB / 0.7872 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.3232, allocations: 64.2 kB / 0.7873 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.3234, allocations: 96.14 kB / 0.7873 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3234, allocations: 0 / 0.7873 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002996/0.3238, allocations: 121.5 kB / 0.7875 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3238, allocations: 7.984 kB / 0.7875 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3238, allocations: 4 kB / 0.7875 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3238, allocations: 4.031 kB / 0.7875 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.3239, allocations: 15.98 kB / 0.7875 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.324, allocations: 7.938 kB / 0.7875 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.828e-05/0.324, allocations: 4 kB / 0.7875 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.3241, allocations: 4 kB / 0.7875 GB, free: 9.488 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000103/0.3242, allocations: 129.1 kB / 0.7876 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.3242, allocations: 7.906 kB / 0.7876 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.3245, allocations: 106 kB / 0.7877 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3245, allocations: 0 / 0.7877 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3245, allocations: 0 / 0.7877 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3245, allocations: 0 / 0.7877 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004751/0.325, allocations: 366.5 kB / 0.7881 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.325, allocations: 0 / 0.7881 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.349e-05/0.3251, allocations: 11.98 kB / 0.7881 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3251, allocations: 0 / 0.7881 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.3251, allocations: 3.938 kB / 0.7881 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3251, allocations: 0 / 0.7881 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3251, allocations: 0 / 0.7881 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.3254, allocations: 203.9 kB / 0.7883 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.3255, allocations: 85.02 kB / 0.7884 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.3255, allocations: 3.984 kB / 0.7884 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.822e-05/0.3256, allocations: 4 kB / 0.7884 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.3257, allocations: 7.984 kB / 0.7884 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.3257, allocations: 7.938 kB / 0.7884 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.764e-05/0.3258, allocations: 91.27 kB / 0.7885 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3258, allocations: 0 / 0.7885 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002554/0.326, allocations: 19.94 kB / 0.7885 GB, free: 8.359 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: 4 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * 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.0001631/0.3262, allocations: 103.2 kB / 0.7886 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002644/0.3265, allocations: 75.88 kB / 0.7887 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3265, allocations: 3.938 kB / 0.7887 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.3266, allocations: 28.31 kB / 0.7887 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.3269, allocations: 16.17 kB / 0.7887 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003917/0.3273, allocations: 165.1 kB / 0.7889 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.3276, allocations: 0.6848 MB / 0.7896 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.3277, allocations: 11.44 kB / 0.7896 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.3277, allocations: 0 / 0.7896 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of Templates: time 0.002404/0.3301, allocations: 0.8915 MB / 0.7904 GB, free: 6.324 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.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.ZeroOrderHoldCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHoldCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHoldCalcHelperMain.o] Error 1