Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01152/0.01152, 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.002648/0.002649, allocations: 189 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.806/1.806, allocations: 205.1 MB / 222.6 MB, free: 4.707 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.951/1.951, allocations: 292.3 MB / 0.5491 GB, free: 13.64 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.001345/0.001345, allocations: 66.12 kB / 0.6715 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3194, allocations: 114.6 MB / 0.7834 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.004141/0.3236, allocations: 1.983 MB / 0.7853 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001993/0.3256, allocations: 1.011 MB / 0.7863 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.3258, allocations: 7.938 kB / 0.7863 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004507/0.3262, allocations: 99.67 kB / 0.7864 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.3265, allocations: 83.72 kB / 0.7865 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.3269, allocations: 103.8 kB / 0.7866 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003196/0.3272, allocations: 195.4 kB / 0.7867 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002368/0.3275, allocations: 41.67 kB / 0.7868 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.3277, allocations: 83.56 kB / 0.7869 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.3279, allocations: 87.66 kB / 0.7869 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.3279, allocations: 8 kB / 0.787 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.3281, allocations: 59.91 kB / 0.787 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.3282, allocations: 51.77 kB / 0.7871 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.3284, allocations: 79.47 kB / 0.7871 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.3287, allocations: 215.7 kB / 0.7873 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3287, allocations: 0 / 0.7873 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3288, allocations: 0 / 0.7873 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.3288, allocations: 0 / 0.7873 GB, free: 9.844 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.00124/0.33, allocations: 0.5333 MB / 0.7879 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.263e-05/0.3301, allocations: 8.031 kB / 0.7879 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.965e-05/0.3302, allocations: 28.66 kB / 0.7879 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005723/0.3308, allocations: 299.7 kB / 0.7882 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.3308, allocations: 4.375 kB / 0.7882 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.3308, allocations: 11.88 kB / 0.7882 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.3311, allocations: 77.66 kB / 0.7883 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.3312, allocations: 3.984 kB / 0.7883 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.3312, allocations: 11.94 kB / 0.7883 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.3312, allocations: 0 / 0.7883 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.3314, allocations: 43.98 kB / 0.7883 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009387/0.3323, allocations: 420.6 kB / 0.7887 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.3326, allocations: 86.59 kB / 0.7888 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.378e-05/0.3327, allocations: 28.84 kB / 0.7888 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.3328, allocations: 0 / 0.7888 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002303/0.333, allocations: 79.38 kB / 0.7889 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.333, allocations: 0 / 0.7889 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004657/0.3335, allocations: 141.2 kB / 0.7891 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/0.3336, allocations: 55.41 kB / 0.7891 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004947/0.3341, allocations: 362.9 kB / 0.7895 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.3341, allocations: 29.64 kB / 0.7895 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.3343, allocations: 144 kB / 0.7896 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.3343, allocations: 15.81 kB / 0.7896 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.701e-05/0.3344, allocations: 37.7 kB / 0.7897 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002193/0.3346, allocations: 334.8 kB / 0.79 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.3348, allocations: 59.97 kB / 0.79 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.3349, allocations: 73.69 kB / 0.7901 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.3351, allocations: 97.64 kB / 0.7902 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.3352, allocations: 0 / 0.7902 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003515/0.3355, allocations: 192 kB / 0.7904 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.3356, allocations: 8 kB / 0.7904 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3356, allocations: 7.969 kB / 0.7904 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.3356, allocations: 3.938 kB / 0.7904 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.3357, allocations: 23.98 kB / 0.7904 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.3358, allocations: 0 / 0.7904 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.3359, allocations: 15.91 kB / 0.7904 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.3359, allocations: 7.984 kB / 0.7905 GB, free: 6.418 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.ram.tab.nextTimeEvent,$whenCondition1,ram.tab.nextTimeEventScaled,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEvent,lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001791/0.3361, allocations: 158.6 kB / 0.7906 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.3362, allocations: 19.72 kB / 0.7906 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.789e-05/0.3362, allocations: 29.73 kB / 0.7907 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.689e-06/0.3362, allocations: 7.938 kB / 0.7907 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3362, allocations: 3.938 kB / 0.7907 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3363, allocations: 0 / 0.7907 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.3365, allocations: 237.6 kB / 0.7909 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3366, allocations: 0 / 0.7909 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.405e-05/0.3366, allocations: 4 kB / 0.7909 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3366, allocations: 0 / 0.7909 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.3366, allocations: 8 kB / 0.7909 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3366, allocations: 3.938 kB / 0.7909 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3366, allocations: 0 / 0.7909 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.3369, allocations: 148.7 kB / 0.791 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.411e-05/0.337, allocations: 96.92 kB / 0.7911 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.3371, allocations: 0 / 0.7911 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.008e-05/0.3371, allocations: 15.92 kB / 0.7912 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/0.3372, allocations: 11.98 kB / 0.7912 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.3372, allocations: 0 / 0.7912 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000273/0.3375, allocations: 233.9 kB / 0.7914 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3375, allocations: 0 / 0.7914 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002861/0.3378, allocations: 39.91 kB / 0.7914 GB, free: 5.328 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: 5 ($whenCondition1,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,lesHys.lesHys.y,ram.tab.nextTimeEvent) * 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.001294/0.3391, allocations: 415.8 kB / 0.7918 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002807/0.3394, allocations: 111.9 kB / 0.7919 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3394, allocations: 0 / 0.7919 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.167e-05/0.3395, allocations: 31.97 kB / 0.792 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.3399, allocations: 60.55 kB / 0.792 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007421/0.3407, allocations: 450.8 kB / 0.7925 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.341, allocations: 0.7401 MB / 0.7932 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.685e-05/0.3411, allocations: 27.36 kB / 0.7932 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.3411, allocations: 0 / 0.7932 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of Templates: time 0.0061/0.3472, allocations: 3.045 MB / 0.7962 GB, free: 0.5703 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.Continuous.Validation.LessThresholdCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThresholdCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThresholdCalcHelperMain.o] Error 1