Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009325/0.009325, allocations: 99.98 kB / 15.87 MB, free: 5.867 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.001504/0.001504, allocations: 193 kB / 16.79 MB, free: 5.809 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.751/1.751, allocations: 205.1 MB / 222.6 MB, free: 4.906 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.973/1.973, 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.001599/0.001599, allocations: 67.83 kB / 0.6715 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3818, allocations: 114.5 MB / 0.7834 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.005635/0.3875, allocations: 1.979 MB / 0.7853 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002183/0.3898, allocations: 1.011 MB / 0.7863 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.39, allocations: 4 kB / 0.7863 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005356/0.3906, allocations: 99.67 kB / 0.7864 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.3909, allocations: 79.72 kB / 0.7864 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.3913, allocations: 114.8 kB / 0.7866 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.3916, allocations: 191.4 kB / 0.7867 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.3918, allocations: 41.67 kB / 0.7868 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.392, allocations: 83.56 kB / 0.7869 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.3921, allocations: 91.59 kB / 0.7869 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.3922, allocations: 4 kB / 0.7869 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.3923, allocations: 51.98 kB / 0.787 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.867e-05/0.3924, allocations: 55.75 kB / 0.7871 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.3926, allocations: 79.41 kB / 0.7871 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.3929, allocations: 219.7 kB / 0.7873 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.3929, allocations: 4 kB / 0.7873 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3929, allocations: 0 / 0.7873 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.3929, allocations: 0 / 0.7873 GB, free: 9.887 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.001071/0.394, allocations: 0.5255 MB / 0.7879 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.3941, allocations: 8.031 kB / 0.7879 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.136e-05/0.3941, allocations: 24.66 kB / 0.7879 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.3946, allocations: 303.7 kB / 0.7882 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.3946, allocations: 4.375 kB / 0.7882 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.3946, allocations: 23.8 kB / 0.7882 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.3949, allocations: 77.66 kB / 0.7883 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3949, allocations: 4 kB / 0.7883 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.3949, allocations: 7.984 kB / 0.7883 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.3949, allocations: 4 kB / 0.7883 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.395, allocations: 39.98 kB / 0.7883 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007747/0.3958, allocations: 424.5 kB / 0.7887 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.3961, allocations: 78.67 kB / 0.7888 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.97e-05/0.3962, allocations: 28.84 kB / 0.7888 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.3962, allocations: 0 / 0.7888 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.3964, allocations: 83.31 kB / 0.7889 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.3964, allocations: 0 / 0.7889 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004042/0.3969, allocations: 145.2 kB / 0.7891 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.3969, allocations: 51.41 kB / 0.7891 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004738/0.3974, allocations: 362.9 kB / 0.7894 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.3974, allocations: 29.7 kB / 0.7895 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.3976, allocations: 140 kB / 0.7896 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.3977, allocations: 15.81 kB / 0.7896 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.301e-05/0.3977, allocations: 45.7 kB / 0.7897 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.398, allocations: 334.8 kB / 0.79 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.3981, allocations: 55.97 kB / 0.79 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.3982, allocations: 80.28 kB / 0.7901 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.3984, allocations: 89.7 kB / 0.7902 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3984, allocations: 0 / 0.7902 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000334/0.3988, allocations: 201.2 kB / 0.7904 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.3988, allocations: 8 kB / 0.7904 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3988, allocations: 0 / 0.7904 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.3988, allocations: 3.938 kB / 0.7904 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.399, allocations: 23.98 kB / 0.7904 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.399, allocations: 0 / 0.7904 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.3991, allocations: 11.91 kB / 0.7904 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.3992, allocations: 11.98 kB / 0.7905 GB, free: 6.461 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,greHys.greHys.y,$PRE.greHys.greHys.y,gre.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.0002398/0.3994, allocations: 154.4 kB / 0.7906 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.3995, allocations: 23.72 kB / 0.7906 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.431e-05/0.3995, allocations: 25.73 kB / 0.7906 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.3996, allocations: 7.938 kB / 0.7907 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.3996, allocations: 3.938 kB / 0.7907 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3996, allocations: 0 / 0.7907 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.3999, allocations: 245.5 kB / 0.7909 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3999, allocations: 0 / 0.7909 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.323e-05/0.3999, allocations: 4 kB / 0.7909 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.3999, allocations: 0 / 0.7909 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.4, allocations: 8 kB / 0.7909 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.796e-06/0.4, allocations: 3.938 kB / 0.7909 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4, allocations: 0 / 0.7909 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.4002, allocations: 136.8 kB / 0.791 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.882e-05/0.4004, allocations: 100.9 kB / 0.7911 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.4004, allocations: 4 kB / 0.7911 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-05/0.4005, allocations: 11.92 kB / 0.7911 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.4006, allocations: 15.98 kB / 0.7912 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.4006, allocations: 3.984 kB / 0.7912 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002805/0.4009, allocations: 233.9 kB / 0.7914 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4009, allocations: 0 / 0.7914 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002833/0.4012, allocations: 35.91 kB / 0.7914 GB, free: 5.371 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,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,greHys.greHys.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.001221/0.4024, allocations: 428.3 kB / 0.7918 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000307/0.4027, allocations: 111.9 kB / 0.7919 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4027, allocations: 0 / 0.7919 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.195e-05/0.4028, allocations: 31.92 kB / 0.792 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.4032, allocations: 50.48 kB / 0.792 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008027/0.404, allocations: 446.9 kB / 0.7924 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.4045, allocations: 0.744 MB / 0.7932 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.309e-05/0.4046, allocations: 23.42 kB / 0.7932 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.4046, allocations: 0 / 0.7932 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of Templates: time 0.006142/0.4107, allocations: 3.046 MB / 0.7962 GB, free: 0.6133 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.GreaterThresholdCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThresholdCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThresholdCalcHelperMain.o] Error 1