Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00098/0.00098, allocations: 98.48 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.001254/0.001254, allocations: 187.2 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.905/1.905, allocations: 205.4 MB / 223.1 MB, free: 5.766 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.887/1.887, allocations: 292.7 MB / 0.5509 GB, free: 14.47 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.0005357/0.0005358, allocations: 16.19 kB / 0.675 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3162, allocations: 116.3 MB / 0.7886 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.001039/0.3173, allocations: 493.2 kB / 0.789 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.3188, allocations: 1.169 MB / 0.7902 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.3189, allocations: 0 / 0.7902 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.755e-05/0.3189, allocations: 0 / 0.7902 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.086e-05/0.319, allocations: 11.88 kB / 0.7902 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.3194, allocations: 123.1 kB / 0.7903 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.3196, allocations: 115.7 kB / 0.7904 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3197, allocations: 16.19 kB / 0.7904 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.695e-05/0.3198, allocations: 39.84 kB / 0.7905 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.946e-05/0.3199, allocations: 43.83 kB / 0.7905 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.3199, allocations: 7.984 kB / 0.7905 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-05/0.32, allocations: 23.98 kB / 0.7905 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.32, allocations: 11.98 kB / 0.7905 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.481e-05/0.3201, allocations: 61.5 kB / 0.7906 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.3202, allocations: 83.8 kB / 0.7907 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3203, allocations: 0 / 0.7907 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3203, allocations: 0 / 0.7907 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.3203, allocations: 0 / 0.7907 GB, free: 9.387 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005997/0.3209, allocations: 409.2 kB / 0.7911 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3209, allocations: 12.03 kB / 0.7911 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.321, allocations: 8.844 kB / 0.7911 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.3211, allocations: 172.3 kB / 0.7913 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.3212, allocations: 8.312 kB / 0.7913 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.3212, allocations: 8.375 kB / 0.7913 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.3214, allocations: 78.22 kB / 0.7913 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3214, allocations: 7.938 kB / 0.7913 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3214, allocations: 0 / 0.7913 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3214, allocations: 0 / 0.7913 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.3217, allocations: 63.88 kB / 0.7914 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005093/0.3222, allocations: 352.5 kB / 0.7917 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.3224, allocations: 66.55 kB / 0.7918 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.3225, allocations: 40.95 kB / 0.7918 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.3225, allocations: 0 / 0.7918 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/0.3228, allocations: 99.3 kB / 0.7919 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.3228, allocations: 3.938 kB / 0.7919 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004618/0.3233, allocations: 157.6 kB / 0.7921 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.3233, allocations: 55.41 kB / 0.7922 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.3234, allocations: 129.7 kB / 0.7923 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.3234, allocations: 29.7 kB / 0.7923 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.3235, allocations: 92.12 kB / 0.7924 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.3235, allocations: 23.64 kB / 0.7924 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.3236, allocations: 25.66 kB / 0.7924 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3237, allocations: 322.8 kB / 0.7927 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.3239, allocations: 51.97 kB / 0.7928 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.3241, allocations: 97.11 kB / 0.7929 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.3244, allocations: 166.7 kB / 0.793 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3244, allocations: 0 / 0.793 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004342/0.3248, allocations: 219.2 kB / 0.7933 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/0.3249, allocations: 37.7 kB / 0.7933 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3249, allocations: 4 kB / 0.7933 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.3249, allocations: 160 / 0.7933 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.325, allocations: 23.92 kB / 0.7933 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.325, allocations: 4 kB / 0.7933 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.3253, allocations: 51.86 kB / 0.7934 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.3253, allocations: 15.98 kB / 0.7934 GB, free: 6.324 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001115/0.3254, allocations: 121.8 kB / 0.7935 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.3255, allocations: 3.906 kB / 0.7935 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.3258, allocations: 137.9 kB / 0.7936 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3258, allocations: 4 kB / 0.7936 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3258, allocations: 0 / 0.7936 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3258, allocations: 0 / 0.7936 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.3263, allocations: 390.8 kB / 0.794 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3263, allocations: 0 / 0.794 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.701e-05/0.3263, allocations: 19.92 kB / 0.794 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3263, allocations: 3.938 kB / 0.794 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.3264, allocations: 0 / 0.794 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3264, allocations: 0 / 0.794 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3264, allocations: 3.938 kB / 0.794 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/0.3267, allocations: 231.5 kB / 0.7943 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.3268, allocations: 85.09 kB / 0.7943 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.3268, allocations: 7.938 kB / 0.7944 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-05/0.3269, allocations: 11.98 kB / 0.7944 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.3269, allocations: 7.938 kB / 0.7944 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.3269, allocations: 4 kB / 0.7944 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.452e-05/0.327, allocations: 91.81 kB / 0.7945 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.327, allocations: 0 / 0.7945 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002548/0.3273, allocations: 27.91 kB / 0.7945 GB, free: 5.09 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001599/0.3274, allocations: 107.2 kB / 0.7946 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003952/0.3278, allocations: 191.3 kB / 0.7948 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3279, allocations: 0 / 0.7948 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.328, allocations: 43.97 kB / 0.7948 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.3283, allocations: 16.64 kB / 0.7948 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003947/0.3287, allocations: 220.7 kB / 0.795 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.329, allocations: 0.6887 MB / 0.7957 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.329, allocations: 19.38 kB / 0.7957 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.329, allocations: 0 / 0.7957 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of Templates: time 0.003064/0.3321, allocations: 1.275 MB / 0.797 GB, free: 2.469 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.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.TriggeredSamplerCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSamplerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSamplerCalcHelperMain.o] Error 1