Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.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.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 96.14 kB / 15.87 MB, free: 16 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.001114/0.001114, allocations: 193.3 kB / 16.79 MB, free: 6.812 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.641/1.641, allocations: 205.1 MB / 222.6 MB, free: 5.012 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.858/1.858, allocations: 292.3 MB / 0.5491 GB, free: 13.68 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.001427/0.001427, allocations: 67.92 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3349, allocations: 114.6 MB / 0.7833 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler): time 0.002244/0.3372, allocations: 0.73 MB / 0.7841 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.3388, allocations: 1.048 MB / 0.7851 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.3389, allocations: 4 kB / 0.7851 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.428e-05/0.3389, allocations: 0 / 0.7851 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.669e-05/0.339, allocations: 7.922 kB / 0.7851 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.3393, allocations: 35.97 kB / 0.7851 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.854e-05/0.3394, allocations: 43.84 kB / 0.7852 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3395, allocations: 12 kB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.76e-05/0.3396, allocations: 11.92 kB / 0.7852 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.61e-05/0.3397, allocations: 27.91 kB / 0.7852 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.3397, allocations: 4 kB / 0.7852 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.513e-05/0.3398, allocations: 15.98 kB / 0.7852 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.3398, allocations: 11.92 kB / 0.7852 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/0.3399, allocations: 15.92 kB / 0.7853 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.34, allocations: 39.94 kB / 0.7853 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.34, allocations: 0 / 0.7853 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.372e-06/0.34, allocations: 0 / 0.7853 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.34, allocations: 0 / 0.7853 GB, free: 12.03 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000771/0.3408, allocations: 371.7 kB / 0.7857 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.3409, allocations: 8.031 kB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.3409, allocations: 12.84 kB / 0.7857 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.3411, allocations: 172.3 kB / 0.7858 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3411, allocations: 384 / 0.7858 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.3411, allocations: 4.375 kB / 0.7858 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.3414, allocations: 62.22 kB / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.3414, allocations: 192 / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.3414, allocations: 3.938 kB / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.006e-06/0.3414, allocations: 4 kB / 0.7859 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.3416, allocations: 47.89 kB / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005289/0.3422, allocations: 280.7 kB / 0.7862 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.3423, allocations: 58.48 kB / 0.7863 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.3425, allocations: 32.95 kB / 0.7863 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.3425, allocations: 0 / 0.7863 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.3427, allocations: 71.38 kB / 0.7864 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3427, allocations: 0 / 0.7864 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004375/0.3432, allocations: 129.6 kB / 0.7865 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.3432, allocations: 51.41 kB / 0.7865 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.3433, allocations: 105.8 kB / 0.7866 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.3434, allocations: 25.7 kB / 0.7867 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.215e-05/0.3434, allocations: 92.05 kB / 0.7868 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.3434, allocations: 15.88 kB / 0.7868 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.3435, allocations: 25.7 kB / 0.7868 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3436, allocations: 318.8 kB / 0.7871 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.3437, allocations: 27.91 kB / 0.7871 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.3439, allocations: 47.41 kB / 0.7872 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.3441, allocations: 95.25 kB / 0.7873 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3441, allocations: 0 / 0.7873 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002567/0.3443, allocations: 105.5 kB / 0.7874 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3444, allocations: 4 kB / 0.7874 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3444, allocations: 0 / 0.7874 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3444, allocations: 4.094 kB / 0.7874 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3445, allocations: 15.98 kB / 0.7874 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.3445, allocations: 4 kB / 0.7874 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.794e-05/0.3446, allocations: 12.42 kB / 0.7874 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3446, allocations: 0 / 0.7874 GB, free: 9.617 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: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001096/0.3447, allocations: 117.8 kB / 0.7875 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.3448, allocations: 7.906 kB / 0.7875 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.3451, allocations: 114 kB / 0.7876 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3451, allocations: 0 / 0.7876 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.3451, allocations: 0 / 0.7876 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3451, allocations: 0 / 0.7876 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.3455, allocations: 350.4 kB / 0.788 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3456, allocations: 4 kB / 0.788 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.731e-05/0.3456, allocations: 7.984 kB / 0.788 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3456, allocations: 7.938 kB / 0.788 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3457, allocations: 8 kB / 0.788 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3457, allocations: 0 / 0.788 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3457, allocations: 0 / 0.788 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.346, allocations: 195.3 kB / 0.7882 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.346, allocations: 81.11 kB / 0.7883 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.346, allocations: 0 / 0.7883 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.783e-05/0.3462, allocations: 11.98 kB / 0.7883 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.3462, allocations: 11.92 kB / 0.7883 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.3462, allocations: 3.938 kB / 0.7883 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.727e-05/0.3463, allocations: 83.28 kB / 0.7884 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3463, allocations: 0 / 0.7884 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002417/0.3465, allocations: 12 kB / 0.7884 GB, free: 8.516 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 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001645/0.3467, allocations: 107.2 kB / 0.7885 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002644/0.347, allocations: 64.27 kB / 0.7885 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.347, allocations: 0 / 0.7885 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.3471, allocations: 35.97 kB / 0.7886 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.3474, allocations: 7.938 kB / 0.7886 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.3478, allocations: 169.2 kB / 0.7887 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.3481, allocations: 0.6848 MB / 0.7894 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.3482, allocations: 11.38 kB / 0.7894 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.3482, allocations: 0 / 0.7894 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of Templates: time 0.00248/0.3507, allocations: 0.8521 MB / 0.7903 GB, free: 6.531 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.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.SamplerCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.SamplerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.SamplerCalcHelperMain.o] Error 1